boolean S7_WriteDWord (int $InstanceID, int $Value)
InstanceID | ID of the device to be switched |
Value | 0-4294967295 |
If the command succeeds, it returns TRUE, otherwise FALSE.
Set the address with the ID InstanceID to Value
Due to a limitation on 32-bit integers in PHP, only the area to 2147483647 can be used.
S7_WriteDWord(12345, 123);