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

Page 261

Advertising
background image

1.3 EN - 07/2012

L

261

PLC Designer V2.x| Lenze Application Samples

The L_SCS_DriveECS.lib library

L_SCS_PosiShaft - actuation of the ECS servo system

13.3.2.1

Process data from the axis module (status words and actual values)
The ECS "Posi and Shaft" can cyclically return process data to the master control with a data

width of 8 bytes or 4 words via the control interface set under C4010. Two status words

consisting of status bits, as well as monitor data (actual values) are transferred.

Assignment of CanOut1 - structure of the process data from the controller
The telegram structure of the 8 bytes of process data from the drive is identical for all

selectable control interfaces.

xOptional

BOOL

L_SCB_GetState

Optional();

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).

eCanNodeState

SCB_StateCanNode

xMMax

BOOL

0

Mmax

1 = "Maximum torque" reached (value:

C0057 x C3910)

xImax

BOOL

1

Imax

1 = Maximum current reached (value:

C0022)

xNmin

BOOL

2

Nmin

1 = Speed threshold (C3017) fallen below

Note: The hysteresis is set under C3018.

xProfMlimAct

BOOL

3

ProfMlimact

1 = Profile function "Torque reduction"

active

xFollowErrWarn

BOOL

4

FollowErrWarn

1 = Following error tolerance C3030 for

warning exceeded

xCANSyncInWin

BOOL

5

CANSyncInWin

Control program synchronisation:

1 = Drive synchronised to CAN sync

telegram

xProfCont

BOOL

6

ProfCont

1 = Profile continuation after profile

abort possible

xSwLimErr

BOOL

7

SwLimErr

1 = Software limit position reached

xQspIn

BOOL

8

QspIn

1 = Quick stop (QSP) active

xAuxProfileBusy

BOOL

9

AuxProfileBusy

1 = Touch probe positioning active

xFunc1

13

Func1

Not assigned

xFunc2

14

Func2

Not assigned

xFunc3

15

Func3

Not assigned

iPar1

INT

tx_par1

Setting via input byFuncNumber



Monitor data words from the

controller (tx_par1 and tx_par2) ( 262)

iPar2

INT

tx_par2

Identifier/data type

Control bits in the

controller

Bit

Identifier

Meaning

Advertising