100
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2-21 Step Instructions
2-2-22 Basic I/O Unit Instructions
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
STEP DEFINE
STEP
008
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.
(2)Ends the step programming area (i.e., step execution).
Output
Required
784
STEP START
SNXT
009
SNXT(009) is used in the following three ways:
(1)To start step programming execution.
(2)To proceed to the next step control bit.
(3)To end step programming execution.
Output
Required
784
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
I/O REFRESH
IORF
@IORF
097
Output
Required
794
SPECIAL I/O
UNIT I/O
REFRESH
(CJ1-H-R and
CJ2 only)
FIORF
@FIORF
225
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.
Output
Required
797
CPU BUS UNIT
I/O REFRESH
(CJ2, CS1-H,
CJ1-H, CJ1M, or
CS1D only)
DLNK
@DLNK
226
Immediately refreshes the I/O in the CPU Bus Unit with the specified
unit number.
Output
required
800
7-SEGMENT
DECODER
SDEC
@SDEC
078
Output
Required
804
STEP(008)
B
B: Bit
SNXT(009)
B
B: Bit
IORF(097)
St
E
St: Starting word
E: End word
I/O bit area or
Special I/O Unit bit area
I/O Unit or
Special I/O Unit
I/O refreshing
St
E
Refreshes the specified I/O words.
FIORF(225)
N
N: Unit numbe
DLNK(226)
N
N: Unit number
SDEC(078)
S
Di
D
S: Source word
Di: Digit
designator
D: 1st destination
word
Number of digits
Rightmost 8 bits (0)
Di
7-segment
First digit to convert
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.