robinson / gos7

Implementation of Siemens S7 protocol in golang
BSD 3-Clause "New" or "Revised" License
314 stars 121 forks source link

Where to start? #50

Closed binmulyadin closed 2 years ago

binmulyadin commented 2 years ago

Hallo First thanks for sharing and reading my question. I have try snap7 in java and python and works. I am beginer in GO world, i just finish setup my vscode for GO and write hello.go. Now comeback to my question, where to start? I just want to read a simple variable from let say DB100.DBW10

regards bin mulyadin

robinson commented 2 years ago

Hallo, I suggest you have got the source code, then firstly you need a simulation, please take a look into folder test, where the datablock was set up, then run "go test", when you are in java world, it will not be a big deal to running with go. Have fun with gos7. VG, robinson