L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 952

Advertising
background image

L-force | PLC Designer

Device Editors

950

DMS 4.1 EN 03/2011 TD29

The outputs of the module, that means the axes coordinates, now must be written to
the drives. For that the function blocks SMC_ControlAxisByPos are used. Due to the fact
that our application does not guarantee continuous outputs of the Interpolator (e.g.
the path ends at a point different to that where it starts), we should activate gap
avoiding functions (bAvoidGaps, fGapVelocity, fGapAcceleration, fGapDeceleration),
we should connect the StopIpo-output with the bEmergency_Stop of the Interpolator
and we should connect the Interpolator-output iStatus with the corresponding inputs
of the axes control modules.

Abb. 531 Connections of the needed function blocks of the Ipo object

Please regard during programming in CFC the correct order of the elements !

4. Creating the operation and test interface:
Create a new visualization and insert two visualization elements of type 'Visualization'.
The first one is the Interpolator template, the second one is the Transformation
template. They get linked to the corresponding function block instances (here:
Ipo.smci resp. Ipo.trafof) via the placeholder functionality.

5. Starting
The program now can get compiled without errors and can be started. It will execute
the CNC program, as soon as the Execute-input of the Interpolators gets set. After
having been processed completely, an other rising edge will cause a new run.
Regard the function of the path switches, which are also displayed in the visualization
of the Interpolator module.

Advertising