Need to decode what this means.... :(
18 May 2013 23:02 #34334
by dovidu
Need to decode what this means.... :( was created by dovidu
Having been a mach3 and windows user, I do not under stand this ....... ![:blink: :blink:](/media/kunena/emoticons/blink.png)
Re: Spindle RPM? How to display?
On 11/08/2012 01:56 PM, Mark Brown wrote:
> Hi all,
>
> Is there something in the .ini file that will enable the spindle speed to
> display on EMC2 for my mill?
>
>
Do you have an encoder on the spindle? If so, see
pico-systems.com/codes/jebport/
files are spindle.hal and spindle.xml
and yyou need to call up these files from the .ini file
as a POSTGUI_HALFILE as shown in the .ini file there.
The spindle speed is calculated in ppmc_motion.hal
and put on a HAL pin so the spindle.hal file can put
it into the bar graph provided by spindle.xml
Jon
any input is appreciated!!
![:blink: :blink:](/media/kunena/emoticons/blink.png)
Re: Spindle RPM? How to display?
On 11/08/2012 01:56 PM, Mark Brown wrote:
> Hi all,
>
> Is there something in the .ini file that will enable the spindle speed to
> display on EMC2 for my mill?
>
>
Do you have an encoder on the spindle? If so, see
pico-systems.com/codes/jebport/
files are spindle.hal and spindle.xml
and yyou need to call up these files from the .ini file
as a POSTGUI_HALFILE as shown in the .ini file there.
The spindle speed is calculated in ppmc_motion.hal
and put on a HAL pin so the spindle.hal file can put
it into the bar graph provided by spindle.xml
Jon
any input is appreciated!!
Please Log in or Create an account to join the conversation.
18 May 2013 23:41 #34336
by ArcEye
Replied by ArcEye on topic Need to decode what this means.... :(
Hi
Copy the spindle.xml file and the spindle.hal files into your config folder.
Open your .ini file in gedit and in the [DISPLAY] section have
PYVCP = spindle.xml
In the [HAL] section have
POSTGUI_HALFILE = spindle.hal
Save the file and restart your config and the spindle speed bar should display ( so long as your other connections are the same as Jons setup)
regards
Copy the spindle.xml file and the spindle.hal files into your config folder.
Open your .ini file in gedit and in the [DISPLAY] section have
PYVCP = spindle.xml
In the [HAL] section have
POSTGUI_HALFILE = spindle.hal
Save the file and restart your config and the spindle speed bar should display ( so long as your other connections are the same as Jons setup)
regards
The following user(s) said Thank You: dovidu
Please Log in or Create an account to join the conversation.
19 May 2013 00:24 #34339
by dovidu
Replied by dovidu on topic Need to decode what this means.... :(
thank you for the input!
I have followed what you instructed.
i put the spindle.xlm and spindle.hal files to the config folder(the one that was created by stepconf wizard, where my .ini file is, right??)
i have also edited the .ini file
one thing to note was that there are two types of spindle.hal : net and link? the name was same but the icons are different
anyways, when I try to load EMC, I get this error (in the attached)
I have followed what you instructed.
i put the spindle.xlm and spindle.hal files to the config folder(the one that was created by stepconf wizard, where my .ini file is, right??)
i have also edited the .ini file
one thing to note was that there are two types of spindle.hal : net and link? the name was same but the icons are different
anyways, when I try to load EMC, I get this error (in the attached)
Please Log in or Create an account to join the conversation.
19 May 2013 07:17 #34366
by andypugh
Replied by andypugh on topic Need to decode what this means.... :(
There is something unexplained wrong with the spindle.xml file.
Screen shots tend to miss things.
If you open a terminal window and start LinuxCNC by just typing
linuxcnc
Then after it crashes there will be a lot of text in the window that you can copy and paste into a message. That is a lot easier to interpret.
Screen shots tend to miss things.
If you open a terminal window and start LinuxCNC by just typing
linuxcnc
Then after it crashes there will be a lot of text in the window that you can copy and paste into a message. That is a lot easier to interpret.
Please Log in or Create an account to join the conversation.
19 May 2013 16:50 #34380
by ArcEye
Replied by ArcEye on topic Need to decode what this means.... :(
What is wrong are the three dashes (-) in front of tags, they should not be there
Remove and it should load OK
regards
Remove and it should load OK
-<pyvcp>
-<label>
<text>"Spindle Speed:"</text>
</label>
-<bar>
<halpin>"SpindleRPM"</halpin>
<max_>5000</max_>
</bar>
</pyvcp>
regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.096 seconds