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 March 24th, 2020, 05:13 PM   #1
plclady
Member
United States

plclady is offline
 
Join Date: Jul 2018
Location: utah
Posts: 17
MSG error 16#0008_0301

I have an existing system with one main PLC, a 1769-L35E, and numerous MicroLogix 1100 satellites. The system already sends messages, so I know it works. The satellite PLCs communicate in an indirect way using the multi-hop feature that I don't understand, while the main sends messages directly but only to a few of the satellites. I need to create a new message from the main to one of the satellites, so I copied the MSG command the main PLC uses for talking to another satellite and changed the IP address to my target. And of course it doesn't work because I ain't that lucky. I'm sending a single int, so it can't be memory. The error code I am getting is 16#0001 and the extended error is 16#0008_0301. I read somebody else's post on a similar error but they had a bunch of faulted VFD connections I don't have. This system is fully functional except for my little upgrade. Any suggestions from the smart gallery?
  Reply With Quote
Old March 24th, 2020, 05:47 PM   #2
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is online now
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 15,211
Quote:
I copied the MSG command the main PLC uses for talking to another satellite and changed the IP address to my target.
Create an entirely new MESSAGE control tag, and enter the arguments for the MSG instruction one at a time from scratch.

May as well remove the chance that something in the MESSAGE control tag got corrupted during copy-paste.

Is your message going to one of the "remote multihop" satellites, or one that's on the LAN with the CompactLogix ?

You may also want to poke around the message logic and see if these are Connected messages, and how they are re-triggered.

Also have a look at the embedded Web pages for the 1769-L35E; that's often a good way to get a look at the connection capacity / usage of the controller.
  Reply With Quote
Old March 25th, 2020, 12:52 PM   #3
sharkyh2o
Member
United States

sharkyh2o is offline
 
Join Date: Dec 2013
Location: Snow Shoe
Posts: 60
you did change the MSG file # and The Routing Information File correct?
Attached Images
File Type: jpg Msg.jpg (171.7 KB, 28 views)

Last edited by sharkyh2o; March 25th, 2020 at 12:56 PM. Reason: Add JPEG
  Reply With Quote
Old March 25th, 2020, 04:50 PM   #4
plclady
Member
United States

plclady is offline
 
Join Date: Jul 2018
Location: utah
Posts: 17
further testing results...

Okay after some dumb luck I have found that when the operators go on break and the system is stopped, my message works. This is maybe due to the fact that no other messages are competing? The thing is all the other working messages are set to clear .EN and re-enable every time their .DN bit is set. They don't appear to check for anything first. So what could mine be missing? And by the way, thanks for answering.
  Reply With Quote
Old March 25th, 2020, 05:18 PM   #5
plclady
Member
United States

plclady is offline
 
Join Date: Jul 2018
Location: utah
Posts: 17
Both PLC's are able to go online on my PC that is plugged into the main switch, so I think that means they are LAN, right? Both have 10.20.32.xx addresses. I explored the web pages but I don't know enough about networking to understand what I'm looking at. I added more info to my reply. Still experimenting...
  Reply With Quote
Old March 25th, 2020, 05:57 PM   #6
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is online now
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 15,211
Quote:
The thing is all the other working messages are set to clear .EN and re-enable every time their .DN bit is set.
That sort of logic is seldom appropriate, as it uses up the maximum amount of buffers and bandwidth and most systems that need fast inter-machine updates use a different comms method or a single controller.

I strongly prefer to use a self-resetting timer with a few hundred milliseconds period, and use the /DN bit to trigger an MSG (when the /EN bit of the MESSAGE Control is false).

It's possible that during system idle times, HMI devices are not active, which frees up some comms resources.

Let's take a step back: is there messaging initiated by logic in the satellite MicroLogix controllers, or solely from the central CompactLogix ?
  Reply With Quote
Old March 25th, 2020, 06:44 PM   #7
plclady
Member
United States

plclady is offline
 
Join Date: Jul 2018
Location: utah
Posts: 17
The satellites send messages to each other using multihop but not to the main as far as I can tell. There are about 40 of them so maybe I missed it. The central only sends messages to some of the satellites, but what I just now discovered is that central is sending a read message to my target overlapping the time I'm asking the main to send a write to it. So I changed these 2 messages to stagger, and it's working perfectly. Hopefully this doesn't mess up the timing too much.
You are correct. Using up all the bandwidth does seem ridiculous. The fact that this place is so hokey is probably lucky for me though. Where else are they going to let a rookie have free reign over the controls? Thanks again for your help! I love my job!

Last edited by plclady; March 25th, 2020 at 06:59 PM.
  Reply With Quote
Old March 25th, 2020, 09:27 PM   #8
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is online now
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 15,211
Large, complex systems that lack documentation or institutional knowledge can be either overwhelming or an engineering and improvement challenge.

If I were asked to work on a system like that, I would spend some time documenting every MSG instruction's source and destination and trigger conditions.

Take screenshots of the embedded Web pages for the 1769-L35E CompactLogix that show the network connections and Ethernet statistics, so you can compare them when you make changes.
  Reply With Quote
Old March 26th, 2020, 11:49 AM   #9
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 10,454
Quote:
Originally Posted by plclady View Post
The fact that this place is so hokey is probably lucky for me though. Where else are they going to let a rookie have free reign over the controls? Thanks again for your help! I love my job!
The upside to conditions like that is that you will be seen as a super hero in short order.

I wholeheartedly agree with Ken's comment about documentation. Add address descriptions to every word and bit of both ends of every message.

I like to prefix those comments with "FROM System X" or "TO System Y" for example. That makes it pretty easy to identify what is what when viewing addresses in a list or in and exported spreadsheet.

I do the same with operator interface addresses "FROM HMI" and "TO HMI" and if there is more than one interface, change the "HMI" to something more specific.
__________________
You can choose a ready guide in some celestial voice. If you choose not to decide you still have made a choice.
  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
adding slc 500 to rs5000 for messaging Rippey574 LIVE PLC Questions And Answers 15 September 12th, 2017 05:24 AM
Multiple MSG instructions SLC5/05 TO SLC5/05 glenncooper LIVE PLC Questions And Answers 7 January 4th, 2017 07:59 AM
1769-SM2 Modbus RTU - MSG Command Freezing calvin127 LIVE PLC Questions And Answers 0 January 22nd, 2014 08:25 PM
MSG read/write versus HMI read/write - most efficient rguimond LIVE PLC Questions And Answers 7 January 6th, 2010 05:32 PM
Another SLC MSG problem Russff LIVE PLC Questions And Answers 3 March 22nd, 2006 03:25 PM


All times are GMT -5. The time now is 12:21 PM.


.