Help with adding PlasmaC to base config + 7i76e

More
6 years 5 months ago - 6 years 5 months ago #167198 by Plasmaguy

You would not use the A hal pin on the encoder for a THCAD,
but rather the encoder velocity signal:

hm2_7i76e.0.7i76.0.0.encoder.0.velocity


Sec 27 of the plasmac manual refers to adding

setp hm2_7i96.0.encoder.00.scale -1
setp hm2_7i96.0.encoder.00.filter 1
setp hm2_7i96.0.encoder.00.counter-mode 1

for my THCAD10 somewhere in the base machine hal file. Just at the bottom of the file is okay?



I pasted to the bottom of my working base file:



Now upon launching the file created in configurator I get:



What do I do from here?


If it makes any difference I'm running the Mint .iso I downloaded from Linuxcnc package repos for Mint 19.x Ubuntu 18.04 aka Bionic Beaver & Mint ISO .
Last edit: 6 years 5 months ago by Plasmaguy.

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

More
6 years 5 months ago #167199 by phillc54
You have:
Code:
setp hm2_7i96.0.encoder.00.velocity

It should be:
Code:
setp hm2_7i96.0.encoder.00.scale -1
The following user(s) said Thank You: Plasmaguy

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

More
6 years 5 months ago #167208 by Plasmaguy


Here as you can see I updated the base file but I'm still getting errors.

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

More
6 years 5 months ago #167212 by phillc54
I think they need to be:
Code:
setp hm2_7i76e.0.7i76.0.0.encoder.00.scale -1 setp hm2_7i76e.0.7i76.0.0.encoder.00.filter -1 setp hm2_7i76e.0.7i76.0.0.encoder.00.counter-mode 1 arc-voltagein should go to hm2_7i76e.0.7i76.0.0.encoder.00.velocity

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

More
6 years 5 months ago - 6 years 5 months ago #167219 by Plasmaguy
Okay I edited my base hal file so this is now at the bottom

setp hm2_7i76e.0.7i76.0.0.encoder.00.scale -1
setp hm2_7i76e.0.7i76.0.0.encoder.00.filter -1
setp hm2_7i76e.0.7i76.0.0.encoder.00.counter-mode 1

and then run configurator



I still get errors:



I'll go ahead and try to attach my config files:

File Attachment:

File Name: new2_connections.hal
File Size:1.51 KB

File Attachment:

File Name: _original_...hine.ini
File Size:3.99 KB

File Attachment:

File Name: _original_...hine.hal
File Size:10.13 KB

File Attachment:

File Name: new2.hal
File Size:10.33 KB

File Attachment:

File Name: new2.ini
File Size:8.73 KB
Last edit: 6 years 5 months ago by Plasmaguy.

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

More
6 years 5 months ago #167220 by phillc54
Maybe it is just:
Code:
hm2_7i76e.0.encoder.00
I don't have one handy and am just guessing...

You can verify pin names in the menu Machine > Show Hal Configuration > Pins >

You will need to comment out those error lines so LinuxCNC starts
The following user(s) said Thank You: Plasmaguy

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

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