Omron CJ - 09-2009 Operation Manual page 457

Programmable controllers
Table of Contents

Advertisement

Auxiliary Area
Auxiliary Area Bits and Words Used when Automatically Allocating Communications Ports
Name
Network Communications
Port Allocation Enabled Flag
First Cycle Flags after Net-
work Communications Fin-
ished
First Cycle Flags after Net-
work Communications Error
Network Communications
Completion Code Storage
Address
Used Communications Port
Numbers
Address
A20215
ON when there is a communications port available for auto-
matic allocation.
Note: Use this flag to confirm whether a communications
port is available for automatic allocation before executing
communications instructions when using 9 or more commu-
nications instructions simultaneously.
A21400 to
Each flag will turn ON for just one cycle after communica-
A21407
tions 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 communications instruction is executed. Delay access-
ing them for at least one cycle.
A21500 to
Each flag will turn ON for just one cycle after a communica-
A21507
tions 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. Determine the cause of
the error according to the Communications Port Completion
Codes stored in A203 to A210.
Note: These flags are not effective until the next cycle after
the communications instruction is executed. Delay
accessing them for at least one cycle.
A216 to
The completion code for a communications instruction is
A217
automatically stored at the address with the I/O memory
address given in these words. Place this address into an
index register and use indirect addressing through the index
register to read the communications completion code.
A218
Stores the communications port numbers used when a com-
munications instruction is executed using automatic commu-
nication port allocations.
0000 to 0007 hex: Communications port 0 to 7
Description
Section 9-11
Access
Read-only
Read-only
Read-only
Read-only
Read-only
409

Advertisement

Table of Contents
loading

Table of Contents