2 l_lcb_error, 3 l_lcb_axis_ref, 2 l_lcb_error 13.3 l_lcb_axis_ref – Lenze PLC Designer R3-x User Manual

Page 115: L_lcb_axis_ref, L_lcb_error ( 115), L_lcb_axis_ref ( 115), The l_lcb_logiccontrolbasic library

Advertising
background image

Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014

115

The L_LCB_LogicControlBasic library

L_LCB_Error

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

13.2

L_LCB_Error

The L_DCO_Error type describes possible error messages that can be generated at the eError output

of the function block of the L_DCO_DriveControl Basic library.

• All error messages are of the L_LCB_ERROR data type

13.3

L_LCB_AXIS_REF

This function block instance is a logic drive in the application.

• Every Logic axis implemented in the control configuration is an extended instance of

L_LCB_AXIS_REF. A manual instancing of this function block is not required.

• Via this FB, the application is provided with the process data of the connected logic axis.
• L_LCB_AXIS_REF is an extension of the FB

L_DCO_AXIS_REF_BASE

.

Inputs

Identifier

Error number

(dec)

Description

L_LCB_NO_ERROR

0

No error

L_LCB_AXIS_IS_NO_AXIS_REF

20101

Connected Axis_REF instance is invalid

L_LCB_CON_DRIVE_INVALID

20102

Invalid drive identification of

L_LCB_LOGICDEVICE

type

L_LCB_AXISDATA_INVALID

20110

The connected machine parameters are invalid.

L_LCB_AXIS_REF

UDINT ⎯ udiTimeOut

uiDeviceID ⎯ UINT

USINT ⎯ usiChannel

uiNetID ⎯ UINT

ARRAY[1.. 5] OF

L_DCO_SdoData

⎯ aSDOReadData

xCommunicationOK ⎯ BOOL

ARRAY[1..5] OF

L_DCO_SdoData

⎯ aSDOWriteData

eCommunicationState ⎯

L_DCO_CommState

ARRAY[1.. 16] OF WORD ⎯ awReceiveData

AxisName ⎯ STRING

ARRAY[1.. 16] OF WORD ⎯ awTransmitData

L_LCB_LOGICDEVICE

⎯ eLogicDevice

L_LCB_AxisData ⎯ AxisDataDrive

Identifier

Data type

Initialisation Information/possible settings

udiTimeOut

UDINT

10000

Timeout period for SDO communication

usiChannel

USINT

1

SDO channel to be used

aSdoReadData

ARRAY[1.. 5] OF

L_DCO_SdoData

0

Exchange for SDO communication (internal use)

aSdoWriteData

ARRAY[1..5] OF

L_DCO_SdoData

0

Exchange for SDO communication (internal use)

awReceiveData

ARRAY[1.. 16] OF

WORD

0

Interface for the process data received by the controller.

awTransmitData ARRAY[1.. 16] OF

WORD

0

Interface for the process data transmitted to the

controller.

Advertising