OneWire.Initialize (METH) ¶ METHOD Initialize : UDINT This method can be overloaded by extending FBs. It is called once during initialization phase, before the PLC goes into “run”. Always including a call of the base implementation with super^.Initialize(wModuleType, udiInstance, pConnector) Typically, parameter values from the configuration are read here. InOut: Scope Name Type Return Initialize UDINT Input wModuleType UINT dwInstance UDINT pConnector POINTER TO IoConfigConnector
OneWire.Operational (PROP) ¶ PROPERTY Operational : BOOL This property has to return TRUE, when the device is configured and running
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)