User guide

WintDrive
.
First Run
First-Run
Description
It calculates the value of FirstRun logical variable, that assumes value
1
at the first run of the control. At the
second run it becomes equal to 0 and remains at this value.
This compound block is obsolete and its function is now perfomed within Win+Drive. In the previous version,
the user had to ensure that this compound block was performed
after
any other compound in his scheme. To
accomplish this, he should have used a control connection line.
C-style description
static int First&m= 1;
if (FirstRun != 0)
FirstRun=O;
Input logical variables
name type description
FirstRun
int
Flag initialized to
1
JvoZ25
Output logical variables
name
type description
FirstRun
int
Flag set to
0
after first run
WI226
Input ports
None
Output ports
None
173