robinson / gos7

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

Read input and output signals in client.Read #45

Open d0pam1n opened 3 years ago

d0pam1n commented 3 years ago

This PR adds the ability to read input and output signals with the method client.Read. You can use the following variable represenations.

Input: I/E[startbyte].[bit] (e.g. I1.1, E2.1) Output: Q/A[startbyte].[bit] (e.g. Q1.1, A2.1)