WinScript Live Command Reference
Page 75
W
inS
cr
ipt
Ref
er
en
ce
00:00.00
Skipped
Events
Event Label
00:00.00
Some Event
Example
Label
Time
Event
Data1
Data2
Data3
00:00.00
If =
ShowVar
1
RunShow1
00:00.00
If =
ShowVar
2
RunShow2
00:00.00
Goto
End
RunShow1
00:00.00
Start
GoShow1
00:00.00
Goto
End
RunShow2
00:00.00
Start
GoShow2
End
00:00.00
Empty
If ShowVar is not a valid number, the first Goto is reached and the sequence jumps to the end and
performs no action. If ShowVar is equal to 1, "Show 1" is started, then the second Goto event
causes the sequence to jump over the "Show 2" events.
If On, If Off
Conditionally performs specific events based on the state of an Input, Output, or Boolean Type
Variable. If an
Event Label
is used, events are jumped over if the condition is true. If an
Else
or
End If
event is used, events are executed inside the area between the
If
and the
End If
if the
condition is true.
•
If On
– Is true if an Input, Output, or Boolean Type Variable is "on".
•
If Off
– Is true if an Input, Output, or Boolean Type Variable is "off".
Note
A branch event causes no change in time within the sequence; all events occur based on
time from sequence start.
Event Syntax Using "End If"
Time
Event
Data1
00:00.00
Event Name
Name of Input, Output, or
Boolean Type Variable
00:00.00
Executed if condition is true
Events
00:00.00
End If
Event Syntax Using "Label"
Label
Time
Event
Data1
Data2
00:00.00
Event Name
Name of Input,
Output, or
Boolean Type
Variable
Event Label
00:00.00
Skipped if
condition is
true
Events
Event Label
00:00.00
Some Event
Example using "End If"
Содержание V16Pro
Страница 1: ...V Series Network Controllers Alcorn McBride January 3 2018 User s Guide...
Страница 48: ......
Страница 64: ......
Страница 86: ......
Страница 91: ...V16Pro Page 91 V16Pro...
Страница 114: ......
Страница 118: ...VCore Page 118 VCore Figure 11 Front View Figure 12 Rear View...
Страница 119: ...VCore Page 119 VCore Figure 13 Top View Figure 14 Bottom View...
Страница 138: ......
Страница 167: ...Serial and Ethernet Control Page 167 Control Example Send Command AHJ 0D enables port A Response R 0D...
Страница 172: ......