Omron CS1G/H-CPUxxH Instructions Manual page 892

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Network Instructions
Communications Flags
Communications Port
Enabled Flag
Network instruction
(SEND, RECV, or CMND)
Communications Port
Error Flag
Communications Port
Completion Code
About Communications
Port Numbers
The operation of the communications flags is outlined below.
• The Communications Port Enabled Flag is reset to 0 when communica-
tions are in progress and set to 1 when communications are completed
(normally or not).
• The status of the Communications Port Error Flag is maintained until the
next time that data is transmitted or received.
• The Communications Port Error Flag will be reset to 0 the next time that
data is transmitted or received, even if there was an error in the previous
operation.
Instruction 1
Instruction 2
executing
executing
Previous
0000 (Normal
completion
completion)
There are 8 logical communications ports provided, so 8 communications
instructions can be executed simultaneously. Only one instruction can be exe-
cuted at a time for each communications port. Exclusive control must be used
when more than 8 instructions are executed.
These 8 communications port numbers are shared by the network instructions
(SEND(090), RECV(098), and CMND(490)) and the PROTOCOL MACRO
instruction (PMCR(260)). Be sure not to specify the same port number on two
instructions at the same time.
Controller Link Unit or
Ethernet Unit
Instruction 3
executing
0204
0000 (Normal completion)
Busy
CPU Unit
Port
Instruction 1
Instruction 2
Instruction 3
Instruction 4
Instruction 5
Instruction 6
Instruction 7
Instruction 8
Section 3-25
871

Advertisement

Table of Contents
loading

Table of Contents