You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there maybe something wrong in the program, or something configuration in the machine had been modified.
One controller infomation of grob machine can be read from the program:
Controller Information:
TNC-Type: TNC640
NC-Version: 340590 10 SP2
PLC-Version: TNC640_V14.06.05
But the other controller infomation of HERMLE machine(C42U) can not be read suddenly。
This is an earlier result:
E:\pyLSV2-master\venv\Scripts\python.exe E:/pyLSV2-master/JCTest.py
Connecting to 192.168.1.37
{'Control': 'TNC640', 'NC_Version': '340590 10 SP3', 'PLC_Version': 'C42.33.04SP2HF1/S/'}
Connecting to 192.168.1.37
ERROR:root:something went wrong while waiting for new data to arrive, buffer was set to 256
Traceback (most recent call last):
File "E:/pyLSV2-master/JCTest.py", line 12, in
con.connect()
File "E:\pyLSV2-master\pyLSV2\client.py", line 94, in connect
self._configure_connection()
File "E:\pyLSV2-master\pyLSV2\client.py", line 229, in _configure_connection
self.login(login=Login.INSPECT)
File "E:\pyLSV2-master\pyLSV2\client.py", line 323, in login
if not self._send_recive_ack(CMD.A_LG, payload):
File "E:\pyLSV2-master\pyLSV2\client.py", line 206, in _send_recive_ack
response, content = self._llcom.telegram(
File "E:\pyLSV2-master\pyLSV2\low_level_com.py", line 122, in telegram
response = self._tcpsock.recv(buffer_size)
socket.timeout: timed out
The text was updated successfully, but these errors were encountered:
Did you manage to fix it yourself?
Looks to me like the control didn't respond. Let me guess, you had to enable the connection on the control?
Been there myself ;-)
Hi drunsinn
You are right.
I had downloaded a program from the other website. It is the same result.
I found some information on that website, so I go to the machine to check the configuration.
The ip in our customer factory had been changed. So the py program has no authorization to access the controller.
Thank you all the same.
--
At 2022-07-08 00:38:57, "Max" ***@***.***> wrote:
Did you manage to fix it yourself?
Looks to me like the control didn't respond. Let me guess, you had to enable the connection on the control?
Been there myself ;-)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
Hi drunsinn
Connecting to 192.168.1.37
ERROR:root:something went wrong while waiting for new data to arrive, buffer was set to 256
Traceback (most recent call last):
File "E:/pyLSV2-master/JCTest.py", line 12, in
con.connect()
File "E:\pyLSV2-master\pyLSV2\client.py", line 94, in connect
self._configure_connection()
File "E:\pyLSV2-master\pyLSV2\client.py", line 229, in _configure_connection
self.login(login=Login.INSPECT)
File "E:\pyLSV2-master\pyLSV2\client.py", line 323, in login
if not self._send_recive_ack(CMD.A_LG, payload):
File "E:\pyLSV2-master\pyLSV2\client.py", line 206, in _send_recive_ack
response, content = self._llcom.telegram(
File "E:\pyLSV2-master\pyLSV2\low_level_com.py", line 122, in telegram
response = self._tcpsock.recv(buffer_size)
socket.timeout: timed out
The text was updated successfully, but these errors were encountered: