« Back to Product

Documentation

S7_WriteInteger

 boolean S7_WriteInteger (int $InstanceID, int $Value) 

Parameters

InstanceID

ID of the device to be switched

Value

-2147483648 bis 2147483647

Returns

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

Description

Set the address with the ID InstanceID to Value

Example

S7_WriteInteger(12345, -123);
Any questions?