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

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

Advertisement

Note 1 If you use communications instructions inside interrupt tasks (regardless of whether you specify communications
ports or use automatic port allocation), use the DI and EI instructions to prohibit executing interrupt tasks when exe-
cuting communications instructions with automatic port allocation in cyclic tasks, as shown below.
Cyclic Task
a (Executing)
a (Executing)
c (Standby)
2 If it is possible that more than eight communications instructions will be executed at the same time, always check to
be sure there is an available communications port before executing a communications instruction, even when using
automatic port allocation.
Execution
condition
A202.15
d (Execution
completed)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
DI
@Communications
instruction
Port: F
@MOV
A218
If there are communications instructions in any
b (Port)
interrupt tasks, prohibit execution of interrupt
tasks between DI and EI instructions.
@MOVL
A216
e (Code storage
location)
c (Standby)
EI
TST
A214
b (Port)
,IR0
#0000
Use A202.15 (Communications Port Allocation Enabled Flag) and
execute communications only when a communications port is available.
KEEP
a (Executing)
d (Execution completed)
MOVL
e (Code storage
location)
IR0
Network communications
error processing
3. Instructions
3
871

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents