
541
Conversion Instructions
Section 3-12
Note If the source data is 0, the Equals Flag will turn ON.
If the leftmost bit of the source data is 1, the Negative Flag will turn ON.
Restrictions
The following restrictions apply to STR16(603).
■
Restrictions on the CPU Unit
STR16(603) can be used in CPU Units with unit version 4.0 or later only.
■
Restrictions on the CX-Programmer
STR16(603) can be used in CX-Programmer version 7 or higher only.
Flags
3-12-22 ASCII TO FOUR-DIGIT NUMBER: NUM4(604)
Purpose
Converts 4 characters of ASCII data to a 4-digit hexadecimal number.
This instruction is supported by CS/CJ-series CPU Units with unit version 4.0
or later only.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Name
Label
Operation
Error Flag
ER
OFF
Equals Flag
=
ON if the result is 0.
OFF in all other cases.
Negative Flag
N
ON when the leftmost bit of the source data is 1.
OFF in all other cases.
NUM4
S
D
S: ASCII text
D: Number
Variations
Executed Each Cycle for ON Condition
NUM4(604)
Executed Once for Upward Differentiation
@NUM4(604)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Function block
definitions
Block program
areas
Step program
areas
Subroutines
Interrupt
tasks
OK
OK
OK
OK
OK
Area
S
D
CIO Area
CIO 0000 to CIO 6142
CIO 0000 to CIO 6143
Work Area
W000 to W510
W000 to W511
Holding Bit Area
H000 to H510
H000 to H511
Auxiliary Bit Area
A448 to A958
A000 to A959
Timer Area
T0000 to T4094
T0000 to T4095
Counter Area
C0000 to C4094
C0000 to C4095
DM Area
D00000 to D32766
D00000 to D32767
EM Area without bank
E00000 to E32766
E00000 to E32767
EM Area with bank
En_00000 to En_32766
(n = 0 to C)
En_00000 to En_32767
(n = 0 to C)
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...