My MESA 7i95T wiring

More
19 Sep 2025 11:52 - 10 Oct 2025 17:21 #335186 by alexandrap
My MESA 7i95T wiring was created by alexandrap
 EDIT: 
tested functionality: step-dir servo X,Y,Z
step-dir spindle
MPG


untested:
probe
limit switch
linear ruler and encoder spindle

it is possible to configure all these functions on the 7i95T board using PNCCONFG  in LinuxCNC 2.10 (with the need for simple manual editing of the HAL file for MPG -axes switch)


not yet tested - I'm worried that I connected it wrong - it's my first experience with MESA
I'd be happy for any comments
 

I'm not sure if I should ground the shielding of the servo motor data cables to the MESA board - the drivers are already grounded via the ground wire from the ~ 230 V power supply and a ground loop is created, which could cause EMC interference
 


more details on my channel :
www.youtube.com/channel/UC_zOVvs96VKX6R_DIO5KyJg






 

This browser does not support PDFs. Please download the PDF to view it: Download PDF



 

This browser does not support PDFs. Please download the PDF to view it: Download PDF


 
Attachments:
Last edit: 10 Oct 2025 17:21 by alexandrap.

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

More
19 Sep 2025 13:30 - 20 Sep 2025 13:55 #335190 by alexandrap
Replied by alexandrap on topic My MESA 7i95T wiring
yes, I just needed to make sure

Info : By measuring I found that between the encoder inputs A-A/,B-B/,Z-Z/ there is a resistance of 120 Ohm, they are already integrated in the MESA card. So additional resistors are not needed. I did not find information about this in the manual
Last edit: 20 Sep 2025 13:55 by alexandrap.

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

More
01 Oct 2025 13:22 - 01 Oct 2025 13:31 #335657 by alexandrap
Replied by alexandrap on topic My MESA 7i95T wiring
Could someone help me, please?
I'm solving the MPG configuration in PNCONFG.
On the TB5 connector are the MPG switch inputs:

IN16 - X-axis switch
IN17 - Y-axis switch
IN 18- Z-axis switch
IN19 - "4" axis switch (SPINDLE -servo step-dir)
IN20 - jog speed switch x1 (default)
IN21 - x10
IN22 - x100
The configuration procedure is in the attached photos
Is the procedure correct?
Can it work like this? And will jogging axis "4" - SPINDLE stepping also work?
Is it necessary to edit something manually in HAL? I've never done it.

I am also attaching the resulting HAL
The axis scales are still provisional
I would like to use SINO linear rulers on the axis as a feedback of the table position (closed loop ) - they are configured in PNCONFG, but I don't know if the feedback will work this way
Last edit: 01 Oct 2025 13:31 by alexandrap.

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

More
01 Oct 2025 13:28 #335660 by alexandrap
Replied by alexandrap on topic My MESA 7i95T wiring
       

File Attachment:

File Name: XYZ.hal
File Size:17 KB
Attachments:

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

More
01 Oct 2025 15:00 #335666 by PCW
Replied by PCW on topic My MESA 7i95T wiring
If the MPG common is +5V, you will need to wire the 7I95T input commons to 5V GND
Also I did not see the actual MPG encoder pins connected. These would need to connect
to 7I95T inputs that support the MPG encoder feature (IN0/IN1,IN2/IN3,IN4/IN5.IN6,IN7)

If you did not want to tie up so many isolated inputs on the 7I95T, another possibility would
be to use the P1 expansion for the MPG (with firmware that supports MPG encoders on P1)

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

More
01 Oct 2025 16:42 - 01 Oct 2025 17:00 #335670 by alexandrap
Replied by alexandrap on topic My MESA 7i95T wiring
langdons: It's an old PC from a sale for 10 euro - I don't know the type

PCW:
yes, inputs common is 5V GND ( TB4 / pin 7 GND  - is Stepmotor GND = power GND) - is sinking inputs

MPG wheel signal output are connected to ENCODER 4 (TB 2 / IN 9-13) and is configured in PNCONFG as MULTIHAND Wheel (foto) 

7i95T board has 6 fast (10 MHz) encoders, and 4 slowly encoders (TB6 / IN 0-7) which I left free.
I don't know if it can work like this, or if I have to connect the MPG wheel to the TB6 / (IN0/IN1,IN2/IN3,IN4/IN5.IN6,IN7)
Attachments:
Last edit: 01 Oct 2025 17:00 by alexandrap.

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

More
01 Oct 2025 17:21 #335671 by PCW
Replied by PCW on topic My MESA 7i95T wiring
You can use a fast encoder for a MPG but one disadvantage of this is that fast encoders do not
support 1X mode, so if you want 1 increment of motion per MPG click you need to use the MPG encoders

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

More
02 Oct 2025 06:29 - 02 Oct 2025 06:38 #335691 by alexandrap
Replied by alexandrap on topic My MESA 7i95T wiring
 it means , that 1 click to MPG = 4 pulses for feed?

so what is the solution ? set 1/4 of the feed value ?

only use the input designated for MPG (foto - input A0,B0) ?

 



i am trying to understand the links

forum.linuxcnc.org/27-driver-boards/4034...g-encoder-count-by-4

www.plctalk.net/forums/threads/encoder-x1-x2-and-x4.140711/

linuxcnc.org/docs/html/man/man9/encoder.9.html#PARAMETERS
Attachments:
Last edit: 02 Oct 2025 06:38 by alexandrap.

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

More
02 Oct 2025 12:43 - 02 Oct 2025 13:29 #335714 by alexandrap
Replied by alexandrap on topic My MESA 7i95T wiring
MPG wheel connection - fixed

MPG ENCODER INPUTS

Standard 7I95T firmware provides 4 quadrature MPG encoder inputs on isolated inputs 0 through 7.
Since the input threshold on isolated inputs is about 3V, its best to use sinking inputs (with the input common terminal tied to +5V) with TTL output level MPGs.

INPUT ENCODER 
0     QUADA-0      MPG 0
1     QUADB-0 
 
2     QUADA-1      MPG 1
3     QUADB-1 
 
4     QUADA-2      MPG 2
5     QUADB-2

6     QUADA-3      MPG 3
7     QUADB-3

 


The problem for me is that the MPG hand wheel function for inputs IN 00-07 cannot be selected from the submenu in the PNCONFG menu.
I don't know how to manually edit HAL.
Attachments:
Last edit: 02 Oct 2025 13:29 by alexandrap.

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

More
10 Oct 2025 13:37 - 10 Oct 2025 17:35 #336194 by alexandrap
Replied by alexandrap on topic My MESA 7i95T wiring
MPG - initial attempts



is used original connection of MPG wheel to Encoder 4, configuration only with PNCconfig and manual editing of one component in HAL file based on the solution in this post :
162.243.45.186/39-pncconf/51627-mpg-issue-on-mesa-7i77

net joint-select-a     (b,c)


to

net axis-select-x    (y,z)

I need to change the scale and maximum speed settings.

It's a shame that the MPG configuration error in PNCCONFG hasn't been fixed - it would be possible for beginners (like me) to configure MESA 7i95T (and others...) using only PNCCONFG without manual editing
 
Last edit: 10 Oct 2025 17:35 by alexandrap.

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

Moderators: PCWjmelson
Time to create page: 0.182 seconds
Powered by Kunena Forum