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

Not able to read more than 9 tag values #8

Open
uthaman opened this issue Jul 6, 2016 · 1 comment
Open

Not able to read more than 9 tag values #8

uthaman opened this issue Jul 6, 2016 · 1 comment

Comments

@uthaman
Copy link

uthaman commented Jul 6, 2016

Hi, when reading multiple tags using the example, it is not able to read more than 9 tags a time.

Below is the exception.

se.opendataexchange.ethernetip4j.exceptions.InvalidEncapsulationPackageException: Package can not be a valid Ethernet/IP Cip package.
at se.opendataexchange.ethernetip4j.segments.CipPacketResponse.createPackage(CipPacketResponse.java:81)
at se.opendataexchange.ethernetip4j.services.UnconnectedMessageManagerResponse.validate(UnconnectedMessageManagerResponse.java:50)
at se.opendataexchange.ethernetip4j.clx.SimpleLogixCommunicator.read(SimpleLogixCommunicator.java:81)
at se.opendataexchange.ethernetip4j.test.TestClass.main(TestClass.java:59)

@marcopar
Copy link
Owner

marcopar commented Jul 6, 2016

Sorry uthaman but i switched job and i don't work anymore with Allen Bradley plcs. Therefore i am unable to debug the case you mention.

Aniway I suggest to try to debug it by yourself and see if you can find the bug. Most of the time the errors I found in the past in the original library were due to wrong calculation of the packet length, wrong padding length and so on.

I will be happy to include the fix or add you in the project team if you wish.
The library has potential but it only lacks good developers

@marcopar marcopar closed this as completed Jul 6, 2016
@marcopar marcopar reopened this Jul 6, 2016
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