Hello!

I have few more questions, regarding INI file, custom kinematics and
Axis screen.

1) I would like to disable "joint mode" so that joints (especially
those 2 joints on 1 axis) cannot be jogged separately. I will have
homing switches, so homing should be done by EMC, I do not see any
need for jogging separate joints. Can I do that - make EMC
automatically start in world mode, even if axis are not homed (I know
that there is setting, which allows working with unhomed axis, that is
not what i need - for safety reasons I would like to keep the setting
that each axis has to be homed before working)?

2) What exactly does this part of INI file do?

[TRAJ]
AXES =                  4
COORDINATES =           X Y Z A

What I understand from manuals:
AXES - number which is obtained from last AXIS_N in AXES section of
INI file. usually represents number joints used. For my waterjet
machine I will need 6 joints.
COORDINATES - this line determines, which Cartesian coordinates will
be accepted from G-code. If G-code contains some commands for some
axis, which are not in this line, they will be ignored.
For my waterjet machine I will need X Y Z A B.

So is it correct that I will put follwing lines in my INI file?
[TRAJ]
AXES =                  6
COORDINATES =           X Y Z A B

Let me explain, why this question arises. I had following in the INI file:
[TRAJ]
AXES =                  4
COORDINATES =           X Y Z
I started with 3 axis machine with 4 joints. So I set the INI file
this way. What I got was - EMC showed only 3 joints in "joint mode". I
had all 4 joints in AXES section of INI file. If I added A to
COORDINATES line, I got all 4 joints as needed in "joint mode" and
also A axis in "world mode" which is what I did not want. So I have
belief that for my 5 axis/6 joints machine I will need X Y Z A B C in
COORDINATES line. I would like to have C axis "hidden" on the GUI
screen - I will need it to be accepted from G-code file (see next
question for reasons), but for user convinience I feel that I would
like not to show it in the GUI. Even if it shows all zeros.

3) How do I create custom kinematics module? I have looked in the
manuals, Integrators manual explains, how to do forward and reverse
kinematics - I suppose that I understand that. What I do not
understand is - where the hell do I put those lines in?
It seems to me that I will be able to get G-code only for a XYZBC
machine, I will have XYZAB machine, so I will need some specific
kinematics to transform that. Mathematics was one of my favorite
subjects so I believe that I can deal all these trigonometry and angle
transformation calculations, but I have no idea, where to put them so
that they work.

4) I know that I can create my own panel in AXIS GUI as pyVCP. What I
would like to do is to modify existing AXIS screen and specifically -
Spindle ON and Coolant FLOOD buttons - I would like to rename them to
some Water jet ON and Abrasive ON respectively and also add 2 buttons,
which would enable each of them.
Let me explain, what I mean - I will have M3 and M5 commands turn on
and off water jet and also M8 and M9 commands to turn abrasive on and
off. I have tried it out and it is working successfully. I just would
like to rename both of these buttons so that it is more clear - I will
know that, but some other user might not or can forget, even if I
tell...
Second part - buttons that enable turning on water jet and abrasive -
I would like to have that feature, because I have it in my old
controls and it is extremely useful for small test runs just to check,
if head will not run out of boundaries of material etc. If there is
something wrong and adjustments are needed, then it means ruining the
part in case if waterjet pump is turned on.
The same goes for abrasive - I would like to be able to turn abrasive
on and off by hand during cutting - there have been cases, when I need
to do that.
I think that I will need to use ClassicLadder to create the logics
that "Water jet ON" and "Abrasive ON" cannot be turned on and off with
M3, M5, M8 and M9 commands respectively unless those enabling buttons
are pressed for each of them.
The question is - how do I implement it in the existing GUI place
where spindle controls are located?

Viesturs

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to