MCP23S17_FB.writeBit (METH) ¶ METHOD writeBit : BOOL This method is used to modify one bit of a certain register: It first reads the register, modifies the bit and then writes the register (no matter if the bit already had the desired value) return value: TRUE if successful InOut: Scope Name Type Comment Return writeBit BOOL Input byHardwareAddress BYTE (0..7) hardware address byPort BYTE port number to read byBit BYTE (0..7) bit number to read/write xValue BOOL value to write
connector ¶ AfterReadInputs (Method) BeforeWriteOutputs (Method) Initialize (Method)
MCP23S17_FB.AfterReadInputs (METH) ¶ METHOD AfterReadInputs : INT InOut: Scope Name Type Return AfterReadInputs INT
MCP23S17_FB.BeforeWriteOutputs (METH) ¶ METHOD BeforeWriteOutputs : INT InOut: Scope Name Type Return BeforeWriteOutputs INT
MCP23S17_FB.Initialize (METH) ¶ METHOD Initialize : UDINT InOut: Scope Name Type Return Initialize UDINT Input wModuleType UINT dwInstance UDINT pConnector POINTER TO IoConfigConnector
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 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)
Raspberry SPI MCP3008 Library Documentation ¶ Company : 3S - Smart Software Solutions GmbH Title : Raspberry SPI MCP3008 Version : 4.10.0.0 Categories : Target Namespace : MCP3008 Author : 3S - Smart Software Solutions GmbH Placeholder : SPI MCP3008 Description [ 1 ] ¶ Library containing device support of MCP3008 Contents: ¶ IoDrvMCP3008 (FunctionBlock) MCP3008 (FunctionBlock) connector Indices and tables ¶ [ 1 ] Based on Raspberry SPI MCP3008.library, last modified 25.10.2023, 14:08:47. LibDoc 4.4.0.0-b.37 The content file Raspberry SPI MCP3008.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 25.10.2023, 14:08:49.
IoDrvMCP3008 (FB) ¶ FUNCTION_BLOCK IoDrvMCP3008 EXTENDS IoDrvBase IMPLEMENTS ICmpIoDrvParameter
MCP3008 (FB) ¶ FUNCTION_BLOCK MCP3008 EXTENDS spi InOut: Scope Name Type Output auiValue ARRAY [0..7] OF UINT Methods: AfterReadInputs BeforeWriteOutputs Initialize Structure: connector AfterReadInputs (Method) BeforeWriteOutputs (Method) Initialize (Method)
connector ¶ AfterReadInputs (Method) BeforeWriteOutputs (Method) Initialize (Method)