Справочник Пользователя для Mitsubishi Electronics FX3S-5DM

Скачать
Страница из 216
13 Examples of Wiring for Various Uses
120
FX
3S
 Series Programmable Controllers
User's Manual - Hardware Edition
13.2 Digital Switch [DSW Instruction (FNC 72)/BIN Instruction (FNC 19)]
13.2
Digital Switch [DSW Instruction (FNC 72)/BIN Instruction (FNC 19)]
13.2.1 When DSW instruction (FNC 72) is used
Examples of wiring for capturing values from a 4-digit digital switch to the data register D100 are given below.
Example of program
Example of wiring
1) In the case of sink wiring
2) In the case of source wiring
M8000
RUN
monitor
X010
Y012
D100
K1
FNC 72
DSW
1
2
4
8
10
3
10
2
10
1
10
0
X010 X011 X012 X013
S/S
24V
0V
Y012 Y013 Y014 Y015
COM4
10
3
10
2
10
1
10
0
Main unit (Example: FX
3S
-30MT/ES)
Digital switch 
of BCD
0.1 A 50 V
diode is 
necessary
1
2
4
8
10
3
10
2
10
1
10
0
X010 X011 X012 X013
S/S
24V
0V
Y012 Y013 Y014 Y015
+V4
10
3
10
2
10
1
10
0
Main unit (Example: FX
3S
-30MT/ES)
Digital switch 
of BCD
0.1 A 50 V
diode is 
necessary