Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual
Page 195
Advertising
1.3 EN - 07/2012
L
195
PLC Designer V2.x| Lenze Application Samples
Working with the sample projects
9300 - "LAS_40_INTF_Can_93_EP" sample project
"Drive" program
The "DRIVE (PRG)" program actuates the controller by means of the L_S93_Positioning1
function block.
By selecting the CAN node ID (byNodeNumber) and the CAN master node number
(byMasterNumber), the data can be copied to the control configuration.
The DriveControl and DriveStatus structures serve to transmit the control and status
signals.
Use FB L_SSC_SetAxisData to specify the axis data. The machine constants are
conditioned by means of the L_SSC_SetAxisData block and are provided as structure at
input AxisData.
Advertising