
Script and configuration
Deutschmann Automation GmbH & Co. KG
27
Instruction manual UNIGATE
®
IC - LONWorks (62) V. 2.5
30.9.20
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 taht 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 teh 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"
7.4
Configuration of the UNIGATE
®
IC
UNIGATE
®
IC is delivered with an empty script.
7.4.1
LONWorks
•
supports SNVT Master List Revision 12 (from Firmware V1.22)
7.4.2
RS232/RS485/RS422
•
RS type:
RS232
•
Start bit:
1
•
Data bits:
8
•
Stop bit:
1
•
Parity:
None
Baud rate:
9600 Baud
Default setting
This configuration can be changed via the Script.