Segment Program 2 (Block Model 157)
64
8: Y1 Bar Display
A Level Meter object is used to display tag ITEM Y1 (ITEM 008: Program out-
put). The meter color is yellow, maximum value is 11500 (115%), and mini-
mum value is −1500 (−15%). The bar is set to display the zero point.
9: WAIT Button
When touched, 1 is set in the write address for tag ITEM S3 (ITEM 017).
When tag ITEM U10 (ITEM 019), Waiting, is 0, the button is yellow, and when
the value is 1, the button is displayed in red.
The button is built using a momentary ON/OFF Button with a Simple Rectan-
gle (Type 2). The write address for tag ITEM S3 (ITEM 017) is set as the write
address, and the read address for tag ITEM U10 (ITEM 019) is set as display
address 1. The label displays "WAIT" in the rough font.
10: ADV Button
When touched, 1 is set in the write address for tag ITEM S4 (ITEM 018) step
command. Tag ITEM S4 (ITEM 018) is displayed in yellow when the value is
0, and in red when the value is 1.
The button is built as a momentary ON/OFF Button using a Simple Rectangle
(Type 2). The write address for tag ITEM S4 (ITEM 018) is set as the write
address, and the read address for tag ITEM S4 (ITEM 018) is set as display
address 1. The label displays "ADV" in the rough font.
11: START Button
When touched, 1 is set in the write address for tag ITEM S1 ITEM013, Run/
stop command. Tag ITEM S1 (ITEM 013) is referenced and the color is dis-
played according to the following table.
S1 (ITEM 013) value
0
Yellow
1
Red
The button is built as a momentary ON/OFF Button using a Simple Rectangle
(Type 2). The write address is not set, and the read address for tag ITEM S1
(ITEM 013) is set as display address 1. The label displays "START" in the
rough font.
The following macro is set as a Touch OFF Timing macro, and when touched,
the fixed value 1 is written to the write address of tag ITEM S1 (ITEM 013).
$B32766=1;
WRITECMEM ([S1],$B32766,1) ;
12: STOP Button
When touched, 0 is set in the write address for tag ITEM S1 (ITEM 013), Run/
stop command. Tag ITEM S1 (ITEM 013) is referenced and the color is dis-
played according to the following table.
S1 (ITEM 013) value
0
Red
1
Yellow
The button is built as a momentary ON/OFF Button with a Simple Rectangle
(Type 2). The write address is not set, and the read address for tag ITEM S1
(ITEM 013) is set as display address 1. The label displays "STOP" in the
rough font.
Color
Color
Section 6-7