Documentation
S7_WriteWord
boolean S7_WriteWord (int $InstanceID, int $Value)
Parameters
InstanceID | ID of the device to be switched |
Value | 0-65535 |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Set the address with the ID InstanceID to Value
Example
S7_WriteWord(12345, 123);