Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 166

Advertising
background image

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

Additional program organisation units

166

L

DMS 5.2 EN 03/2011 TD17

Inputs (VAR_IN)
Enable : BOOL (default: FALSE)
The program organisation unit starts to switch the tappets on TRUE.
EnableMasks: DWORD (Default: FFFFFFFF

hex

)

Here the outputs can be switched on or off. If the bit is 1, the corresponding output is

active. The lowest bit is assigned to the lowest output. The default value switches on all

tappet outputs. A value of 1 would only activate the first output.
TappetMode: MC_TappetMode (Default: tp_mode_auto)
Via the TappetMode the position data of the tappets can be calculated. In the setting

tp_mode_auto the set position is used if the axis is switched on. Otherwise the actual

position is used for calculation. With the settings tp_mode_demandposition and

tp_mode_actualposition always the set position or actual position is used.

Outputs (VAR_OUT)
InOperation: BOOL (Default: FALSE)
True indicates that the POU is active and the tappets are calculated.
Error : BOOL (default: FALSE)
TRUE indicates an error in the function block.
ErrorID : SMC_Error (INT )
Error number

Advertising