Checking communication loss #290
Unanswered
LaptosPirose
asked this question in
Q&A
Replies: 1 comment
-
I think if you broaden your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using pycomm3 to communicate with a Logix PLC and everything is working weel, but how can i do to check communication all time and don't crash the programm?
When I test te continuous communication and take off the Ethernet cable, the programm stop. How can I check this e try to reestart the communication? The simple part of programm is below and my attempt to check datas withi nosuccess.
from pycomm3 import LogixDriver
class Connect():
def init(self, plc_ip : str):
self.__plc_ip = plc_ip
self.__plc = self.__plc_connect()
def main():
from rockwell_modules.class_connect import Connect as Comm
if name == 'main':
main()
Beta Was this translation helpful? Give feedback.
All reactions