Advanced Search

Search Results (Searched for: 7i76e)

  • Lcvette
  • Lcvette's Avatar
04 Mar 2026 15:45
Replied by Lcvette on topic Add Buttons in Probe Basic

Add Buttons in Probe Basic

Category: QtPyVCP

You are trying to control a hal pin, so you will want to use a HalButton from the custom widgets tree. the halpin will have the pinBaseName property you need to set for the button's connection to your licht net. see image below for references:

 



the button color can be style in the stylesheet (see image below) using the following color connections:
.HalButton {
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(226, 64, 64, 255), stop:0.446154 rgba(204, 0, 0, 255), stop:0.764103 rgba(225, 67, 67, 255), stop:1 rgba(249, 142, 142, 255));
}
.HalButton:checked {
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(154, 231, 153, 255), stop:0.0974359 rgba(92, 243, 81, 255), stop:0.446154 rgba(52, 251, 35, 255), stop:1 rgba(154, 231, 153, 255));
}

 



The button probe_basic_postgui.hal file connection code is as follows:
loadrt time
loadrt not

addf time.0 servo-thread
addf not.0 servo-thread

# *** Time items required for Probe Basic to run ***
net prog-running not.0.in <= halui.program.is-idle
net prog-paused halui.program.is-paused => time.0.pause
net cycle-timer time.0.start <= not.0.out
net cycle-seconds qtpyvcp.timerseconds.in <= time.0.seconds
net cycle-minutes qtpyvcp.timerminutes.in <= time.0.minutes
net cycle-hours qtpyvcp.timerhours.in <= time.0.hours

#  ---manual tool change signals---
net tool-change-request     =>  qtpyvcp_manualtoolchange.change
net tool-change-confirmed   <=  qtpyvcp_manualtoolchange.changed
net tool-number             =>  qtpyvcp_manualtoolchange.number

# *** Probe graphic simulation trigger push probe tip ***
net probe-in  =>  qtpyvcp.probe-in.out
net probe-in  <=  qtpyvcp.probe-led.on

# *** Set line below for actual spindle readout from your hal file ***
net spindle-rpm-filtered scale_to_rpm.out  =>  qtpyvcp.spindle-encoder-rpm.in

# *** custom gui hal widget connections ***
net licht  <=  qtpyvcp.licht-button.checked
net licht  =>  hm2_7i76e.0.7i76.0.0.output-02

once done you should have something that works like this gif below, but for your physical light:

 

 
  • DerKlotz
  • DerKlotz
04 Mar 2026 09:03 - 04 Mar 2026 10:52
Replied by DerKlotz on topic Add Buttons in Probe Basic

Add Buttons in Probe Basic

Category: QtPyVCP

After some days of trial and error i don´t know further

I created a button "Licht" in QtPyVCP. This light button should switch on my hm2_7i76e.0.7i76.0.0.output-02 from my Mesa 7i76e. In my probe_basic_postgui.hal and tried to implement this function with no success. See postgui Liine 28 and 29.

In addition it would be nice when the "Licht" button is read when off and turns into green when on. The Power on button in the basic GUI turns into green when on.
 

[code]Debug file information:
....
/home/cnc/linuxcnc/configs/Fräse_Probe/probe_basic_postgui.hal:28: Pin 'qtpyvcp.licht.out' does not exist
Failed to load POSTGUI_HALFILE with error: 1
....


[code] 
[/code][/code]
  • Todd Zuercher
  • Todd Zuercher's Avatar
25 Feb 2026 11:41
Replied by Todd Zuercher on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

I have it working now. I had my serial cable wired wrong. (I had the polarity of the RX and TX wires wrong.)
  • Todd Zuercher
  • Todd Zuercher's Avatar
25 Feb 2026 00:00
Replied by Todd Zuercher on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

It's supposed to be a 7i85 not a 7i85s. I'll have to check it in the morning.
I'll also have to check the piece of patch cable I used. It's possible the cable could be suspect.
  • PCW
  • PCW's Avatar
24 Feb 2026 23:08
Replied by PCW on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

Yes, it may be a cable issue.

Just verified that:

7i76eu_7i76x1_7i85x1d.bin from the distribution zip file.

md5 checksum:

485114d3d22390a7e5b44d77588981c5  7i76eu_7i76x1_7i85x1d.bin

Works correctly with a 7I85 on P1 (all 5 sserial ports on the 7I85 work correctly)

Is it possible you have a 7I85S rather than 7I85?





 
  • rodw
  • rodw's Avatar
24 Feb 2026 22:47
Replied by rodw on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

Yes, it was sleeping for days before it received the kiss of life!
  • tommylight
  • tommylight's Avatar
24 Feb 2026 22:42
Replied by tommylight on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

I drew up my own pin out diagram converting the wire colours to be correct and my 7i73 woke up!

Did it sleep well ?
:)
  • rodw
  • rodw's Avatar
24 Feb 2026 22:40
Replied by rodw on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

Take care here, Network cabling comes in two different flavours T568B and T568A. Google for the difference
In my case, Mesa's serial port manual describes one of these standards but in my country the normal standard was the other!
I drew up my own pin out diagram converting the wire colours to be correct and my 7i73 woke up!
  • PCW
  • PCW's Avatar
24 Feb 2026 18:37
Replied by PCW on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

I'll test this setup later today.

 
  • Todd Zuercher
  • Todd Zuercher's Avatar
24 Feb 2026 17:38
Replied by Todd Zuercher on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

Here's the power connector 
 
  • Todd Zuercher
  • Todd Zuercher's Avatar
24 Feb 2026 17:15
Replied by Todd Zuercher on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

Yes both A and B.
  • tommylight
  • tommylight's Avatar
24 Feb 2026 16:56
Replied by tommylight on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

(A and B)?
 

Should be
( A and B )?
-
B with ) is translated to smiley face with glasses ...
  • PCW
  • PCW's Avatar
24 Feb 2026 16:43 - 24 Feb 2026 17:13
Replied by PCW on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

Might be cable wiring (if you never even get a green blink  from the 7I84U, there is no communication)

As tommylight asked, do you have both field powers applied ( A and B )?


 
  • Todd Zuercher
  • Todd Zuercher's Avatar
24 Feb 2026 16:26
Replied by Todd Zuercher on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

Yes, the field power is connected.

I have this for the config line in hal
loadrt hm2_eth board_ip="10.10.10.10" config="num_encoders=5 num_pwmgens=0 num_stepgens=5 sserial_port_0=0000000x"

Here's the output from mesaflash;
twincnc@twincnc:~$ mesaflash --device 7i76eu --addr 10.10.10.10 --dbname2 7i85 --readhmid
Configuration Name: HOSTMOT2

General configuration information:

BoardName : MESA7I76
FPGA Size: 20 KGates
FPGA Pins: 256
Number of IO Ports: 3
Width of one I/O port: 17
Clock Low frequency: 100.0000 MHz
Clock High frequency: 160.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256

Modules in configuration:

Module: DPLL
There are 1 of DPLL in configuration
Version: 0
Registers: 7
BaseAddress: 7000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: IOPort
There are 3 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: StepGen
There are 5 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: MuxedQCount
There are 6 of MuxedQCount in configuration
Version: 4
Registers: 5
BaseAddress: 3600
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: MuxedQCountSel
There are 1 of MuxedQCountSel in configuration
Version: 0
Registers: 0
BaseAddress: 0000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: SSerial
There are 1 of SSerial in configuration
Version: 0
Registers: 6
BaseAddress: 5B00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 64 bytes

Module: LED
There are 1 of LED in configuration
Version: 0
Registers: 1
BaseAddress: 0200
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for on-card -> 7I76
Pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

TB2-4,5 0 IOPort StepGen 0 Dir/Table2 (Out)
TB2-2,3 1 IOPort StepGen 0 Step/Table1 (Out)
TB2-10,11 2 IOPort StepGen 1 Dir/Table2 (Out)
TB2-8,9 3 IOPort StepGen 1 Step/Table1 (Out)
TB2-16,17 4 IOPort StepGen 2 Dir/Table2 (Out)
TB2-14,15 5 IOPort StepGen 2 Step/Table1 (Out)
TB2-22,23 6 IOPort StepGen 3 Dir/Table2 (Out)
TB2-20,21 7 IOPort StepGen 3 Step/Table1 (Out)
TB3-4,5 8 IOPort StepGen 4 Dir/Table2 (Out)
TB3-2,3 9 IOPort StepGen 4 Step/Table1 (Out)
Internal-Field-IO 10 IOPort SSerial 0 TXData0 (Out)
Internal-Field-IO 11 IOPort SSerial 0 RXData0 (In)
TB3-18,19 12 IOPort SSerial 0 TXData1 (Out)
TB3-16,17 13 IOPort SSerial 0 RXData1 (In)
TB3-13,14 14 IOPort MuxedQCount 2 MuxQ-IDX (In)
TB3-10,11 15 IOPort MuxedQCount 2 MuxQ-B (In)
TB3-7,8 16 IOPort MuxedQCount 2 MuxQ-A (In)

IO Connections for P1 -> 7I85
Pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

TB1-19,20 17 IOPort SSerial 0 RXData6 (In)
TB1-21,22 18 IOPort SSerial 0 TXData6 (Out)
TB1-11,12 19 IOPort SSerial 0 RXData5 (In)
TB1-13,14 20 IOPort SSerial 0 TXData5 (Out)
TB1-3,4 21 IOPort SSerial 0 RXData4 (In)
TB1-5,6 22 IOPort SSerial 0 TXData4 (Out)
TB2-19,20 23 IOPort SSerial 0 RXData3 (In)
TB2-21,22 24 IOPort SSerial 0 TXData3 (Out)
TB2-11,12 25 IOPort SSerial 0 RXData2 (In)
TB2-13,14 26 IOPort SSerial 0 TXData2 (Out)
Internal-EncMux 27 IOPort MuxedQCountSel 0 MuxSel0 (Out)
TB3-1,2,9,10 28 IOPort MuxedQCount 0 MuxQ-A (In)
TB3-4,5,12,13 29 IOPort MuxedQCount 0 MuxQ-B (In)
TB3-7,8,12,13 30 IOPort MuxedQCount 0 MuxQ-IDX (In)
TB3-17,18,TB2-1,2 31 IOPort MuxedQCount 1 MuxQ-A (In)
TB3-20,21,TB2-4,5 32 IOPort MuxedQCount 1 MuxQ-B (In)
TB3-23,24,TB2-7,8 33 IOPort MuxedQCount 1 MuxQ-IDX (In)

IO Connections for P2
DB25 pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

1 34 IOPort None
14 35 IOPort None
2 36 IOPort None
15 37 IOPort None
3 38 IOPort None
16 39 IOPort None
4 40 IOPort None
17 41 IOPort None
5 42 IOPort None
6 43 IOPort None
7 44 IOPort None
8 45 IOPort None
9 46 IOPort None
10 47 IOPort None
11 48 IOPort None
12 49 IOPort None
13 50 IOPort None

twincnc@twincnc:~$
  • PCW
  • PCW's Avatar
24 Feb 2026 16:11 - 24 Feb 2026 16:17
Replied by PCW on topic 7i76EU+7i85+7i84U

7i76EU+7i85+7i84U

Category: Driver Boards

Is sserial channel 2 enabled in the hal file?

(something like : "sserial_port_0=000xxxxx" in the driver command line)

Also

mesaflash --device 7i76eu  --addr 10.10.10.10  --dbname2  7i85 --readhmid

would list the 7I85 pins, not DB25 pins
Displaying 61 - 75 out of 556 results.
Time to create page: 0.450 seconds
Powered by Kunena Forum