MCP23S17_FB.read8 (METH) ¶ METHOD read8 : BYTE This method is used to read the data byte of one port using the following protocol: Byte0: 16#41 + hardware address Byte1: Port Byte2: 16#FF return value: data content InOut: Scope Name Type Comment Return read8 BYTE Input byHardwareAddress BYTE (0..7) hardware address byPort BYTE port number to read
MCP23S17_FB.write8 (METH) ¶ METHOD write8 : BOOL This method is used to write a data byte into a port using the following protocol: Byte0: 16#41 + hardware address Byte1: Port Byte2: Value return value: TRUE if successful InOut: Scope Name Type Comment Return write8 BOOL Input byHardwareAddress BYTE (0..7) hardware address byPort BYTE port number to read byValue BYTE value to write
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
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 25.10.2023, 14:08:38 companyName string 3S-Smart Software Solutions GmbH libraryFile Raspberry SPI MCP23S17.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile Raspberry SPI MCP23S17.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 25.10.2023, 14:08:36 LibraryCategories library-category-list Target Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace MCP23S17_Lib Description See: Description Placeholder SPI MCP23S17 Project Raspberry SPI MCP23S17 Title Raspberry SPI MCP23S17 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 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.