« Back to Product

Documentation

ModBus_RequestRead

 boolean ModBus_RequestRead (int $InstanceID) 

Parameters

InstanceID

ID of the device to be switched

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

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.

Example

//Read out device with the ID 12345
ModBus_RequestRead(12345);
Any questions?