Script and configuration
The operational sequence is as follows:
The Gateway has to be in the config-mode.
The script-download is initiated with "Ctrl-P (=0x10)".
After that the data follows byte by byte as ASCII-hex-characters.
The download is terminated with a "LF (=0x0A)".
Afterwards the word-checksum follows as ASCII-hex-characters.
The Gateway responds with a clear text reply to that download and carries out a warm start.
Example:
The following 4-bytes script is supposed to be downloaded: 0x01 0x12 0x5A 0x23
The sum of the bytes is 0x0090 as checksum.
Then the following sequence is to be sent:
1.
0x10
Ctrl-P
2.
0x30
'0'
3.
0x31
'1'
4.
0x31
'1'
5.
0x32
'2'
6.
0x35
'5'
7.
0x41
'A'
8.
0x32
'2'
9.
0x33
'3'
10. 0x0A
LF
11. 0x30
'0'
12. 0x30
'0'
13. 0x39
'9'
14. 0x30
'0'
Gateway's reply: "Download ok"
29
Instruction manual UNIGATE
Deutschmann Automation GmbH & Co. KG
®
IC2 - Fast Ethernet V. 1.2
3.4.20
Need help?
Do you have a question about the UNIGATE IC2 - Fast Ethernet and is the answer not in the manual?