![Parker 6513 Скачать руководство пользователя страница 26](http://html1.mh-extra.com/html/parker/6513/6513_technical-manual_3790390026.webp)
ASCII
19
RS485/RS232 Communications Interface
Transferring Data - ASCII Example Messages
The following examples show how data transfer takes place using the network, they will also
help to verify your communications if you using the RS485/RS232 Communications Interface
for the first time. Many users will not become involved in generating low-level code, but for
those experienced in programming, the examples include ASCII, HEX and Control Character
information.
Note:
Refer to “Control Character Definitions”, page 24 for a more detailed explanation of all
control characters.
Example 1: EI Bisynch Prime Set
Note:
Refer to the 650 or 650V Software Product Manual for a full list of Tag No's/ID's
(mnemonics).
Using this set of mnemonics, you can enquire about the drive. For instance, you could enquire
about the Instrument Identity:
ENQUIRY
•
For software users
:
Enter the known address of the Drive (say 01), II, and that it is an enquiry.
•
For programmers, in ASCII:
(EOT)
0
0
1
1
I
I
(ENQ)
•
For programmers, in HEX:
04
30
30
31
31
49
49
05
•
As Characters - Establish Connection | Ask Question:
(EOT)
(GID)
(GID)
(UID)
(UID)
(C1)
(C2)
(ENQ)
Note:
The (GID)(UID) address is always entered twice.
Refer to ”Instrument Address”, page 14 for a more detailed explanation.
RESPONSE
•
For software users
:
The Instrument Identity will be returned, in our case 2650 (representing a 650V drive, size C
to F - 1650 represents a 650V drive, size 1 to 3)
•
For programmers, in ASCII:
(STX)
I
I
>
2
6
5
0
(ETX)
<
•
For programmers, in HEX:
02
49
49
3E
32
36
35
30
03
3C
•
As Characters - Valid Response:
(STX)
(C1)
(C2)
(D1)
(D2)
(D3)
(D4)
(D5)
(ETX) (BCC)
Note:
The BCC checksum (XOR) of the data after and excluding (STX) up to and including (ETX)
is “1” and >31. Refer to ”Block Check Character (BCC)”, page 13 for a more detailed
explanation.
In Example 1, connection to a new device is being made, i.e. the “Establish Connection”
information is transmitted. However, these examples can be transmitted without the “Establish
Connection” information if connection to the correct device is already established. This is
shown by Examples 3, 5 & 6.
Содержание 6513
Страница 7: ......