States ¶ Methods called in a specific state. CheckConfiguration CheckConfiguration and Stopped Operational
CheckConfiguration ¶ Methods called in CheckConfiguration state.
Operational ¶ Methods called in Operational state.
CheckConfiguration and Stopped ¶ Methods called in CheckConfiguration and stopped state.
3S CANopenSlaveStack Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title 3S CANopenSlaveStack Version 3.5.16.0 Categories Intern|CANbus; Docs|Fieldbus|CAN Namespace _3SCSS Author 3S - Smart Software Solutions GmbH Placeholder 3S CANopenSlave Description 1 ¶ 3S CANopenSlave Stack: Implementation of a CANopen Slave device with full object dictionary capabilities. Contents: ¶ CANopen Help Functions EMCY Heartbeat PDO SYNC CANopenDevice (FunctionBlock) Diagnostics NMT ObjectDictionary (Property) ConfigurationParams (ParamList) Debugging CANDiagnosis (FunctionBlock) Diagnosis CANopenDevice_Diag (FunctionBlock) Enums ABORT_CODE (Enum) CANOPEN_STATE (Enum) DATA_TYPE (Enum) ERROR (Enum) Interfaces ObjectDictionary Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) ObjectDictionary Iterators Range Types NODEID (Alias) Structs ACCESSTYPES (Struct) CANOPEN_DIAGNOSIS_INFO (Struct) Indices and tables ¶ 1 Based on _3SCANopenSlaveStack.library, last modified 27.04.2020, 15:48:23. LibDoc 4.4.0.0-b.27 The content file _3SCANopenSlaveStack.clean.json was generated with CODESYS V3.5 SP16 on 27.04.2020, 15:48:29.
IBus ¶ Functions for getting bus information. GetBusInfo (Method) GetBusState (Method) GetQoS (Method)
CANopenDevice_Diag.GetBusInfo (METH) ¶ METHOD GetBusInfo : DED.ERROR Returns information about the associated CANbus. Interpretation of DED.BUS_INFO is as follows: Component Interpretation eType DED.BUS_TYPE.CANOPEN idSystem Network ID idInstance Instance number in I/O configuration (starting by 0) InOut: Scope Name Type Comment Return GetBusInfo DED.ERROR DED.ERROR.NO_ERROR if no error occurred while getting information. Inout buiInfo DED.BUS_INFO Bus information struct
CANopenDevice_Diag.GetBusState (METH) ¶ METHOD GetBusState : DED.BUS_STATE Returns the bus state of the associated CANBus. Following table defines the mapping between CAA Device Diagnosis DED.BUS_STATE and CL2.BUSSTATE . CAA Device Diagnosis CANbus state DED.BUS_STATE.RUNNING CL2.BUSSTATE.ERR_FREE , CL2.BUSSTATE.ACTIVE , CL2.BUSSTATE.WARNING DED.BUS_STATE.ERROR no driver found, CL2.BUSSTATE.BUSOFF , CL2.BUSSTATE.PASSIVE DED.BUS_STATE.UNKNOWN CL2.BUSSTATE.UNKNOWN InOut: Scope Name Type Comment Return GetBusState DED.BUS_STATE current bus state. Output xDiagnosisInfoAvailable BOOL TRUE , if red exclamation mark in device tree eError DED.ERROR DED.ERROR.NO_ERROR if bus state was retrieved wihout error.
CANopenDevice_Diag.GetQoS (METH) ¶ METHOD GetQoS : DED.ERROR Returns quality of service information for the CANbus. Interpretation of DED.QOS_INFO is as follows: Component Interpretation ctError Total sum of TxErrorCounter, RxErrorCounter and LostCounter. usiBusload Current busload in percent (if supported by CAN driver, else always 0) InOut: Scope Name Type Comment Return GetQoS DED.ERROR DED.ERROR.NO_ERROR if no error occurred while getting information. Inout QualityInfo DED.QOS_INFO
IDevice ¶ Functions for getting device information. CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceInfo (Method) GetDeviceState (Method) SetCommunicationState (Method)