On 2022/04/14 18:58, 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


Actually on the the X2 joint command position needs to change
(to come from X's joint) the PID feedback still comes from the X2 stepgen


So what I did was this: I reprogrammed the 7i92 with a stepgen charge pump on pin 1 (db25) and just the normal X,Y Z and A configuration with normal I/O for a DB25 BOB. No slave tandem stepgen on the slave pins.

Then I configured using PnCConf discovery mode to the same as above. I then copied the X axis stepgen and assigned it to the slave stepgen number. I connected the slave stepgen signals to the X axis stepgen and there you go.

Only proble left is the dpll ans stepgen timer that I am missing somehow

Now I have:

X  - 2/3

X2 - 4/5

Y - 6/7

a - 8/9








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


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