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

Page 950

Advertising
background image

L-force | PLC Designer

Device Editors

948

DMS 4.1 EN 03/2011 TD29

2. Drive Interface, PLC configuration:
Define a drive structure with 2 linear drives; the maximum velocity etc. is to be set.

Abb. 526 Device tree of CNCdirect


3. Creation of the IEC program:
First we have to activate the drives via the MC_Power module.

Abb. 527 MCpower function blocks from the Ipo object

A further important element is the SMC_Interpolator module. As input poqDataIn it
gets the address of the CNC program. Besides that the IEC- task cycle time must be
written to dwIpoTime. You can enter it either as a constant value at input dwIpoTime,
or you use variable dwCycle of the axis group structure (PLC configuration), which has
the advantage, that – if you modify the cycle time of the task – automatically the
correct time will be used as input for the Interpolator.

Abb. 528 Function block SMC_Interpolator from Ipo object

Advertising