10 TEST FUNCTION
10.1 External Input/Output Forced On/Off Function
153
10
Behavior in forced on/off registration
The following describes the behavior in forced on/off registration.
■Behavior of an input device
Registering forced on/off turns on or off the input device regardless of the status of the external input. When an input device
for which the forced on/off has been registered is changed in the program, the input device is turned on and off in accordance
with the operation result of the program.
*1 If the forced on/off is registered for a device set to perform link refresh, the device value may be updated at the timing of refresh. Thus,
a different value from the operation result may be displayed when the device value is monitored (performed in END processing).
■Behavior of an output device
Registering forced on/off turns on or off the external output regardless of the operation result of the program. When an output
device has been changed in the program, the output device is turned on and off in accordance with the operation result of the
program. Therefore, the on/off states between the output device and external output may differ.
*1 If the forced on/off is registered for a device set to perform link refresh, the device value may be updated at the timing of refresh. Thus,
a different value from the operation result may be displayed when the device value is monitored (performed in END processing).
CPU module operating status
Forced on/off registration is allowed regardless of the CPU module operating status. However, when a stop error has
occurred, the external outputs are turned off regardless of the forced on/off registration setting. While the operating status of
the CPU module is STOP due to a stop error, forced on/off is enabled only for the input devices. If the CPU module is powered
off and on or is reset, all the forced on/off registration information will be canceled.
Operation Change in the input device in the program Behavior of an input device
Forced on registration Changed • The input device is on when the program operation at every scan
starts.
• The input device is turned on or off in accordance with the operation
result of the program after the program operation at every scan
started.
*1
Not changed The on state is held.
Forced off registration Changed • The input device is off when the program operation at every scan
starts.
• The input device is turned on or off in accordance with the operation
result of the program after the program operation at every scan
started.
*1
Not changed The off state is held.
Operation Change in the output device in
the program
Behavior of outputs
Behavior of an output device Behavior of an external output
Forced on registration Changed • The output device is on when the program
operation at every scan starts.
• The output device is turned on or off in
accordance with the operation result of the
program after the program operation at every
scan started.
*1
The external output is turned on
regardless of the operation result of
the program.
Not changed The on state is held.
Forced off registration Changed • The output device is off when the program
operation at every scan starts.
• The output device is turned on or off in
accordance with the operation result of the
program after the program operation at every
scan started.
*1
The external output is turned off
regardless of the operation result of
the program.
Not changed The off state is held.