FX Series Positioning Controllers
Program format 5
5-55
5.10.12 FNC18 (BCD): BCD conversion
•
The BCD instruction is not executed if the BCD conversion result is outside 0 to 9,999.
The [D] BCD instruction is not executed if the BCD conversion result is outside 0 to
99,999,999.
•
The BCD instruction is used to convert binary data in the positioning unit into BCD data (for
7-segment display, etc.) to be output to external equipment.
5.10.13 FNC19 (BIN): BIN conversion
•
The BIN instruction is used to fetch digital switch set value (BCD data) to the positioning
unit. When the source data is not BCD, this instruction is not executed.
•
Constant K is automatically converted into the BIN code and treated.
There is no necessity for using this instruction.
FNC 18
BCD
Applicable models
Series name
Remarks
K,H
KnX
KnY
KnM
D
V,Z
Applicable
devices
and basic
format
Word
devices
FNC 18
BCD
FX
2N
-10GM
FX
2N
-20GM
BINARY CODED
TO DECIMAL
BCD
BCD conversion
BIN
BCD
The binary data is converted into BCD data
and transmitted to .
D·
Drive
input
S·
D·
S·
D·
S·
[D]BCD
16-bit operation
5 steps
32-bit operation
8 steps
•
FNC 18
BCD
D 12
K2Y00
X26
BIN
When X26 is turned ON, D12 (binary data) is converted
into BCD and transmitted to Y0 to Y7.
BCD
·
FNC 19
BCD
Applicable models
Series name
Remarks
K,H
KnX
KnY
KnM
D
V,Z
Applicable
devices
and basic
format
Word
devices
FNC 19
BCD
FX
2N
-10GM
FX
2N
(E)-20GM
BINARY
BIN
BIN conversion
BCD
BIN
The BCD data is converted into binary
data and transmitted to .
D·
Drive
input
S·
D·
S·
D·
S·
[D]BIN
16-bit operation
5 steps
32-bit operation
8 steps
•
FNC 19
BCD
K2X00
D 13
X27
BCD
When X27 is turned ON, BCD data in X00 to X07 is
converted into binary and transmitted to D13.
·
BIN
Содержание FX2N-10GM
Страница 1: ...HARDWARE PROGRAMMING MANUAL FX2N 10GM FX2N 20GM ...
Страница 4: ...FX Series Positioning Controllers ii ...
Страница 6: ...FX Series Positioning Controllers iv ...
Страница 46: ...FX Series Positioning Controllers Introduction 1 1 34 MEMO ...
Страница 76: ...FX Series Positioning Controllers Wiring 3 3 24 MEMO ...
Страница 222: ...FX Series Positioning Controllers Operation Maintenance and Inspection 8 8 18 MEMO ...
Страница 256: ...FX Series Positioning Controllers Program Examples 9 9 34 MEMO ...