Fnc 72 - Dsw / Digital Switch (Thumbwheel Input) - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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).
1. Instruction format
FNC 72
DSW
2. Set data
Operand Type
S
D
1
D
2
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
D
1
D
2
n
: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (DSW)
The value of each digital switch connected to
turn from the 1st digit by the output signal at the interval of 100 ms), and stored to
Command
input
FNC 72
DSW
1)
Data
D
1
- 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
430
Mnemonic
16-bit Instruction
9 steps
DSW
Head device (X) number connected to a digital switch
(Four devices are occupied.)
Head device (Y) number to which the strobe signal is output
(Four devices are occupied.)
Device number storing the numeric value of a digital switch
("n" devices are occupied.)
Total number of 4-digit switch sets (4 digits/set) (n = 1 or 2)
Digit Specification
/FX
3U
Strobe
signal
S
D
1
D
, and the second set is stored to
2
15 External FX I/O Device – FNC 70 to FNC 79
15.3 FNC 72 – DSW / Digital Switch (Thumbwheel Input)
Operation Condition
32-bit Instruction
Continuous
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
PLCs.
3UC
S
is input by the time division method (in which the value is input in
D
n
2
D
Mnemonic
Operation Condition
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
D
.
2
+1.
2
Data Type
Bit
Bit
16-bit binary
16-bit binary
Others
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents