Download tw

Transcript
FX3S Series Programmable Controllers
User's Manual - Hardware Edition
13 Examples of Wiring for Various Uses
13.2 Digital Switch [DSW Instruction (FNC 72)/BIN Instruction (FNC 19)]
13.2.2 When BIN instruction (FNC 19) is used
Examples of wiring for capturing values from a 2-digit digital switch to the data register D102 are given below.
Example of program
M8000
FNC 19
BIN
RUN
monitor
K2X010
D102
Example of wiring
1) In the case of sink wiring
10 0
10 1
1
2
4
8
1
2
4
8
S/S X010 X011 X012 X013 X014 X015 X016 X017
Main unit (Example: FX3S-30MT/ES)
0V
24V
2) In the case of source wiring
10 0
10 1
1
2
4
8
1
2
4
8
S/S X010 X011 X012 X013 X014 X015 X016 X017
Main unit (Example: FX3S-30MT/ESS)
0V
120
24V