Want to test MPG

More
5 years 8 months ago #200100 by tecno
I have now a setup partly working but cannot wrap my head around how to get motors moving from pendant.

Buttons etc are working in Show Hal Configuration (no MDI yet!)

File Attachment:

File Name: plaCmpg.hal
File Size:7.13 KB
This is a modified xhc-hal from Phillc54

File Attachment:

File Name: plasmac-kopia.tcl.txt
File Size:4.47 KB

File Attachment:

File Name: tecnoplasm...2-25.ini
File Size:9.04 KB

File Attachment:

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

File Attachment:

File Name: pinoutfrxh...2-25.txt
File Size:7.55 KB


Any help would be appreciated

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

More
5 years 8 months ago #200102 by tecno
I have now a setup partly working but cannot wrap my head around how to get motors moving from pendant.

Buttons etc are working in Show Hal Configuration (no MDI yet!)

File Attachment:

File Name: plaCmpg.hal
File Size:7.13 KB
This is a modified xhc-hal from Phillc54

File Attachment:

File Name: plasmac-kopia.tcl.txt
File Size:4.47 KB

File Attachment:

File Name: tecnoplasm...2-25.ini
File Size:9.04 KB

File Attachment:

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

File Attachment:

File Name: pinoutfrxh...2-25.txt
File Size:7.55 KB


Any help would be appreciated

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

More
5 years 8 months ago - 5 years 8 months ago #200477 by andypugh
You seem to be missing joint.2.jog-scale:
Code:
net pendant:jog-scale-out pendant:jog_enable_mux.out => pendant:jog_mult2.in0 net pendant:scale_div_1000 pendant:jog_mult2.out => axis.x.jog-scale axis.y.jog-scale axis.z.jog-scale net pendant:scale_div_1000 => joint.0.jog-scale joint.1.jog-scale
Last edit: 5 years 8 months ago by andypugh.

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

More
5 years 8 months ago #200496 by crowloy
Replied by crowloy on topic Want to test MPG

phillc54 wrote: You will probably need to rearrange some hal logic to suit the pendant.

I use a XHC-HB04 so I don't know if this will be any help but my hal file is attached.


Any chance of having a look at your mdi_commands in you .ini? I finally got my xhc-hb04 working kinda.. Need to do the mdi-commands.

One problem I had was an loadrt or2 in plasmanew.ini conflicting with the loadrt or2 names= line in your pendant.hal. After some headscratching and cursing, I ended up putting a or2.0 in the names= line and removing the one loadrt line. Everything seems to be working at that point.

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

More
5 years 8 months ago - 5 years 8 months ago #200500 by phillc54
Replied by phillc54 on topic Want to test MPG

crowloy wrote: Any chance of having a look at your mdi_commands in you .ini? I finally got my xhc-hb04 working kinda.. Need to do the mdi-commands.

The ini file stuff:
Warning: Spoiler!


The M codes:
Warning: Spoiler!


The subroutines:
Warning: Spoiler!


EDIT:

crowloy wrote: One problem I had was an loadrt or2 in plasmanew.ini conflicting with the loadrt or2 names= line in your pendant.hal. After some headscratching and cursing, I ended up putting a or2.0 in the names= line and removing the one loadrt line. Everything seems to be working at that point.

If you have TWOPASS = ON in the [HAL] section it allows multiple load lines

linuxcnc.org/docs/2.8/html/config/ini-config.html#_hal_section
Last edit: 5 years 8 months ago by phillc54.

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

More
5 years 8 months ago #200533 by tecno

andypugh wrote: You seem to be missing joint.2.jog-scale:

Code:
net pendant:jog-scale-out pendant:jog_enable_mux.out => pendant:jog_mult2.in0 net pendant:scale_div_1000 pendant:jog_mult2.out => axis.x.jog-scale axis.y.jog-scale axis.z.jog-scale net pendant:scale_div_1000 => joint.0.jog-scale joint.1.jog-scale


Ahh, missed that one. But still no go.

Selecting StepMode this happens

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

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