Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Sumos8 on September 09, 2013, 06:13:16 PM

Title: Do-More CPU, CITRIO2 application where I have a jog program and run program
Post by: Sumos8 on September 09, 2013, 06:13:16 PM
I am controlling a Baldor Servo drive with a Do-Moore,CITRIO2 program.  I am using an EZ-Durapanel (EZD-T8C-S) to change values within the program.  Over all it is working well with one exception.  I am using A CTAXTRAP function in my program as my auto run function and a CTAXJOG function in my program as my jog function.  Both programs run fine until I try to decrease my jog speed to a controllable point (2% of max. speed which is 400rpm).  The program drives the motor fine. However if I leave jog speed set at 2% and go to Auto, the motor indexes at 400rpm instead of 2000rpm which is 100%.  If I change jog speed to 100% and go back to Auto, the motor runs at 2000rpm.

This is my first time on the forum and my second application of the Do-more.  I hope I am not getting to wordy!

My percent jog speed entry is V00000 at my EZ touch.  Do-more sees it as DLV0 and is nicknamed JogSpeedPercent.  DLV0 is moved into a math function in my Main program where I calculate JogSpeed (D0).  This function is only active when I am in manual.

RunSpeed (D4) is calculated the same way.  My percent run speed entry is V00002 at my EZ touch.  Do-more sees it as DLV2 and is nicknamed RunSpeedPercent.  DLV2 is moved into a math function in my Main program where I calculate RunSpeed (D4).This function is only active when I am in auto.

Both JogSpeed and RunSpeed are then run through their own CLAMP and become Jog_SP_Com and Run_SP_Com respectively.

I can connect and go to data veiw and monitor both Coms.  Jog_SP_Com  becomes 400 and Run_SP_Com stays at 2000.  I jog to position in manual at the reduced rate and go back to auto.  When we index, the index is at 400rpm instead of the run speed of 2000rpm.  Both Coms are still at their appropriate value, 400rpm and 2000rpm.  I must change jog back to 2000rpm to run index at 2000rpm.

Any ideas?
Title: Re: Do-More CPU, CITRIO2 application where I have a jog program and run program
Post by: BobO on September 09, 2013, 10:10:12 PM
I'm sure there is a good answer, but I don't see anything wrong in your description. If you will post your program, we'd be happy to look at it. If you would prefer to keep it private, you could PM it to us here at Host and we'll look over it.