EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #470 background imageLoading...
Page #470 background image
3. Instructions
432
CS/CJ/NSJ Series Instructions Reference Manual (W474)
STR4/STR8/STR16
Applicable Program Areas
Operands
z Operand Specifications
STR4, STR8
STR16
Flags
Instruction Mnemonic Variations
Function
code
Function
FOUR-DIGIT NUMBER TO
ASCII
STR4 @STR4 601
Converts a 4-digit hexadecimal number (#0000 to
#FFFF) to ASCII data (4 characters).
EIGHT-DIGIT NUMBER TO
ASCII
STR8 @STR8 602
Converts an 8-digit hexadecimal number (#0000
0000 to #FFFF FFFF) to ASCII data (8 charac-
ters).
SIXTEEN-DIGIT NUMBER TO
ASCII
STR16 @STR16 603
Converts a 16-digit hexadecimal number (#0000
0000 0000 0000 to #FFFF FFFF FFFF FFFF) to
ASCII data (16 characters).
Symbol
STR4 STR8 STR16
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK OK OK OK OK OK
Operand Description
Data type Size
STR4 STR8 STR16 STR4 STR8 STR16
S Number UINT UDINT ULINT 1 2 4
D ASCII text WORD WORD WORD 2 4 8
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
S
OK OK OK OK OK OK OK OK OK OK
OK
--- --- OK --- --- --- ---
D ---
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
S
OK OK OK OK OK OK OK OK OK OK --- --- --- OK --- --- --- ---
D
Name Label Operation
Error Flag P_ER OFF
Equal Flag P_EQ • ON if the result is 0.
• OFF in all other cases.
Negative Flag P_N • ON when the leftmost bit of the source data is 1.
• OFF in all other cases.
S:
Number
D:
ASCII text
STR4
S
D
S:
Number
D:
ASCII text
STR8
S
D
S:
Number
D:
ASCII text
STR16
S
D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals