Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 929

Table of Contents

Advertisement

User Specification of Communications Ports
The communications port can be specified in the control data of the Network Communications
Instruction.
The same communications port cannot be used in any other instruction until processing this instruction
has been completed. Exclusive control of the communications port is necessary.
Auxiliary Area Words and Bits Used for User Specification of Communications
Ports
Address
Bits
A202
00 to 07
Communications Port
Enabled Flags
A203 to A210
---
Communications Port
Completion Codes
A219
00 to 07
Communications Port Error
Flags
Flag/Word Operation
Communications Port Enabled
Flag (A202.00 to A202.07)
Normal completion:
First Cycle Flags after
Network Communications
Finished (A214.00 to A214.07)
Communications Port
Completion Code (A203 to A210)
Error completion:
Communications Port Error
Flag (A219.00 to A219.07)
First Cycle Flag after Network
Communications Error
(A215.00 to A215.07)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Name
Turns ON when a communications instruction can be executed. Bits 00 to 07 correspond to
ports 0 to 7. You can tell when communications have been completed because the
Communications Port Enabled Flag will turn ON again after the completing execution of the
communications instruction. The Communications Port Error Flag will be OFF while the
communications instruction is being executed.
These words contain the completion codes for the corresponding port numbers when
communications instructions have been executed. Words A203 to A210 correspond to
communications ports 0 to 7.
Turns ON when a communications error occurs during execution of network
communications. If the Communications Port Error Flag turns ON, refer to the
Communications Port Completion Code in (A203 to A210) to identify the cause of the error.
Bits 00 to 07 correspond to communications ports 0 to 7. The Communications Port Error
Flag will be OFF while the communications instruction is being executed.
Communications
Communications
instruction
completed.
executed.
Cleared to zeros
Response stored
Description
ON for one cycle
ON for one cycle
3. Instructions
3
893

Advertisement

Table of Contents
loading

Table of Contents