spi.AfterReadInputs (METH) ¶ METHOD AfterReadInputs : INT This method can be overloaded by extending FBs. It is used to read in the inputs of the device in the beginning of the cycle. Always including a call of the base implementation with super^.AfterReadInputs() In the base implementation, the body of the FB is called. InOut: Scope Name Type Return AfterReadInputs INT
spi.BeforeWriteOutputs (METH) ¶ METHOD BeforeWriteOutputs : INT This method can be overloaded by extending FBs. It is used to write the outputs to the device at the end of the cycle. Always including a call of the base implementation with super^.BeforeWriteOutputs() In the base implementation, the body of the FB is called. InOut: Scope Name Type Return BeforeWriteOutputs INT
spi.transfer (METH) ¶ METHOD transfer : BOOL This method is used to transfer data via SPI InOut: Scope Name Type Initial Comment Return transfer BOOL Input pabyTxBuffer POINTER TO ARRAY [0..255] OF BYTE pointer to send buffer pabyRxBuffer POINTER TO ARRAY [0..255] OF BYTE pointer to receive buffer udiLen UDINT 3 length to transfer uiDelayus UINT 5 delay in µs
spi.transferExt (METH) ¶ METHOD transferExt : BOOL This method is used to transfer data via SPI. In contrast to the method ‘transfer’ one can specify the communication clock. InOut: Scope Name Type Initial Comment Return transferExt BOOL Input pabyTxBuffer POINTER TO ARRAY [0..255] OF BYTE pointer to send buffer pabyRxBuffer POINTER TO ARRAY [0..255] OF BYTE pointer to receive buffer udiLen UDINT 3 length to transfer uiDelayus UINT 5 delay in µs udiSpeedHz UDINT 0 send clock in Hz; if 0, _diMaxSpeed is used
spi.Operational (PROP) ¶ PROPERTY Operational : BOOL This property has to return TRUE , when the device is configured and running
spiMaster.transferExt (METH) ¶ METHOD transferExt : BOOL This method is used to transfer data via SPI InOut: Scope Name Type Initial Comment Return transferExt BOOL Input pabyTxBuffer POINTER TO ARRAY [0..255] OF BYTE pointer to send buffer pabyRxBuffer POINTER TO ARRAY [0..255] OF BYTE pointer to receive buffer udiLen UDINT 3 length to transfer uiDelayus UINT 5 delay in µs udiSpeedHz UDINT 0 send clock in Hz; if 0, _diMaxSpeed is used
i2c.AfterReadInputs (METH) ¶ METHOD AfterReadInputs : INT This method can be overloaded by extending FBs. It is used to read in the inputs of the device in the beginning of the cycle. Always including a call of the base implementation with super^.AfterReadInputs() In the base implementation, the body of the FB is called. InOut: Scope Name Type Return AfterReadInputs INT
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 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) 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: IIoDrvParameter Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver Parameter Interfaces, * (System) IoDrvBase ¶ Library Identification ¶ Placeholder: IoDrvBase Default Resolution: IoDrvBase, * (System) Namespace: IoDrvBase Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDrvBase IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard Raspberry Pi Peripherals ¶ Library Identification ¶ Placeholder: Raspberry Pi Peripherals Default Resolution: Raspberry Pi Peripherals, * (CODESYS) Namespace: RasPi Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Raspberry Pi Peripherals Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard 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)
Sense Hat Library Documentation ¶ Company : CODESYS Title : Sense Hat Version : 4.10.0.0 Categories : Target Namespace : SenseHat Author : CODESYS Development GmbH Placeholder : SenseHat Description [ 1 ] ¶ Library containing device support for the Sense Hat under Raspberry Pi. Contents: ¶ Gamma (Alias) JoystickEvent (Enum) JoystickInput (Struct) JoystickKey (Enum) JoystickState (Enum) ODR (Struct) PutInto180 (Function) SenseHat (FunctionBlock) Fb_Exit (Method) GammaReset (Method) GetGamma (Method) GetRecommendedODRSetting (Method) Gyroscope LowLight (Method) SetGamma (Method) connector status fmod (Function) Indices and tables ¶ [ 1 ] Based on Sense Hat.library, last modified 25.10.2023, 14:09:25. LibDoc 4.4.0.0-b.37 The content file Sense Hat.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 25.10.2023, 14:09:27.
Gamma (ALIAS) ¶ TYPE Gamma : ARRAY[0..31] OF USINT