7-6-5
Controlling BOOL Variables, Changing Present Values, and Us-
ing Forced Refreshing
You can debug the safety program by controlling BOOL variables (Set/Reset), changing present val-
ues, and executing forced refreshing from the Sysmac Studio. These functions can be executed only
when the Safety CPU Unit is in DEBUG mode (RUN) or DEBUG mode (ST
OPPED).
WARNING
Make sure that the area around the system is safe before you control
BOOL variables (Set/Reset), change present values, and execute
forced refreshing.
The outputs may operate and may cause serious injury
.
Controlling BOOL Variables (Set/Reset)
This function allows you to change the values of BOOL variables in the FBD editor or Watch Tab Page
to debug safety programs.
l
Controlling BOOL Variables in the FBD Editor (Set/Reset)
1 Double-click the present value of the BOOL variable to change.
Example: To set the variable a
, double-click the present value of FALSE.
The value changes to a temporary status.
A temporary value appears in <> on the right side of the present value. This indicates that the
temporary value, either TRUE or F
ALSE, is available to replace the present value.
Temporary value is displayed
Each double-click toggles the temporary value.
2 Select Write Values from the Controller Menu.
The temporary value is removed and reflected as the present value.
Example: The present value of variable a is set to TRUE.
7 Checking Operation and Actual Operation
7 - 31
NX-series Safety Control Unit User's Manual (Z930)
7-6 Functions for Checking Operation
7
7-6-5 Controlling BOOL Variables, Changing Present Values, and Using Forced Re-
freshing