User Activity

  • Posted a comment on discussion General Discussion on Snap7

    I'm not sure, I haven't used VB.Net for over a decade. But the array needs to be large enough before calling Plc.DBRead(). So probably like this: Dim codice As String Dim code(20) As Byte Plc.DBRead(MemoryArea, 0, 20, code) codice = Snap7.S7.GetStringAt(code, 0) Just try and let me know if you get an error message. Also check the return value of Plc.DBRead. It should be 0; otherwise there's an error.

  • Posted a comment on discussion General Discussion on Snap7

    Please try this: Dim codice As String Dim code() As Byte = New Byte() {} Plc.DBRead(MemoryArea, 0, 20, code) codice = Snap7.S7.GetStringAt(code, 0)

  • Posted a comment on discussion What you would like to see in Snap7 on Snap7

    Hi all! I implemented ListBlocks and ListBlocksOfType into Sharp7. Please see https://github.com/soft79/Sharp7

  • Posted a comment on discussion General Discussion on Snap7

    Are you using the right Port/Rack number? Should be rack=0, slot=1. The sent packet is ok. Expected answer is: 03 00 00 16 02 F0 80 32 03 00 00 05 00 00 02 00 01 00 00 05 01 FF

View All

Personal Data

Username:
joskoenis
Joined:
2018-11-22 10:28:24

Projects

  • No projects to display.

Personal Tools