tDiagnoseState (ENUM) ¶ TYPE tDiagnoseState : InOut: Name Initial DiagnoseState_InvalidInputParameter -1 DiagnoseState_NotEnabled 0 DiagnoseState_GetDiagInfo 1 DiagnoseState_DiagInfoAvailable 2 DiagnoseState_DiagInfoNotAvailable 3
Functions ¶ ApplicationStateChanged (Function) CallDeviceSpecificFunction (Function) CloseKbus (Function) ConfigureDevice (Function) ConfigureSubdevice (Function) DiagnoseGetDeviceState (Function) DiagnoseGetSubdeviceState (Function) GetDeviceFlags (Function) GetIoSizes (Function) GetLastError (Function) OpenKbus (Function) ReadBit (Function) ReadBool (Function) ReadBytes (Function) ReadEnd (Function) ReadStart (Function) RegisterEventHandler (Function) UnregisterEventHandler (Function) WatchdogSetTime (Function) WatchdogStart (Function) WatchdogStop (Function) WatchdogTrigger (Function) WriteBit (Function) WriteBool (Function) WriteBytes (Function) WriteEnd (Function) WriteStart (Function) kbus_information ldkc_KbusInfo_Create (Function) ldkc_KbusInfo_Destroy (Function) ldkc_KbusInfo_GetDigitalOffset (Function) ldkc_KbusInfo_GetDigitalOffsetInput (Function) ldkc_KbusInfo_GetDigitalOffsetOutput (Function) ldkc_KbusInfo_GetStatus (Function) ldkc_KbusInfo_GetTerminalCount (Function) ldkc_KbusInfo_GetTerminalDiagnose (Function) ldkc_KbusInfo_GetTerminalInfo (Function) ldkc_KbusInfo_GetTerminalList (Function) ldkc_KbusInfo_TerminalDiagnoseRelease (Function)
ApplicationStateChanged (FUN) ¶ FUNCTION ApplicationStateChanged : DINT Sets the state of the PLC application. Its up to the devices to react accordingly. @param state The state of the application. @return DAL_SUCCESS on success. DAL_FAILURE when at least one device returned an error. InOut: Scope Name Type Return ApplicationStateChanged DINT Input event ApplicationStateChangedEvent
CallDeviceSpecificFunction (FUN) ¶ FUNCTION CallDeviceSpecificFunction : DINT @brief Calls a device-specific function implemented by a device library. @param fnName Name of the function to invoke @param retVal Return value @param … Additional parameters @return DAL_SUCCESS if the function was invoked successfully DAL_FAILURE on error DAL_NOTUSED if the function was not found InOut: Scope Name Type Return CallDeviceSpecificFunction DINT Input fnName STRING retVal POINTER TO UDINT
IoMgrSetDriverProperty (FUN) ¶ FUNCTION IoMgrSetDriverProperty : RTS_IEC_RESULT InOut: Scope Name Type Return IoMgrSetDriverProperty RTS_IEC_RESULT Input hIoDrv RTS_IEC_HANDLE ulProperty DWORD bValue DINT
IoMgrUnregisterConfigApplication (FUN) ¶ FUNCTION IoMgrUnregisterConfigApplication : RTS_IEC_RESULT InOut: Scope Name Type Return IoMgrUnregisterConfigApplication RTS_IEC_RESULT Input pszConfigApplication REFERENCE TO STRING
IoMgrUnregisterInstance (FUN) ¶ FUNCTION IoMgrUnregisterInstance : RTS_IEC_RESULT InOut: Scope Name Type Return IoMgrUnregisterInstance RTS_IEC_RESULT Input hInterface RTS_IEC_HANDLE
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:42:34 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpIoMgr Implementation.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpIoMgr Implementation.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True SIL2 True LastModificationDateTime date 20.04.2021, 15:42:34 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace Description See: Description DocFormat reStructuredText Placeholder CmpIoMgr Implementation Project CmpIoMgr Implementation Title CmpIoMgr Implementation Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 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) 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) CmpIoMgr Interfaces ¶ Library Identification ¶ Name: CmpIoMgr Interfaces Version: newest Company: System Namespace: CmpIoMgr_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpIoMgr Interfaces, * (System) 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)
ReadBit (FUN) ¶ FUNCTION ReadBit : DINT The ReadBit method reads one bit from the given offset into data. @param deviceId The device to read the bit from. @param bitOffset The bit offset to read the bit at. @param data Pointer to where the bit will be read to. @return Returns 0 on success, -1 otherwise. InOut: Scope Name Type Return ReadBit DINT Input deviceId DINT taskId UDINT bitOffset UDINT data POINTER TO BYTE