Omron WS02-NSFC1-EV3 - 12-2007 Operation Manual page 132

Table of Contents

Advertisement

Segment Program 3 (Block Model 158)
13: 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.
14: START Button
When touched, 1 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
1
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) ;
15: 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
1
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.
The following macro is set as a Touch OFF Timing macro, and when touched,
the fixed value 0 is written to the write address of tag ITEM S1 (ITEM 013).
$B32766=0;
WRITECMEM ([S1],$B32766,1) ;
Color
Yellow
Red
Color
Red
Yellow
Section 6-19
117

Advertisement

Table of Contents
loading

Table of Contents