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.

New Here? Please read this important info!!!


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

Reply
 
Thread Tools Display Modes
Old September 18th, 2023, 11:08 AM   #1
Edwardp
Member
United States

Edwardp is offline
 
Join Date: May 2023
Location: NC
Posts: 4
Powerflex 700 with Micrologix 1100 Ethernet

Hello,

I have an existing application that has a Powerflex 700 with a 20-COMM-E adapter controlled by a Micrologix 1100 via Ethernet. The setup works great sometimes but not other times. The micrologix is sending run, enable and speed commands to the drive using MSG commands. For seemingly no reason the MSG stops commanding the drive and stars generating timeout errors. After 15 minutes to an hour of sitting, it starts communicating again. According to the 20-COMM-E status lights, the Ethernet link is good but the drive is not receiving commands.

The Ethernet link is a direct connection from the micrologix 1100 to the 20-COMM-E.

I've tried a different 20-COMM-E module with the same results.

I've tried a new PLC with the same results.

Any ideas or solutions would be greatly appreciated.

Also, what would be the best method for setting up communications between the micrologix and the powerflex? I've been reading that Ethernet is not a good solution. I prefer get the Ethernet connection working but I'm open to converting to a different communication setup.

Thanks!
  Reply With Quote
Old September 18th, 2023, 12:07 PM   #2
mylespetro
Supporting Member
Canada

mylespetro is offline
 
mylespetro's Avatar
 
Join Date: Dec 2015
Location: NS
Posts: 719
How many MSG commands are you using? Are they controlled in any way whatsoever or just constant rapid-fire sending/reading?
  Reply With Quote
Old September 18th, 2023, 02:01 PM   #3
tarik1978
Member
Morocco

tarik1978 is offline
 
Join Date: Mar 2010
Location: casablanca
Posts: 654
ID: IN6353 | Access Levels: Everyone
PowerFlex Drives: Controlling via EtherNet/IP from MicroLogix, SLC, PLC5, CLX V15 and below
https://rockwellautomation.custhelp....slc,-plc5,-clx
__________________
Optimist will tell you the glass is half-full; the pessimist, half-empty; and the engineer will tell you the
glass is twice the size it needs to be
  Reply With Quote
Old September 18th, 2023, 06:14 PM   #4
Edwardp
Member
United States

Edwardp is offline
 
Join Date: May 2023
Location: NC
Posts: 4
Quote:
Originally Posted by mylespetro View Post
How many MSG commands are you using? Are they controlled in any way whatsoever or just constant rapid-fire sending/reading?
Hello, Thanks for the response.

I have three messages. Two writes and one read. I'm not sure why, but the read is set to PLC5. I tried changing to SCL500 but it did not make a difference.
I have attached screenshots for review.
Also, I tried restructuring the logic to use an unlatch for the MSG like is shown in the 20-COMM-E manual. That did not help either.
Attached Images
File Type: png LAD13.PNG (13.1 KB, 1 views)
File Type: png MG11_0.PNG (16.3 KB, 1 views)
File Type: png MG12_0.PNG (16.4 KB, 1 views)
File Type: png MG13_0.PNG (17.4 KB, 0 views)
File Type: png N40_0.PNG (10.0 KB, 0 views)
  Reply With Quote
Old September 18th, 2023, 06:19 PM   #5
Edwardp
Member
United States

Edwardp is offline
 
Join Date: May 2023
Location: NC
Posts: 4
Thanks for the response. I saw that doc. The one thing I did notice is that I only need to write N42:3 one time when the power is cycled. I'm going to try changing that.

Also, please see the previous reply to mylespetro
  Reply With Quote
Old September 19th, 2023, 06:01 PM   #6
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 11,568
The way you have those MSG instructions programmed, they will fire off repeatedly as fast as possible all the time and bombard the drives and anything else on that network with packets. I would recommend throttling them a bit. I have a somewhat elaborate scheme i use with serial radio modems that is overkill for what you are doing but it does allow you to selectively skip nodes, adjust the rate of polling and will prevent you from hammering the network and filling up PLC and VFD ethernet buffers.

Since you're just dealing with a handful of messages, I would recommend using a self resetting timer to trigger them in series with the EN bit for each. Fire them off every half second or so. Fast enough to meet or exceed your control performance needs, but not faster than necessary like you have them now.
__________________
You've been taken, but you don't know it yet.
  Reply With Quote
Old September 19th, 2023, 07:21 PM   #7
Edwardp
Member
United States

Edwardp is offline
 
Join Date: May 2023
Location: NC
Posts: 4
Quote:
Originally Posted by OkiePC View Post
The way you have those MSG instructions programmed, they will fire off repeatedly as fast as possible all the time and bombard the drives and anything else on that network with packets. I would recommend throttling them a bit. I have a somewhat elaborate scheme i use with serial radio modems that is overkill for what you are doing but it does allow you to selectively skip nodes, adjust the rate of polling and will prevent you from hammering the network and filling up PLC and VFD ethernet buffers.

Since you're just dealing with a handful of messages, I would recommend using a self resetting timer to trigger them in series with the EN bit for each. Fire them off every half second or so. Fast enough to meet or exceed your control performance needs, but not faster than necessary like you have them now.

I agree with everything you mentioned. The drive and PLC are the only thing on the network but I still have no need for the speed it's currently firing.

However, I don't think that it's going to fix the problem. When the problem occurs, the firing rate becomes the timeout time since the MSG done bit is not set.

Either way, I'm going to try slowing things down and see what happens. I'll have an opportunity to work on it again on Thursday...

Thanks for all the suggestions!!
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


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
Powerflex 525 over ethernet with micrologix 1100 Fast Ed LIVE PLC Questions And Answers 1 October 12th, 2019 01:30 PM
MicroLogix 1100 Ethernet Channel configuration freshmeat LIVE PLC Questions And Answers 7 September 14th, 2017 09:36 PM
OPC and Micrologix 1100 over ethernet Michal_dk LIVE PLC Questions And Answers 5 September 14th, 2010 12:53 PM
Micrologix 1100 Ethernet Trouble Bob_ LIVE PLC Questions And Answers 8 September 6th, 2007 10:48 PM
problem with micro 1100 requiring mod-bus, DH-485 and ethernet g.robert LIVE PLC Questions And Answers 18 March 16th, 2007 08:11 AM


All times are GMT -4. The time now is 09:46 PM.


.