Milosh Posted October 30, 2017 Report Posted October 30, 2017 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?
gclshortt Posted October 30, 2017 Report Posted October 30, 2017 http://www.omronkft.hu/nostree/pdfs/plc/cs1_cj1/w430-e1-02+cs1d-etn21d+opermanual.pdf 2-11 Communications Test Can you ping the card? Regards, Garry
Milosh Posted October 30, 2017 Author Report Posted October 30, 2017 (edited) 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 October 30, 2017 by Milosh
gclshortt Posted October 30, 2017 Report Posted October 30, 2017 https://www.fa.omron.com.cn/data_pdf/mnu/w420-e1-06_cs1w_cj1w-etn21.pdf?id=1992 Please check your subnet mask settings. (They must match) Regards, Garry
Milosh Posted October 30, 2017 Author Report Posted October 30, 2017 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...
gclshortt Posted October 30, 2017 Report Posted October 30, 2017 http://www.intech.co.nz/downloads/help/mscanv5/help_demo_omron_fins_plc.htm The above link is for setting up the unit for FINS communication. Note: The ETN21 is added to the PLC in the ETN21 Mode, not the ETN11 mode. Regards, Garry
Milosh Posted October 31, 2017 Author Report Posted October 31, 2017 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...
Milosh Posted October 31, 2017 Author Report Posted October 31, 2017 (edited) 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 October 31, 2017 by Milosh
Milosh Posted October 31, 2017 Author Report Posted October 31, 2017 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
innoaloe Posted October 31, 2017 Report Posted October 31, 2017 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.
Milosh Posted October 31, 2017 Author Report Posted October 31, 2017 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.
Milosh Posted November 2, 2017 Author Report Posted November 2, 2017 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now