Advanced Search

Search Results (Searched for: )

  • jimmyrig
  • jimmyrig
13 Oct 2025 22:06
  • PCW
  • PCW's Avatar
13 Oct 2025 22:01 - 13 Oct 2025 22:20

7i96 (non s) and BOB causing the mesa 7i96 to power off.

Category: Driver Boards

Make sure 7I96 W8 is in the down position.

If not, standard parallel port BOBs will short out the 7I96 5V supply

(W8 should only be in the up position for Mesa daughtercards that
get 5V power from the 7I96)
 
  • jimmyrig
  • jimmyrig
13 Oct 2025 21:53

7i96 (non s) and BOB causing the mesa 7i96 to power off.

Category: Driver Boards

Hey Everyone, 

I flashed a mesa 7i96 (non s) with the 7i96_5abob_d.bin firmware, and tried to connect the bob but it would cause the 7i96 to power off every time.

With the ethernet port facing the left. Red line on the cable (pin 1) is pointed up (closer to the ethernet port). If i flip it around it doesnt short but it also does nothing. (flipped every gpio pin above 34 pins output and wasnt able to cycle the onboard relay) also steppers didnt move.

Tried with a second 7i96 with the same result. 

I've tried powering with the usb, powering via terminals, removing the jumper on BOB, adding the jumper. Nothing works.

Funny enough i have a 7i96s with a bob that works perfect. Tried to connect the 7i96 to that bob with its cable and it still shorts. So its not the wiring or the bob, its prob the firmware on the 7i96.

I've power cycled and used readhmid to verify it got the flash. The only odd thing is it has 3 steppers not 4. I also tried the 7i96_g540 flash to see if that would help but same issue.


Any help would be great.

Here is the board. Tried another green one that looks just like it with the same issue. 
www.amazon.com/dp/B0B2QWHFKD?ref=fed_asin_title


 
  • PCW
  • PCW's Avatar
13 Oct 2025 21:41
Replied by PCW on topic Uncoordinated Axis

Uncoordinated Axis

Category: General LinuxCNC Questions

Not sure about the other errors but P should be 1000
(for all joints at a 1 ms servo thread rate) A P value
of 0 will work for a while but the joint will drift because
there is no position feedback.

[JOINT_3]
TYPE = ANGULAR
HOME = 0.0
FERROR = .5
MIN_FERROR = 0.05
MAX_VELOCITY = 40.0
MAX_ACCELERATION = 12.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 100
STEPGEN_MAXACCEL = 50
P = 0
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
  • PCW
  • PCW's Avatar
13 Oct 2025 21:01
Replied by PCW on topic LinuxCNC installation + 7I96S

LinuxCNC installation + 7I96S

Category: Installing LinuxCNC

The hal file is incomplete, if you cannot get out of estop, this is likely an issue
with the EStop related signals and these tend to be at the end of pncconf created
hal files.

Did you setup an external EStop? That might be another reason for inability
to get out of the EStop state.
  • jmp97
  • jmp97
13 Oct 2025 20:37
Replied by jmp97 on topic LinuxCNC installation + 7I96S

LinuxCNC installation + 7I96S

Category: Installing LinuxCNC

[EMC]
MACHINE = my_LinuxCNC_machine
DEBUG = 0
VERSION = 1.1

[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/jmpm/linuxcnc/nc_files
PYVCP = pyvcp-panel.xml
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 6.000000
MAX_LINEAR_VELOCITY = 25.000000
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyz
CYCLE_TIME = 100

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = linuxcnc.var
RS274NGC_STARTUP_CODE = G21 G40 G90 G94 G97 G64 P0.025

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
SERVO_PERIOD = 1000000

[HMOT]
# **** Esto es sólo para información ****
CARD0=hm2_7i96s.0


[HAL]
HALUI = halui
HALFILE = my_LinuxCNC_machine.hal
POSTGUI_HALFILE = custom_postgui.hal
SHUTDOWN = shutdown.hal


[HALUI]

[KINS]
JOINTS = 3
KINEMATICS = trivkins coordinates=XYZ

[TRAJ]
COORDINATES = XYZ
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 2.50
MAX_LINEAR_VELOCITY = 25.00

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

#******************************************
[AXIS_X]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.01
MAX_LIMIT = 200.0

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
# Los valores a continuación deben ser un 25% más grandes que MAX_VELOCITY y MAX_ACCELERATION
# Si se usa compensación de CONTRAGOLPE, STEPGEN_MAXACCEL debe ser 100% mayor.
STEPGEN_MAXVEL = 31.25
STEPGEN_MAXACCEL = 937.50
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# estos son en nanosegundos
DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000
STEP_SCALE = 200.0
MIN_LIMIT = -0.01
MAX_LIMIT = 200.0
HOME_OFFSET = 0.0
HOME_SEQUENCE = 2
#******************************************

#******************************************
[AXIS_Y]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.01
MAX_LIMIT = 200.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
# Los valores a continuación deben ser un 25% más grandes que MAX_VELOCITY y MAX_ACCELERATION
# Si se usa compensación de CONTRAGOLPE, STEPGEN_MAXACCEL debe ser 100% mayor.
STEPGEN_MAXVEL = 31.25
STEPGEN_MAXACCEL = 937.50
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# estos son en nanosegundos
DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000
STEP_SCALE = 200.0
MIN_LIMIT = -0.01
MAX_LIMIT = 200.0
HOME_OFFSET = 0.0
HOME_SEQUENCE = 3
#******************************************

#******************************************
[AXIS_Z]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -100.0
MAX_LIMIT = 0.01

[JOINT_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
# Los valores a continuación deben ser un 25% más grandes que MAX_VELOCITY y MAX_ACCELERATION
# Si se usa compensación de CONTRAGOLPE, STEPGEN_MAXACCEL debe ser 100% mayor.
STEPGEN_MAXVEL = 31.25
STEPGEN_MAXACCEL = 937.50
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# estos son en nanosegundos
DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000
STEP_SCALE = 200.0
MIN_LIMIT = -100.0
MAX_LIMIT = 0.01
HOME_OFFSET = 0.0
HOME_SEQUENCE = 1
#******************************************

[SPINDLE_0]
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 2000

[HM2ETH]
IP = 192.168.1.121
Interface = enp2s0
  • jmp97
  • jmp97
13 Oct 2025 20:36
Replied by jmp97 on topic LinuxCNC installation + 7I96S

LinuxCNC installation + 7I96S

Category: Installing LinuxCNC

Hi!

# Generado por PNCconf en Mon Oct 13 14:42:16 2025
# Utilizando la versión LinuxCNC: Master (2.9)
# Si realiza cambios en este archivo, serán
# sobrescrito cuando ejecuta PNCconf nuevamente

loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_pwmgens=1 num_stepgens=5 sserial_port_0=0xxxxxxx"
setp hm2_7i96s.0.pwmgen.pwm_frequency 20000
setp hm2_7i96s.0.pwmgen.pdm_frequency 6000000
setp hm2_7i96s.0.watchdog.timeout_ns 5000000

# loadrt hal_parport cfg="0 out" # <-- comentado
loadrt pid names=pid.x,pid.y,pid.z,pid.s

#addf parport.0.read servo-thread <-- comentado/eliminado
addf hm2_7i96s.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf pid.s.do-pid-calcs servo-thread
#addf parport.0.write servo-thread <-- comentado/eliminado
addf hm2_7i96s.0.write servo-thread

setp hm2_7i96s.0.dpll.01.timer-us -50
setp hm2_7i96s.0.stepgen.timer-number 1

# señales de salida externas
# señales de entrada externas

#*******************
# AXIS X JOINT 0
#*******************

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.012700

net x-index-enable => pid.x.index-enable
net x-enable => pid.x.enable
net x-pos-cmd => pid.x.command
net x-pos-fb => pid.x.feedback
net x-output <= pid.x.output

# Stepgen X
setp hm2_7i96s.0.stepgen.00.dirsetup [JOINT_0]DIRSETUP
setp hm2_7i96s.0.stepgen.00.dirhold [JOINT_0]DIRHOLD
setp hm2_7i96s.0.stepgen.00.steplen [JOINT_0]STEPLEN
setp hm2_7i96s.0.stepgen.00.stepspace [JOINT_0]STEPSPACE
setp hm2_7i96s.0.stepgen.00.position-scale [JOINT_0]STEP_SCALE
setp hm2_7i96s.0.stepgen.00.step_type 0
setp hm2_7i96s.0.stepgen.00.control-type 1
setp hm2_7i96s.0.stepgen.00.maxaccel [JOINT_0]STEPGEN_MAXACCEL
setp hm2_7i96s.0.stepgen.00.maxvel [JOINT_0]STEPGEN_MAXVEL

net x-pos-cmd <= joint.0.motor-pos-cmd
net x-vel-cmd <= joint.0.vel-cmd
net x-output => hm2_7i96s.0.stepgen.00.velocity-cmd
net x-pos-fb <= hm2_7i96s.0.stepgen.00.position-fb
net x-pos-fb => joint.0.motor-pos-fb
net x-enable <= joint.0.amp-enable-out
net x-enable => hm2_7i96s.0.stepgen.00.enable

net x-home-sw => joint.0.home-sw-in
net x-neg-limit => joint.0.neg-lim-sw-in
net x-pos-limit => joint.0.pos-lim-sw-in
  • RLA
  • RLA
13 Oct 2025 20:32
Uncoordinated Axis was created by RLA

Uncoordinated Axis

Category: General LinuxCNC Questions

Hi...need help..on 5 axis setup...A Axis now is not coordinated..also gives false warnings about going beyond a limits in file at line 72...
I have used this machine before in a similar way but not rotating more that 90 degrees either way...seems like it keeps looking to end of file and then starts moving continuous ahead of other axis??

Thanks for any help!!

Rick
  • tommylight
  • tommylight's Avatar
13 Oct 2025 20:01
Replied by tommylight on topic Stepper motor not moving :)

Stepper motor not moving :)

Category: General LinuxCNC Questions

You are welcomed, always.
  • Dumitrus
  • Dumitrus's Avatar
13 Oct 2025 19:51 - 13 Oct 2025 19:59
Replied by Dumitrus on topic Stepper motor not moving :)

Stepper motor not moving :)

Category: General LinuxCNC Questions

Parport base address set to 0x2000 is the solution. Now the motor is working! Thank you very much!
  • jschulze
  • jschulze
13 Oct 2025 19:05
Replied by jschulze on topic AC Servo change to run

AC Servo change to run

Category: General LinuxCNC Questions

I have a something similar setup and you should be able to do it with the one configuration. Since linuxcnc supports multiple spindles I just made another spindle instance and then used a mux2 component to switch between outputting the axis velocity and spindle velocity to the mesa stepgen.  I think I just used the spindle.1.on signal to switch the mux2 component.  That way when I issue m3 s100 $1 it will run the second spindle at 100 rpm.  There could be some issues keeping position if you switch back and forth between the modes depending on how things are setup.    
  • tommylight
  • tommylight's Avatar
13 Oct 2025 18:26
Replied by tommylight on topic Stepper motor not moving :)

Stepper motor not moving :)

Category: General LinuxCNC Questions

In StepConf wizard, the "parallel port" page there is an entry for "parport base address" so set that to 0x2000 and test if the stepper moves.
If not, also try 0x2010 but it would be good to reboot the PC before testing it.
  • Ul
  • Ul
13 Oct 2025 18:22 - 13 Oct 2025 18:36

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Habe ich das mit der Konfig der mesa Karten richtig verstanden, dass ich zuerst herausfinden muss wieviele Ein- und Ausgänge ich brauche um dann die passende Konfig auf die Karte zu spielen?

Installiere linuxcnc auf den Raspberry und starte einfach pncconf, dann kannst du dir die Mesakarte aussuchen und siehst selber was man braucht.
Du brauchst die Steigung deiner Spindeln (der Hersteller gibt 0.00375mm/schritt an, also vermutlich 1.5 oder 3 mm).
In pncconf werden Takt/Richtung für die Achsen fix vergeben sein, du musst den Pins nur korrekte Achsen zuordnen. Dann noch angeben an welchen Pins welche Endschalter hängen und das war eigentlich schon alles. Also praktisch nur von deiner HAL-Datei abschreiben.
Oder du schaust hier:  linuxcnc.org/docs/html/config/pncconf.html
  • PCW
  • PCW's Avatar
13 Oct 2025 17:44
Replied by PCW on topic LinuxCNC installation + 7I96S

LinuxCNC installation + 7I96S

Category: Installing LinuxCNC

If the "Emergency Stop" button (red X) does nothing, this is likely an issue in the hal or ini files.

Can you post your hal/ini files here?

Axis should look something like this initially (before estop is released):


 


After Estop is released and before power (Orange button) is on:


 


and after power is on:


 


 
  • Dumitrus
  • Dumitrus's Avatar
13 Oct 2025 17:37
Replied by Dumitrus on topic Stepper motor not moving :)

Stepper motor not moving :)

Category: General LinuxCNC Questions

On the stepper driver, the led is green and on the BOB there are 3 red led lights. I have a 36V 11A Stepperonline and a 24V 6A MeanWell power supply. I measured the output of the power supplies and they are working properly. For now, I just connected the X axis to test if the wiring is correctly and to learn to operate LinuxCNC.I also tried with another driver and stepper motor but is the same. Maybe because I didn't connected the Y and Z axis the stepper motor is not moving? Thank you for your time!
Displaying 2206 - 2220 out of 22404 results.
Time to create page: 0.237 seconds
Powered by Kunena Forum