beautypg.com

L-force | plc designer - softmotion – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 259

background image

DMS 5.2 EN 03/2011 TD17

L

259

L-force | PLC Designer - SoftMotion

The L_SMC_DriveUtil.lib library (Lenze specifications)

L_SMC_TouchProbe

Outputs (VAR_OUTPUT)
Done : BOOL
In the "Single measurement" operating mode: TRUE= measuring procedure completed.
In the "Continuous measuring" operating mode: Without function
(See

TouchProbeMode

( 258)

variable.)

Busy: BOOL
Block activated, waiting for trigger.
Error : BOOL
Error identification: An error with regard to the command to be executed or during

communication with the drive has occurred.
ErrorId: INT
Error number
ValueStored_PosEdge: BOOL
Measured value saved after triggering to positive edge.
RecordedPosition_PosEdge: LREAL
Measured value during triggering with the positive edge in SoftMotion units [SM units],

i. e. the measured value is provided to the PLC application in the same unit with which the

axis is programmed.
ValueStored_NegEdge: BOOL
Measured value saved after triggering to negative edge.
RecordedPosition_NegEdge: LREAL
Measured value during triggering with the negative edge in SoftMotion units [SM units],

i. e. the measured value is provided to the PLC application in the same unit with which the

axis is programmed.
ActivationLevel: BOOL
Level of the TP input at the time of the TP function activation in the drive. By evaluation of

the ActivationLevel during the command to be executed "positive or negative edge", the

application can detect the type of the first active edge.
CommandAborted: BOOL
Block aborted via L_SMCAbortTrigger. The outputs "Busy" and "Done" are reset.