2-2-21 Step Instructions; 2-2-22 Basic I/O Unit Instructions - Omron CJ - INSTRUCTIONS Reference Manual

Table of Contents

Advertisement

2. Summary of Instructions

2-2-21 Step Instructions

Instruction
Symbol/Operand
Mnemonic
Code
STEP DEFINE
STEP(008)
STEP
008
B: Bit
STEP START
SNXT(009)
SNXT
009
B: Bit

2-2-22 Basic I/O Unit Instructions

Instruction
Symbol/Operand
Mnemonic
Code
I/O REFRESH
IORF(097)
IORF
@IORF
097
St: Starting word
E: End word
SPECIAL I/O
UNIT I/O
FIORF(225)
REFRESH
(CJ1-H-R and
CJ2 only)
N: Unit number
FIORF
@FIORF
225
CPU BUS UNIT
I/O REFRESH
DLNK(226)
(CJ2, CS1-H,
CJ1-H, CJ1M, or
CS1D only)
N: Unit number
DLNK
@DLNK
226
7-SEGMENT
DECODER
SDEC(078)
SDEC
@SDEC
078
S: Source word
Di: Digit
designator
D: 1st destination
word
100
STEP(008) functions in following 2 ways, depending on its position and
whether or not a control bit has been specified.
(1)Starts a specific step.
B
(2)Ends the step programming area (i.e., step execution).
SNXT(009) is used in the following three ways:
(1)To start step programming execution.
B
(2)To proceed to the next step control bit.
(3)To end step programming execution.
Refreshes the specified I/O words.
I/O bit area or
St
Special I/O Unit bit area
E
St
E
Performs I/O refreshing immediately for the specified Special I/O Unit's
allocated CIO Area and DM Area words for the specified unit number.
N
Immediately refreshes the I/O in the CPU Bus Unit with the specified
unit number.
N
Converts the hexadecimal contents of the designated digit(s) into
8-bit, 7-segment display code and places it into the upper or lower
8-bits of the specified destination words.
S
Di
D
7-segment
Function
Function
I/O Unit or
Special I/O Unit
I/O refreshing
Di
Number of digits
First digit to convert
Rightmost 8 bits (0)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
784
Required
Output
784
Required
Location
Page
Execution
condition
Output
794
Required
Output
797
Required
Output
800
required
Output
804
Required

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF