On 2022/04/14 18:51, Peter C. Wallace wrote:
On Thu, 14 Apr 2022, Marius wrote:

Date: Thu, 14 Apr 2022 18:42:53 +0200
From: Marius <mar...@mastercut.co.za>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] Looking for 7i92 bit file


On 2022/04/14 18:26, Peter C. Wallace wrote:
On Thu, 14 Apr 2022, Marius wrote:

Date: Thu, 14 Apr 2022 17:56:53 +0200
From: Marius <mar...@mastercut.co.za>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] Looking for 7i92 bit file


On 2022/04/14 17:25, Peter C. Wallace wrote:

I suspect that you are right. For the sake of time running out I just slaved the X stepgen in the bit file. I am using a simple trivkins with no slave axis defined. The only issue now is that the DIR signal on the slave has to be inverted somehow. Is there a way to NOT the pin in the bit definition?

setp hm2_7i92.0.stepgen.xx.direction.invert_output true


I know that one but I am brutalizing the bit file by putting the stepgen 0 on two allocations. I would like to invert the StepGenDirPin in the bit file before I compile. If possible.


That seem;a a bit crazy to me and prevents proper gantry homing for example
why not just fix the hal file?


Agreed but I am now desperate to get things working. I have no control over that section of the hal file. The slave axis looks identical to the master axis. I cannot see anything that I can do to fix it.

I have a thought about the issue. I set kinstype from BOTH to 1 in order to combine the jog buttons and the machine is not forced to home before jogging. The machine only has one home switch on every axis. SO maybe the rules are not met. I don't know.

This is a drop in upgrade so I am not allowed to change any of the wiring. The machine ran on Mach3 previously.


I would check if the joint for X2 axis is actually connected
I suspect the kinmatics it not correct

Note if you want to duplicate the x axis  joint on another stepgen
you just run both stepgens/PIDs from the same joint commanded position
position command, basically only 2 hal lines need to be changed,
the X2 joint PIDs commanded and feedback positions


It is definitely not connected if the kinstype =1 is set. No position command received. I just checked. So your suggestion will solve the problem I am sure. Then inverting the slave is also no problem

I will reprogram the 7i92 with 5A_BOBx2D tomorrow and redo the config with your suggestion.

Thank you very much for all your help. I am sure you must get frustrated with clever dicks like me. I somehow always manage to get the most impossible damn jobs.





Peter Wallace
Mesa Electronics



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to