IObjectDictionary.WriteObjectByAddress (METH) ¶ METHOD WriteObjectByAddress : ABORT_CODE Used to write an object in the local object dictionary. If ABORT_CODE.SUCCESSFUL is returned data in pbyData was copied to the object. If error occured the corresponding abort code is returned. InOut: Scope Name Type Initial Comment Return WriteObjectByAddress ABORT_CODE ABORT_CODE.SUCCESSFUL : Writing successful, object value was changed according to pbyData; ELSE: Writing not permitted. Input wIndex WORD Index of object which should be written bySubIndex BYTE Subindex of object xCheckAccess BOOL TRUE TRUE: Access rights should be checked. Write on readonly object will fail. FALSE: Ignore access rights and force writing. xDataInBusOrder BOOL Specifies Byte Order of data pbyData points to; TRUE: Data in CANopen Byteorder (Little Endian), FALSE: Data in Host Byte Order pbyData POINTER TO BYTE Pointer to data which should be written to the object Inout udiSize UDINT VAR IN: Size of memory pbyData points to; VAR OUT: Size of Object
3S CANopenSlaveStack Unsafe Library Documentation ¶ Company : 3S - Smart Software Solutions GmbH Title : 3S CANopenSlaveStack Unsafe Version : 4.2.0.0 Categories : Intern|CANbus Namespace : _3SCODU Author : 3S - Smart Software Solutions GmbH Placeholder : 3S CANopenSlaveStack Unsafe Description [ 1 ] ¶ Unsafe part of SIL2 CANopenSlave Stack. Indices and tables ¶ [ 1 ] Based on 3S CANopenSlaveStack Unsafe.library, last modified 04.09.2023, 11:22:05. LibDoc 4.4.0.0-b.37 The content file 3S CANopenSlaveStack Unsafe.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 04.09.2023, 11:22:08.
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)