TCatIoReset
The TCatIoReset function resets all available I/O devices in the TwinCAT System.
LRESULT TCatIoReset();
Parameters
None
Return Values
- Win32: If the function fails, the return value is non zero.
- Win CE: True (1) indicates succes, FALSE (0) indicates failure.
Remarks
TCatIoReset initiates a reset in the I/O device(s) through a AdsWriteControl request. Therefore TCatIoReset can succeed only if the TwinCAT System is in run mode.
QuickInfo
For Windows NT:
- Windows NT Version: Requires version 4.0 or later.
- TwinCAT: Requires version 2.5 or later.
- Header: Declared in TCatIoApi.h.
- Import Library: Use TCatIoDrv.lib.
For Windows CE:
- Windows CE Version: Requires version 4.2 or later.
- Image Version: Requires version 1.90 or later.
- Header: Declared in TCatIoW32Api.h.
- Import Library: Use TCatIoDrvW32.lib.