2 l_scs_getversion - transfer of the version, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 258

Advertising
background image

PLC Designer V2.x| Lenze Application Samples

The L_SCS_DriveECS.lib library

L_SCS_GetVersion - transfer of the version

258

L

1.3 EN - 07/2012

13.2

L_SCS_GetVersion - transfer of the version

Outputs

13.3

L_SCS_PosiShaft - actuation of the ECS servo system

This FB serves to control a Lenze ECS servo system with the "PosiShaft" application.

Outputs

Identifier/data type

Value/meaning

dwVersion

DWORD

Output version

Identifier/data type

Information/possible settings

scDriveControl

SCS_DriveControl_PosiShaft

Structure for actuating the controller



Structure of SCS_DriveControl_PosiShaft - control for the drive ( 259)

scAxisData

SSC_Axis_logic

Machine parameters

• If the FB is to refer to the measuring system of the drive axis, connect this input

to output DI_AxisData of the LS_DriveInterface SB, so that the machine

parameters of the drive/motor are accepted.

• If the FB is to refer to the measuring system of the master selection (master) in a

cam application, connect this input to the output XAxisData of FB L_CamProfiler

instead.

• If this input is left blank, position values with the following resolution are

processed: 1 encoder revolution ≡ 2

16

increments

xOptional

BOOL

Optional setting for the CAN node

• TRUE: The CAN node is set to the "Optional" mode to be able to receive PDOs.

• FALSE: Normal operation (transmission and reception via PDO).

byNodeNumber

BYTE

Node number 1 ... 64

byMasterNumber

BYTE

Interface number (0...3)

Identifier/data type

Information/possible settings

scDriveStatus

SCS_DriveStatus_PosiShaft

Structural drive status data



Structure of SCS_DriveStatus_PosiShaft - status of the controller ( 260)

xInternalControlActive

BOOL

TRUE: Internal control active

Advertising