EasyManuals Logo

Mitsubishi Electric FX3G SERIES User Manual

Mitsubishi Electric FX3G SERIES
948 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #432 background imageLoading...
Page #432 background image
430
FX3G/FX3U/FX3UC Series Programmable Controllers
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)
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
2. Set data
3. Applicable devices
S: This function is supported only in FX3U/FX3UC 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 , 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.)
Bit
Head device (Y) number to which the strobe signal is output
(Four devices are occupied.)
Bit
Device number storing the numeric value of a digital switch
("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
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
3 3
3 3
3333 S 33 3
n 33
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
Command
input
FNC 72
DSW
n
Strobe
signal
D
1
S
D
2
D
1
D
2
D
2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi Electric FX3G SERIES and is the answer not in the manual?

Mitsubishi Electric FX3G SERIES Specifications

General IconGeneral
ModelFX3G SERIES
Input Voltage100-240 VAC or 24 VDC
Protection ClassIP20
Programming LanguageInstruction List
Communication PortsRS-422, RS-485, USB
Execution Speed0.21 μs/basic instruction
High-speed ProcessingYes
Analog I/OOptional (via expansion boards)
Expansion ModulesYes
Operating Temperature0°C to 55°C
TypeProgrammable Logic Controller (PLC)

Related product manuals