Ascii To Four-Digit Number: Num4(604) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Conversion Instructions
Restrictions
Flags

3-12-22 ASCII TO FOUR-DIGIT NUMBER: NUM4(604)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
542
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.
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.
Name
Error Flag
ER
Equals Flag
=
Negative Flag
N
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.
NUM4
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Function block
definitions
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Label
OFF
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
D: Number
Block program
Step program
areas
areas
OK
OK
S
CIO 0000 to CIO 6142
W000 to W510
H000 to H510
A448 to A958
T0000 to T4094
C0000 to C4094
D00000 to D32766
E00000 to E32766
En_00000 to En_32766
(n = 0 to C)
Section 3-12
Operation
NUM4(604)
@NUM4(604)
Not supported
Subroutines
Interrupt
tasks
OK
OK
D
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents