Download Print this page

Digital Switch (Thumbwheel Input) - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

7.6

Digital Switch (Thumbwheel Input)

DSW
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).
Ladder diagram
(s)
(d1)
(d2)
FBD/LD
EN
ENO
s
d1
n
d2
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Head device number connected to a digital switch
(d1)
Head device number to which the strobe signal is output
(d2)
Device number storing the numeric value of a digital
switch
(n)
Total number of 4-digit switch sets
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
*1
(s)
*2
(d1)
(d2)
(n)
*1 Only X can be used.
*2 Only Y can be used.
(n)
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=DSW(EN,s,n,d1,d2);
Range
Data type
Bit
Bit
0 to 9999
16-bit signed binary
1, 2
16-bit unsigned binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
7.6 Digital Switch (Thumbwheel Input)
Data type (label)
ANYBIT_ARRAY
(Number of element: 4)
ANYBIT_ARRAY
(Number of element: 4)
ANY16
ANY16_U
BOOL
BOOL
Constant
Others
K, H
E
$
7 BASIC INSTRUCTIONS
345
7

Hide quick links:

Advertisement

loading