Fnc 19 - Conversion To Binary - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
9.10
FNC 19 – Conversion to Binary
Outline
This instruction converts a 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
a binary (BIN) data and receive the converted binary data so that the data can be handled in operations in
PLCs.
1. Instruction format
FNC 19
D
BIN
2. Set data
Operand Type
S
D
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
Explanation of function and operation
1. 16-bit operation (BIN and BINP)
This instruction converts the binary-coded decimal (BCD) data of
the converted binary data to
• The data of
• The table below shows digit specification for
Command
input
FNC 19
S
K1X000
K2X000
K3X000
K4X000
242
Mnemonic
16-bit Instruction
P
BIN
5 steps
BINP
Word device number storing the conversion source (binary-coded decimal) data
Word device number of the conversion destination (binary)
Digit Specification
.
D
can be converted if it is within the range from K0 to K9999 (BCD).
S
S
D
BIN
When "K2X000"
is specified
Number of digits
1
2
3
4
9 Move and Compare – FNC 10 to FNC 19
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
V Z Modify K H
S
and
.
S
D
6
7
8
9
...
...
...
X014 X010 X004 X000
X017 X013 X007 X003
BIN (FNC 19)
PLC
Data range
0 to 9
00 to 99
000 to 999
0000 to 9999
9.10 FNC 19 – Conversion to Binary
Mnemonic
Operation Condition
DBIN
Continuous
9 steps
Operation
DBINP
Pulse (Single)
Operation
Data Type
16- or 32-bit binary
16- or 32-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
into binary (BIN) data, and transfers
BCD
...
BIN
Pointer
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents