-
Notifications
You must be signed in to change notification settings - Fork 85
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
Strings #17
Comments
ControlLogix strings can be a bit tricky. pycomm does not really handle the STRING type as a true native type, but I have some code I posted earlier which does the job pretty well. Actually, if anyone else who read the earlier stuff sees this, I have made some improvements. It's just a couple short "add-on" functions for reading / writing strings with pycomm's existing functionality. Unfortunately, GitHub does considerable violence to the formatting of Python text for inline comments like this, so I'll try to post it in a different way. ***Edit: I just took a screenshot and added below: |
Thanks rkrupnek, I'll have a look at that and see if I can put it to use. Do you have any documentation on the Ethernet/IP standard? |
Cool. Hope you find it useful. Ruscito has this posted on the front GitHub page. I think there is a later version of it available as well: http://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm020_-en-p.pdf |
ok guys I added two temporary method to read and write string. I was holding off to do so because I wanted to do it right (using read/write fragment wrapped around a "Multiple Service Packet") but is taking longer than what I expected so for the moment this two methods can do the trick. @rkrupnek thanks for |
Is anyone having trouble retrieving strings from pycomm ?
The text was updated successfully, but these errors were encountered: