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

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

Advertisement

3. Instructions
STR4/STR8/STR16
Instruction
FOUR-DIGIT NUMBER TO
ASCII
EIGHT-DIGIT NUMBER TO
ASCII
SIXTEEN-DIGIT NUMBER TO
ASCII
STR4
STR4
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
Description
S
Number
D
ASCII text
Operand Specifications
STR4, STR8
Word addresses
Area
CIO
WR
HR
S
OK
OK
OK
D
STR16
Word addresses
Area
CIO
WR
HR
S
OK
OK
OK
D
Flags
Name
Error Flag
Equal Flag
Negative Flag
424
Mnemonic
Variations
STR4
@STR4
STR8
@STR8
STR16
@STR16
S
S:
Number
D
D:
ASCII text
Block program areas
Step program areas
OK
OK
STR4
UINT
WORD
AR
T
C
DM
EM
OK
OK
OK
OK
OK
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
OFF
=
• 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 a 4-digit hexadecimal number (#0000 to
601
#FFFF) to ASCII data (4 characters).
Converts an 8-digit hexadecimal number (#0000
602
0000 to #FFFF FFFF) to ASCII data (8 charac-
ters).
Converts a 16-digit hexadecimal number (#0000
603
0000 0000 0000 to #FFFF FFFF FFFF FFFF) to
ASCII data (16 characters).
STR8
STR8
S
S:
Number
D
D:
ASCII text
Subroutines
OK
Data type
STR8
STR16
UDINT
ULINT
WORD
WORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
---
---
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
---
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
STR16
STR16
S
S:
D
D:
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
STR4
STR8
1
2
2
4
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
Number
ASCII text
STR16
4
8
TR
bits
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents