Omron CS1D DUPLEX SYSTEM - 10-2009 Operation Manual page 546

Cs1d duplex system
Table of Contents

Advertisement

Auxiliary Area Allocations
Address
Name
Words
Bits
A214
A21400
First Cycle
to
Flags after
A21407
Network
Communi-
cations
Finished
A215
A21500
First Cycle
to
Flags after
A21507
Network
Communi-
cations
Error
Flags
A216 to
All
Network
A217
Communi-
cations
Comple-
tion Code
Storage
Address
A218
All
Used
Communi-
cations
Port Num-
bers
A219
A21900
Communi-
to
cations
A21907
Port Error
Flags
510
Function
When a communications instruction
is executed with automatic port allo-
cation, the corresponding flag is
turned ON for just one cycle after
communications have been com-
pleted. 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.
When a communications instruction
was executed with automatic port
allocation and an error occurred, the
corresponding flag is turned ON for
just one cycle. Bits 00 to 07 corre-
spond to ports 0 to 7.
Use the Used Communications Port
Number stored in A218 to determine
which flag to access. The cause of
the error can be determined with 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.
When a communications instruction
was executed with automatic port
allocation, the response (comple-
tion) 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 trans-
ferred to an index register in
order to indirectly address the
specified word and read the
code.
When a communications instruction
is executed with automatic port allo-
cation, the allocated communica-
tions port number is stored in this
word. Values 0000 to 0007 hex cor-
respond to ports 0 to 7.
ON when an error occurred during
execution of a network instruction
(SEND, RECV, CMND, or PMCR).
Bits 00 to 07 correspond to commu-
nications ports 0 to 7.
(All of these flags are turned OFF at
the start of program execution and
the flag for a given port is turned
OFF when a network instruction with
that port number is executed.)
(When the simple backup operation
is used to performed a write or com-
pare operation for a Memory Card, a
communications port will be auto-
matically allocated, and the corre-
sponding Flag will be turned OF if an
error occurs.)
Settings
Status
after
mode
change
ON for the first
Held
cycle after com-
munications
have been com-
pleted, other-
wise OFF
ON for the first
Held
cycle after com-
munications
error end, other-
wise OFF
PLC memory
Held
address of the
word where the
network commu-
nications
response code is
stored
0000 to 0007
Held
hex:
Ports 0 to 7.
ON: Error
Cleared
occurred
OFF: Normal
Appendix B
Status at
Timing
Related
startup
flags,
settings
Cleared
---
---
Cleared
---
---
Cleared
---
---
Cleared
---
---
---
---
---

Advertisement

Table of Contents
loading

Table of Contents