WinScript Live Command Reference
Page 67
W
inS
cr
ipt
Ref
er
en
ce
Out Port
Sets a group of eight Outputs to a single binary value. The lowest number Output becomes the
Least Significant Bit (or LSB), the highest becomes the Most Significant Bit (or MSB).
Event Syntax
Event
Data1
Data2
OutPort
Output Bank*
Desired Literal Value (0-255)
*Bank1 = Outputs 1-8; Bank2 = Outputs 9-16; All= Outputs 1-16. If specifying "All" as the bank, the
Literal Value range is 0-65535.
Example
Event
Data1
Data2
OutPort
Bank1
157
Sets output bank 1 (Outputs 1-8) to the binary representation of 157 (or
10011101
). After the
Out Port
event is executed, the following outputs are actuated:
1
2
3
4
5
6
7
8
In Port
Reads a group of eight inputs to a Variable. The lowest number input becomes the LSB, etc.
Event Syntax
Event
Data1
Data2
InPort
Input Bank*
Name of Variable
*Bank1 = Inputs 1-8; Bank2 = Inputs 9-16; All = Inputs 1-16
Example
Event
Data1
Data2
InPort
Bank1
Var7
Sets var7 to the value of input bank 1 (inputs 1-8). Assuming inputs of
10011101
(where 1 is on),
after the
InPort
event is executed, Var7 will contain the value 157.
Summary of Contents for V16Pro
Page 1: ...V Series Network Controllers Alcorn McBride January 3 2018 User s Guide...
Page 48: ......
Page 64: ......
Page 86: ......
Page 91: ...V16Pro Page 91 V16Pro...
Page 114: ......
Page 118: ...VCore Page 118 VCore Figure 11 Front View Figure 12 Rear View...
Page 119: ...VCore Page 119 VCore Figure 13 Top View Figure 14 Bottom View...
Page 138: ......
Page 172: ......