File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 25.10.2023, 14:05:08 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpPfcx00.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpPfcx00.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 25.10.2023, 14:05:06 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company CODESYS CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace PFC Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder CmpPfcx00 Project CmpPfcx00 Title CmpPfcx00 Version version 4.10.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 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
IoDrvGPIO Library Documentation ¶ Company : CODESYS Title : IoDrvGPIO Version : 4.10.0.0 Categories : Target|3S - Smart Software Solutions GmbH Namespace : IoDrvGPIO Author : CODESYS Development GmbH Placeholder : IoDrvGPIO Description [ 1 ] ¶ Library containing IO driver for Raspberry GPIOs Contents: ¶ GPIO (FunctionBlock) connector internal status GPIOType (Enum) IoDrvGPIO (FunctionBlock) ProcessorType (Enum) Indices and tables ¶ [ 1 ] Based on IoDrvGPIO.library, last modified 25.10.2023, 14:06:34. LibDoc 4.4.0.0-b.37 The content file IoDrvGPIO.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 25.10.2023, 14:06:35.
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
ReadEnd (FUN) ¶ FUNCTION ReadEnd : DINT Finishes the reading of process data. @param deviceId The id of the device. @param taskId The if of the task. @return Returns 0 on success, -1 otherwise. InOut: Scope Name Type Return ReadEnd DINT Input deviceId DINT taskId UDINT
ReadStart (FUN) ¶ FUNCTION ReadStart : DINT Starts the reading of the pi.Usually this is the point when the pi is read out from the device. @param deviceId The id of the device. @param taskId The id of the task. @return Returns 0 on success, -1 otherwise. InOut: Scope Name Type Return ReadStart DINT Input deviceId DINT taskId UDINT
RegisterEventHandler (FUN) ¶ FUNCTION RegisterEventHandler : DINT Actually not implemented InOut: Scope Name Type Return RegisterEventHandler DINT Input deviceId DINT handler tEventHandler userData POINTER TO BYTE
UnregisterEventHandler (FUN) ¶ FUNCTION UnregisterEventHandler : DINT Actually not implemented InOut: Scope Name Type Return UnregisterEventHandler DINT Input deviceId DINT handler tEventHandler
WatchdogSetTime (FUN) ¶ FUNCTION WatchdogSetTime : DINT Sets the watchdog time. The time until the watchdog triggers is the multiplication of factor and timeout_us. @param factor The factor specifies how often the timeout_us has to elapse until the watchdog triggers. @param timeout_us The timeout of the watchdog in microseconds. @return Return DAL_SUCCESS on success, DAL_FAILURE otherwise. InOut: Scope Name Type Return WatchdogSetTime DINT Input factor UDINT timeout_us UDINT