
Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014 101
The L_DCO_DriveCommunication library
Enums
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
12.2 Enums
12.2.1 L_DCO_CommState
The L_DCO_CommState type describes possible states that can be adopted by the bus system
masters and slaves.
• The communication status is available via an instance of the L_DCO_AXIS_REF_BASE function
block and its extensions.
• The respective function block instance is provided in the device editor.
12.2.2 L_DCO_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_DriveCommunication library.
• All error messages are of the L_DCO_ERROR data type
Identifier Initialisation Description
L_DCO_STATE_BOOT 0 "Boot process" state
L_DCO_STATE_INIT 10 "Initialisation" state
L_DCO_STATE_RESET_COMM 20 "Communication reset" state
L_DCO_STATE_RESET_APP 30 "Reset" state
L_DCO_STATE_PREOPERATIONAL 40 "Preoperational" state
L_DCO_STATE_STOPPED 50 "Stopped" state
L_DCO_STATE_OPERATIONAL 70 "Operational" state
L_DCO_STATE_UNKNOWN 80 "Unknown" state
L_DCO_STATE_NOT_AVAIL 90 "Not available" state
Identifier Error number
(dec)
Description
L_DCO_No_Error 0 No error reported
L_DCO_OTHERERROR 20001 General fault
L_DCO_INVALIDINDEX 20002 Invalid SDO index
L_DCO_INVALIDOFFSET 20003 Invalid offset value during access to process
data image
L_DCO_INVALIDSIZE 20004 Invalid length value...
• ... during access to process data image
• ... during saving of data in a data area
L_DCO_INVALIDDATA 20005 Invalid data
L_DCO_NOTREADY 20006 Internal software error
• Cause not reported
L_DCO_BUSY 20007 The master is busy at the moment and cannot process
the API function.
• Repeat the function at a later time.
L_DCO_NOMEMORY 20008 Not enough application memory available.
L_DCO_INVALIDPARM 20009 Incorrect call of a API function by invalid parameters.
L_DCO_INVALIDSTATE 20010 Invalid state
L_DCO_TIMEOUT 20011 Time-out
Komentarze do niniejszej Instrukcji