Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 464

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

NUM4/NUM8/NUM16
Instruction
ASCII TO FOUR-DIGIT
NUMBER
ASCII TO EIGHT-DIGIT
NUMBER
ASCII TO SIXTEEN-DIGIT
NUMBER
NUM4
NUM4
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
Description
S
ASCII text
D
Number
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
OK
OK
OK
D
Flags
Name
Error Flag
Equal Flag
Negative Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
NUM4
@NUM4
NUM8
@NUM8
NUM16
@NUM16
S
S:
ASCII text
D
D:
Number
Block program areas
Step program areas
OK
OK
NUM4
WORD
UINT
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
• 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.
N
• ON when the leftmost bit of the source data is 1.
• OFF in all other cases.
Function
code
Converts 4 characters of ASCII data to
604
a 4-digit hexadecimal number.
Converts 8 characters of ASCII data to
605
an 8-digit hexadecimal number.
Converts 16 characters of ASCII data to
606
an 16-digit hexadecimal number.
NUM8
NUM8
S
S:
ASCII text
D
D:
Number
Subroutines
OK
Data type
NUM8
NUM16
WORD
WORD
UDINT
ULINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
---
---
Operation
3. Instructions
Function
NUM16
NUM16
S
S:
D
D:
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
NUM4
NUM8
NUM16
2
4
1
2
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
ASCII text
3
Number
8
4
TR
bits
---
---
427

Advertisement

Table of Contents
loading

Table of Contents