File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 04.09.2023, 11:22:08 companyName string 3S-Smart Software Solutions GmbH libraryFile 3S CANopenSlaveStack Unsafe.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile 3S CANopenSlaveStack Unsafe.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True SIL2 False LastModificationDateTime date 04.09.2023, 11:22:05 LibraryCategories library-category-list Intern|CANbus Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace _3SCODU Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder 3S CANopenSlaveStack Unsafe Project 3S CANopenSlaveStack Unsafe Title 3S CANopenSlaveStack Unsafe Version version 4.2.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 3S CANopenSlaveStack ¶ Library Identification ¶ Placeholder: 3S CANopenSlaveStack Default Resolution: 3S CANopenSlaveStack, * (3S - Smart Software Solutions GmbH) Namespace: _3SCSS Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: 3S CANopenSlaveStack Library Parameter ¶ Parameter: GC_UDIMAXODCALLBACKS = 3 3SLicense ¶ Library Identification ¶ Placeholder: 3SLicense Default Resolution: 3SLicense, * (3S - Smart Software Solutions GmbH) Namespace: _3S_LICENSE Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: 3SLicense CAA Can Low Level Extern ¶ Library Identification ¶ Placeholder: CAA CanL2 Default Resolution: CAA Can Low Level Extern, * (CAA Technical Workgroup) Namespace: CL2 Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA CanL2 CAA Can Low Level Imp Extern ¶ Library Identification ¶ Placeholder: CAA CanL2I Default Resolution: CAA Can Low Level Imp Extern, * (CAA Technical Workgroup) Namespace: CL2I Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA CanL2I CAA Memory Block Manager Extern ¶ Library Identification ¶ Placeholder: CAA MemBlockMan Default Resolution: CAA Memory Block Manager Extern, * (CAA Technical Workgroup) Namespace: MBM Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA MemBlockMan CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types CANbusDevice ¶ Library Identification ¶ Placeholder: CANbusDevice Default Resolution: CANbusDevice, * (3S - Smart Software Solutions GmbH) Namespace: CANbusDevice Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CANbusDevice CANopenSafetyTypes ¶ Library Identification ¶ Placeholder: CANopenSafetyTypes Default Resolution: CANopenSafetyTypes, * (3S - Smart Software Solutions GmbH) Namespace: CST Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CANopenSafetyTypes CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysTarget ¶ Library Identification ¶ Placeholder: SysTarget Default Resolution: SysTarget, * (System) Namespace: SysTarget Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTarget SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
CANRemoteModule_Diag.NextSiblingNode (PROP) ¶ PROPERTY NextSiblingNode : DED.INode returns the next sibling node at the same level used for step through all nodes
CANRemoteModule_Diag.ParentNode (PROP) ¶ PROPERTY ParentNode : DED.INode Returns the parent node or zero if the root node is already reached.
CANRemoteModule_Diag.SiblingNodeCount (PROP) ¶ PROPERTY SiblingNodeCount : CAA.COUNT Returns the number of sibling (same level) nodes
CANopenManager_Diag (FB) ¶ FUNCTION_BLOCK CANopenManager_Diag EXTENDS CANopenManager IMPLEMENTS DED.IStack, DED.IDevice2, DED.IBus, DED.IReconfigureProvider CANopenManager function block for Device Diagnosis. Note Do not instantiate this function block. It will be instantiated implicitly. Properties: ChildNodeCount Connector Enable FirstChildNode Index IsRootNode KernelState , inherited from CANopenManager MandatorySlavesBooted , inherited from CANopenManager NMTInhibitTime , inherited from CANopenManager NextSiblingNode OptionalSlavesBooted , inherited from CANopenManager ParentNode SiblingNodeCount Methods: CheckCurrentSupportedCommunicationState CheckSupportedCommunicationState GetBusInfo GetBusState GetDeviceInfo GetDeviceState GetQoS GetSlaveByNodeID , inherited from CANopenManager RegisterEventHandler , inherited from CANopenManager SetCommunicationState UnregisterEventHandler , inherited from CANopenManager Structure: IBus GetBusInfo (Method) GetBusState (Method) GetQoS (Method) IDevice CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceInfo (Method) GetDeviceState (Method) SetCommunicationState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
IBus ¶ GetBusInfo (Method) GetBusState (Method) GetQoS (Method)
CANopenManager_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
CANopenManager_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.
CANopenManager_Diag.GetQoS (METH) ¶ METHOD GetQoS : DED.ERROR QualityInfo contains following information: usiBusload: Current Busload (if supported by CAN driver, else always 0) ctError: Total Sum of TxErrorCounter, RxErrorCounter and LostCounter. 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