Closed clemansta closed 4 years ago
Added
c = ClxDriver()
c.register_session()
Now the errors are:
Traceback (most recent call last):
File "/TEMS_Software_V_1_1/API/Comm_CIP.py", line 15, in <module>
c.register_session()
File "/usr/local/lib/python2.7/dist-packages/pycomm/cip/cip_base.py", line 656, in register_session
self._send()
File "/usr/local/lib/python2.7/dist-packages/pycomm/cip/cip_base.py", line 801, in _send
raise CommError(e)
pycomm.cip.cip_base.CommError: 'NoneType' object has no attribute 'send'
Am I missing something?
I am trying to use the pycomm to speak with a micro 820. The error I am receiving is: Read in Values: A session need to be registered before to call forward open The code I am using is directly from the examples CLX code see below:
Any help would be appreciated.