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)
CANRemoteDevice_Diag.CheckCurrentSupportedCommunicationState (METH) ¶ METHOD CheckCurrentSupportedCommunicationState : BOOL This method checks if a specific DED.DEVICE_TRANSITION_STATE can be processed in the current state. For more details on interpretation of DED.DEVICE_TRANSITION_STATE for CANopen see CANRemoteDevice_Diag.SetCommunicationState . Note Use CANRemoteDevice_Diag.CheckSupportedCommunicationState to check which DED.DEVICE_TRANSITION_STATE is supported in general. InOut: Scope Name Type Comment Return CheckCurrentSupportedCommunicationState BOOL TRUE if node supports the requested DED.DEVICE_TRANSITION_STATE in the current state. Input eRequestedState DED.DEVICE_TRANSITION_STATE The communication state to be checked.
CANRemoteDevice_Diag.CheckSupportedCommunicationState (METH) ¶ METHOD CheckSupportedCommunicationState : BOOL This method checks if a specific DED.DEVICE_TRANSITION_STATE is supported by the node in general. For more details on interpretation of DED.DEVICE_TRANSITION_STATE for CANopen see CANRemoteDevice_Diag.SetCommunicationState . Note Use CANRemoteDevice_Diag.CheckCurrentSupportedCommunicationState to check which DED.DEVICE_TRANSITION_STATE is possible in the current state. InOut: Scope Name Type Comment Return CheckSupportedCommunicationState BOOL TRUE if node supports the requested DED.DEVICE_TRANSITION_STATE in general. Input eRequestedState DED.DEVICE_TRANSITION_STATE The communication state to be checked.
CANRemoteDevice_Diag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR Returns device information about the CANopen Remote device. Interpretation of DED.DEVICE_INFO is as follows: Component Interpretation eType DED.DEVICE_TYPE.FIELDBUS_SLAVE idSystem Node ID idInstance Instance number in I/O configuration (starting by 0) InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR DED.ERROR.NO_ERROR if no error occurred while getting information. Inout deiInfo DED.DEVICE_INFO device information
CANRemoteDevice_Diag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE Returns the state of the CANopen Remote device. Following table defines the mapping between CAA Device Diagnosis DED.DEVICE_STATE and DEVICE_STATE . CAA Device Diagnosis CANopen state DED.DEVICE_STATE.UNKNOWN DEVICE_STATE.UNKNOWN DED.DEVICE_STATE.STOPPED DEVICE_STATE.STOPPED DED.DEVICE_STATE.RUNNING DEVICE_STATE.OPERATIONAL DED.DEVICE_STATE.ERROR Bus Error pending DED.DEVICE_STATE.DISABLED Device is disabled in I/O configuration. DED.DEVICE_STATE.NOT_CONFIGURED DEVICE_STATE.PRE_OPERATIONAL and SDO configuration not finished yet DED.DEVICE_STATE.CONFIGURED DEVICE_STATE.PRE_OPERATIONAL and SDO configuration finished DED.DEVICE_STATE.NOT_FOUND DEVICE_STATE.NOT_AVAIL InOut: Scope Name Type Comment Return GetDeviceState DED.DEVICE_STATE current device state Output xDiagnosisInfoAvailable BOOL TRUE , if red exclamation mark in device tree eError DED.ERROR
CANRemoteDevice_Diag.SetCommunicationState (METH) ¶ METHOD SetCommunicationState : DED.ERROR Starts, stops or resets the device. Following table defines the mapping between CAA Device Diagnosis DED.DEVICE_TRANSITION_STATE and CANopen NMT command: CAA Device Diagnosis CANopen NMT command DED.DEVICE_TRANSITION_STATE.START NMT Start DED.DEVICE_TRANSITION_STATE.STOP NMT Stop DED.DEVICE_TRANSITION_STATE.RESET NMT Reset Application Note Use CANRemoteDevice_Diag.CheckCurrentSupportedCommunicationState to check which transitions are possible in the current state! InOut: Scope Name Type Comment Return SetCommunicationState DED.ERROR DED.ERROR.NO_ERROR if device transition was successful. Input eRequestedState DED.DEVICE_TRANSITION_STATE desired transition
INode ¶ ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
CANRemoteDevice_Diag.ChildNodeCount (PROP) ¶ PROPERTY ChildNodeCount : CAA.COUNT Returns the number of children below the current node
3S CANopenStack Library Documentation ¶ Company : 3S - Smart Software Solutions GmbH Title : 3S CANopenStack Version : 4.2.0.0 Categories : Intern|CANbus Namespace : _3SCOS Author : 3S - Smart Software Solutions GmbH Placeholder : 3S CANopenStack Description [ 1 ] ¶ CANopen Master stack provided by 3S Smart Software Solutions GmbH. Contents: ¶ CANRemoteDevice (FunctionBlock) BootupTimeout (Property) CANopenState (Property) ConfigurationErrors (Property) ErrorControlActivated (Property) Guarding NMTErrorBehaviour (Property) NodeID (Property) pCANopenManager (Property) CANopenManager (FunctionBlock) Events Helper KernelState (Property) MandatorySlavesBooted (Property) NMT OptionalSlavesBooted (Property) Debugging CANDiagnosis (FunctionBlock) Device Diagnosis CANRemoteDevice_Diag (FunctionBlock) CANRemoteModule_Diag (FunctionBlock) CANopenManager_Diag (FunctionBlock) Enums CANOPEN_KERNEL_STATE (Enum) CANopenEvent (Enum) DEVICE_STATE (Enum) GUARDING_TYPE (Enum) NMT_ERROR_BEHAVIOUR (Enum) Interfaces ICANopenEventHandler (Interface) Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) Structs CANOpenDiagnosisInfo (Struct) NetDiagnosis (Struct) Indices and tables ¶ [ 1 ] Based on 3S CANopenStack.library, last modified 04.09.2023, 11:22:33. LibDoc 4.4.0.0-b.37 The content file 3S CANopenStack.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 04.09.2023, 11:22:35.