Mitsubishi Electronics FX3S Benutzerhandbuch
429
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
15 External FX I/O Device – FNC 70 to FNC 79
15.3 FNC 72 – DSW / Digital Switch (Thumbwheel Input)
11
FN
C30
-FN
C3
C30
-FN
C3
9
R
ota
tion and
Shi
ft
ft
12
FN
C40-FN
C40-FN
C49
D
ata O
perati
perati
on
13
FNC
50-FNC
59
High-Speed
Proc
essing
14
FM
C60-FN
C60-FN
C69
H
andy
In
struction
15
FN
C70-FN
C70-FN
C79
E
xternal
F
X
I/O
De
vice
16
FNC
80-FNC
89
External
FX
Dev
ice
ice
17
FNC1
00-
FNC10
00-
FNC10
9
Dat
a
a
Transfer 2
18
FNC1
10-
FNC139
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
Operation 2
20
FNC1
50-
FNC159
FNC159
Pos
itioning
itioning
Control
15.3
FNC 72 – DSW / Digital Switch (Thumbwheel Input)
Outline
This instruction reads the set value of digital switches.
This instruction can read a set of 4 digits (n = K1) or two sets of 4 digits (n = K2).
This instruction can read a set of 4 digits (n = K1) or two sets of 4 digits (n = K2).
1. Instruction format
2. Set data
3. Applicable devices
S1: This function is supported only in FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLCs.
S2: This function is supported only in FX
3U
/FX
3UC
PLCs.
Explanation of function and operation
1. 16-bit operation (DSW)
The value of each digital switch connected to
is input by the time division method (in which the value is input in
turn from the 1st digit by the output signal at the interval of 100 ms), and stored to
.
1) Data
- A numeric value from 0 to 9999 (up to 4 digits) can be read.
- A numeric value is stored in binary format.
- The first set is stored to
- A numeric value is stored in binary format.
- The first set is stored to
, and the second set is stored to
+1.
Operand Type
Description
Data Type
Head device (X) number connected to a digital switch
(Four devices are occupied.)
(Four devices are occupied.)
Bit
Head device (Y) number to which the strobe signal is output
(Four devices are occupied.)
(Four devices are occupied.)
Bit
Device number storing the numeric value of a digital switch
("n" devices are occupied.)
("n" devices are occupied.)
16-bit binary
n
Total number of 4-digit switch sets (4 digits/set) (n = 1 or 2)
16-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D
R
U \G
V Z Modify K H
E
" "
P
S1
S2
n
FNC 72
DSW
DSW
16-bit Instruction
9 steps
Mnemonic
Operation Condition
Continuous
Operation
−
32-bit Instruction
Mnemonic
Operation Condition
S
D
1
D
2
S
D
1
D
2
S
D
2
FNC 72
DSW
n
Strobe
signal
D
1
S
D
2
Command
input
D
1
D
2
D
2