gButton.gValueOrBit Property

Top  Previous  Next

PROPERTY                                               DATA TYPE                    

gValueOrBit

gValueOrBit

 

Defines if gButton works in accordance with a bit or value.

 

gValueOrBit.Value             :  Writes value of gValueToWrite property to PLC address through OPC server when gButton clicked.

gValueOrBit.Bit         :  Depending on gBitOperation property , modifies state of specified bit of PLC address through OPC server when gButton clicked.

 

C# code example

gButton.gValueOrBit = gValueOrBit.Bit;