You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old October 10th, 2011, 02:47 PM   #1
Tharon
Member
United States

Tharon is offline
 
Join Date: Jan 2007
Location: Michigan
Posts: 1,055
CX-Programmer to Omron CS1G-CPU42H

I inherited a couple machines using Omron CS1G-CPU42H PLCs. My first experience with these ever. They have an Ethernet card in their I/O configuration, CS1W-ETN11.

They work just fine. But when I tried to go online, I could ping the IP Address, but could not connect to the PLC using CX-Programmer.

After reading a bunch of help files and searching around various forums, I was at a loss. Subnets all matched, etc. Then I noticed an option under the "Network Settings" called Workstation Node Number. This was set to 15, yet the "Auto-Detect" box was checked. I figured that the Auto Detect would override this setting, but unless my IP Address ends in 15, I cannot go online.

Searching through the help files, I can't find anything on this setting. CX-Programmer gives a memory error if I try to open the help file on "Change PLC" which is where I think this option information is.

Is there a way to make it so any IP Address on the local network can connect to the PLC, not just the one in the Workstation setting?
  Reply With Quote
Old October 10th, 2011, 03:23 PM   #2
sthompson
Lifetime Supporting Member + Moderator
Canada

sthompson is offline
 
sthompson's Avatar
 
Join Date: Jan 2007
Location: Vernon, BC
Posts: 1,710
This would only happen if you have multiple Ethernet Cards in your PC, or you have more than one IP assigned to a single Ethernet Card. Unfortunately, CX-Programmer isn't very smart when it comes to selecting the correct Node Address in these circumstances. You would think it would select the Address based on the IP for the PLC, but it doesn't.

Stu....
__________________
There's never time to do it right, but there is always time to do it over!
No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.
  Reply With Quote
Old October 10th, 2011, 03:31 PM   #3
Tharon
Member
United States

Tharon is offline
 
Join Date: Jan 2007
Location: Michigan
Posts: 1,055
There are two active connections on my laptop.

10.0.0.xxx my local wireless
192.168.3.xxx in this case .15 in order to connect

The PLC's IP address is set to 192.168.3.1
FINS Source 0
FINS Destination, Network 0, Node 1
Workstation Node Number 15, Auto Detect checked.

So I'll just have to live with it? Not a problem for me. I'll just have to remember to write the PC address needed on a piece of paper for the maintenance electricians to be able to change to the right one.
  Reply With Quote
Old October 10th, 2011, 03:43 PM   #4
sthompson
Lifetime Supporting Member + Moderator
Canada

sthompson is offline
 
sthompson's Avatar
 
Join Date: Jan 2007
Location: Vernon, BC
Posts: 1,710
Quote:
Originally Posted by Tharon View Post
There are two active connections on my laptop.

10.0.0.xxx my local wireless
192.168.3.xxx in this case .15 in order to connect

The PLC's IP address is set to 192.168.3.1
FINS Source 0
FINS Destination, Network 0, Node 1
Workstation Node Number 15, Auto Detect checked.

So I'll just have to live with it? Not a problem for me. I'll just have to remember to write the PC address needed on a piece of paper for the maintenance electricians to be able to change to the right one.
If you will always be using the Laptop with that Static IP, you can turn off Auto Detect, and set it to 15. If it is a Dynamic IP Address, then it is going to be an ongoing problem. I don't know of a way of getting around it. Maybe some of the Omron Experts know of a work around.

Stu....
__________________
There's never time to do it right, but there is always time to do it over!
No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.
  Reply With Quote
Old October 11th, 2011, 02:06 AM   #5
lostcontrol
Member
New Zealand

lostcontrol is offline
 
lostcontrol's Avatar
 
Join Date: May 2009
Location: NeverSayNever
Posts: 515
Cannot remember exactly, but I think network adaptor binding order sorts this issue out.
This is under advanced settings of network settings I think.
If u make the network u want to use the top of the list, then it should solve it.
I am on mobile just now, but if you cannot find it, let me know & I will post a screen shot.
  Reply With Quote
Old October 11th, 2011, 05:31 AM   #6
Tharon
Member
United States

Tharon is offline
 
Join Date: Jan 2007
Location: Michigan
Posts: 1,055
I'll try when I get to work this morning. My wireless network is first in the list, so that may be. I'll see if I can find the option to switch their order.

Last edited by Tharon; October 11th, 2011 at 06:13 AM.
  Reply With Quote
Old October 13th, 2011, 03:35 PM   #7
Tharon
Member
United States

Tharon is offline
 
Join Date: Jan 2007
Location: Michigan
Posts: 1,055
Just an update:
I never found a way to do it, and today I install CX-Programmer on a different laptop (migrating to another). I was testing it out, and set my IP address to the same address my old laptop was. I couldn't connect!

Looking around, the Workstation number just changed to 152, instead of 15. Switched my IP Address to .152 and it could connect!

Some weird stuff right there. I just copied the projects directly over, and suddenly the PLC Network settings changed from 15 to 152... I verified that it is still 15 on my old laptop.
  Reply With Quote
Old October 14th, 2011, 03:41 PM   #8
BobB
Lifetime Supporting Member
Australia

BobB is offline
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 3,294
I am currently doing a job with 8 x Omron CJ2M PLCs using Ethernet IP.
Addresses are all in the 192.168.250.xxx range.
Set the laptop to 192.168.250.20 - could not connect.
Had to turn the firewall off and all was good.
__________________
The Old Pfhaart

  Reply With Quote
Old June 20th, 2012, 10:57 AM   #9
Tharon
Member
United States

Tharon is offline
 
Join Date: Jan 2007
Location: Michigan
Posts: 1,055
I did end up solving it, found the binding order of the network adapters.

Set the adapter I was using for connecting to the PLC and set that at the top of the list, and now it works just fine, regardless of the actual IP address.

I actually never bothered until one day they decided to change the PC that was pulling data from the Omron PLC into a database for HMI stuff using CX Server. They ran into the same problems my laptop was. I revisited this topic and looked deeper to find the binding order of the adapters. As soon as I set the adapter being used to the top of the list, the PC could connect to the PLC no problem.

In Windows 7, it's under Network and Sharing, Change Adapter Settings, then you have to press the ALT key to get to the menus, Advanced -> "Advanced Settings..." Then you just move the network adapters up/down in a list to determine the order.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Omron CX Programmer slow screen update while online 69FIREBIRD LIVE PLC Questions And Answers 7 May 8th, 2009 02:39 AM
Omron CX Programmer Question fredjohns LIVE PLC Questions And Answers 4 March 11th, 2009 05:41 PM
Omron CX Programmer Crashes on Help Menu 69FIREBIRD LIVE PLC Questions And Answers 3 December 1st, 2008 02:11 PM
Omron CX Programmer shresp LIVE PLC Questions And Answers 7 August 14th, 2007 03:29 PM
Omron CX Programmer DIFU clarification Johnny T LIVE PLC Questions And Answers 9 January 5th, 2006 02:33 AM


All times are GMT -5. The time now is 10:58 AM.


.