(Solved) 7i76 can only get one encoder

More
26 Mar 2021 10:07 - 26 Mar 2021 11:07 #203680 by bevins
Looking for second encoder.
If I put num_encoders=2 in the loadrt line then I get error.

This a firmware issue?
Last edit: 26 Mar 2021 11:07 by bevins.

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

More
26 Mar 2021 10:23 - 26 Mar 2021 10:29 #203682 by bevins
Loadrt line:
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=2 num_pwmgens=0 num_stepgens=4 sserial_port_0=200xxx"
This spits an error about the config.num_encoders=2 but only 1 available.

I think I have the correct firmware loaded. It shows the DPLL module which I think is what is needed for plasmac.

mesaflash readhmid
Warning: Spoiler!
Last edit: 26 Mar 2021 10:29 by bevins.

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

More
26 Mar 2021 10:29 #203683 by tommylight
7i76 has only one normal encoder and 2 MPG encoders.
For MPG encoders to be usable the initialisation line in hal has to be set to mode 1 or 2 (not sure) but i do set it to mode 2 always as it also gets the 4 analogue inputs besides 2 MPG.
forum.linuxcnc.org/24-hal-components/385...e-7i76-mode-question
They should be visible as enc0 and enc1.

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

More
26 Mar 2021 10:30 #203684 by bevins

7i76 has only one normal encoder and 2 MPG encoders.
For MPG encoders to be usable the initialisation line in hal has to be set to mode 1 or 2 (not sure) but i do set it to mode 2 always as it also gets the 4 analogue inputs besides 2 MPG.
forum.linuxcnc.org/24-hal-components/385...e-7i76-mode-question
They should be visible as enc0 and enc1.


I have those, I am talking about the encoders for plasmac. those encoders are for pins 16,17 18,19 I think.

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

More
26 Mar 2021 10:35 #203685 by bevins
I need 7i92.0.encoder.01.velocity

Attachments:

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

More
26 Mar 2021 10:42 #203686 by tommylight
Ok, you need the 2 encoder inputs for the THCAD so that requires the "PL" in the firmware name, not DPLL (dpll is timings function on a phase locked loop), pretty sure PCW made one.
The following user(s) said Thank You: bevins

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

More
26 Mar 2021 10:48 #203687 by bevins

Ok, you need the 2 encoder inputs for the THCAD so that requires the "PL" in the firmware name, not DPLL (dpll is timings function on a phase locked loop), pretty sure PCW made one.


There is only dpl in the 7i92.zip firmware..... Thats not the correct one?

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

More
26 Mar 2021 10:51 #203688 by tommylight
From your screenshot pretty sure it is not as the inputs should be shown as input A only, 3 of them.
The following user(s) said Thank You: bevins

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

More
26 Mar 2021 11:06 #203690 by bevins

From your screenshot pretty sure it is not as the inputs should be shown as input A only, 3 of them.


I found firmware file that works now the encoder01 shows up.

Now on to ohmic hal file errors.

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

More
26 Mar 2021 12:59 #203703 by BigJohnT
Which firmware was it?

JT

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

Time to create page: 0.193 seconds
Powered by Kunena Forum