This project is read-only.

Write Value To PLC S7 300

Mar 31, 2017 at 12:49 PM
I am trying to develop a code to write value to PLC with VB.Net, I am able to write double and string values with below code

Dim Value As UShort = UShort.Parse("123")
Dim WriteError As ErrorCode = Plc.Write("DB80.DBW1020", Value)

Dim Value As Double = Double.Parse("123.123")
Dim WriteError As ErrorCode = Plc.Write(DataType.DataBlock, 80, 1016, Value)

but i am not able to write boolean and integer value

can any one help me on this ?