boolean S7_RequestRead (int $InstanceID)
InstanceID | ID of the device to be switched |
If the command succeeds, it returns TRUE, otherwise FALSE.
Re-reads the device with ID InstanceID.
As soon as the function has been executed, the new values can be called up in the status variables.
// Read device
S7_RequestRead(12345);