Converting 16-bit binary data to decimal ASCII
BINDA(P)(_U)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions convert 16-bit binary data to the decimal ASCII code.
Ladder
(s)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
BINDA
BINDA_U
BINDAP
BINDAP_U
Setting data
■Descriptions, ranges, and data types
Operand
(s)
BINDA(P)
BINDA(P)_U
(d)
EN
ENO
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
7 APPLICATION INSTRUCTIONS
642
7.8 String Processing Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
Execution condition
Description
Binary data used for ASCII conversion
Start device for storing the conversion result
Execution condition
Execution result
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=BINDA(EN,s,d);
ENO:=BINDAP(EN,s,d)
Range
-32768 to 32767
0 to 65535
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
ENO:=BINDA_U(EN,s,d);
ENO:=BINDAP_U(EN,s,d)
Data type
Data type (label)
16-bit signed binary
ANY16_S
16-bit unsigned binary
ANY16_U
String
ANYSTRING_SINGL
E
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$