Want to test MPG

More
5 years 8 months ago #199708 by tecno
Replied by tecno on topic Want to test MPG
Here errors I get now, beginning to think that RF and FIXED cable variants are not the same. I hope I am wrong :)
Code:
pi@pi4-mate:~ $ linuxcnc LINUXCNC - 2.8.1-57-gdca6f8d05 Machine configuration directory is '/home/pi/linuxcnc/configs/tecnoplasma' Machine configuration file is 'tecnoplasma.ini' Starting LinuxCNC... twopass:invoked with <> options twopass:found ./tecnoplasma.hal twopass:found ././plasmac/plasmac.tcl twopass:found ./tecnoplasma_connections.hal twopass:found ./pendant.hal twopass:pass0: loadusr -W xhc-hb04 -I ./tecnoplasma.ini -H -x -s 1 xhc-hb04: waiting for XHC-HB04 device Waiting for component 'xhc-hb04' to become ready.....................xhc-hb04: waiting for XHC-HB04 device (5) ..........xhc-hb04: waiting for XHC-HB04 device (6) .........xhc-hb04: waiting for XHC-HB04 device (7) ..........xhc-hb04: waiting for XHC-HB04 device (8) ..........xhc-hb04: waiting for XHC-HB04 device (9) ..........xhc-hb04: waiting for XHC-HB04 device (10) ..........xhc-hb04: waiting for XHC-HB04 device (11) xhc-hb04: MAX_WAIT_SECS exceeded, exiting twopass: Error in file ./pendant.hal: waitpid failed xhc-hb04 xhc-hb04 xhc-hb04 exited without becoming ready Shutting down and cleaning up LinuxCNC... Note: Using POSIX realtime LinuxCNC terminated with an error. You can find more information in the log: /home/pi/linuxcnc_debug.txt and /home/pi/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal pi@pi4-mate:~ $

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

More
5 years 8 months ago - 5 years 8 months ago #199718 by tecno
Replied by tecno on topic Want to test MPG LHB04-6
To straighten up my MPG model is LHB04-6

So is it so that I need yet another hal-file for this pendant?

forum.linuxcnc.org/24-hal-components/378...lved?start=50#157515

Is this compiled to the existing HB04-6 ??
Last edit: 5 years 8 months ago by tecno.

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

More
5 years 8 months ago - 5 years 8 months ago #199761 by tecno
Replied by tecno on topic Want to test MPG LHB04-6

File Attachment:

File Name: nyampg.hal
File Size:13.43 KB

File Attachment:

File Name: tecnoplasm...2-22.hal
File Size:6.19 KB

File Attachment:

File Name: pinoutfrxh...4b-6.txt
File Size:7.55 KB

File Attachment:

File Name: tecnoplasm...2-22.ini
File Size:9.38 KB



Edit//
# default function button signals WORKING
net pdnt.button.m-home whb.button.m-home halui.home-all # Homing use built-in halui home all

# axis position related signals feedback WORKING
net pdnt.axis.x.pos-feedback halui.axis.x.pos-feedback whb.halui.axis.x.pos-feedback
net pdnt.axis.y.pos-feedback halui.axis.y.pos-feedback whb.halui.axis.y.pos-feedback
net pdnt.axis.z.pos-feedback halui.axis.z.pos-feedback whb.halui.axis.z.pos-feedback
Last edit: 5 years 8 months ago by tecno. Reason: New files inserted

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

More
5 years 8 months ago #199813 by tecno
Replied by tecno on topic Want to test MPG LHB04-6
What am I missing ?

TEST MPG HAL just to see that I can select axis

LCD get updated so this code works
Code:
loadusr -W xhc-whb04b-6 -HfsB # ABSOLUTE POSITION LCD net pdnt.pos-x halui.axis.x.pos-feedback => whb.halui.axis.x.pos-feedback net pdnt.pos-y halui.axis.y.pos-feedback => whb.halui.axis.y.pos-feedback net pdnt.pos-z halui.axis.z.pos-feedback => whb.halui.axis.z.pos-feedback Using AXIS and I can not select axis. # "selected axis" signals net pdnt.axis.x.select whb.halui.axis.x.select => halui.axis.x.select halui.joint.0.select net pdnt.axis.y.select whb.halui.axis.y.select => halui.axis.y.select halui.joint.1.select net pdnt.axis.Z.select whb.halui.axis.z.select => halui.axis.z.select halui.joint.2.select

HAL
Code:
# Joint 0 # axis enable chain newsig emcmot.0.enable bit sets emcmot.0.enable FALSE net emcmot.0.enable <= joint.0.amp-enable-out net emcmot.0.enable => hm2_[HOSTMOT2](BOARD).0.stepgen.00.enable pid.0.enable

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

More
5 years 8 months ago - 5 years 8 months ago #199822 by tecno
Replied by tecno on topic Want to test MPG LHB04-6
It must be the driver that cannot handle the LHB04-6

halcmd loadusr xhc-whb04b-6 = no connection.
failed to claim interface


So I ask if it can be compiled to suite LHB04-6
Last edit: 5 years 8 months ago by tecno.

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

More
5 years 8 months ago - 5 years 8 months ago #199827 by tecno
Replied by tecno on topic Want to test MPG LHB04-6
This LHB mpg does not work on RPi but OK on Debian10

pi@pi4-mate:~ $ uname -a
Linux pi4-mate 4.19.71-rt24-v7lrt+ #1 SMP PREEMPT RT Mon May 18 16:17:58 AEST 2020 armv7l GNU/Linux
pi@pi4-mate:~ $
Last edit: 5 years 8 months ago by tecno.

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

Moderators: snowgoer540
Time to create page: 0.130 seconds
Powered by Kunena Forum