AH500 Programming Manual
6-384
2. When X1.0 is ON, Y0.0~Y0.3 are ON cyclically. After the execution of the instruction is
complete, SM694 is ON for a scan cycle.
3. The outputs Y0.0~Y0.3 must be transistors.
X1.0
Y0.0
Y0
.1
Y0.2
Y0.3
SM694
The execution of the
insturciton is complete.
0.1s
0.1s
0.1s
0.1s
0.1s
0.1s
Cyclic action
Interruption
4. The DIP switches:
UPX0.0 X0.1 X0.2 X0.3 X0. 4 X0.5 X0.6 Y0.3
1 2 4 8
1 2 4 8 10 10 10 10
3 2 1 0
10
0
10
1
10
2
10
3
X0.7 Y0.2 Y0.0Y0.1 ZPS/S
+
A diode (1N4148) must
be connected in series .
Binary coded decimal-
wiring of DIP switches
Note: The transistor o ut put modu le AH 16 AP11 T-5 A i s used in th is example.
First DIP switch S econd DIP swtich
Additional remark:
1. If n exceeds the range, the instruction is not executed, SM0 is ON, and the error code in SR0
is 16#200B.
2. If users declare the operand D
1
in ISPSoft, the data type will be ARRAY [4] of BOOL.