![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Apr 2021
Location: Zuid-Holland
Posts: 7
|
Can't connect anymore [CP1L]
Hello everybody,
I'm using a Cp1l-EM40 PLC for my projects and this morning I changed the PLC IP from 192.168.250.2 to 169.254.67.1, because I needed to test something... My laptops IP is 169.254.67.105, so it should have been in the correct range. However, I can't connect to my PLC anymore. CX-programmer gives the error: Failed to connect to the PLC. Is there a way to change the IP back to 192.168.250.2? Thanks! Olivier |
![]() |
![]() |
#2 | |
Member
|
Quote:
https://www.myomron.com/index.php?ac...b&article=1487
__________________
Wasan Thawon My Blog: https://scadaskill.blogspot.com/ Facebook Page: https://www.facebook.com/scadaskill Youtube Channel: https://www.youtube.com/scadaskill |
|
![]() |
![]() |
#3 | |
Member
![]() ![]() Join Date: Apr 2021
Location: Zuid-Holland
Posts: 7
|
Quote:
This is by the way the window I get when I start DirectEthernetUtility. |
|
![]() |
![]() |
#4 |
Lifetime Supporting Member
|
what is the netmask of the PC?
|
![]() |
![]() |
#5 |
Member
![]() ![]() Join Date: Apr 2021
Location: Zuid-Holland
Posts: 7
|
|
![]() |
![]() |
#6 | |
Lifetime Supporting Member
|
Quote:
Yes, and that subnet mask should work. You could try 255.255.255.0, or whatever the PLC was set to be, but it should make no difference. That default gateway is mis-configured; it should not matter for the current effort, but change it to 169.254.1.1 for sanity's sake. Do you have access to Wireshark or tcpdump? If the PLC is sending out any ARP or other broadcast packets, you should be able to double-check its IP address. Try another cable. Try putting a switch that does auto-negotiation in between the PC and the PLC (requires two cables); perhaps neither side is doing auto-negotiation for the cable pinouts. Last edited by drbitboy; April 7th, 2021 at 08:18 AM. |
|
![]() |
![]() |
#7 | |
Member
![]() ![]() Join Date: Jun 2007
Location: Barcelona
Posts: 619
|
Quote:
You can also try a port scanner, this works quite well, it can be run without installing it https://www.advanced-port-scanner.com/ |
|
![]() |
![]() |
#8 | ||
Member
![]() ![]() Join Date: Apr 2021
Location: Zuid-Holland
Posts: 7
|
Quote:
That's the 'standard' IP-address. But I dont have Wireshark/tcpdump installed on this laptop, but i will do that the next workday. I have tried another cable already. Quote:
Last edited by olivier_vl; April 7th, 2021 at 09:00 AM. |
||
![]() |
![]() |
#9 | |
Lifetime Supporting Member + Moderator
|
Quote:
Try unplugging the PLC and PING 169.254.67.1 to see if you get a response
__________________
www.PLCCable.com PLC Communication Cables, PLC Trainers, MicroLogix, ControlLogix, Siemens, Allen Bradley and more...OEM and aftermarket supplies... Aftermarket 1784-U2DHP Allen Bradley USB to DH+, new USB to 485 modbus |
|
![]() |
![]() |
#10 | |
Member
![]() ![]() Join Date: Apr 2021
Location: Zuid-Holland
Posts: 7
|
Quote:
When I ping 169.254.67.1: Ping statistics for 169.254.67.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss) |
|
![]() |
![]() |
#11 |
Lifetime Supporting Member + Moderator
|
Is that with the PLC plugged in ? unplug the Ethernet cable from the PLC and try it... if you get a response 0% loss then you have another device with the same address and you need to unplug it and change the PLC or use a serial/USB cable to change the PLC
__________________
www.PLCCable.com PLC Communication Cables, PLC Trainers, MicroLogix, ControlLogix, Siemens, Allen Bradley and more...OEM and aftermarket supplies... Aftermarket 1784-U2DHP Allen Bradley USB to DH+, new USB to 485 modbus |
![]() |
![]() |
#12 | |
Member
![]() ![]() Join Date: Apr 2021
Location: Zuid-Holland
Posts: 7
|
Quote:
Ping statistics for 169.254.67.1: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), |
|
![]() |
![]() |
#13 |
Lifetime Supporting Member + Moderator
|
Perfect, we now know its the only one on the network, I would try the settings below on your PC
IPv4 Address. . . . . . . . . . . : 169.254.67.105 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.250.1 If that does not work, do you have a USB cable? then you can go into the PLC via USB and make the changes
__________________
www.PLCCable.com PLC Communication Cables, PLC Trainers, MicroLogix, ControlLogix, Siemens, Allen Bradley and more...OEM and aftermarket supplies... Aftermarket 1784-U2DHP Allen Bradley USB to DH+, new USB to 485 modbus |
![]() |
![]() |
#14 | |
Member
![]() ![]() Join Date: Apr 2021
Location: Zuid-Holland
Posts: 7
|
Quote:
EDIT: I just tried some other stuff with auto negotation and I was surprised but i was able to connect to the plc!! So thanks!! Last edited by olivier_vl; April 8th, 2021 at 03:27 AM. |
|
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
1734-AENT will connect | Drew Ethridge | LIVE PLC Questions And Answers | 12 | January 7th, 2021 10:19 AM |
HMI can connect to PC over ethernet directly, but not a switch or PLC | novice_user111 | LIVE PLC Questions And Answers | 10 | April 5th, 2019 04:13 AM |
Setting up OPC server for a SLC500, won't connect with RSlogix OPC Test | BigTom209 | LIVE PLC Questions And Answers | 9 | March 22nd, 2010 11:06 AM |
Starter connect to mm440 by tcp/ip | dis | LIVE PLC Questions And Answers | 10 | January 19th, 2010 10:07 PM |
Connect laptop > ML1000 problem | Martindag | LIVE PLC Questions And Answers | 8 | October 1st, 2009 09:58 PM |