Translation is in progress...
Not all topics are available at the moment and content links may be broken.
boolean S7_WriteBit (integer $InstanceID, boolean $Value)
|InstanceID||ID of the device to be switched|
|Value||TRUE for On, FALSE for Off|
|If the command succeeds, it returns TRUE, otherwise FALSE.|
Set the address with the ID InstanceID to value status
S7_WriteBit(12345, true); //Turn on device