Overview
This operation can be performed when you want to ensure that all programs in your project are reset to the beginning.
Note:
The examples and descriptions below are for the RC9 controller but they are very similar to the RC8 usage as well.
The RC9 utilizes a combination of data from 3 separate data areas to determine what operation to perform. These data areas (Command Area, Data Area 1, and Data Area 2) are populated with data from the PLC and then the "Strobe" signal is executed.
All 3 data areas are different sizes and read the bits in binary values.
Command Area - 4 bits
Data Area 1 - 8 bits
Data Area 2 - 16 bits
Depending on how you have mapped your tags on to the status data areas above, you can move/copy values into them or set them "on" or "off" by bit as you choose.
To "Reset" all programs in the controller you would enter the following data from the PLC:
Command Area - 0001 (value of "1")
Data Area 1 - 0100 0000 (value of "64")
Data Area 2 - 1xxx xxxx xxxx xxxx (Any negative value - PROxx only go up to 32,767).
Once this data is set in the PLC then you would turn "on" the strobe signal.
This should reset all your programs to the beginning.
The Command processing complete output should come on temporarily.
You can use this to turn the "strobe" signal back "off".
You can also reset a program at the same time in which you call it. This forces any called PROxx to start from the beginning no matter what conditions caused it stop in mid cycle.
You can do this by following the same steps above but you would enter different data into the data areas.
Command Area - 0001 (value of "1")
Data Area 1 - 0000 0001 (value of "1")
Data Area 2 - 0000 0000 0000 0011 (This example would be to reset and then call PRO3).
Then execute the "strobe" on input
Owner's Manual Reference
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article