Ultimus V Präzisionsdosiergerät
Anhang B — RS-232-Protokoll (Fortsetzung)
2.4 Communication Sequence
The dispenser uses two communication sequences: Write (2.4.1) and Read (2.4.2).
2.4.1 Write Text Packets
Write text packets are used when the client (PLC / PC) sets a parameter on the dispenser, but does not require
feedback data.
NOTE: Refer to "Diagram of Write Text Packet Communication between the Client and Dispenser" on page 47 for
a visual representation of the Write sequence.
The Write text packet sequence is as follows:
1.
The client transmits an Enquiry (
2.
When the dispenser receives the Enquiry (
(
ACK
/
0x06
) back to the client.
3.
When the client receives the acknowledgment (
2 seconds to avoid a communication timeout.
EXAMPLE:
(STX) + 08 + PS-- + 0500 + F0 + (ETX)
[In this example, the hyphens (
In the above text packet, the Checksum is
NOTE: The plus signs (+) are present only to show how each character is appended to form the example text
packet; they are not part of the transmitted data. The parentheses are present only to indicate a single-byte
control character, and are also not part of the transmitted data.
The above text packet in hexadecimal format is shown below:
STX
0
0x02
0x30
4.
When the dispenser receives the text packet and successfully executes it, the dispenser transmits a Success
Command (
A0
EXAMPLE:
(STX) + 02 + A0 + 2D + (ETX)
In the above text packet, the Checksum is
NOTE: The plus signs (+) are present only to show how each character is appended to form the example text
packet; they are not part of the transmitted data. The parentheses are present only to indicate a single-byte
control character, and are also not part of the transmitted data.
The above text packet in hexadecimal format is shown below:
STX
0
0x02
0x30
46
www.nordsonefd.com/de info.de@nordsonefd.com
ENQ
/
0x05
ENQ
--
) represent ASCII space values (hexadecimal
F0
8
P
S
space
0x38
0x50
0x53
0x20
) text packet to the client.
2D
2
A
0
0x32
0x41
0x30
0x32
+49 89 2000 338 600 Nordson EFD Verkaufs- und Kundendienst für Dosiersysteme stehen Ihnen weltweit zur Verfügung.
) to the dispenser.
/
0x05
), the dispenser transmits an acknowledgment
ACK
/
0x06
), the client must send the Write text packet within
. The Checksum calculation method is explained in 2.3.5.
space
0
5
0x20
0x30
0x35
. The Checksum calculation method is explained in 2.3.5.
2
D
ETX
0x44
0x03
0x20
].
0
0
F
0
0x30
0x30
0x46
0x30
ETX
0x03