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 July 19th, 2015, 11:50 PM   #1
scrambled
Member
Australia

scrambled is offline
 
scrambled's Avatar
 
Join Date: Jul 2015
Location: Brisbane
Posts: 108
Omron CJ1W-ETN21 Automatic Address Generation Error

I have an Omron CJ1M PLC that does Modbus TCP comms via an CJ1W-ETN21 Ethernet module.

At the moment, I have set the ETN21 to automatically generate its node address from the last octet of the IP address. In my case, my test IP address has 156 as its last octet. So I set the two node address dials to 9C (hex equivalent) on my ETN21 module. Should be fine right?

However, when I do so, I get an ERH flashing LED on the ETN21, indicating an "address disagreement". Modbus TCP comms works fine but I'd like to find out why the ETN21 is giving me this error.

I checked the CIO error word and the "address disagreement" bit is the only one that is turned on. What is even more peculiar is that the error goes away if I manually add an IP address table entry routing node address 156 to my IP address which ends in 156. I've attached a screenshot of this configuration.

If I remove the IP address table entry and set the node address conversion back to automatic (dynamic), the error comes back again. This is without touching anything else in CX programmer and the ETN21. I've spent the last hour looking through all the Omron manuals and have not been able to figure out why this is occurring.

Can anyone here point me in the right direction?
Attached Images
File Type: png Untitled.png (47.1 KB, 31 views)
  Reply With Quote
Old July 20th, 2015, 05:43 PM   #2
Sergei Troizky
Member
Canada

Sergei Troizky is offline
 
Join Date: Oct 2004
Location: Montreal
Posts: 700
With your subnet mask, the most significant bit of the last octet belongs to the network ID, not to the node number.
Try 1C instead of 9C.
  Reply With Quote
Old July 21st, 2015, 09:26 PM   #3
scrambled
Member
Australia

scrambled is offline
 
scrambled's Avatar
 
Join Date: Jul 2015
Location: Brisbane
Posts: 108
Thanks Sergei, that was indeed the problem. Giving it 1C as the node number made the error LED go away. Funny how obvious the problem seems in hindsight.
  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 MINI LSS fatal Error AGreavette LIVE PLC Questions And Answers 14 December 2nd, 2015 11:29 AM
MPI comunication Manuel Raposo LIVE PLC Questions And Answers 22 July 16th, 2007 06:24 AM
S7-416-2 DP Fault - SFB20 sparky64 LIVE PLC Questions And Answers 8 July 30th, 2004 02:48 AM
Omron C200HS Error problem tbroadbent LIVE PLC Questions And Answers 4 August 29th, 2003 08:52 PM
Omron Fatal Error after converting program from a C28H to CPM2A Allen Williams LIVE PLC Questions And Answers 4 March 21st, 2003 06:09 PM


All times are GMT -5. The time now is 06:52 AM.


.