5 smc_gettappetvalue, Smc_gettappetvalue – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 163

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

163

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

Additional program organisation units

6.4.5

SMC_GetTappetValue

This program organisation unit evaluates the Tappets output of the MC_CamIn program

organisation unit and contains the current tappet status.

Inputs/outputs (VAR_IN_OUT)
Tappets : SMC_TappetData

Inputs (VAR_IN)
iID : INT
Group ID of the tappet to be evaluated
bInitValue : BOOL
Initial tappet value, assigned on the first call
bSetInitValueAtReset : BOOL
TRUE: When the CamIn FB is restarted, the value of the tappet is set to bInitValue.
FALSE: When the CamIn FB is restarted, the tappet value is retained.

Outputs (VAR_OUT)
bTappet : BOOL (default: FALSE)
Tappet value

Advertising