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 Yesterday, 10:09 AM   #76
osmanmom
Member
Malaysia

osmanmom is offline
 
Join Date: Mar 2014
Location: JOHOR
Posts: 1,351
Hi uncle Lamboom,

how you adjust the frequency in cosine mode?
  Reply With Quote
Old Yesterday, 11:09 AM   #77
Lamboom
Lifetime Supporting Member
United States

Lamboom is offline
 
Lamboom's Avatar
 
Join Date: Mar 2014
Location: Fallbrook, Ca
Posts: 228
Quote:
Originally Posted by osmanmom View Post
Hi uncle Lamboom,

how you adjust the frequency in cosine mode?
It's in the SIN equation: Sine_Time/Period, where Sine_Time is from the ModReal expression (It's an Omron Sysmac Studio thing.) This info came from an Omron Engineer, Tyler Corbett, in Canada. (where all the friendly people live..


SampleTimeSec:= TO_LREAL(TimeToNanoSec(GetMyTaskInterval())) * 1e-9; //in this case it equals 0.001 sec .. it's sensitive to whatever the task interval is in the Omron NJ

Sine_Time:= ModReal(Sine_Time + SampleTimeSec, Period

Position := Amplitude * SIN((2 * Pi * Sine_Time / Period) + (Pi * 1.5) + Amplitude
  Reply With Quote
Old Yesterday, 11:28 AM   #78
Lamboom
Lifetime Supporting Member
United States

Lamboom is offline
 
Lamboom's Avatar
 
Join Date: Mar 2014
Location: Fallbrook, Ca
Posts: 228
Attn DIRT: Back to that Tsunami equation.... I Changed to using State Trackers (like your Stages) .. That worked well .. No clunks, and the sequence runs fine; but, only up to a point. There is a point at short periods (0.3 sec) to the positive peak of the cosine ramp up, when the control fails and the linear motor runs away negatively into the hard stop. (have nice shock pads for that..)

This may be due to the position equation itself. By creating only 180 degrees of motion mathematically ( SIN(2 * Pi * Time increments/Period) + 270 degree Offset) The 2 is not in this equation) The equation is only for a half cycle... perhaps it should be in the equation... or something a little larger than 1 . Because, the "end" timing is too critical. In only one CPU cycle, (0.001sec) the curve will go from + peak(max) to zero!. Probably, better to make the cycle go slightly past + Peak(max), but try to catch the + Peak(max) with the IF-THEN statement.

Edit ... Just tested it .. Yup... gotta use a position equation that passes the peak a little... I now can do a "impact' simulation of a stroke of 100mm in 0.1 sec .. or faster.. LinMot is awesome!

Last edited by Lamboom; Yesterday at 11:43 AM.
  Reply With Quote
Old Yesterday, 11:52 AM   #79
Peter Nachtwey
Member
United States

Peter Nachtwey is offline
 
Peter Nachtwey's Avatar
 
Join Date: Apr 2002
Location: Vancouver, WA, US
Posts: 6,500
Nice plot.

That looks good for one wave. The tracking errors are small so you did a pretty good job of tuning.

You can see it takes about 0.15 to 0.2 amps just to overcome friction. That is a lot relative to the peak.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon
  Reply With Quote
Old Yesterday, 01:19 PM   #80
Lamboom
Lifetime Supporting Member
United States

Lamboom is offline
 
Lamboom's Avatar
 
Join Date: Mar 2014
Location: Fallbrook, Ca
Posts: 228
Hi Peter .. always nice to hear from you. Ya know, after trying to get an Omron NJ to do non-typical machine automation moves, I have come to appreciate the incredible work your design team created in the Delta programming software. Sure, I was a newbie, but it was so intuitive, and simple to create everything I could imagine from curve shapes determined by complex mathematics, and ramping any variable .. all, on the fly, in real time. Damn near everything you need to do with Omron NJ is by brute force. Well, that's not entirely fair ... they do have a few bells and whistles... an' their NA HMI is cool (not as good as Red Lion .. but OK.)

These are very slow test moves. When moving water, the LinMot needs harder PID tuning .. I see forces up to 135 pounds.. with some moves in the 0.4 Hz range.. I can't use hydraulics, leaks are inevitable, an' water and oil don't do well together. You have any really cool projects lately, other than helping land the Curiosity rover on Mars? Also, did you know Delta played a role in the last King Kong movie?
  Reply With Quote
Old Yesterday, 03:08 PM   #81
Lamboom
Lifetime Supporting Member
United States

Lamboom is offline
 
Lamboom's Avatar
 
Join Date: Mar 2014
Location: Fallbrook, Ca
Posts: 228
RESOLVED Working... Thanks all.. Peter, Osmanmom, Dirt, Kvogel (Ken) & Highland Controls ... Life has meaning
Attached Images
File Type: jpg Rogue _009.jpg (48.1 KB, 14 views)
  Reply With Quote
Old Yesterday, 05:38 PM   #82
Peter Nachtwey
Member
United States

Peter Nachtwey is offline
 
Peter Nachtwey's Avatar
 
Join Date: Apr 2002
Location: Vancouver, WA, US
Posts: 6,500
It looks like you did it!

Quote:
Also, did you know Delta played a role in the last King Kong movie?
I didn't know that. I usually don't get too involved in tech support unless all our tech support guys are busy or the problem is difficult.

Movies are great for publicity but there are a few people that do most of hydraulic controls. They bought a RMC for movie making but they buy only one for all future projects/movies. Earlier this year I talked to the guy that did the hydraulic controls for Transformers 1,2 and 3. For some reason he didn't do 4 but is going to do 5. He bought only one controller and will use it for all his movie projects. I get more excited when a OEM standardizes on our products because that is recurring sales and usually after the first few systems they are cookie cutters so support is low.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon
  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
engineers kill me robo77 LIVE PLC Questions And Answers 19 November 18th, 2011 09:28 PM
ControlLogix Learning Curve? peterjung LIVE PLC Questions And Answers 20 May 25th, 2011 05:50 PM
Help with flow curve controllogix asterof LIVE PLC Questions And Answers 23 March 1st, 2010 11:12 PM
Automatic linear curve?? DBLD99 LIVE PLC Questions And Answers 4 May 3rd, 2008 06:36 PM
GE Veramax vrs. RSLogic learning curve Mark Buskell LIVE PLC Questions And Answers 8 January 14th, 2004 05:20 PM


All times are GMT -5. The time now is 09:49 PM.


.