EasyManua.ls Logo

Panasonic VR2 Series - Page 222

Panasonic VR2 Series
236 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
18-3
(3) Count the number of production by counting the number of execution of the processing program and
assigned to
avariable.
Preconditions:
Variable the production count is to be assigned to: GI001,
Processing program: WORK01.prg
Production count programProg0001.prg
CALL WORK01.prg Execute the processing program.
INC GI001 Add “1” to GI001.
Counter reset programProg0002.prg
To reset the value of the variable, execute a program (Counter reset program) to assign “0” to the variable.
SET GI001 = 0 Assign “0” to GI001.
You can use the counter reset program every morning if you want to count the production of a day, or use it at the
beginning of each month if you want to count the production of a month.
To see the value of the variable:
Click
>>
>>
View
>>
Display
change
>>
Display
variable

Table of Contents