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

omron ethernet/ip writing error #427

Open
lupokk opened this issue Jun 30, 2023 · 3 comments
Open

omron ethernet/ip writing error #427

lupokk opened this issue Jun 30, 2023 · 3 comments
Labels

Comments

@lupokk
Copy link

lupokk commented Jun 30, 2023

I think there is a problem writing an unsigned byte to omron device with ethernet/ip

@timyhac
Copy link

timyhac commented Jun 30, 2023

Hi @lupokk - welcome to the libplctag community.

Thanks for taking the time to contribute to the project and we would love to know more about the problem you're facing.

Are you able to provide some additional details? On the libplctag.NET subproject we have some guidance on additional information you can provide: https://github.com/libplctag/libplctag.NET/blob/master/CONTRIBUTIONS.md#guidance-when-creating-an-issue

@lupokk
Copy link
Author

lupokk commented Jul 4, 2023

Hi @timyhac

With the example below I get an error "LibPlcTagException: ErrorRemoteErr"

     var myTag = new Tag<SintPlcMapper, sbyte>()
     {
        Name = "EIP_TO_COGNEX2.RESERVEDBYTE_0",
        Gateway = "172.17.252.11",
        Path = "1,0",
        PlcType = PlcType.Omron,
        Protocol = Protocol.ab_eip,
        Timeout = TimeSpan.FromMilliseconds(2000),
     };
     await myTag.InitializeAsync();
     myTag.Value = Convert.ToSByte(37);
     await myTag.WriteAsync();

@kyle-github
Copy link
Member

This is probably more a question for the libplctag.NET project as Tim noted above. That said, can you capture a log file? Please set the debug level to 4 and capture the log output. That will hopefully tell us more about what is happening.

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

No branches or pull requests

3 participants