Documentation
S7_WriteDWord
boolean S7_WriteDWord (int $InstanceID, int $Value)
Parameters
InstanceID | ID of the device to be switched |
Value | 0-4294967295 |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
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.
Example
S7_WriteDWord(12345, 123);