Reading from S7-1200 PLC with s7.net plus library
<p>I'm trying to read values from S7-1200 PLC using s7.net plus library. When I try to read data from datablocks it returns <code>"WrongVarFormat"</code> message. My code is:</p>

<pre><code>    using (var plc = new Plc(CpuType.S71200, "192.168.1.17", 0, 0))
    {
    //IP is responding
    if (plc.IsAvailable)
    {
        ErrorCode connectionResult = plc.Open();
        //Connection successful
        if (connectionResult.Equals(ErrorCode.NoError))
        {
            //Get data
            object b2 = plc.Read("DB1.DBD38");//This part always return "WrongVarFormat"
        }
    }
</code></pre>

<p>Also, I set the plc settings and i declare the datablock and values as this:
<a href="https://i.stack.imgur.com/KSDqb.jpg" rel="nofollow">S7-1200 DB1</a> </p>