Search found 13 matches

by gonzalo
Fri Dec 27, 2019 9:19 am
Forum: Configuration Issues
Topic: problems with 4-5th axis configuration
Replies: 1
Views: 1193

problems with 4-5th axis configuration

Dear Tom, I am making a new setup with the following: 1 KFLOP 1 KSTEP: for direct use axis 0, 1,2,3 to steppers, for the moment only moving 0 Axis 4 and Axis 5 using JP5 GPI/O pins 1-2 (Pulse/dir) for external driver 1 and 2-3 for external driver 2 1 Kconnect. My problem is when I try to set up the ...
by gonzalo
Thu Sep 05, 2019 10:19 am
Forum: C Programs
Topic: StartThread() issue
Replies: 1
Views: 1875

StartThread() issue

Hi Tom, I am triggering the Thread 2 from the 1 using the StartThread(2); function but I have the following problem: I save all the theads codes using the the FLASH User Memory Button form the Configuration GUI. Additionally I checked ON before the thread 1 check box in the Launch on Power Up to be ...
by gonzalo
Mon Sep 02, 2019 9:05 am
Forum: C Programs
Topic: invDistPerCycle works?
Replies: 2
Views: 1979

Re: invDistPerCycle works?

Many thanks Tom!! :D :D
by gonzalo
Fri Aug 30, 2019 11:29 am
Forum: C Programs
Topic: invDistPerCycle works?
Replies: 2
Views: 1979

invDistPerCycle works?

Hi Tom, I am triying to calibrate the movement for my setup and I see in the manual the variable invDistPerCycle to do that. I have a regular 1.8º/step motor with KSTEP and I want my units in degres. Then following the example1 of the manual: Example #1 : A mechanism moves 0.001" for each full step ...
by gonzalo
Fri Aug 30, 2019 8:27 am
Forum: Hardware Interface Issues
Topic: Low current motors and KSTEP
Replies: 2
Views: 1660

Re: Low current motors and KSTEP

Hi Tom, Would be a good option in the future if you can add a current reduction pin in the KSTEP as cutting the amplifiers and turning on again for stepper motors produces a small mechanical jump, then is not desired as you loose the real position. I will do a reduction current with additional resis...
by gonzalo
Fri Aug 30, 2019 8:20 am
Forum: C Programs
Topic: Using persist.UserData with doubles?
Replies: 2
Views: 1888

Re: Using persist.UserData with doubles?

Great solution Tom, many thanks!!
by gonzalo
Thu Aug 29, 2019 12:01 pm
Forum: C Programs
Topic: Using persist.UserData with doubles?
Replies: 2
Views: 1888

Using persist.UserData with doubles?

Hi All, I need to pass data to a thread from the PC and for that I see that we can use the persist.UserData[] array. My problem is that my data is float for example 10.34, and the persist.UserData[] is integer. There is any fast method to do it without using 2 variable positions for each number? man...
by gonzalo
Thu Aug 29, 2019 8:16 am
Forum: Hardware Interface Issues
Topic: Low current motors and KSTEP
Replies: 2
Views: 1660

Low current motors and KSTEP

Hi Tom, I have to control motors with a maximum current per phase of 0.6A. In the KSTEP I put the configuration to the mínimum current using the jumpers, but still the current is upper the motor limit (0.63A) and get a lot of heat. My question is, there is any mode to reduce the current for the step...
by gonzalo
Thu Aug 29, 2019 8:09 am
Forum: C Programs
Topic: Using Flash Memory problem
Replies: 4
Views: 2080

Re: Using Flash Memory problem

Great Tom!! Many thanks again!!
by gonzalo
Wed Aug 28, 2019 4:51 pm
Forum: C Programs
Topic: Using Flash Memory problem
Replies: 4
Views: 2080

Re: Using Flash Memory problem

Hi Tom, Code to save the data into FLASH: #include "KMotionDef.h" #define FLASHD ((volatile double *)0x90100000) double ATT_POS[256]; // variable 1 double ATT_POW[256]; // variable 2 double BET_POS_L1[8]; // variable 3 double BET_POS_L2[8]; // variable 4 double DataToSave[528]; // all variables togu...