dmroeder / pylogix

Read/Write data from Allen Bradley Compact/Control Logix PLC's
Apache License 2.0
587 stars 181 forks source link

Issues connecting to emulate #221

Closed sethoon88 closed 1 year ago

sethoon88 commented 1 year ago

Still having trouble with connecting to an emulator. connection size set to 504 and ip address set to the PC. Am i missing something else? thanks! em

evaldes2015 commented 1 year ago

I think I tried this some time ago and couldn't get it to work

dmroeder commented 1 year ago

Open RSLinx Enterprise/FactoryTalk Linx, right click on the Ethernet driver, Properties > Advanced. Check the box "Listen on Ethernet I/P encapsulation ports". In the screenshots, I used FTVSME to configure the RSLE driver. Newer versions have FactoryTalk Linx Network Browser.

capture-20230323-110013 capture-20230323-105340

dhunt84971 commented 1 year ago

Whoa! Okay. Learned something new, today. Removing my misleading answer.

dmroeder commented 1 year ago

@dhunt84971, no worries. there was a point where I was confidant that you could not communicate with emulate in this way. Even after I tested it and it worked for me, it still didn't work for others. I later learned about that configuration.

sethoon88 commented 1 year ago

Awesome that did the trick. Thanks a lot!

DasDuneTech commented 1 year ago

Hi, I am not using Factory Talk, only RSLinx Classic Gateway and Emulate 5000, everything works fine with Logix Designer 5000 btw. I get : Unknown error [WinError 10061]... with pyLogix. Is there any setting I can do on RSlinx ? see below a screen shot on the advanced tab in RSLinx. Thanks! image

dmroeder commented 1 year ago

I'm only aware of this option being available with FTL. So in order to do this, you will probably have to install FTL. You wouldn't be "using" FTL to communicate, it just acts as a bridge, accepting the connection and forwarding it to Emulate AFAIK.