4.2
Using the Bar Graph Character Set
This sample program illustrates the bar graph character set. Version 1.1 and higher of the
TD 200 support the alternate character set for creating a bar graph. Select the menu
command Tools
Configuration Wizard to make the following selections:
1. Select English, Enable bar graph character set.
2. Disable time-of-day menu, force menu, and password protection.
3. Reserve marker byte M0 for function keys, update as fast as possible.
4. Select one 40-character message.
5. Select the parameter block starting byte at VB0, message enables at VB12, and
message information at VB20.
6. Set message text:
Figure 4-4 shows the data block generated in this sample.
// BEGIN TD200_BLOCK 0
// (Comments within this block should not be edited or removed)
VB0
'TD'
VB2
16#90
VB3
16#01
VB4
1
VB5
0
VW6
20
VW8
12
// MESSAGE 1
// Message Enable Bit V12.7
VB20
'
// END TD200_BLOCK 0
Figure 4-4
Data Block of the Bar Graph Sample Program
SIMATIC TD 200 Operator Interface
C79000-G7076-C205-04
TD 200 Wizard..., as shown in Figure 4-1, and use the TD 200
bbbbbbbbbbbbbbbbbbbb (where b is a blank)
BAR GRAPH SAMPLE
// TD 200 Identification
// Set Language to English, set Update to As fast as possible
// Set the display to 40 character mode; Up key V3.2; Down key V3.3
// Set the number of messages
// Set the Function Keys notification bits to M0.0 – M0.7
// Set the starting address for messages to VW20
// Set the starting address for message enable bits to VW12
BAR GRAPH SAMPLE
'
Creating Sample Programs
4-5