Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual
Page 67

1.3 EN - 07/2012
L
67
PLC Designer V2.x| Lenze Application Samples
Working with the sample projects
8400 HighLine - "LAS_40_INTF_Can_84HL_TabPos" sample project
"Drive" program
The "DRIVE (PRG)" program actuates the controller by means of the
L_S84_TablePositioningHL function block.
The machine constants are conditioned by means of the L_SSC_SetAxisData block and
are provided at the AxisData input as structure.
The DriveControl and DriveStatus structures serve to transmit the control and status
signals within one PDO. Since an individual PDO does not suffice for all modes, block
L_SCB_PutNodeDataTxPDO2 provides a further PDO for the transmission of the speed
setpoint for the service mode.
By selecting the CAN node ID (byNodeNumber) and the CAN master node number
(byMasterNumber), the data can be copied to the control configuration.