« Back to Product

Documentation

S7_WriteShort

Require: IP-Symcon >= 4.4

 boolean S7_WriteShort (int $InstanceID, int $Value) 

Parameters

InstanceID

ID of the device to be switched

Value

-32768 to 32767

Returns

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

Description

Warning

This function was named __S7_WriteSmallInt__ up to and including Version 4.3

Set the address with the ID InstanceID to Value

Example

S7_WriteShort(12345, -123);
Any questions?