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