7i92 config seems scrabled

More
12 Apr 2022 10:14 #240031 by mariusl
This is my first go at converting a Mach3 machine to linuxcnc using the 7i92. I have done many with the 7i76e. I used PnCConf to set up the config but my results are far from what I expected.
1) I used only one port (P2) but stepgens of the second port is used in the config.
2) I am not sure what firmware to load to simulate the parport pin for pin.
3) It would seem that my pin dump from the 7i92 shows no stepgen assignments. This was the last firmware I tried
sudo mesaflash --device 7i92 --addr 10.10.10.10 --write 7i92_5ABOBx2D.bit

Note: I am going to en up with only X,X Slave, Y and A axis in the end.

This is the output from the config dump of the 7i92
 

File Attachment:

File Name: test.txt
File Size:3 KB

And this is reported by Linuxcnc when loaded.

hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0:     IO Pin 000 (P2-01): IOPort
hm2/hm2_7i92.0:     IO Pin 001 (P2-14): IOPort
hm2/hm2_7i92.0:     IO Pin 002 (P2-02): StepGen #0, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 003 (P2-15): IOPort
hm2/hm2_7i92.0:     IO Pin 004 (P2-03): StepGen #0, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 005 (P2-16): StepGen #8, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 006 (P2-04): StepGen #1, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 007 (P2-17): StepGen #8, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 008 (P2-05): StepGen #1, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 009 (P2-06): StepGen #2, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 010 (P2-07): StepGen #2, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 011 (P2-08): StepGen #3, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 012 (P2-09): StepGen #3, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 013 (P2-10): IOPort
hm2/hm2_7i92.0:     IO Pin 014 (P2-11): IOPort
hm2/hm2_7i92.0:     IO Pin 015 (P2-12): IOPort
hm2/hm2_7i92.0:     IO Pin 016 (P2-13): IOPort
hm2/hm2_7i92.0:     IO Pin 017 (P1-01): IOPort
hm2/hm2_7i92.0:     IO Pin 018 (P1-14): IOPort
hm2/hm2_7i92.0:     IO Pin 019 (P1-02): StepGen #4, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 020 (P1-15): IOPort
hm2/hm2_7i92.0:     IO Pin 021 (P1-03): StepGen #4, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 022 (P1-16): StepGen #9, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 023 (P1-04): StepGen #5, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 024 (P1-17): StepGen #9, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 025 (P1-05): StepGen #5, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 026 (P1-06): StepGen #6, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 027 (P1-07): StepGen #6, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 028 (P1-08): StepGen #7, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 029 (P1-09): StepGen #7, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 030 (P1-10): IOPort
hm2/hm2_7i92.0:     IO Pin 031 (P1-11): IOPort
hm2/hm2_7i92.0:     IO Pin 032 (P1-12): IOPort
hm2/hm2_7i92.0:     IO Pin 033 (P1-13): IOPort






 

Regards
Marius


www.bluearccnc.com

Attachments:

Please Log in or Create an account to join the conversation.

More
12 Apr 2022 11:43 #240038 by mariusl
Replied by mariusl on topic 7i92 config seems scrabled
This is what I need to replicate. I cannot see a way to force the stepgen to connect to the correct pins. Stepgen 4 is on port one and stepgen 8 is on port 2. That seems incorrect to start with.

 

Regards
Marius


www.bluearccnc.com

Attachments:

Please Log in or Create an account to join the conversation.

More
12 Apr 2022 14:31 #240048 by tommylight
Wrong firmware, use the G540 firmware as it is has the pinout you need.

Please Log in or Create an account to join the conversation.

More
12 Apr 2022 15:21 #240057 by mariusl
Replied by mariusl on topic 7i92 config seems scrabled
Peter Wallace suggested that I use that one but I did also try with the G540. The problem changed slightly. The lower order stepgens are assigned to port 2 but I cannot seem to get the pins assigned the way I need to. Like in the picture above.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
12 Apr 2022 15:46 #240058 by PCW
Replied by PCW on topic 7i92 config seems scrabled
5ABOB is correct G540 will work also but is specifically pinned for the
G540s charge so not so flexible.

Please Log in or Create an account to join the conversation.

More
12 Apr 2022 15:50 #240059 by mariusl
Replied by mariusl on topic 7i92 config seems scrabled
Ok so let me try with the 5ABOB again.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
12 Apr 2022 15:59 #240060 by PCW
Replied by PCW on topic 7i92 config seems scrabled
Mapping to match your chart should be:

Stepgen Axis
0 X
1 B
2 Y
3 A

num_stepgens should be <7 to disable stepgen 8 if you want pins
16,17 free for use as general purpose outputs

Please Log in or Create an account to join the conversation.

More
13 Apr 2022 06:38 - 13 Apr 2022 06:59 #240110 by mariusl
Replied by mariusl on topic 7i92 config seems scrabled
Peter
I tried to map it like that but one has to include the Z axis in the config or PnCConf will not continue. So I am trying to map the Z axis to the last available stepgen. PnCConf gives me this config. Notice that stepgen 4 is now on the other port instead of on pins 16 and 17 on port 2 and it mapped the A axis to that.
I attached the INI and HAL files.

EDIT: The allocation of stepgens to pins as reported below is not correct at all.
stepgen 0 is X
stepgen 1 is nothing
stepgen 2 is A axis - was assigned to Y axis
stepgen 3 is Z axis - was assigned to A axis
Y Axis not on port 2


hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0:     IO Pin 000 (P2-01): IOPort
hm2/hm2_7i92.0:     IO Pin 001 (P2-14): IOPort
hm2/hm2_7i92.0:     IO Pin 002 (P2-02): StepGen #0, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 003 (P2-15): IOPort
hm2/hm2_7i92.0:     IO Pin 004 (P2-03): StepGen #0, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 005 (P2-16): IOPort
hm2/hm2_7i92.0:     IO Pin 006 (P2-04): StepGen #1, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 007 (P2-17): IOPort
hm2/hm2_7i92.0:     IO Pin 008 (P2-05): StepGen #1, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 009 (P2-06): StepGen #2, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 010 (P2-07): StepGen #2, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 011 (P2-08): StepGen #3, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 012 (P2-09): StepGen #3, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 013 (P2-10): IOPort
hm2/hm2_7i92.0:     IO Pin 014 (P2-11): IOPort
hm2/hm2_7i92.0:     IO Pin 015 (P2-12): IOPort
hm2/hm2_7i92.0:     IO Pin 016 (P2-13): IOPort
hm2/hm2_7i92.0:     IO Pin 017 (P1-01): IOPort
hm2/hm2_7i92.0:     IO Pin 018 (P1-14): IOPort
hm2/hm2_7i92.0:     IO Pin 019 (P1-02): StepGen #4, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 020 (P1-15): IOPort
hm2/hm2_7i92.0:     IO Pin 021 (P1-03): StepGen #4, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 022 (P1-16): IOPort
hm2/hm2_7i92.0:     IO Pin 023 (P1-04): IOPort
hm2/hm2_7i92.0:     IO Pin 024 (P1-17): IOPort
hm2/hm2_7i92.0:     IO Pin 025 (P1-05): IOPort
hm2/hm2_7i92.0:     IO Pin 026 (P1-06): IOPort
hm2/hm2_7i92.0:     IO Pin 027 (P1-07): IOPort
hm2/hm2_7i92.0:     IO Pin 028 (P1-08): IOPort
hm2/hm2_7i92.0:     IO Pin 029 (P1-09): IOPort
hm2/hm2_7i92.0:     IO Pin 030 (P1-10): IOPort
hm2/hm2_7i92.0:     IO Pin 031 (P1-11): IOPort
hm2/hm2_7i92.0:     IO Pin 032 (P1-12): IOPort
hm2/hm2_7i92.0:     IO Pin 033 (P1-13): IOPort

 

File Attachment:

File Name: plotter.ini
File Size:6 KB

 

File Attachment:

File Name: plotter.hal
File Size:14 KB


 

Regards
Marius


www.bluearccnc.com

Attachments:
Last edit: 13 Apr 2022 06:59 by mariusl.

Please Log in or Create an account to join the conversation.

More
13 Apr 2022 14:44 #240148 by PCW
Replied by PCW on topic 7i92 config seems scrabled
Since pncconf does not support your somewhat odd (XYAB)machine layout
You will have to edit the hal/ini files yourself to get the desired joint/axis mapping

pncconf will map XYZA (and tandem axis) to the proper stepgens but does not support XYAB

Please Log in or Create an account to join the conversation.

More
13 Apr 2022 15:14 #240151 by mariusl
Replied by mariusl on topic 7i92 config seems scrabled
I think there is a misunderstanding. The B axis is the slave to X axis. The kinematics are normal three axis plus one rotary and a slave to X axis.

I need to assign the axis to specific pins on the parport. This seems to be problematic or I am just not up to the task.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.575 seconds
Powered by Kunena Forum