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

Page 258

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

258

L-force | PLC Designer - SoftMotion

The L_SMC_DriveUtil.lib library (Lenze specifications)

L_SMC_TouchProbe

TriggerInput: L_SMC_Trigger_REF
The ’Triggerinput’ variable is of the L_SMC_TRIGGER_REF type with the following

elements:

Variable

Type

Initial value Description

TouchProbeSelect

Byte

1

TP1 or TP2 selection

1: TP_channel1 -> Servo Drive 9400

• DigIn 7 or zero pulse of the position encoder

2: TP_channel2 -> Servo Drive 9400

• DigIn 8 or zero pulse of the position encoder

TouchProbeMode

Byte

1

Selection of the operating mode

1: Single measurement

• Execute edge activates the function until Done = 1 (TRUE)

or abort by FB L_SMC_AbortTrigger.

2: Continuous measurement

• Positive Execute edge activates the function until the

negative Execute edge (Execute = FALSE) is reached, or

until abort by FB L_SMC_AbortTrigger.

TouchProbeSignal

Byte

1

Selection of zero pulse or digital input

1: Digital input

2: Zero pulse of the position encoder

TouchProbeEdge

Byte

1

Configuration of the edge evaluation

1: Triggering with positive edge

2: Triggering with negative edge

3: Triggering with positive or negative edge (logic in the FB)

4: Triggering with positive and negative edge (The sequence

of the edges is not relevant (logic in the FB).)

5: Triggering with positive and negative edge (The sequence

of the edges is relevant (logic in the drive).)

6: Triggering with negative and positive edge (The sequence

of the edges is relevant (logic in the drive).)

Advertising