Ansi x3.28 protocol example, Ansi x3.28 – Watlow Series 988 Family User Manual
Page 23

Sending Commands, Chapter 4
Data Communications with the Watlow Series 988 Family
4.5
ANSI X3.28
ANSI X3.28 Protocol Example
This example demonstrates communication between a master device and a remote
device at address 4. Your personal computer must generate the master’s messages.
Establish Communications Link
Master:
4
(Attempt to link with device 4.)
Remote:
4
(The link is established.)
End Communications Link
Master:
(End data link.)
Remote:
No response.
“=” Command Example
Master:
Remote:
Note: The commands IN1, IN2 and CF may take up to 2 seconds to return this character.
Do not send another message until this character is received.)
“?” Command Example
Master:
Remote:
not send the
or
Master:
Remote:
send a response until the
Master:
or
Remote:
until this character has been received.)
For maximum communications speed:
• Do not use a typical delay to wait before looking for a response.
• Scan for returned characters until the correct response is received.
• Use a time out to end a session if a correct response is not received in three seconds.
Try again later.
• Protocols are not flexible. Outside of the
protocol characters are allowed. Some programming languages add
of transmissions. This must be disabled.
• End the communications link and re-establish it with
changing to a new device at a different address. The master can communicate
repeatedly with a specific device once the initial data link is established.