PX 30 and PX 120 Operating Manual
3-27
Example 3: Variable transmission, BCD-coded
Insert the value 1 234 567 890 for variable 1 in the text masks called up using examples 1
or 2.
Telegram:
Byte
1
0A
H
Start of telegram
2
08
H
Address 1 / ID-Signal 0
3
07
H
Amount of data for PX-unit in Bytes (Low Byte)
4
00
H
Amount of data for PX-unit in Bytes (High Byte)
5
60
H
1st data byte: Code for operating mode (60
H
= variable mode)
6
09
H
2nd data byte: Variable 1, numeric value, positive, BCD-coded
7
90
H
3rd data byte: Decade 10
1
= 9 and Decade 10
0
= 0
8
78
H
4th data byte: Decade 10
3
= 7 and Decade 10
2
= 8
9
56
H
5th data byte: Decade 10
5
= 5 and Decade 10
4
= 6
10
34
H
6th data byte: Decade 10
7
= 3 and Decade 10
6
= 4
11
12
H
7th data byte: Decade 10
9
= 1 and Decade 10
8
= 2
12
E4
H
Check sum (CRC) of bytes 2 to 11
13
0D
H
End of telegram
Example 4: Variable transmission, binary-coded
Insert the value 18 for variable 1 in the text masks called up using examples 1 or 2.
Telegram:
Byte
1
0A
H
Start of telegram
2
08
H
Address 1 / ID-Signal 0
3
03
H
Amount of data for PX-unit in Bytes (Low Byte)
4
00
H
Amount of data for PX-unit in Bytes (High Byte)
5
60
H
1st data byte: Code for operating mode (60
H
= variable mode)
6
01
H
2nd data byte: Variable 1, numeric value, binary-coded
7
12
H
3rd data byte: Priority 2
7
... 2
0
8
82
H
Check sum (CRC) of bytes 2 to 7
9
0D
H
End of telegram
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com