boolean S7_Write (int $InstanceID, float $Value)
ID of the device to be switched
32-bit floating point value according to IEEE754 or integer
If the command succeeds, it returns TRUE, otherwise FALSE.
Writes the value Value to the configured address of the instance with the ID InstanceID without knowing the exact data type.
This function also supports setting values when a factor has been set.
This function cannot be used for bit values. S7_WriteBit must be used for bit values.
// Float value S7_Write(12345, 23.5); // Integer S7_Write(12345, 123);