A-1-20 Step Instructions; A-1-21 Basic I/O Unit Instructions - Omron CJ2 - 02-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

Appendices
Instruction
Mnemonic
Code
ENABLE
EI
694
INTER-
RUPTS
A-1-20
Step Instructions
Instruction
Mnemonic
Code
STEP
STEP
008
DEFINE
STEP START
SNXT
009
A-1-21
Basic I/O Unit Instructions
Instruction
Mnemonic
Code
I/O
IORF
097
REFRESH
@IORF
SPECIAL I/O
FIORF
225
UNIT I/O
@FIORF
REFRESH
CPU BUS
DLNK
226
UNIT I/O
@DLNK
REFRESH
A-56
Symbol/Operand
Enables execution of all interrupt tasks that were disabled
EI(694)
with DI(693).
0000.00
Symbol/Operand
STEP(008) functions in following 2 ways, depending on its position
STEP(008)
and whether or not a control bit has been specified.
B
(1) Starts a specific step.
(2) Ends the step programming area (i.e., step execution).
B: Bit
The step program area is from the first STEP(008) instruction
(which always takes a control bit) to the last STEP(008) instruction
(which never takes a control bit).
SNXT(009) is used in the following three ways:
SNXT(009)
(1) To start step programming execution.
B
(2) To proceed to the next step control bit.
B: Bit
(3) To end step programming execution.
Symbol/Operand
Refreshes the specified I/O words.
IORF(097)
St
I/O bit area or
Special I/O Unit bit area
E
St
St: Starting word
E: End word
E
Immediately refreshes the I/O words allocated to the Special I/O
FIORF(225)
Unit with the specified unit number.
N
N: Unit number
Immediately refreshes the I/O words allocated to the CPU Bus
DLNK(226)
Unit with the specified unit number.
N
N: Unit number
Function
When CIO 0000.00 turns ON
in this example, EI(694)
enables all interrupt tasks that
were disabled with DI(693).
Disables execution of all
interrupt tasks (except
the power OFF interrupt).
Enables execution of all
disabled interrupt tasks.
Function
Function
I/O Unit or
Special I/O Unit
I/O refreshing
CJ2 CPU Unit Software User's Manual
Execution
Location
condition
Output
Not
required
Execution
Location
condition
Output
Required
Output
Required
Execution
Location
condition
Output
Required
Output
Required
Output
Required

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents