« Back to Product

Documentation

S7_WriteReal

 boolean S7_WriteReal (int $InstanceID, float $Value) 

Parameters

InstanceID

ID of the device to be switched

Value

64bit floating point value according to IEEE754

Returns

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

Description

Set the address with the ID InstanceID to Value

Example

S7_WriteReal(12345, 23.5);
Any questions?