Communication Sequence; Write Text Packets - Nordson EFD Ultimus V Manuel Utilisateur

Masquer les pouces Voir aussi pour Ultimus V:
Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Doseur de Fluide Haute Précision Ultimus V
Annexe B — Protocole RS-232 (suite)

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/fr EFDEU-South@nordson.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
+33 (0) 1 30 82 68 69 Les services et les points de vente des systèmes de dosage Nordson EFD sont présents dans le monde entier.
) 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

Publicité

Table des Matières
loading

Table des Matières