Converting Decimal Ascii Data To 16-Bit Binary Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Converting decimal ASCII data to 16-bit binary data

DABIN(P)(_U)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions convert decimal ASCII data to 16-bit binary data.
Ladder
(s)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
DABIN
DABIN_U
DABINP
DABINP_U
Setting data
■Description, range, data type
Operand
(s)
(d)
DABIN(P)
DABIN(P)_U
EN
ENO
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
6 BASIC INSTRUCTIONS
438
6.6 Data Conversion Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
Execution condition
Description
ASCII data or the start device where the ASCII
data is stored
Device for storing the converted binary data
Execution condition
Execution result
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=DABIN(EN,s,d);
ENO:=DABINP(EN,s,d);
Range
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
ENO:=DABIN_U(EN,s,d);
ENO:=DABINP_U(EN,s,d);
Data type
Data type (label)
String
ANYSTRING_SINGLE
16-bit signed binary
ANY16_S
16-bit unsigned binary
ANY16_U
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents