242
19 TEST FUNCTION
19.2 Device Test with Execution Conditions
Operation when device test with execution conditions is registered
The device test with execution conditions can forcibly change device/label values (status) of specified locations.
Specify a location of a device/label value (status) to be changed with a program name and a step number. In addition, specify
a device/label and its value (status) to be changed with a device/label name and a setting value.
Changes made to the device/label value (status) take effect in the specified step and later. However, when the device/label
value (status) is changed due to operations of the program or other factors in the specified step and later, the device/label
value (status) is changed accordingly.
In the device test with execution conditions, a device/label value is changed in a specified step regardless of whether or not
the instruction execution conditions are satisfied in the specified step. In the following example, the D0 value is changed to 35
regardless of the status (on/off) of M0.
■In redundant mode
• Even if the operation mode is changed, the registration information of the device test with execution conditions before
changing the operation mode is retained.
• Even if the system is switched, the registration information of the device test with execution conditions before system
switching is retained.
• Even if the CPU module of the other system is powered off and on or is reset, the registration information of the device test
with execution conditions of the CPU module of the own system is retained. The registration information of the device test
with execution conditions is released in the CPU module which is powered off and on or reset.
• For the CPU module of the standby system in backup mode, if a program for which "Both Systems Program Executions
Setting" is set to "Control System Execution" is specified and the device test with execution conditions is registered, the
execution conditions are not satisfied and the device test is not executed.
Operation when device test with execution conditions is disabled
The device/label value (status) when the registration is disabled is held. (It is not returned to the value (status) before
execution of the device test with execution conditions.)
(1) The device test with execution conditions that sets D0 to 35 and is executed before execution of the instruction is registered to the step (100).
(2) The device value in the specified step is changed regardless of the value (on/off) of M0.
OFF
ON
D0
M0
10 35
+ K10
(1)
D0
M0
(100)
(2)
CPU module operation
Program