MC-Basic:pls.PLSOUTPUT
This property sets or queries the output associated with a PLS.
Short form
<pls>.Pout
Syntax
<pls>.PlsOutput = <system output>
?<pls>.PlsOutput
Availability
All versions
Range
Digital outputs: System.DOut.1 to 20
Virtual outputs: System.VOut.1 to 32
Default
The output associated with the PLS is defined when the PLS is declared (use COMMON SHARED <name> AS PLS).
Scope
Configuration, Task or Terminal
Limitations
The output is set only when the PLS is disabled.
Network I/O: Output must exist. This property can be assigned only upon succesful completion of fieldbus (CAN/EthetCAT) setup.
Examples
PLS1.Pout = System.DOut.5
?PLS1.PlsOutput ‘returns “System.DOut.5”