Anhang B — RS-232-Protokoll (Fortsetzung)
2.4.2 Read Text Packets (continued)
9.
If the client receives a Success Command (
to indicate that it is ready to receive data. If the client receives a Failure Command (
must restart the communication process by sending an Enquiry (
10. When the acknowledgment (
contains the data requested by the client.
EXAMPLE:
(STX) + 05 + D0 + 001 + 96 + (ETX)
The above text packet in hexadecimal format is shown below:
STX
0
5
0x02
0x30
0x35
11. When the client receives the text packet, the client can either transmit another text packet or the client can
transmit End of Text (
EOT
Diagram of Read Text Packet Communication between the Client and Dispenser
ENQ (0x05)
STX
0
(0x02)
Client
(PC / PLC)
ACK (0x06)
EOT (0x04)
NOTES:
• The
STX
(
0x02
) and
ETX
NAK
(
0x15
), or
EOT
(
0x04
• Communication Timeout: The client sends an Enquiry (
acknowledgment (
ACK
/
previously) must be sent by the client within 2 seconds, otherwise the dispenser enters a Communication Timeout
state and responds with an Failure Command (
www.nordsonefd.com/de info.de@nordsonefd.com
A0
) text packet, the client returns an acknowledgment (
ACK
/
0x06
) from the client is received, the dispenser sends a text packet that
D
0
0
0x44
0x30
0x30
0x30
/
0x04
) to end the sequence.
Communication Flow
space
4
U
A
(0x20)
STX
0
(0x02)
(
0x03
) control characters are not added when sending
). These are stand-alone / single-byte control characters.
0x06
) in response. The next text packet (such as the
A2
) text packet.
+49 89 2000 338 600 Nordson EFD Verkaufs- und Kundendienst für Dosiersysteme stehen Ihnen weltweit zur Verfügung.
ENQ
/
0x05
) to the dispenser.
0
1
9
6
0x31
0x39
0x36
space
ETX
C
6
(0x20)
(0x03)
STX
0
2
A
0
(0x02)
5
D
0
0
0
1
ENQ
ENQ
/
0x05
) to the dispenser and receives an
UA--
Ultimus V Präzisionsdosiergerät
ACK
/
0x06
)
A2
) text packet, the client
ETX
0x03
ACK (0x06)
ETX
Ultimus V
2
D
(0x03)
dispenser
ETX
9
6
(0x03)
(
0x05
),
ACK
(
0x06
),
text packet shown
49