Mitsubishi Electronics FX3UC Garage Door Opener User Manual


 
267
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9.10 FNC 19 – BIN / Conversion to Binary
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
9.10 FNC 19 – BIN / Conversion to Binary
Outline
This instruction converts binary-coded decimal (BCD) data into binary (BIN) data.
Use this instruction to convert a binary-coded decimal (BCD) value such as a value set by a digital switch into binary
(BIN) data and to receive the converted binary data so that the data can be handled in operations in PLCs.
1. Instruction format
2. Set data
3. Applicable devices
S1: This function is supported only in FX3G/FX3GC/FX3U/FX3UC PLCs.
S2: This function is supported only in FX
3U/FX3UC PLCs.
Explanation of function and operation
1. 16-bit operation (BIN and BINP)
This instruction converts the binary-coded decimal (BCD) data of into binary (BIN) data, and transfers the
converted binary data to .
The data of can be converted if it is ranging from K0 to K9999 (BCD).
The table below shows digit specification for and .
Operand Type Description Data Type
Word device number storing the conversion source (binary-coded decimal) data 16- or 32-bit binary
Word device number of the conversion destination (binary) 16- or 32-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
S1 S2 
S1 S2 
Number of digits Data range
K1X000 1 0 to 9
K2X000 2 00 to 99
K3X000 3 000 to 999
K4X000 4 0000 to 9999
DBIN
DBINP
Mnemonic Operation Condition
16-bit Instruction
5 steps
BIN
BINP
Mnemonic Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
9 steps
Continuous
Operation
Pulse (Single)
Operation
P
FNC 19
BIN
D
S
D
S
D
S
D
S
S
D
FNC 19
BIN
X014 X010 X004 X000
X017 X013 X007 X003
BIN (FNC 19)
PLC
BCD
BIN
9786
S
D
When "K4X000"
is specified
…………
Command
input
S