Conversion Instructions
Restrictions
Flags
3-12-24 ASCII TO SIXTEEN-DIGIT NUMBER: NUM16(606)
Purpose
Ladder Symbol
Variations
The Error Flag will be turned ON if the ASCII data contains any characters
that are not hexadecimal digits. In this case, the instruction will not be exe-
cuted.
15
S
31
33
S+1
35
S+2
S+3
37
ASCII
Hexadecimal
15
12
D
5
1
D+1
Note If the numerical data is 0, the Equals Flag will turn ON.
If the leftmost bit of the numerical data is 1, the Negative Flag will turn ON.
The following restrictions apply to NUM8(605).
■ Restrictions on the CPU Unit
NUM8(605) can be used in CPU Units with unit version 4.0 or later only.
■ Restrictions on the CX-Programmer
NUM8(605) can be used in CX-Programmer version 7 or higher only.
Name
Error Flag
ER
Equals Flag
=
Negative Flag
N
Converts 16 characters of ASCII data to an 16-digit hexadecimal number.
This instruction is supported by CS/CJ-series CPU Units with unit version 4.0
or later only.
NUM16
D
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
8
7
0
32
34
36
38
11
8
7
4
3
0
6
7
8
2
3
4
Label
ON if the source words contain any ASCII characters that
are not hexadecimal equivalents (0 to 9, a to f, or A to F).
OFF in all other cases.
ON if the result is 0.
OFF in all other cases.
ON when the leftmost bit of the source data is 1.
OFF in all other cases.
S: ASCII text
S
D: Number
Section 3-12
Operation
NUM16(606)
@NUM16(606)
Not supported
545
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?
Questions and answers