ebox.comp for gearbox 2speed
15 Oct 2023 15:02 - 15 Oct 2023 15:04 #283079
by SOLD
ebox.comp for gearbox 2speed was created by SOLD
I have an OKK VM4. It has an 8000rpm spindle motor and 2500ppr encoder 2 speed gear box.
Low speed 1:4 /High speed 1:0.75, gear changing mechanism with air cylinder, takes about 5 seconds to change gear while stationary.
I built a 2 speed Hal with Pncconf. I want the output signal to be sent to the gear selector pin A when the M3S is less than 2000 and check the cylinder position sensor within the ebox.comp file.
I'm a newbie to Halcompile, trying to read what I thought was similar to this post. forum.linuxcnc.org/10-advanced-configura...dle-gearbox?start=20
I have tried to use andypugh's e-box on 2.8.4 but it didn't work as shown in the picture. What caused this? How should I fix it? Or suggest the right thing because I don't have any compiler skills yet.
Another problem: When using G33.1, the number of revolutions of the encoder installed on the spindle motor is not equal to the speed of the tap.
Low speed 1:4 /High speed 1:0.75, gear changing mechanism with air cylinder, takes about 5 seconds to change gear while stationary.
I built a 2 speed Hal with Pncconf. I want the output signal to be sent to the gear selector pin A when the M3S is less than 2000 and check the cylinder position sensor within the ebox.comp file.
I'm a newbie to Halcompile, trying to read what I thought was similar to this post. forum.linuxcnc.org/10-advanced-configura...dle-gearbox?start=20
I have tried to use andypugh's e-box on 2.8.4 but it didn't work as shown in the picture. What caused this? How should I fix it? Or suggest the right thing because I don't have any compiler skills yet.
Another problem: When using G33.1, the number of revolutions of the encoder installed on the spindle motor is not equal to the speed of the tap.
Last edit: 15 Oct 2023 15:04 by SOLD.
Please Log in or Create an account to join the conversation.
15 Oct 2023 17:09 #283081
by andypugh
Replied by andypugh on topic ebox.comp for gearbox 2speed
Can you attach the .comp file? There is something wrong with the syntax on line 2.
The following user(s) said Thank You: SOLD
Please Log in or Create an account to join the conversation.
16 Oct 2023 04:09 - 16 Oct 2023 04:13 #283107
by SOLD
Replied by SOLD on topic ebox.comp for gearbox 2speed
I copied from youCan you attach the .comp file? There is something wrong with the syntax on line 2.
Last edit: 16 Oct 2023 04:13 by SOLD.
Please Log in or Create an account to join the conversation.
16 Oct 2023 13:47 #283124
by chris@cnc
Replied by chris@cnc on topic ebox.comp for gearbox 2speed
There was going something wrong during copy.
Typo in Line 2should be
Typo in Line 2
licence "GPL";
license "GPL";
The following user(s) said Thank You: SOLD
Please Log in or Create an account to join the conversation.
16 Oct 2023 14:48 #283126
by SOLD
Replied by SOLD on topic ebox.comp for gearbox 2speed
I'll check it. ThankThere was going something wrong during copy.
Typo in Line 2
[/code]licence "GPL"; should be [code]license "GPL";
Please Log in or Create an account to join the conversation.
17 Oct 2023 15:47 #283186
by SOLD
Replied by SOLD on topic ebox.comp for gearbox 2speed
There is a problem at ABSF. What should I do?
Please Log in or Create an account to join the conversation.
17 Oct 2023 21:53 #283195
by andypugh
Replied by andypugh on topic ebox.comp for gearbox 2speed
Ah, yes. I reckon I probably just typed that out (it was 8 years ago) and used the British spelling (because I am)There was going something wrong during copy.
Typo in Line 2
[/code]licence "GPL"; should be [code]license "GPL";
Please Log in or Create an account to join the conversation.
17 Oct 2023 22:00 #283196
by andypugh
(Sorry, this looks like something that I wrote in my lunch break, without access to a Linux machine to check it with).
Try this:
Replied by andypugh on topic ebox.comp for gearbox 2speed
It needs to be fabs, and that needs an include statement.There is a problem at ABSF. What should I do?
(Sorry, this looks like something that I wrote in my lunch break, without access to a Linux machine to check it with).
Try this:
The following user(s) said Thank You: tommylight, SOLD
Please Log in or Create an account to join the conversation.
18 Oct 2023 05:47 #283208
by SOLD
Thank you for your support.
Replied by SOLD on topic ebox.comp for gearbox 2speed
I compiled it and it worked.
There is a problem at ABSF. What should I do?
It needs to be fabs, and that needs an include statement.
(Sorry, this looks like something that I wrote in my lunch break, without access to a Linux machine to check it with).
Try this:
Thank you for your support.
Please Log in or Create an account to join the conversation.
18 Oct 2023 08:29 #283218
by andypugh
Replied by andypugh on topic ebox.comp for gearbox 2speed
Does the component actually do what you need it to do, though?
The following user(s) said Thank You: SOLD
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds