TCatIoInputUpdate

The TCatIoInputUpdate function initiates the input mapping of the specified task.

LRESULT TCatIoInputUpdate( 
  USHORT nPort
);

Parameters

nPort

Port id of the I/O task whose process image should be used to get the input data. For further information on defining the task process image see the TwinCAT System Manager documentation, chapter "Additional tasks".

Return Values

If the function fails, the return value is nonzero. Possible error codes:

-1: I/O connection is not initialized

IOERR_IOSTATEBUSY [0x2075]: I/O device is not ready

Remarks

TCatIoInputUpdate checks the state of the input device whether it is ready or not. No fieldbus I/O is initiated by calling TCatIoInputUpdate, to start the field bus I/O cycle call TCatIoOutputUpdate.

QuickInfo

For Windows NT:    

For Windows CE:

Import Library: Use TCatIoDrvW32.lib.

See Also

TCatIoOutputUpdate ()