Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1074

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Network Instructions
Address
Bits
A202
15
Network Communications Port
Allocation Enabled Flag
A214
00 to 07 First Cycle Flags after Network
Communications Finished
08 to 15 Do not use.
A215
00 to 07 First Cycle Flags after Network
Communications Error
08 to 15 Do not use.
A216
---
Network Communications
and
Completion Code Storage
A217
Address
A218
---
Used Communications Port
Number
Note
Auxiliary Area Bits and Words Used when Automatically Allocating
Communications Ports
Name
ON when there is a communications port available for automatic
allocation. This flag can be used to confirm if all eight communica-
tions ports have already been allocated before executing communi-
cations instructions.
Each flag will turn ON for just one cycle after communications have
been completed. Bits 00 to 07 correspond to ports 0 to 7. Use the
Used Communications Port Number stored in A218 to determine
which flag to access.
Note: These flags are not effective until the next cycle after the
Each flag will turn ON for just one cycle after a communications
error occurs. Bits 00 to 07 correspond to ports 0 to 7. Use the Used
Communications Port Number stored in A218 to determine which
flag to access.
Note: These flags are not effective until the next cycle after the
The completion code for a communications instruction is automati-
cally stored at the address with the I/O memory address given in
these words. Place this address into an index register and use indi-
rect addressing through the index register to reach the communica-
tions completion code.
When a communications instruction is executed, the number of the
communications port that was used is stored in this word. Values
0000 to 0007 hex correspond to communications ports 0 to 7.
1. Use the following flowchart to determine whether to use the Network Com-
munications Port Allocation Enabled Flag (A20215) and the Network Com-
munications Completion Code Storage Address (A216 and A217).
Using more than 8 com-
munications ports?
NO
Communications comple-
tion codes required?
NO
Use automatic communications
port allocation.
Description
communications instruction is executed. Delay accessing
them for at least one cycle.
communications instruction is executed. Delay accessing
them for at least one cycle.
YES
Use A20215 and perform exclu-
sive control.
Use A216 and A217 with indirect
YES
addressing via an index register to
check the code.
Section 3-25
1035

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents