boolean ModBus_RequestRead (int $InstanceID)
InstanceID | ID of the device to be switched |
If the command succeeds, it returns TRUE, otherwise FALSE.
Executes a new read for the device with the ID InstanceID.
Once the function has been performed, the new values are available in the state variables.
//Read out device with the ID 12345
ModBus_RequestRead(12345);