News:

  • April 15, 2026, 07:41:48 PM

Login with username, password and session length

Author Topic: Axis 'On Success' bits stay on even with power cycling?  (Read 7918 times)

RaymondC

  • Full Member
  • ***
  • Posts: 27
Axis 'On Success' bits stay on even with power cycling?
« 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?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: Axis 'On Success' bits stay on even with power cycling?
« Reply #1 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.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

RBPLC

  • Hero Member
  • *****
  • Posts: 586
Re: Axis 'On Success' bits stay on even with power cycling?
« Reply #2 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.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: Axis 'On Success' bits stay on even with power cycling?
« Reply #3 on: August 26, 2020, 05:27:21 PM »
Usually doesn't matter though, since they are cleared on the rising edge of the enable.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

RaymondC

  • Full Member
  • ***
  • Posts: 27
Re: Axis 'On Success' bits stay on even with power cycling?
« Reply #4 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.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: Axis 'On Success' bits stay on even with power cycling?
« Reply #5 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"
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

RaymondC

  • Full Member
  • ***
  • Posts: 27
Re: Axis 'On Success' bits stay on even with power cycling?
« Reply #6 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.  :)

RBPLC

  • Hero Member
  • *****
  • Posts: 586
Re: Axis 'On Success' bits stay on even with power cycling?
« Reply #7 on: August 26, 2020, 09:28:17 PM »
Quote
What do you mean by change the default settings?