- Hardware & Machines
- Driver Boards
- [SOLVED]How to configure the PWM signal in a MESA 7i96 for a spindle?
[SOLVED]How to configure the PWM signal in a MESA 7i96 for a spindle?
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18548
- Thank you received: 5095
14 Mar 2022 19:01 #237225
by PCW
Replied by PCW on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Did you add the:
setp hm2_7i96.0.pwmgen.00.out0.invert_output true
statement to the hal file?
setp hm2_7i96.0.pwmgen.00.out0.invert_output true
statement to the hal file?
Please Log in or Create an account to join the conversation.
- Nest
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 10
14 Mar 2022 19:12 - 14 Mar 2022 19:13 #237226
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
No, where do I have to add it? where in the hall file?
forgive my poor knowledge in linuxcnc
forgive my poor knowledge in linuxcnc
Last edit: 14 Mar 2022 19:13 by Nest.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18548
- Thank you received: 5095
14 Mar 2022 19:44 #237229
by PCW
Replied by PCW on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
it can be added anywhere in the hal file
(probably best in the spindle section for clarity)
(probably best in the spindle section for clarity)
Please Log in or Create an account to join the conversation.
- Nest
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 10
15 Mar 2022 18:14 - 15 Mar 2022 18:15 #237352
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Last edit: 15 Mar 2022 18:15 by Nest.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18548
- Thank you received: 5095
15 Mar 2022 18:30 #237356
by PCW
Replied by PCW on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Did you install firmware that has a PWMgen?
7i96d_1pwm.bit Is the firmware that uses the last stepgen connection
as a PWM output
7i96d_1pwm.bit Is the firmware that uses the last stepgen connection
as a PWM output
Please Log in or Create an account to join the conversation.
- Nest
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 10
15 Mar 2022 18:50 #237358
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
if I use that firmware linuxcnc generates an error
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18548
- Thank you received: 5095
15 Mar 2022 19:40 #237363
by PCW
Replied by PCW on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
What is the error?
Please Log in or Create an account to join the conversation.
- Nest
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 10
15 Mar 2022 19:54 #237366
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18548
- Thank you received: 5095
15 Mar 2022 20:01 #237368
by PCW
Replied by PCW on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
Can you start LinuxCNC from the command line
and copy paste the error here?
and copy paste the error here?
Please Log in or Create an account to join the conversation.
- Nest
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 10
15 Mar 2022 21:42 #237383
by Nest
Replied by Nest on topic How to configure the PWM signal in a MESA 7i96 for a spindle?
ok, i go to copy paste the file linuxcnc.report here
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.2-11-g6a3d0a434
Machine configuration directory is '/home/nest/linuxcnc/configs/CNC3040Z-DQ'
Machine configuration file is 'CNC3040Z-DQ.ini'
INIFILE=/home/nest/linuxcnc/configs/CNC3040Z-DQ/CNC3040Z-DQ.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./CNC3040Z-DQ.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: INFO: Hardware address (MAC): 00:60:1b:16:02:07
hm2_eth: discovered 7I96
hm2/hm2_7i96.0: Low Level init 0.15
board fails HM2 registration
hm2_eth: in hm2_eth_reset
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
hm2/hm2_7i96.0: config.num_stepgens=5, but only 4 are available, not loading driver
hm2/hm2_7i96.0: failed to parse Module Descriptor 4
hm2_eth: rtapi_app_main: Invalid argument (-22)
./CNC3040Z-DQ.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./CNC3040Z-DQ.hal:9: /usr/bin/rtapi_app exited without becoming ready
./CNC3040Z-DQ.hal:9: insmod for hm2_eth failed, returned -1
1120
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file: /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.
Date: mar mar 15 21:37:08 WET 2022
UTC Date: mar mar 15 21:37:08 UTC 2022
this program: /usr/bin/linuxcnc_info
uptime: 21:37:08 up 2 min, 1 user, load average: 1,35, 1,24, 0,54
lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
which linuxcnc: /usr/bin/linuxcnc
pwd: /home/nest/linuxcnc/configs/CNC3040Z-DQ
USER: nest
LOGNAME: nest
HOME: /home/nest
EDITOR:
VISUAL:
LANGUAGE:
TERM: dumb
COLORTERM:
DISPLAY: :0.0
DESKTOP: lightdm-xsession
display size: 1920x1080 pixels (508x285 millimeters)
PATH: /usr/bin:/home/nest/linuxcnc/configs/CNC3040Z-DQ/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
uname items:
nodename -n: linuxcnc
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.208-1 (2021-09-29)
machine -m: x86_64
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux
/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-18-rt-amd64 root=UUID=d8d1ad22-76ae-49c2-b593-5cb7c4750291 ro initrd=/install/initrd.gz quiet
model name: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
cores: 4
cpu MHz: 1603.852
parport: 0000-0000 : parport0
serial: 0000-0000 : serial
Versions:
gcc: gcc (Debian 8.3.0-6) 8.3.0
python: Python 2.7.16
git: git version 2.20.1
git commit: NA
tcl: 8.6
tk: 8.6
glade: not_in_PATH
glade-gtk2: not_in_PATH
linuxcnc_var all:
LINUXCNCVERSION: 2.8.2-11-g6a3d0a434
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /etc/init.d/realtime
RTS: uspace
HALLIB_DIR: /usr/share/linuxcnc/hallib
dpkg -l '*linuxcnc*':
Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)
| Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio-inst(H)/espera-disparo(W)/pendienTe-disparo
|/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)
||/ Nombre Versión Arquitectura Descripción
+++-===================-=====================-============-=====================================================================
un linuxcnc <ninguna> <ninguna> (no hay ninguna descripción disponible)
un linuxcnc-dev <ninguna> <ninguna> (no hay ninguna descripción disponible)
un linuxcnc-doc <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii linuxcnc-doc-en 1:2.8.2.11.g6a3d0a434 all motion controller for CNC machines and robots (English documentation)
ii linuxcnc-doc-es 1:2.8.2.11.g6a3d0a434 all controlador de movimiento para máquinas CNC y robots (Español).
ii linuxcnc-doc-fr 1:2.8.2.11.g6a3d0a434 all motion controller for CNC machines and robots (French documentation)
un linuxcnc-sim <ninguna> <ninguna> (no hay ninguna descripción disponible)
un linuxcnc-sim-dev <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii linuxcnc-uspace 1:2.8.2.11.g6a3d0a434 amd64 motion controller for CNC machines and robots
ii linuxcnc-uspace-dev 1:2.8.2.11.g6a3d0a434 amd64 PC based motion controller for real-time Linux
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
- Hardware & Machines
- Driver Boards
- [SOLVED]How to configure the PWM signal in a MESA 7i96 for a spindle?
Time to create page: 0.097 seconds