i2c.write (METH) ¶ METHOD write : DINT This method is used to directly write nBufferLen bytes to the CharDevice. InOut: Scope Name Type Comment Return write DINT Number of bytes that have actually been written Input pbyBuffer POINTER TO BYTE Pointer to the buffer that contains the data nBufferLen UDINT number of bytes to write
i2c.write8 (METH) ¶ METHOD write8 : BOOL This method is used to write the data byte of one register InOut: Scope Name Type Comment Return write8 BOOL TRUE if successful Input usiRegister USINT register to write usiValue USINT value
i2c.writeBits (METH) ¶ METHOD writeBits : BOOL This method is used to modify single bits of one register. InOut: Scope Name Type Comment Return writeBits BOOL TRUE if successful Input usiRegister USINT register usiFirstBit USINT highest value bit to write (0..7) usiLength USINT number of bits to write (1..usiFirstBit+1) usiValue USINT value of the bits to set (0..2^usiLength-1)
i2c.Operational (PROP) ¶ PROPERTY Operational : BOOL This property has to return TRUE , when the device is configured and running
i2cMaster.read (METH) ¶ METHOD read : DINT This method is used to directly read nBufferLen bytes from a device with a certain address return value: number of bytes that have actually been read InOut: Scope Name Type Comment Return read DINT Input usiAddress USINT address of i²c device pbyBuffer POINTER TO BYTE pointer to area, where the bytes are copied nBufferLen UDINT number of bytes to read
i2cMaster.write (METH) ¶ METHOD write : DINT This method is used to directly write nBufferLen bytes to a device with a certain address InOut: Scope Name Type Comment Return write DINT Number of bytes that have actually been written Input usiAddress USINT address of i²c device pbyBuffer POINTER TO BYTE Pointer to the buffer that contains the data nBufferLen UDINT number of bytes to write
IoDrvPLCNextAxio_Diag.CheckCurrentSupportedCommunicationState (METH) ¶ METHOD CheckCurrentSupportedCommunicationState : BOOL InOut: Scope Name Type Return CheckCurrentSupportedCommunicationState BOOL Input eRequestedState DEVICE_TRANSITION_STATE
IoDrvPLCNextAxio_Diag.CheckSupportedCommunicationState (METH) ¶ METHOD CheckSupportedCommunicationState : BOOL InOut: Scope Name Type Return CheckSupportedCommunicationState BOOL Input eRequestedState DEVICE_TRANSITION_STATE
IoDrvPLCNextAxio_Diag.GetDeviceDiagnosisInfo (METH) ¶ METHOD GetDeviceDiagnosisInfo : DED.ERROR InOut: Scope Name Type Return GetDeviceDiagnosisInfo DED.ERROR Input pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.SIZE
IoDrvPLCNextAxio_Diag.GetDeviceErrorAsync (METH) ¶ METHOD GetDeviceErrorAsync : DED.PROC_STATE InOut: Scope Name Type Comment Return GetDeviceErrorAsync DED.PROC_STATE Input eCmd PROC_CMD eCommand Inout eriDeviceError ERROR_INFO error struct Output eError DED.ERROR