Omron C200HX Operation Manual page 446

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Host Link Communications
Communications Sequence
Frame1 (command)
@ Unit No.
Header code
Host com-
puter
Text
FCS
Delimiter
PC
Using the TXD(––) Instruction The TXD(––) instruction can be used to transmit data from the PC's data area to
428
The right to send a frame is called the "transmission right." The Unit that has the
transmission right is the one that can send a frame at any given time. The trans-
mission right is traded back and forth between the host computer and the PC
each time a frame is transmitted. An example communications sequence be-
tween the host computer and PC is described below.
• The host computer sets a delimiter at the end of the first command frame and
transmits the frame.
• When the PC receives the delimiter, it returns the same delimiter to the host
computer.
• After receiving the delimiter from the PC, the host computer transmits the next
frame.
• The PC sets a delimiter at the end of the first response frame and transmits the
frame.
• When the host computer receives the delimiter, it returns the same delimiter to
the PC.
• After receiving the delimiter from the host computer, the PC transmits the next
frame.
• Long transmissions are managed by exchanging delimiters in this way. The
last frame ends with a terminator.
Frame2 (command)
Text
FCS
Delimiter
Delimiter
the host computer. There is no response from the host computer. The TXD(––)
instruction will be executed after the response has been transmitted if TXD(––)
is executed while a response to a Host Link command is being returned to the
host computer.
Host computer
PC
Frame3 (command)
Text
FCS
Terminator
Delimiter
No response
@ Unit No.
Header code
Text
FCS
Terminator
Section 8-2
@ Unit No.
Header code
End code
Text
FCS
Terminator
Frame (response)

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents