Hi, Tom!
M code with parameters works well! Thanks!
P.S. We trying to make cyclical moving of gidraulic cylinder. But there is need some parameters, like start and end coordinates and speed....
Type: Posts; User: vadim_cnc
Hi, Tom!
M code with parameters works well! Thanks!
P.S. We trying to make cyclical moving of gidraulic cylinder. But there is need some parameters, like start and end coordinates and speed....
Hi, Tom!
There is another question: how to read variable, which recorded by G-code string?
For example to read Speed variable (S) we used persist.UserData[SPEEDVAR]
#include "KMotionDef.h"...
Hi, Tom!
Thanks for clarifying. Of course it may be a problem with a linear encoder (released in the 80s) and unshielded wires. But the most problem we think is hydraulic station, which cannot...
Hi, Tom!
I tried this and it is works great, thanks!
One more question, can this board (KFLOP) accumulate an error while working?
After 3 hours of the cycle in which the axis moves, the range of movement has decreased. Maybe it is associated with the...
Hi, Tom!
Of course, functionality is possible to realize with regular toggle button. Radio buttons is more interesting (maybe only for me) to use with MPG, something like this:
...
Thanks a lot, Tom!
But it possible to add a radio buttons, like this?
http://www.cnczone.com/forums/attachment.php?attachmentid=377824&stc=1
If it possible, how to add them?
Best regards!
Hi, Tom!
We are figured out with MPG and now we need to add buttons to face screen (for example radio buttons) but the version of Kmotion we use 4.34i does not have items like at Wiki PC KMotion CNC...
Hi, Tom!
Now this axis works good, we tuned it.
Now we trying to set up MPG like this:
http://www.cnczone.com/forums/attachment.php?attachmentid=376884&stc=1
We trying MPG examples in C programs...
Thanks a lot to everyone! Your advices helps us!
Hydraulic cylider works, but not as we expect(( I will try to explain:
there is a hydraulic proportional valve, which is controlled by amplifier;...
Hi Tom!
You understand us correctly. This bits are 144 and 145.
About this questions:
#1 Yes, of course
#2 Partially
#3 We read it. We understand that
#4 In a general sense, we understand, but...
No problem, there is the file.
#include "KMotionDef.h"
// Defines axis as Servos with output as PWM Sign and Magnitude
// enables them
// sets them as an xy coordinate system for GCode
Hi, Tom!
We try to change this strings and program really compiles, but "dir_bit" wont set correctly. We need to set one bit, when voltage is negative and set another one bit and reset first bit,...
Hi, Tom!
Thanks a lot for Your supporting and patience! But we have some issues (again). There is problem while compiling (after changes in example, see picture). Our knowledges in C programming not...
Hi, Tom!
I try to explain what I meant. Cylinder's drive have only 0...10 V control of speed and driving direction of cylinder is switching of two valves, which controls by high or low signal. Could...
Hi Tom!
We trying to quote hydraulic cylinder to axis (for using it in basic main dialog screen), in this regard, there is a question: may I know which direction of the axis (bit or something else,...
Hi Tom!
Thank you so much for the video, this is that's what I need.
Best Regards.
Hi Tom!
Could you tell us more how the Momentary button style and how rather to use this button style.
I tried to use the physical buttons with this code, but it looks like he still is not...
I am trying something like the manual mode, with instant control bits. I also tried to do a BIT turn off via the time or distance. Everything works, but there are bumps.
P.S.
I can also implement...
Hi Tom.
Thank you, realize your option # 2. All transitions running back and forth fine.
One question. In the Screen Editor, I saw MotionButton style and ToggleButton, if I could use one of these...
Hi Tom.
Your code works fine big thanks!
One small note, when I press the button to start the screen that sets two Persist Variables shutdown KmotionCNC.
Is it possible to keep running at one...
Hi Tom.
Sorry for the stupid question, but I can not configure the files to the correct operation.
When I run the screen that sets two Persist Variables and set values, then I can watch them on the...
Hi Tom!
Thank you so much!:)
I will try to use your code.
Thanks again
Best Regards
Hi Tom!
Yes it's a good idea!
Hydro cylinder will operate independently of the other machine movements, the value will be set at the beginning of the processing on and off in the end.
Thanks for the answer.
We used a tip with your code, and that was it:
for (;;) //loop forever
{
WaitNextTimeSlice();
#define DESIRED_ENCODER_VALUE_1 100000.0
#define...
Hi Tom!
We have displacement hydraulic cylinder.
SetBitDirection(144,1);
for (;;) //loop forever
{
Thank you for fast answer.
I will try to do what you said. On the results I will write later.
Best Regards.
Hello everybody.
Help is needed!
We remake control system jig grinding machine 32K84SF4 USSR production. This machine has 5 main axes.
3 axis is the coordinate ( "X, Y, Z" DC motors) are...