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
ReadBool (FUN) ¶ FUNCTION ReadBool : DINT The ReadBool method reads one bit from the given offset into value. @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 ReadBool DINT Input deviceId DINT taskId UDINT bitOffset UDINT value POINTER TO BOOL
ReadBytes (FUN) ¶ FUNCTION ReadBytes : DINT Reads size bytes at offset from the devices pi into data. @param deviceId Id of the device @param offset Offset at which the data will be read. @param size Size of the data to read. @param data Pointer to the buffer. @return Returns 0 on success, -1 otherwise. InOut: Scope Name Type Return ReadBytes DINT Input deviceId DINT taskId UDINT offset UDINT size UDINT data POINTER TO BYTE