SML_ETC_Slave.SetReferences (METH) ¶ METHOD SetReferences : BOOL InOut: Scope Name Type Return SetReferences BOOL Input pConnector POINTER TO IoConfigConnector
SML_ETC_Slave.State (PROP) ¶ PROPERTY State : SML_ETC_STATE
BufferPoolFactoryArgs (FB) ¶ FUNCTION_BLOCK FINAL BufferPoolFactoryArgs EXTENDS FBF.InstanceData IMPLEMENTS IBufferPoolFactoryArgs InOut: Scope Name Type Inherited from Input hInst CAA.HANDLE InstanceData udiBufferSize UDINT
SML_ETC_Slave.TimeoutForBootup (PROP) ¶ PROPERTY TimeoutForBootup : TIME
SML_ETC_Slave.WaitForDC (METH) ¶ METHOD WaitForDC : BOOL InOut: Scope Name Type Return WaitForDC BOOL Input bCommunication BOOL Output xDone BOOL xError BOOL uiDriveInterfaceError UINT strDriveInterfaceError STRING pIoDrvETC POINTER TO IoDrvEtherCAT
SncDeviceDriverBase.TransmitDeviceSpecificData (METH) ¶ METHOD TransmitDeviceSpecificData : ERROR Method to transmit the content of a SNC service request to a specific F-SPS and to transform its reply as a SNC service reply InOut: Scope Name Type Comment Input eFSpsBusId FSPSBUSDRV F-SPS field bus ID szSafetySvcDevAddr STRING device address to which the service should be directed pbySafetySvcData POINTER TO BYTE pointer to the specific safety service data udiSafetySvcDataSize UDINT size of this data hWriter RTS_IEC_HANDLE writer for the reply; udiStdSpsBufferSize UDINT size of the communication buffer of the standard SPS Return TransmitDeviceSpecificData ERROR
SharedAreaFactoryBase (FB) ¶ FUNCTION_BLOCK PUBLIC SharedAreaFactoryBase EXTENDS FBF.FactoryBase This is a base implementation of a factory for SharedArea instances. Please extend this function block and implement the prvInstPoolAdr property for realizing a factory based on static memory. The default implementation results in a heap memory based factory with a initial capacity of 5 ( prvInstCount := 5 ). Overwriting prvInstCount provides the possibility to control the initial capacity of the pool. Implementing prvInstPoolExtendsFactor provides the possibility to control the dynmic extension of the pool. prvInstPoolExtendsFactor = 0 => No possibility for extending the pool. prvInstPoolExtendsFactor > 0 => Extendion of the pool will be possible. A value of e.g. prvInstPoolExtendsFactor := 50 always expands the pool by 50% of its original size. Properties: prvInstCount prvInstSize Methods: Create Structure: Create (Method) prvInstCount (Property) prvInstSize (Property)
Raspberry SPI MCP23S17 Library Documentation ¶ Company : 3S - Smart Software Solutions GmbH Title : Raspberry SPI MCP23S17 Version : 4.10.0.0 Categories : Target Namespace : MCP23S17_Lib Author : 3S - Smart Software Solutions GmbH Placeholder : SPI MCP23S17 Description [ 1 ] ¶ Library containing device support of MCP23S17 Contents: ¶ GCL (GVL) MCP23S17_FB (FunctionBlock) basic-readwrite-commands connector Indices and tables ¶ [ 1 ] Based on Raspberry SPI MCP23S17.library, last modified 25.10.2023, 14:08:36. LibDoc 4.4.0.0-b.37 The content file Raspberry SPI MCP23S17.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 25.10.2023, 14:08:38.
SharedAreaRefDisposer (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL SharedAreaRefDisposer A helper function block for disposing automatically a reference to a shared memory, area after leaving the local context. METHOD MyMethod : ERROR VAR pData : POINTER TO myData ; sarDisposer : SHD.SharedAreaRefDisposer ; eErrorID : SHD.ERROR ; END_VAR pData := myArea.AreaRead ( itfSharedAreaRef => sarDisposer.itfRef , eErrorID => eErrorID ); IF eErrorID = SHD.ERROR.NO_ERROR THEN (* do some work with pData *) END_IF InOut: Scope Name Type Input itfRef ISharedAreaRef
GCL (GVL) ¶ InOut: Scope Name Type Initial Comment Constant IODIRA USINT 16#0 Data Direction Register for PORTA IODIRB USINT 16#1 Data Direction Register for PORTB IPOLA USINT 16#2 Input Polarity Register for PORTA IPOLB USINT 16#3 Input Polarity Register for PORTB GPINTENA USINT 16#4 Interrupt-on-change enable Register for PORTA GPINTENB USINT 16#5 Interrupt-on-change enable Register for PORTB DEFVALA USINT 16#6 Default Value Register for PORTA DEFVALB USINT 16#7 Default Value Register for PORTB INTCONA USINT 16#8 Interrupt-on-change control Register for PORTA INTCONB USINT 16#9 Interrupt-on-change control Register for PORTB IOCON USINT 16#A Configuration register for device GPPUA USINT 16#C 100kOhm pullup resistor register for PORTA (sets pin to input when set) GPPUB USINT 16#D 100kOhm pullup resistor register for PORTB (sets pin to input when set) INTFA USINT 16#E Interrupt flag Register for PORTA INTFB USINT 16#F Interrupt flag Register for PORTB INTCAPA USINT 16#10 Interrupt captured value Register for PORTA INTCAPB USINT 16#11 Interrupt captured value Register for PORTB GPIOA USINT 16#12 General purpose I/O Register for PORTA GPIOB USINT 16#13 General purpose I/O Register for PORTB OLATA USINT 16#14 Output latch Register for PORTA OLATB USINT 16#15 Output latch Register for PORTB