Converting Hexadecimal 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 hexadecimal ASCII data to 16-bit binary data

HABIN(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions convert hexadecimal ASCII data to 16-bit binary data.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
HABIN
HABINP
Setting data
■Description, range, data type
Operand
Description
(s)
ASCII data to be converted to binary data or the start
device where the ASCII data is stored
(d)
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:=HABIN(EN,s,d);
ENO:=HABINP(EN,s,d);
Range
Data type
String
16-bit signed binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
6.6 Data Conversion Instructions
Data type (label)
ANYSTRING_SINGLE
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
6 BASIC INSTRUCTIONS
6
445

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents