Fnc 72 - Dsw / Digital Switch (Thumbwheel Input) - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
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 T C D R U \G
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
input from the 1st digit in turn 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 the binary format.
- The first set is stored to
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
D
1
2
, and the second set is stored to
D
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
V Z Modify K H
PLCs.
3UC
is input in the time division method (in which the value is
S
n
D
2
Mnemonic
Operation Condition
Data Type
Bit
Bit
16-bit binary
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
.
D
2
+1.
11
12
13
14
15
Pointer
P
16
17
18
19
20
447

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents