-
Notifications
You must be signed in to change notification settings - Fork 88
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
trying to write value in String register #230
Comments
Can you show the full stack trace or enable logging? The error that triggers that error will tell you what is wrong. |
Here is the output of
Here is the output: 2022-08-29 09:01:26,700 [INFO] pycomm3.cip_driver.CIPDriver._register_session(): Session=3394028776 has been registered. |
Hmm, it looks like I didn't put in an useable logging for the SLC driver. This driver doesn't get much attention so it's probably a bug. I will try to investigate and figure out what is going one |
Hi, I assume this read issue was resolved for the SLC driver (in "_slc_string_swap" I had to append a zero byte if data length is odd).... but when I write a string, although I don't an error the value does not take. any thoughts? was the SLC driver ever successful? |
hi, I'm tyring to write string in ST22:3
but get this error
"Failed to create a writeable value for ST22:3 from this is simple text"
I used this code
with SLCDriver('192.168.1.10') as plc:
plc.write(('ST21:3', 'this is simple text'))
please help me out.
The text was updated successfully, but these errors were encountered: