control_connections
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
control_connections [2020/08/17 13:41] – disclaimer rewrite atolstov | control_connections [2022/09/29 13:00] (current) – atolstov | ||
---|---|---|---|
Line 35: | Line 35: | ||
The GetConnectionUnitId function returns the current Unit Id of the specified Modbus TCP connection. The function is available since version 3.1. | The GetConnectionUnitId function returns the current Unit Id of the specified Modbus TCP connection. The function is available since version 3.1. | ||
- | The // | + | The // |
If no connection was found, nil will be returned. | If no connection was found, nil will be returned. | ||
Line 70: | Line 70: | ||
The GetConnectionErrors function reports whether there were errors while reading the registers in the last scan in the specified connection. The function is available since version 3.0. | The GetConnectionErrors function reports whether there were errors while reading the registers in the last scan in the specified connection. The function is available since version 3.0. | ||
- | *connectoin | + | *connection |
If there were no errors, then the function returns zero. If there were errors, then the ID of the last register is returned, which was not read. | If there were no errors, then the function returns zero. If there were errors, then the ID of the last register is returned, which was not read. | ||
Line 79: | Line 79: | ||
The GetConnectionScanTime function returns the time taken to poll the registers in the last scan in the specified connection. The function is available since version 3.0. | The GetConnectionScanTime function returns the time taken to poll the registers in the last scan in the specified connection. The function is available since version 3.0. | ||
- | *connectoin | + | *connection |
The function returns the time in milliseconds. | The function returns the time in milliseconds. |
control_connections.1597671672.txt.gz · Last modified: 2020/08/17 13:41 by atolstov