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