82 Rockwell Automation Publication 1756-PM006I-EN-P - February 2018
This example shows how to use a GSV instruction to get the status of forces.
Important:
The ForceStatus attribute shows only the status of I/O forces. It does not show the status of SFC
forces.
where:
Force_Status is a DINT tag.
To determine if Examine this bit For this value
forces are installed 0 1
no forces are installed 0 0
forces are enabled 1 1
forces are disabled 1 0
To override a false transition one time and go from an active step to the next step,
use the Step Through option.
• You do not have to add, enable, disable, or remove forces.
• The next time the SFC reaches the transition, it executes according to the
conditions of the transition.
This option also lets you override one time the false force of a simultaneous path.
When you step through the force, the SFC executes the steps of the path. Follow
these steps to step through the transition of an active step or a force of a
simultaneous path.
1. Open the SFC routine.
2. Right-click the transition or the path that is forced and then click Step
Through.
Step through a transition or
a force of a path