File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 23.05.2023, 08:33:12 companyName string 3S-Smart Software Solutions GmbH libraryFile IoDrvCIFXProfibus.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile IoDrvCIFXProfibus.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 23.05.2023, 08:33:12 LibraryCategories library-category-list Intern|IoDrivers Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace IoDrvCIFXProfibusLibrary Description See: Description DocFormat reStructuredText Placeholder IoDrvProfibusMaster Project IoDrvCIFXProfibus Title IoDrvCIFXProfibus Version version 4.1.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 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 Base Interfaces ¶ Library Identification ¶ Name: Base Interfaces Version: newest Company: System Namespace: IBaseLibrary Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Base Interfaces, * (System) CAA Device Diagnosis ¶ Library Identification ¶ Placeholder: CAA Device Diagnosis Default Resolution: CAA Device Diagnosis, * (CAA Technical Workgroup) Namespace: DED Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CAA Device Diagnosis CAA List And Tree ¶ Library Identification ¶ Placeholder: CAA List And Tree Default Resolution: CAA List And Tree, * (CAA Technical Workgroup) Namespace: LAT Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA List And Tree 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 CmpAsyncMgr ¶ Library Identification ¶ Placeholder: CmpAsyncMgr Default Resolution: CmpAsyncMgr, * (System) Namespace: CmpAsyncMgr Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpAsyncMgr 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) CmpEventMgr ¶ Library Identification ¶ Placeholder: CmpEventMgr Default Resolution: CmpEventMgr, * (System) Namespace: CmpEventMgr Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpEventMgr CmpHilscherCIFX ¶ Library Identification ¶ Placeholder: CmpHilscherCIFX Default Resolution: CmpHilscherCIFX, * (System) Namespace: CmpHilscherCIFX Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpHilscherCIFX CmpIecTask ¶ Library Identification ¶ Placeholder: CmpIecTask Default Resolution: CmpIecTask, * (System) Namespace: CmpIecTask Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpIecTask CmpLog ¶ Library Identification ¶ Placeholder: CmpLog Default Resolution: CmpLog, * (System) Namespace: CmpLog Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpLog CommFB ¶ Library Identification ¶ Placeholder: CommFB Default Resolution: CommFB, * (3S - Smart Software Solutions GmbH) Namespace: CommFB Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CommFB FDT_ProfibusDriver ¶ Library Identification ¶ Placeholder: FDT_ProfibusDriver Default Resolution: FDT_ProfibusDriver, * (3S - Smart Software Solutions GmbH) Namespace: FDT_ProfibusDrv Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: FDT_ProfibusDriver IoDriver DPV1C1 Interfaces ¶ Library Identification ¶ Name: IoDriver DPV1C1 Interfaces Version: newest Company: System Namespace: IoDriver_DPV1C1_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver DPV1C1 Interfaces, * (System) IoDriver DPV1C2 Interfaces ¶ Library Identification ¶ Name: IoDriver DPV1C2 Interfaces Version: newest Company: System Namespace: IoDriver_DPV1C2_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver DPV1C2 Interfaces, * (System) IoDriver Hilscher Interfaces ¶ Library Identification ¶ Name: IoDriver Hilscher Interfaces Version: newest Company: System Namespace: IoDriver_Hilscher_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver Hilscher Interfaces, * (System) IoDriver Interfaces ¶ Library Identification ¶ Name: IoDriver Interfaces Version: newest Company: System Namespace: IoDriver_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver Interfaces, * (System) IoDriver Parameter Interfaces ¶ Library Identification ¶ Name: IoDriver Parameter Interfaces Version: newest Company: System Namespace: IoDriver_Parameter_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver Parameter Interfaces, * (System) IoDriver Profibus2 Interfaces ¶ Library Identification ¶ Name: IoDriver Profibus2 Interfaces Version: newest Company: System Namespace: IIoDrvProfibus Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: IoDriver Profibus2 Interfaces, * (System) IoDrvCIFXBase ¶ Library Identification ¶ Placeholder: IoDrvCifXBase Default Resolution: IoDrvCIFXBase, * (3S - Smart Software Solutions GmbH) Namespace: IoDrvCIFXBase Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDrvCifXBase IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard MemoryUtils ¶ Library Identification ¶ Placeholder: MemoryUtils Default Resolution: MemoryUtils, * (3S - Smart Software Solutions GmbH) Namespace: MEMUtils Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: MemoryUtils Redundancy ¶ Library Identification ¶ Placeholder: Redundancy Default Resolution: Redundancy, * (3S - Smart Software Solutions GmbH) Namespace: RDCY Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Redundancy Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard SysCpuHandling ¶ Library Identification ¶ Placeholder: SysCpuHandling Default Resolution: SysCpuHandling, * (System) Namespace: SysCpuHandling Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysCpuHandling SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysTask ¶ Library Identification ¶ Placeholder: SysTask Default Resolution: SysTask, * (System) Namespace: SysTask Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTask 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)
IoDrvCIFXProfibus.MasterID (PROP) ¶ PROPERTY MasterID : BYTE Master’s ID
PBSlaveDiag.ParentNode (PROP) ¶ PROPERTY ParentNode : DED.INode
PBSlaveDiag.SiblingNodeCount (PROP) ¶ PROPERTY SiblingNodeCount : CAA.Count
PBSlaveDiag.UpdateConfiguredStationAddress (METH) ¶ METHOD UpdateConfiguredStationAddress : UDINT Change the configured station address of the slave configuration. Only possible if the profibus master is disabled (see DED.Reconfigure function block). InOut: Scope Name Type Comment Return UpdateConfiguredStationAddress UDINT Input StationAddress BYTE new Station Address
ProfibusBaudrate (ENUM) ¶ TYPE ProfibusBaudrate : InOut: Name Initial Comment KBit_96 0 9,6 kBit/s KBit_19_2 1 19,2 kBit/s KBit_93_75 2 93,75 kBit/s 2 KBit_187_5 3 187,5 kBit/s 3 KBit_500 4 500 kBit/s 4 KBit_1500 6 1500 kBit/s 6 KBit_3000 7 3000 kBit/s 7 KBit_6000 8 6000 kBit/s 8 KBit_12000 9 12000kBits/s 9 KBit_31_25 10 31.25kBits/s 10 KBit_45_45 11 45.45 kBits/s 11 AUTO 15 Auto-detection mode. This option is currently not supported.
FunctionBlocks ¶ CommunicationErrorCIFX (Enum) IoDrvCIFXProfibus (FunctionBlock) ICmpIoDrvLiveList GetLiveList (Method) ICmpIoDrvPbSlaveActivation GetSlaveActivation (Method) SetSlaveActivation (Method) ICmpIoDrvProfibus ClearData (Method) Freeze (Method) Sync (Method) Unfreeze (Method) Unsync (Method) ICmpIoDrvProfibusConfig GetSlaveConfiguration (Method) Profibus CommFB MasterID (Property) PBSlave (FunctionBlock) GetDiag (Method) GetExtDiag (Method) ID (Property) RedundancyStatus (FunctionBlock)
CommunicationErrorCIFX (ENUM) ¶ TYPE CommunicationErrorCIFX : InOut: Name Initial Comment OK 0 CONFIGURATION_FAULT 16#C0000120 General configuration fault. INSUFFICIENT_LICENSE 16#C0000123 Insufficient license. INVALID_NETWORK_ADDRESS 16#C0000125 Network address invalid. NETWORK_FAULT 16#C0000140 General communication fault CONNECTION_CLOSED 16#C0000141 Connection closed. CONNECTION_TIMEOUT 16#C0000142 Connection timeout. LONELY_NETWORK 16#C0000143 Lonely network. DUPLICATE_NODE 16#C0000144 Duplicate network address. CABLE_DISCONNECT 16#C0000145 Cable disconnected. PROFIBUS_NON_EXCHANGE_SLAVE 16#C0390005 No data exchange with at least one slave. PROFIBUS_NON_EXCHANGE_ALL 16#C0390006 No slave in data exchange. PROFIBUS_CHANNEL_INIT_FAILED 16#C039000B Channel initialization failed. PROFIBUS_ADR_DOUBLE 16#C039003A Double station address detected. PROFIBUS_WATCHDOG_ERROR 16#C03900DC Watchdog Error. PROFIBUS_AUTOCLEAR_ERROR 16#C03900DE Auto-clear activated.
IoDrvCIFXProfibus (FB) ¶ FUNCTION_BLOCK IoDrvCIFXProfibus EXTENDS IoDrvCIFX IMPLEMENTS ICmpIoDrvDPV1C1Master, ICmpIoDrvDPV1C2Master, ICmpIoDrvProfibus, ICmpIoDrvLiveList, ICmpIoDrvPbSlaveActivation, ICmpEventCallback, ICmpIoDrvProfibusConfig, CommFB.ICommFBFactory, CommFB.ICommFBDiagProvider, CommFB.ICommFBFactoryExt An Instance of this function block is created for each profibus master in the device tree. InOut: Scope Name Type Comment Output xConfigured BOOL configuration ok xBusOn BOOL profibus is online xBusy BOOL driver is busy xError BOOL an error occured, see ErrorCode ErrorCode UDINT internal CIFX error, e.g during firmware configuration or bus startup. CommunicationError CommunicationErrorCIFX CommunicationError, e.g. NETWORK_FAULT if Profibus cable is disconnected Properties: MasterID Methods: ClearData Freeze GetLiveList GetSlaveActivation GetSlaveConfiguration SetSlaveActivation Sync Unfreeze Unsync Structure: ICmpIoDrvLiveList GetLiveList (Method) ICmpIoDrvPbSlaveActivation GetSlaveActivation (Method) SetSlaveActivation (Method) ICmpIoDrvProfibus ClearData (Method) Freeze (Method) Sync (Method) Unfreeze (Method) Unsync (Method) ICmpIoDrvProfibusConfig GetSlaveConfiguration (Method) Profibus CommFB MasterID (Property)