Milosh

How to connect CX-Programmer with ETH21 ETH11 mode module?

12 posts in this topic

Hi all.

I use CPU CS1D-H with duplex module CS1d-DPL02.

In main rack I have CS1d-ETH21(ETH11 Mode) module.

Set node addres unit no to 1, and adress node 1f as last segment of IP address 31.

In IO_tabe unit setup address of the module is 192.168.0.31.

After that I change communication settings in CX programmer to Ethernet and IP address like above.

But can not connect to PLC.

What I miss?

Share this post


Link to post
Share on other sites

Thanks for reply.

I can't ping tha card via Command promt...

Its not CS1D-ETH21. It is CS1W-ETH21(ETH11 mode), my mistake.

I can see it in Cx integrator, but can't ping.

Edited by Milosh

Share this post


Link to post
Share on other sites

Yes the subnetmask is ok: 255.255.255.0

I set 1 on rotary button x16_1 and F on rotary button x16_0...

I tried with a switch, crossover cable...

Share this post


Link to post
Share on other sites

I tried everything...

Configuration of Unit is good. LNk led ON, RUN led ON, 100M LED on.

I cnt't ping my card. My comp and card is in the same subnet.

I don't know what is the problem...

 

 

Share this post


Link to post
Share on other sites

Finally, I set up address in Unit setup to 192.168.0.31, dial switches set to 1 for x16_1 and F for switch x16_0.

Then I use wireshark...bum...I get Ip address for omron as 192.168.250.31...

Why????

 

Now I can connect with this address 192.168.250.31, but in unit setup is set address 192.168.0.31, and subnet mask 255.255.255.0

 

Im not sure why third segment of IP address is not changed to zero. Instead of that it is 250???

Edited by Milosh

Share this post


Link to post
Share on other sites

I also tried to change the IP address from web page.

Goto http://192.168.250.31/0 and go to Settings-> System and login with ETHERNET 

After that IP address which is set is 192.168.0.31

and subnet mask is 255.255.255.0

I click on Set and then Regist.

Turn off the whole rack with CPU and ETN21, then on, after that address is not changed.

It's stay 192.168.250.31

 

Share this post


Link to post
Share on other sites
42 minutes ago, Milosh said:

I also tried to change the IP address from web page.

Goto http://192.168.250.31/0 and go to Settings-> System and login with ETHERNET 

After that IP address which is set is 192.168.0.31

and subnet mask is 255.255.255.0

I click on Set and then Regist.

Turn off the whole rack with CPU and ETN21, then on, after that address is not changed.

It's stay 192.168.250.31

 

I have two guesses :

1. You don't have any battery installed on your PLCs
2. You didn't transfer your IO Table setting to your PLC

I don't know what you mean by clicking "Set" and "Regist". Didn't see any of that in the IO Table window. Typically there will be "Transfer PC to Unit" button to save your changes into PLC.
Make sure when transferring program you also check the IO Table and Special IO Unit Parameters checkbox, or else the IP Address settings will not be transferred.

The 192.168.250.XXX is a default addressing system used by Omron only if the ETN unit parameters is not set manually. The XXX will depend on your Rotary Switch settings (in your case it is 31)

Let's say you've downloaded the settings, in the case if your PLC didn't have any battery, after power cycle the content of D Memory Area which holds the IP Address value might be cleared so the settings will revert back to default.

Share this post


Link to post
Share on other sites
8 minutes ago, innoaloe said:

I have two guesses :

1. You don't have any battery installed on your PLCs
2. You didn't transfer your IO Table setting to your PLC

I don't know what you mean by clicking "Set" and "Regist".

This buttons are from web page. 

Didn't see any of that in the IO Table window. Typically there will be "Transfer PC to Unit" button to save your changes into PLC.
Make sure when transferring program you also check the IO Table and Special IO Unit Parameters checkbox, or else the IP Address settings will not be transferred.

I check all these settings during transfer.

The 192.168.250.XXX is a default addressing system used by Omron only if the ETN unit parameters is not set manually. The XXX will depend on your Rotary Switch settings (in your case it is 31)

Let's say you've downloaded the settings, in the case if your PLC didn't have any battery, after power cycle the content of D Memory Area which holds the IP Address value might be cleared so the settings will revert back to default.

Yes, but address is not back to 192.168.250.1 as default address. It's displayed as 192.168.250.31?

In IO table I set address 192.168.0.31 as mentioned above. 

Tried via cx programmer, via web page...same behavior.

 

 

Share this post


Link to post
Share on other sites

Finnaly I change IP address.

I use words DM30198, and DM30199 to set IP address.

DM30198 #C0A8 - as 192.168 (first two segments of IP address)

DM30199 #001F - as 0.31 (second two segments of IP address)

When used only rotary switch, it changes only the last segment of IP address - so the address always stays as 192.168.250.xxx where xxx - rotary switch settings.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now