3-26
Driving the Display
PX 30 and PX 120 Operating Manual
Examples for Serial Drive in Display Mode
Example 1: BCD-coded text call-up
Send Text Number 1
Telegram:
Byte
10A
H
Start of telegram
2 08
H
Address 1 / ID-Signal 0
(Bit 2
7
... 2
3
: Unit address in binary code / Bit 2
2
... 2
0
: ID-Signal)
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 50
H
1st data byte: Code for operating mode (50
H
= text mode)
6 08
H
2nd data byte: Coding of text number (08
H
= BCD-coded)
7 01
H
3rd data byte: Decade 10
1
and 10
0
of text number
8 9C
H
Check sum (CRC) of bytes 2 to 8
9 0D
H
End of telegram
Example 2: Binary-coded text call-up
Send Text Number 19
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 50
H
1st data byte: Code for operating mode (50
H
= text mode)
6 00
H
2nd data byte: Coding of text number (00
H
= binary-coded)
7 13
H
3rd data byte: Text number (Low Byte)
8 92
H
Check sum (CRC) of bytes 2 to 8
9 0D
H
End of telegram
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com