Tool preload was the problem. Why do some one need this option?
Sent from my SM-A510F using Tapatalk
Tool preload was the problem. Why do some one need this option?
Sent from my SM-A510F using Tapatalk
Hi swat cat,
I think one reason is that on some machines it is possible to preload the next tool so it is ready and saves time when needed. Which is why I explained earlier that loading a tool with the T command and applying the compensation for the tool with the H command needs to be separate for some machines.Tool preload was the problem. Why do some one need this option?
TK
http://dynomotion.com
https://youtu.be/OU00dVVAZT8
A little job..
Sent from my SM-A705FN using Tapatalk
Hello, i need to install a new Servo for the 4th axis. the Panasonic Servo drive needs 12 for the Step Dire, I`ve made the schematic below, it works but i can`t go over 300K Pulse per seconds..
what i did wrong with the schematic?
What step rate do you require? What Step Pulse length have you configured. By default KFLOP produces 2us Step Pulse. With 2us on and 2us off = 4us or a Setp rate of ~ 250KHz. To go higher you will need to shorten the Pulse length. See here. Do you have specifications on the Drives?
TK
http://dynomotion.com
Yes. Measured on oscilloscope it was 2.5us.. i ve changed it
Sent from my SM-G7810 using Tapatalk
Attachment 477000Attachment 477002Attachment 477004
Did it work? 4 is pretty small. 0.24us. Do you need to go that small? If the drive accepts quadrature rather than step/dir you might use that. It works better and reduces the frequency in half.
TK
http://dynomotion.com
It works now.. how do you set as quadrature?
Sent from my SM-G7810 using Tapatalk
Hi TOM, want to set the MPG pendant program outside de main Thread (1), meaning i need to run it just just when a binary input (ex. 66) is ON on Thread 4
So in the main program in need to run something like this:
If (input(66)=True)&& (Thread(4)= not running)
{ StartThread(4) }
If (input(66)=False)&& (Thread(4)=running)
{ KillThread(4) }
can you help me with a C code that will do that?
I wouldn't do it that way. Better/simpler to leave the MPG code in Thread 1 and just disable it based on that bit. See the ENABLE_MPG in MPGServiceSmoothHardwareEncFilteredRev3.c
TK
http://dynomotion.com
Yeah but i will fill the main Thread with that and never use it when is in cycle Run...
a least there is a way to read if a Thread is running or not? Some internal variables?
Sent from my SM-A705FN using Tapatalk
Shouldn't be a problem?Yeah but i will fill the main Thread with that and never use it when is in cycle Run...
You can define:a least there is a way to read if a Thread is running or not? Some internal variables?
Bits 0-7 will indicate which Threads are activeCode:extern volatile int ThreadActive; // one bit for each thread
TK
http://dynomotion.com
I not shure how to use this "extern volatile int ThreadActive"..i gues is a string like this 00000000..
Can you give an example how to check for Thread #2 and give a result in a Boolean true/false value?
Sent from my SM-A705FN using Tapatalk
Code:// check if bit 2 of ThreadActive is set by left shifting a 1 to bit 2 position and 'anding' with ThreadActive if (ThreadActive & (1 << 2)) // Thread2 is active else // Thread2 is not active
TK
http://dynomotion.com