GlobalConstants ¶ Constants (GVL)
IoDrvGPIOBase.QueryInterface (METH) ¶ METHOD QueryInterface : POINTER TO POINTER TO BYTE InOut: Scope Name Type Comment Return QueryInterface POINTER TO POINTER TO BYTE Input iid DWORD InterfaceID pResult POINTER TO UDINT
ICmpIoDrv ¶ IoDrvGetModuleDiagnosis (Method)
IoDrvGPIOBase.IoDrvGetModuleDiagnosis (METH) ¶ METHOD IoDrvGetModuleDiagnosis : UDINT InOut: Scope Name Type Return IoDrvGetModuleDiagnosis UDINT Input pConnector POINTER TO IoConfigConnector
ICmpIoDrvConfig ¶ IoDrvGetConnector (Method)
IoDrvGPIOBase.IoDrvGetConnector (METH) ¶ METHOD IoDrvGetConnector : POINTER TO IoConfigConnector InOut: Scope Name Type Return IoDrvGetConnector POINTER TO IoConfigConnector Input pResult POINTER TO RTS_IEC_RESULT
ICmpIoDrvParameter ¶ IoDrvReadParameter (Method) IoDrvWriteParameter (Method)
i2c.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
i2c.read (METH) ¶ METHOD read : DINT This method is used to directly read nBufferLen bytes from the CharDevice. InOut: Scope Name Type Comment Return read DINT Number of bytes that have actually been read Input pbyBuffer POINTER TO BYTE pointer to area, where the bytes are copied nBufferLen UDINT number of bytes to read
i2c.read8 (METH) ¶ METHOD read8 : USINT This method is used to read the data byte of one register The function therefore first writes the register number and then reads one byte. InOut: Scope Name Type Comment Return read8 USINT data content Input usiRegister USINT register to read