Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: RaymondC on August 26, 2020, 04:48:25 PM

Title: Axis 'On Success' bits stay on even with power cycling?
Post by: RaymondC on August 26, 2020, 04:48:25 PM
It seems that the On Success bits associated with axis commands like AXCONFIG and AXPOSTRAP stay on even when I power cycle the BRX PLC?
Title: Re: Axis 'On Success' bits stay on even with power cycling?
Post by: BobO on August 26, 2020, 05:22:46 PM
They are just normal PLC memory, so they are retentive or not as defined in the memory configuration.
Title: Re: Axis 'On Success' bits stay on even with power cycling?
Post by: RBPLC on August 26, 2020, 05:25:18 PM
What BobO said. If you've got them assigned to C0-2047 and haven't changed the default settings, they'll be retentive.
Title: Re: Axis 'On Success' bits stay on even with power cycling?
Post by: BobO on August 26, 2020, 05:27:21 PM
Usually doesn't matter though, since they are cleared on the rising edge of the enable.
Title: Re: Axis 'On Success' bits stay on even with power cycling?
Post by: RaymondC on August 26, 2020, 06:59:24 PM
If you've got them assigned to C0-2047 and haven't changed the default settings, they'll be retentive.

What do you mean by change the default settings?

Usually doesn't matter though, since they are cleared on the rising edge of the enable.

Yea, that I did notice. The issue I was having is that I was using the On Success bit to jump to a different stage in a program and I was jumping out prematurely because the bits were still ON from the last time that stage was active. I solved it by resetting the bits before entering the stage that relies on them as flags.
Title: Re: Axis 'On Success' bits stay on even with power cycling?
Post by: BobO on August 26, 2020, 07:48:36 PM
Do you need bits? If you are just using it to transition, can you use the direct transition logic"
Title: Re: Axis 'On Success' bits stay on even with power cycling?
Post by: RaymondC on August 26, 2020, 07:59:06 PM
Do you need bits? If you are just using it to transition, can you use the direct transition logic"
Not sure what "direct transition logic" means. If you mean using the "On success, jump to stage x" option, then no, I can't use that because there are several things going on in that particular stage and thus several bits that must be ON before I can jump to the next stage. But like I said, I got around the issue by manually resetting the bits.  :)
Title: Re: Axis 'On Success' bits stay on even with power cycling?
Post by: RBPLC on August 26, 2020, 09:28:17 PM
Quote
What do you mean by change the default settings?