Advanced Search

Search Results (Searched for: )

  • jaro_p
  • jaro_p's Avatar
05 Dec 2025 11:17 - 05 Dec 2025 11:20

Changes in configuration files generated in pncconfig for 7i76 to 7i78

Category: PnCConf Wizard

The command you recommended wrote this:
halcmd show all hm2
Loaded HAL Components:
ID Type Name PID State

Component Pins:
Owner Type Dir Value Name

Pin Aliases:
Alias Original Name

Signals:
Type Value Name (linked to)

Parameters:
Owner Type Dir Value Name

Parameter Aliases:
Alias Original Name

Exported Functions:
Owner CodeAddr Arg FP Users Name

Realtime Threads:
Period FP Name ( Time, Max-Time )

This works:
halcmd -kf
halcmd: loadrt hostmot2
halcmd: loadrt hm2_rpspi
halcmd: show all hm2
 
  • Z3n
  • Z3n
05 Dec 2025 10:28
Replied by Z3n on topic Red Init & Done Lights on 7i92M

Red Init & Done Lights on 7i92M

Category: Driver Boards

A quick update here! I got my 7I92TM and 7I76U today, and after some swearing at Linux networking I got them flashed and confirmed working via halscope. Thanks all for getting me to this point, I need to request an RMA for the other card as well and get them in the mail.

Thanks again to everyone who's gotten me here. Now that I've got this sorted out and am confident I understand a bit more about Mesa / Hal / etc, I'm going to build out the wiring diagram, which I'll put in my other thread.  

Thanks!

 
  • RotarySMP
  • RotarySMP's Avatar
05 Dec 2025 10:24
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Here is the update on my VFD braking.

  • Aciera
  • Aciera's Avatar
05 Dec 2025 09:48 - 05 Dec 2025 09:49
Replied by Aciera on topic EtherCAT servo as main spindle

EtherCAT servo as main spindle

Category: EtherCAT

You can also disable motion by setting 'motion.enable' to FALSE but machine state will still be switched to Off.

the relevant code section is here:
github.com/LinuxCNC/linuxcnc/blob/master...tion/control.c#L1465

If it is possible to do this for a specific joint during program execution would have to be explored. I expect that the interpreter would need to restarted at the very least.
  • Mr. Mass
  • Mr. Mass's Avatar
05 Dec 2025 09:47 - 05 Dec 2025 09:49
Replied by Mr. Mass on topic qtdragon mod

qtdragon mod

Category: Qtvcp

No, I added my pins and linked them to jog_increments widget:
[code][code]pin = QHAL.newpin("mpg.mpg-inc.1", QHAL.HAL_BIT, QHAL.HAL_IN)
pin.value_changed.connect(lambda s: self.w.jogincrements_linear.setCurrentIndex(1))
pin = QHAL.newpin("mpg.mpg-inc.2", QHAL.HAL_BIT, QHAL.HAL_IN)
pin.value_changed.connect(lambda s: self.w.jogincrements_linear.setCurrentIndex(2))
pin = QHAL.newpin("mpg.mpg-inc.3", QHAL.HAL_BIT, QHAL.HAL_IN)
pin.value_changed.connect(lambda s: self.w.jogincrements_linear.setCurrentIndex(3))
pin = QHAL.newpin("mpg.mpg-inc.cont", QHAL.HAL_BIT, QHAL.HAL_IN)
pin.value_changed.connect(lambda s: self.w.jogincrements_linear.setCurrentIndex(0))


[code][code][code]But I would like to be able to enable/disable the increment selection from the screen, only showing the current value. Perhaps there is a way to disable the drop-down menu or something like that.
[/code][/code][/code][/code][/code]
  • jaro_p
  • jaro_p's Avatar
05 Dec 2025 08:53

Changes in configuration files generated in pncconfig for 7i76 to 7i78

Category: PnCConf Wizard

Thanks for the answer. There is one 7i78 -> P1 connected to 7c81, one optocoupler board on P7 and when I know how to do it, one 7i73. Why not pncconf for 7i76 but G540? It's more similar to 7i78. So with that encoder it means that it doesn't matter where and what encoder I choose, just change the name in .hal according to your example? Sorry for the question, will it be clear that it is a spindle encoder? Although it may be a stupid question, 7i78 has only one encoder and it is for the spindle... In the manual for 7c81 the encoder is marked as ENCA+, ENCA-, ENCB+, ENCB-, IDX+, IDX-. I don't know how it will look in .hal, because pncconf does not have the option to configure the 7c81 board. Well, with the list of parameters, it's clear, but as I already wrote, I'm completely lost and it's going slowly :).
  • tommylight
  • tommylight's Avatar
05 Dec 2025 05:46
Replied by tommylight on topic Remora sk1.4 with ethernet?

Remora sk1.4 with ethernet?

Category: Computers and Hardware

Docs on github linked on that topic, at the very start of it
remora-docs.readthedocs.io/en/latest/har...ring-to-raspberry-pi
  • cmorley
  • cmorley
05 Dec 2025 04:38
Replied by cmorley on topic qtdragon mod

qtdragon mod

Category: Qtvcp

Do you mean you are using HALUI to do MPG jogging?
  • Punisher
  • Punisher
05 Dec 2025 02:43
Replied by Punisher on topic Remora sk1.4 with ethernet?

Remora sk1.4 with ethernet?

Category: Computers and Hardware

I looked through that thread before I posted. Couldn't find anything on how it was wired.
  • LearningLinuxCNC
  • LearningLinuxCNC's Avatar
04 Dec 2025 22:57
Replied by LearningLinuxCNC on topic MesaCT and 7i76eu Issues with generated configuration

MesaCT and 7i76eu Issues with generated configuration

Category: Configuration Tools

Here is a generated HAL file X axis configuration.
# Axis: X Joint: 0 Output: 2
# PID Setup
setp pid.x.Pgain [JOINT_0](P)
setp pid.x.Igain [JOINT_0](I)
setp pid.x.Dgain [JOINT_0](D)
setp pid.x.bias [JOINT_0](BIAS)
setp pid.x.FF0 [JOINT_0](FF0)
setp pid.x.FF1 [JOINT_0](FF1)
setp pid.x.FF2 [JOINT_0](FF2)
setp pid.x.deadband [JOINT_0](DEADBAND)
setp pid.x.maxoutput [JOINT_0](MAX_OUTPUT)
setp pid.x.error-previous-target True

# joint-0 enable chain
net joint-0-index-enable <=> pid.x.index-enable
net joint-0-index-enable <=> joint.0.index-enable

net joint-0-enable <= joint.0.amp-enable-out
net joint-0-enable => pid.x.enable

# position command and feedback
net joint-0-pos-cmd <= joint.0.motor-pos-cmd
net joint-0-pos-cmd => pid.x.command

net joint-0-pos-fb <= hm2_[MESA](BOARD).0.stepgen.00.position-fb
net joint-0-pos-fb => joint.0.motor-pos-fb
net joint-0-pos-fb => pid.x.feedback

# PID Output
net joint.0.output <= pid.x.output

# Axis: Z Joint: 1 Output: 3

This is what I had to change it to in order to make it work properly.
# Axis: X Joint: 0 Output: 2
# PID Setup
setp pid.x.Pgain [JOINT_0](P)
setp pid.x.Igain [JOINT_0](I)
setp pid.x.Dgain [JOINT_0](D)
setp pid.x.bias [JOINT_0](BIAS)
setp pid.x.FF0 [JOINT_0](FF0)
setp pid.x.FF1 [JOINT_0](FF1)
setp pid.x.FF2 [JOINT_0](FF2)
setp pid.x.deadband [JOINT_0](DEADBAND)
setp pid.x.maxoutput [JOINT_0](MAX_OUTPUT)
setp pid.x.error-previous-target True
setp pid.x.maxerror 0.0005

# joint-0 enable chain
net joint-0-index-enable <=> pid.x.index-enable
net joint-0-index-enable <=> joint.0.index-enable

net joint-0-enable <= joint.0.amp-enable-out
net joint-0-enable => pid.x.enable
net joint-0-enable => hm2_[MESA](BOARD).0.stepgen.02.enable

# position command and feedback
net joint-0-pos-cmd <= joint.0.motor-pos-cmd
net joint-0-pos-cmd => pid.x.command
net joint-0-vel-cmd <= joint.0.vel-cmd


net joint-0-pos-fb <= hm2_[MESA](BOARD).0.stepgen.02.position-fb
net joint-0-pos-fb => joint.0.motor-pos-fb
net joint-0-pos-fb => pid.x.feedback

# PID Output
net joint.0.output <= pid.x.output
net joint.0.output => hm2_[MESA](BOARD).0.stepgen.02.velocity-cmd
  • vibram
  • vibram
04 Dec 2025 20:46 - 04 Dec 2025 20:46
MPG and analog command config issue was created by vibram

MPG and analog command config issue

Category: Basic Configuration

Hello I try to setup a mill with all servo drives run with analog command and it's working fine.

However, now I try to setup a MPG
after customizing the HAL file, here is the situation:
the MUX is correctly working for the scale and the axis.x.jog-scale is correct (value from 0.01 to 1mm)
axis.x.jog-enable works fine, same for Y and Z
axis.x.jog-counts works fine, I can see the number of pulses moving when I turn the handle
axis.x.jog-accel-fraction is set to 1

When using Axis interface with the and - button, it works fine
However; when I turn the handle, the axis is not moving at all, I don't have any error message.E-stop is off and Toggle Machine power if ON obviously. 

Any idea what could be the issue?
thank you
  • Hakan
  • Hakan
04 Dec 2025 20:35

Ethercat drives not responding, mesa error finishing read

Category: EtherCAT

There is no way to read an SDO value into hal as far as I know.
But as you say it wouldn't be too hard to write a user-space hal component in python
the runs the command "ethercat -p n upload 0x2608 0", parses the output and returns a value.
I mean, in principle.
 
  • LearningLinuxCNC
  • LearningLinuxCNC's Avatar
04 Dec 2025 20:23 - 04 Dec 2025 20:23
Replied by LearningLinuxCNC on topic Mesa 7i76eu Encoder Questions

Mesa 7i76eu Encoder Questions

Category: Driver Boards

7i76eud.bin firmware did the trick. Interesting this firmware does not show up in the MesaCT list when using the Configuration Tool. It was in the /lib/firmware/hm2/ folder but it was not showing up in the drop down list.
  • Hexagon
  • Hexagon
04 Dec 2025 19:52
Replied by Hexagon on topic EtherCAT servo as main spindle

EtherCAT servo as main spindle

Category: EtherCAT

I noticed that if I disable the machine the joint.0.motor-pos-cmd tracks the joint.0.motor-fb. So I set up a new hal file with only one cia402 and no cia402pv. Because you can't change the mode of the cia402 while LinuxCNC is running, I change between CSP and CSV by writing directly into the mode of the frequency drive via EtherCAT.

In CSP mode cia402.0.pos-fb -> joint.0.motor-pos-fb. 
In CSV mode joint.0.motor-pos-cmd -> joint.0.motor-pos-fb.

So I have no following error in CSV mode, but I need to change the position before changing from CSV back to CSP or I can turn the machine off and back on again. I built a network with mux2, oneshot and flipflop to toggle the machine for a very short amount and to reset all my mode switching logic. This works surprising well and isn't noticable.

I know that this soultion is not good and only works for my usecase because I only have one servo and nothing gets interrupted by the power cycle.

The bigger problem is that my gcode file gets stopped aswell and I can't resume. Maybe there is a way by tracking the executed lines and then starting from there... But I'm not happy with the power cycle solution in the first place.

Is there any other situation where joint.0.motor-pos-cmd tracks joint.0.motor-fb?
  • Aciera
  • Aciera's Avatar
04 Dec 2025 19:20
Replied by Aciera on topic Gladevcp pin does not exsist

Gladevcp pin does not exsist

Category: GladeVCP

Looks like you got the pin name wrong. Try removing the 'gladevcp.' at the beginning.
Displaying 1036 - 1050 out of 20684 results.
Time to create page: 0.243 seconds
Powered by Kunena Forum