Auxiliary Area
■
Information on Communications Instruction Execution with Automatic Allocation of 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
Flags
Network Communications
Completion Code Storage
Address
Used Communications Port
Numbers
Address
A20215
ON when a communications instruction can be executed
with automatic port allocation and there is a communications
port available for automatic allocation.
Note: When 9 or more communications instructions are
being used simultaneously, use this flag to confirm
that a communications port is available for automatic
allocation before executing the communications
instructions.
A21400 to
When a communications instruction is executed with auto-
A21407
matic port allocation, the corresponding flag is turned 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 communications instruction is executed. Delay
accessing them for at least one cycle.
A21500 to
When a communications instruction was executed with auto-
A21507
matic port allocation and an error occurred, the correspond-
ing flag is turned ON for just one cycle. Bits 00 to 07
correspond to ports 0 to 7.
The cause of the error can be determined with the Commu-
nications Port Completion Codes stored in A203 to A210.
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
accessing them for at least one cycle.
A216 to
When a communications instruction was executed with auto-
A217
matic port allocation, the response (completion) code for the
communications instruction is automatically stored in the
word with the PLC memory address specified in these
words.
Note: The PLC memory address specified here can be
transferred to an index register in order to indirectly
address the specified word and read the code.
A218
When a communications instruction is executed with auto-
matic port allocation, the allocated communications port
number is stored in this word. Values 0000 to 0007 hex cor-
respond to ports 0 to 7.
Description
Section 8-11
Access
Read-only
Read-only
Read-only
Read-only
Read-only
301