- Posts: 2581
- Thank you received: 907
New Project with Mesa 7I96 and THCAD-05
- snowgoer540
- Offline
- Moderator
-
Less
More
5 years 3 months ago #215993
by snowgoer540
Replied by snowgoer540 on topic New Project with Mesa 7I96 and THCAD-05
In "toms_test.hal", you need to uncomment this line (remove the #):
in "custom.hal", the following two lines are redundant, delete them (they are in toms_test.hal already):
in "custom.hal, add the following line:
As Rod pointed out, your Voltage Scale and Voltage Offset need to be set. They are located in the ARC section of CONFIGURATION section on the PARAMETERS tab. You can use the numbers on the white label on the rear of the THCAD for the arc voltage and this calculator to get the values: jscalc.io/calc/NTr5QDX6WgMThBVb
Also, double check that the values for these lines in "custom.hal" match the white label on the back of the OHMIC THCAD:
I did attach the updated files as well for the changes I mentioned at the top.
Code:
#net plasmac:arc-voltage-in => plasmac.arc-voltage-in
in "custom.hal", the following two lines are redundant, delete them (they are in toms_test.hal already):
Code:
setp hm2_7i76e.0.encoder.00.scale -1
setp hm2_7i76e.0.encoder.00.counter-mode 1
in "custom.hal, add the following line:
Code:
setp hm2_7i76e.0.encoder.01.filter 1
As Rod pointed out, your Voltage Scale and Voltage Offset need to be set. They are located in the ARC section of CONFIGURATION section on the PARAMETERS tab. You can use the numbers on the white label on the rear of the THCAD for the arc voltage and this calculator to get the values: jscalc.io/calc/NTr5QDX6WgMThBVb
Also, double check that the values for these lines in "custom.hal" match the white label on the back of the OHMIC THCAD:
Code:
setp ohmicsense.thcad-0-volt-freq 138300
setp ohmicsense.thcad-max-volt-freq 966400
I did attach the updated files as well for the changes I mentioned at the top.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5711
- Thank you received: 2100
5 years 3 months ago #215994
by phillc54
Replied by phillc54 on topic New Project with Mesa 7I96 and THCAD-05
If you use PnCconf on an existing config and add an arc voltage enoder it will put the required scale and offset values in a file ending in "new" in the config directory.
Please Log in or Create an account to join the conversation.
- acourtjester
- Offline
- Elite Member
-
Less
More
- Posts: 292
- Thank you received: 29
5 years 3 months ago #215996
by acourtjester
Replied by acourtjester on topic New Project with Mesa 7I96 and THCAD-05
THCAD freq numbers for each
THCAD-10
0 volts == 123.0 K
10 volts – 946.8 K
THCAD -5
0 volts == 138.3 K
5 volts == 966.4 K
THCAD-10
0 volts == 123.0 K
10 volts – 946.8 K
THCAD -5
0 volts == 138.3 K
5 volts == 966.4 K
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
5 years 3 months ago - 5 years 3 months ago #215997
by rodw
Make sure STEPGEN_MAXVEL and STEPGEN_MAXACCEL should be double the values above. ie. for JOINT-0
Replied by rodw on topic New Project with Mesa 7I96 and THCAD-05
Tom, also in your ini fileIf you use PnCconf on an existing config and add an arc voltage enoder it will put the required scale and offset values in a file ending in "new" in the config directory.
I'd rather not confuse Tom at this stage. We can tell him what the values should be.
Code:
MAX_VELOCITY = 35
MAX_ACCELERATION = 17
# 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 = 44
STEPGEN_MAXACCEL = 22
Code:
# 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 = 25
STEPGEN_MAXACCEL = 100
Last edit: 5 years 3 months ago by rodw.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5711
- Thank you received: 2100
5 years 3 months ago #215998
by phillc54
Replied by phillc54 on topic New Project with Mesa 7I96 and THCAD-05
Well I was just saying that the values are already calculated and in a file...
Why double the stegen values when not using backlash compensation, I have never found the need for that.
Why double the stegen values when not using backlash compensation, I have never found the need for that.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
5 years 3 months ago #215999
by rodw
This should be correct though
Replied by rodw on topic New Project with Mesa 7I96 and THCAD-05
Yeh, I stuffed up there and the forum makes it too hard to edit.Well I was just saying that the values are already calculated and in a file...
Why double the stegen values when not using backlash compensation, I have never found the need for that.
This should be correct though
Code:
MAX_VELOCITY = 35
MAX_ACCELERATION = 17
# 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 = 44
STEPGEN_MAXACCEL = 22
Please Log in or Create an account to join the conversation.
Time to create page: 0.171 seconds