03-11-2014, 01:38 AM
if I want call trigonometric function "cos" to move forward and backward on one axis, how should I write in programming?
trigonometric function
|
03-11-2014, 01:38 AM
if I want call trigonometric function "cos" to move forward and backward on one axis, how should I write in programming?
03-12-2014, 09:24 AM
One way to do this is to create a phantom (pretend) axis. For example, let's say you want the X axis to have a sinusoidal trajectory. Then create a phantom axis called V, and do circular interpolation in the X-V plane. There is no V, so it doesn't do a circle, it simply does sinusoidal motion on X.
03-12-2014, 09:43 AM
One way to do this is to execute a circular move on X and Y, where Y for example is a non-existent phantom axis. The real axis will then move in a sinusoidal fashion. Here is an example.
Code: [font=Courier]End Gat
03-24-2014, 04:08 AM
I would like to move on SINE WAVE CHARACTERISTIC and below is the sample program I get through and can below the graph consider as SINE WAVE…?
There are few question would like your advice base on the program as below.. 1. The position for X(P103)=5000 and the graph that I get is just 3300pulse..please advice… 2. What is the function for OutMag J(-P101) currently I set it to 0..it doesn’t affect my motor moving while set it to 10..
03-26-2014, 08:46 AM
You have modified the example, and removed the home command. This is important for the X0Y0J() command because it specified the starting point, being at zero. I don't see you specifying anywhere in your motion program the start point of the "circle".
You need to learn about the CIRCLE command, and understand that what you program in the CIRCLE move X()Y()I()J() specifying the end point and radius is directly related to the very important start position. Otherwise, I don't understand the first question. I don't see P103 anywhere in the code or X(P103). You have hard coded X5. |
« Next Oldest | Next Newest »
|