Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion:support PLC Type Select #66

Open
wwhai opened this issue Dec 16, 2023 · 1 comment
Open

Suggestion:support PLC Type Select #66

wwhai opened this issue Dec 16, 2023 · 1 comment

Comments

@wwhai
Copy link

wwhai commented Dec 16, 2023

Siemens have some different Device Model ,such s7200 ,s7100,s71200,s71500 ,etc. But their S7 protocol is not common。Can support enum to select?

  • Emum:
{
    S7200 = 0,
    S7300 = 1,
    S7400 = 2,
    S71200 = 3,
    S71500 = 4,
}
  • Example
func NewTCPClientHandler(model int, address string, rack int, slot int) *TCPClientHandler
@jiekechoo
Copy link
Contributor

@wwhai , why should we do that? Is there any difference between these models in the ISO-on-TCP protocol?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants