4 - 10
4.4.2 Batch monitoring of device values
4 CREATING PROGRAM IN ST LANGUAGE
GX Works2
4.4.2 Batch monitoring of device values
For the Batch monitoring of device values procedure, refer to the following.
3.4.2 Batch monitoring of device values
5. Turn ON inputs X0, X1 and X2 in the programmable controller, and check the following
operations.
You can turn ON inputs X0, X1 and X2 using the test operation above.
• When X0 turns ON, the programmable controller turns ON Y10, and then turns OFF Y10 1
second later.
• When X1 turns ON, the programmable controller transfers K10 to VAR1 (device: D0).
• When X2 turns ON, the programmable controller transfers K20 to VAR1 (device: D0).
6. Select [Online] [Monitor] [Stop
Monitoring] to stop (pause) the monitor status
on the POU_01 [PRG] Program [ST] screen.
You can click (Stop Monitoring) to reset the
POU_01 [PRG] Program [ST] screen.
7. Set the programmable controller CPU to STOP.
Set the RUN/STOP switch on the programmable
controller CPU to "STOP".
You can switch the programmable controller status
between "RUN" and "STOP" using remote
operation.
"Point" in the step4
Y10 remains ON
for 1 second.
X0 turns ON.
VAR1 becomes "10".
X1 turns ON.
VAR1 becomes "20".
X2 turns ON.