3 function blocks, 1 l_dco_axis_ref_base, L_dco_axis_ref_base ( 104) – Lenze PLC Designer R3-x User Manual
Page 104: The l_dco_drivecommunication library
The L_DCO_DriveCommunication library
Function blocks
104
Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
12.3
Function blocks
12.3.1
L_DCO_AXIS_REF_BASE
This FB provides the basic communication information of the Logic axis.
• Every Logic axis implemented in the control configuration is an extended instance of
L_DCO_AXIS_REF_BASE. A manual instancing of this function block is not required.
• The function block L_DCO_AXIS_REF_BASE has routines that serve as drivers.
Input variables
Outputs
Function library:
L_DCO_DriveCommunication
Runtime software licence:
LPC 1x00
MPC 1x00
MPC 2xx0
MPC 3x00
L_DCO_AXIS_REF_BASE
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 ⎯
AxisName ⎯ STRING
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
Identifier
Data type
Initial value Information/possible settings
uiDeviceId
UINT
0
Station/node address at the used bus system
uiNetId
UINT
0
Network/master instance number of the used bus
system.
xCommunicationOK
BOOL
FALSE
Status of bus communication
FALSE No bus communication active
TRUE Bus communication available
eCommunicationState
0
Bus state
AxisName
STRING
-
Instance name