0x6F.
Data processing
Example
Address
=
Address
XOR FID
Address
= 0x41 XOR 0x6F = 0x2E
Command
= Command XOR FID
Command
= 0xC8 XOR 0x6F = 0xA7
Data
=
Data
XOR FID
Data
= 0x05 XOR 0x6F = 0x6A
For example, the master device transmits information to GTR85 controller via RS485 should be 0x2E then
0xA7 and then 0x6A as sequence.
Information receiving format
The master device receiving information form includes two parts
Echo
and
Check
.
Echo represents the information that GTR85 responds to the master device transmitting information.
Check is used for master device checks the accuracy of the receiving information.
Receiving information processing
Data processing
Example
Echo
=
Echo
XOR FID
Echo
= 0x6F XOR 0x6F = 0x00
Check
=
Check
XOR FID
Check
= 0x91 XOR 0x6F = 0xFE
The master device receives information from GTR85 controller via RS485 should be 0x00 and then 0xFE.
2.1.2
Transmit information via MTR-1
Connection
method
2
Master device (RS-232)
Ù
MTR-1 as interface (RS232
ÅÆ
RS-485)
Ù
GTR85 controller as slave device
(RS485)
Device port configuration
19200 bps, no parity, 8 data bits, 2 stop bits
Information transmitting format
The master device transmitting information form includes four parts that are
Start
,
Address
,
Command
as
well as
Data
in seven bytes.
Transmitted
information
Format
Start
Address Command
Function
Example |
4 1 C 8 0 5
The start byte, ‘|’ (0x7C in hexadecimal form), is the synchronous character of the MTR-1. The description of
Address, Command and Data are the same as defined in section 2.1.1.
All transmitting information should be transfer from hexadecimal to two ASCII characters, for example, if the
Address
is 0x41, then the transmitting data is ‘4’ ‘1’, or 0x34 0x31 in hexadecimal form.
Encryption
process
Data processing
Example
Split into two ASCII characters
Address
=
Address
XOR FID
Address
= 0x41 XOR 0x6F = 0x2E
2E
Command
=
Command
XOR FID
Command
= 0xC8 XOR 0x6F = 0xA7
A7
Data
=
Data
XOR FID
Data
= 0x05 XOR 0x6F = 0x6A
6A
The master device transmits information to GTR85 controller via MTR-1 interface should be ‘|’ ‘2’ ‘E’ ‘A’ ‘7’ ‘6’
‘A’ in character way, or 0x7C 0x32 0x69 0x65 0x67 0x66 0x65 in binary way.
Information receiving format
The format of receiving information form MTR-1 includes four bytes, and is combined with
Echo
and
Check
two parts. The descriptions of
Echo
and
Check
are the same as defined in section 2.1.1.
Received
information
Format Echo
Check
Example 6
F
9
1
8