SysFileWriteAsyncΒΆ
This function block is used for writing to a file. The file has to be opened with the function block SysFileOpenAsync.
Variable | I/O | Data type | Description |
---|---|---|---|
hFile | E | DWORD | File identifier (see SysFileOpenAsync) |
pBuffer | E | DWORD | Address of the data to write (to be retrieved using ADR-operator) |
dwSize | E | DWORD | Number of bytes to write (to be retrieved using SIZEOF-operator ) |
dwWrite | A | DWORD | Number of actually written bytes. |
The data is written to the file in binary mode, means without any conversion.