robinson / gos7

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

about address for reading and configuration? #13

Closed lcp0578 closed 3 years ago

lcp0578 commented 5 years ago

I am a beginner. I get address list like "V0.0"、“V10.1”、“I1.2”、“VD952”,how can i convert it to the address number?

ozanh commented 5 years ago

I have seen addresses starting with E, or I but not V. You can use my fork to use client.Read method by using string addresses starting with DB, E, and I but not fully implemented. You can see the client.Read method in client.go file and please check what is provided before use. I hope this helps.

lcp0578 commented 5 years ago

@ozanh Thank you very much, I think I can learn more.