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

Table of Contents

Advertisement

Timer (Block Model 205)
82
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 011) 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 011).
$B32766=0;
WRITECMEM([S1],$B32766,1);
9: CONT Button
When this button is touched, the write address of tag ITEM S2 (ITEM 012) is
set to 0. The value of tag ITEM S2 (ITEM 012) is referenced to set the display
color, as shown in the following table.
Display color
Red
0
Yellow
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 S2
(ITEM 012) is set as display address 1. The label displays "CONT" 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 S2 (ITEM 012).
$B32766=0;
WRITECMEM([S2],$B32766,1);
10: PAUSE Button
When this button is touched, the write address of tag ITEM S2 (ITEM 012) is
set to 1. The value of tag ITEM S2 (ITEM 012) is referenced to set the display
color, as shown in the following table.
Display color
Yellow
0
Red
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 S2
(ITEM 012) is set as display address 1. The label displays "PAUSE" 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 S2 (ITEM 012).
$B32766=1;
WRITECMEM([S2],$B32766,1);
S2 (012)
S2 (012)
Section 6-11

Advertisement

Table of Contents
loading

Table of Contents