Difference between revisions of "MC-Basic:pls.PLSOUTPUT"

From SoftMC-Wiki
Jump to: navigation, search
(Removed obsolete "hw assistance" added limition - PlsOuput can be assigned upon completion of can/ethercat setup.)
 
(One intermediate revision by one other user not shown)
Line 18: Line 18:
  
 
|RANGE=
 
|RANGE=
Digital outputs: System.DOut.1 to 20<br>
+
Digital outputs: System.DOut.1 .. 20 ... <max defined><br>
 +
 
  
Virtual outputs: System.VOut.1 to 32
 
  
 
|UNITS=
 
|UNITS=
Line 32: Line 32:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
The output is set only when the PLS is disabled.<br>
+
Can be set only when PLS is disabled.<br>
 +
 
 +
The system output must exist. This property can be assigned only after successful completion of fieldbus (CAN/EthetCAT) setup.<br>
  
Network I/O: Output must exist. This property can be assigned only upon succesful completion of fieldbus (CAN/EthetCAT) setup.
+
PLS high accuracy (HWAssistance) is limited to System.DOut from 1 to 8.
  
 
|EXAMPLE=
 
|EXAMPLE=

Latest revision as of 04:04, 7 October 2019

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 .. 20 ... <max defined>

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

Can be set only when PLS is disabled.

The system output must exist. This property can be assigned only after successful completion of fieldbus (CAN/EthetCAT) setup.

PLS high accuracy (HWAssistance) is limited to System.DOut from 1 to 8.

Examples

PLS1.Pout = System.DOut.5

?PLS1.PlsOutput                                         ‘returns “System.DOut.5”

See Also