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

Table of Contents

Advertisement

Counter (Block Model 208)
$W2047=GETNUMVAL();
WRITECMEM([PRS],$W2047,1);
RETURN(1);
The upper and lower limits are 0 to 9,999.
5: SET Bit Lamp Display
A Bit Lamp indicates when the SV has been reached, as shown in the follow-
ing table.
Display color
Green
0
Red
1
6: PRSET Bit Lamp Display
A Bit Lamp indicates when the prediction value has been reached, as shown
in the following table.
Display color
Green
0
Red
1
7: START Button
When this button is touched, the write address of tag ITEM S1 (ITEM 010) is
set to 1. The value of tag ITEM S1 (ITEM 010) 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 S1
(ITEM 010) 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 010).
$B32766=1;
WRITECMEM([S1],$B32766,1);
8: STOP Button
When this button is touched, the write address of tag ITEM S1 (ITEM 010) is
set to 0. The value of tag ITEM S1 (ITEM 010) 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 S1
(ITEM 010) is set as display address 1. The label displays "STOP" in the
rough font.
U1 (012)
U2 (013)
S1 (010)
S1 (010)
Section 6-12
85

Advertisement

Table of Contents
loading

Table of Contents