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 January 26th, 2004, 01:26 PM   #1
NoName
Member
Slovenia

NoName is offline
 
NoName's Avatar
 
Join Date: Sep 2003
Location: Domžale
Posts: 200
Question MM420 speed problem!!!

Hello all.I'm working with C7635 OP, and a micromaster 420 inverter.And when I try to send the speed setpoint something weird happens. If I send 2000, the frequency is set to 50% that is 25HZ.But if i Try to send 1900 to the inverter as the speed setpoint, it should be around 40% so some where around 22Hz, but it's not it's 19,8 HZ. How come that i can't set the speed setpoint no where around 20 to 25 HZ???Have any of you had this problem, so any advice would be helpfull.Do I just have to set somekind of parameter or what??? Please help me.

Thank you.
>Aleš<
  Reply With Quote
Old January 26th, 2004, 02:03 PM   #2
Tom Jenkins
Member
United States

Tom Jenkins is offline
 
Tom Jenkins's Avatar
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 4,971
I don't know your PLC, but it looks to me like your analog output is 12-bit. That means that 0% output is 0 data, and 100% output is 4095 data.

You don't say, but I suspect that your output is 4-20 mA. Make sure the drive and the output are both set for 4-20 mA. One of them may be 0-20 mA.

Another thing to check is if the VFD has been set to skip certain frequencies. Sometimes, to avoid critical frequencies and vibrational resonance, the VFD is set up to not operate at certain speeds.
  Reply With Quote
Old January 26th, 2004, 02:35 PM   #3
NoName
Member
Slovenia

NoName is offline
 
NoName's Avatar
 
Join Date: Sep 2003
Location: Domžale
Posts: 200
Sorry, but I forgot to tell that I'm comunicating with the drive via Profibus.No through any analog inputs/outputs or something like that.Sorry it's been a long day and i'm starting to forget stuff.

>Aleš<
  Reply With Quote
Old January 26th, 2004, 06:18 PM   #4
The Dark Knight
Member
United States

The Dark Knight is offline
 
The Dark Knight's Avatar
 
Join Date: Jul 2002
Posts: 124
Hmmm

It depends on the format (word or decimal) you are using
When I do my calcs, I get 19.53 Hertz..
if 1900 is transmitted as a word.
Here's what I got


1900Hex -> 6400Decimal

100%= 16384Decimal = 4000Hex

6400Decimal / 16384Decimal * 50Hz=19.53Hz

You can not just say 1900Decimal / 4000Decimal*50Hz=X

You will get the wrong answer
  Reply With Quote
Old January 26th, 2004, 08:09 PM   #5
dchartier
Member
Canada

dchartier is offline
 
Join Date: May 2003
Posts: 1,493
Hello, NoName;
Dark Knight has a valid point. You need to write the speed setpoint values in hexadecimal format to the Profibus address selected.
Say your speed setpoint register address has been selected to PQW258;
then MOVE the hex value you want to that address:


in STL, it would look like

L W#16#4000
T PQW258 // requesting 100% of max. speed parameter
...

L W#16#2000
T PQW258 // requesting 50% of max. speed parameter
...

L W#16#1900
T PQW258 // requesting 47.5% of max. speed parameter

Hope this helps
Daniel Chartier
  Reply With Quote
Old January 27th, 2004, 12:57 AM   #6
NoName
Member
Slovenia

NoName is offline
 
NoName's Avatar
 
Join Date: Sep 2003
Location: Domžale
Posts: 200
I am sending it as a word(HEX) to the inverter, so I realy don't know why it doesn't work like it should. Is it possible that a parameter could be set wrong???

Here is how I send the speed setpoint.
NW1

A(
A M 124.4
A M 28.5
JNB _01d
L W#16#1900
T PQW 258
SET
SAVE
CLR
_01d: A BR
)
JNB _01e
L W#16#47F
T PQW 256
_01e: NOP 0

Hope this helps.
Thank you.
>Aleš<
  Reply With Quote
Old January 27th, 2004, 03:37 AM   #7
The Dark Knight
Member
United States

The Dark Knight is offline
 
The Dark Knight's Avatar
 
Join Date: Jul 2002
Posts: 124
what i'm saying is that you should get close 19.5Hz. You say that you are getting 19.8, so the drive is responding properly.
  Reply With Quote
Old January 27th, 2004, 09:15 AM   #8
NoName
Member
Slovenia

NoName is offline
 
NoName's Avatar
 
Join Date: Sep 2003
Location: Domžale
Posts: 200
No it's probably 19.5, I just wrote that value from the top of my head.Sorry. So what you are saying is, I can't set the speed no where around 22HZ or is there a way??

Thank you.
  Reply With Quote
Old January 27th, 2004, 09:39 AM   #9
Steve Bailey
Lifetime Supporting Member + Moderator
United States

Steve Bailey is online now
 
Steve Bailey's Avatar
 
Join Date: Apr 2002
Location: The boondocks of Western Massachusetts USA
Posts: 4,672
Of course you can set the speed to 22 Hz.

22 Hz / 50 Hz = X / 16384

X = 7209 decimal = 1C29 hex

Even if you're limited to steps of 100 counts, there are still six steps between 1900 and 2000 hex;

1900 = 19.53 Hz
1A00 = 20.31 Hz
1B00 = 21.09 Hz
1C00 = 21.88 Hz
1D00 = 22.66 Hz
1E00 = 23.44 Hz
1F00 = 24.22 Hz
2000 = 25.00 Hz

Last edited by Steve Bailey; January 27th, 2004 at 09:55 AM.
  Reply With Quote
Old January 27th, 2004, 10:12 AM   #10
NoName
Member
Slovenia

NoName is offline
 
NoName's Avatar
 
Join Date: Sep 2003
Location: Domžale
Posts: 200
Smile

AAAAAAAAAAAAA. I was thinking in a totaly diferent direction.I totaly forgot that i was sending a HEX value,to the inverter.I just thougt that 1900 is around 23Hz,I wasn't thinking right.Thank you all for all your help,as you can see sometimes I have tunnel vision. Thanks to ALL!!!!
  Reply With Quote
Old January 27th, 2004, 11:14 AM   #11
JRW
Member
United States

JRW is offline
 
JRW's Avatar
 
Join Date: Jun 2002
Location: Upstate South Carolina
Posts: 853
Another tidbit-
If you want to see your profibus value sent to the drive-
Look at
r2050.0- Control word from your master (in decimal)
r2050.1- speed value from your master (in decimal)
r2050.2- Spare
r2050.3- Spare
  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
Using a proximity switch to detect speed Beej LIVE PLC Questions And Answers 22 December 8th, 2011 05:21 AM
ac drives lumbee 100 LIVE PLC Questions And Answers 8 February 8th, 2006 01:10 PM
50HP DC motor to AC !!! Pierre LIVE PLC Questions And Answers 26 October 18th, 2004 02:47 PM
Ab Plc5 Rio Problem. fernandes LIVE PLC Questions And Answers 5 March 7th, 2004 01:25 PM
PLC5/40 Backplane Problem????? Andrew Evenson LIVE PLC Questions And Answers 18 August 24th, 2002 07:06 PM


All times are GMT -5. The time now is 09:07 AM.


.