NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC pyVCP Re:pyVCP Online Documents

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Re:pyVCP Online Documents

Re:Led 14 Апр 2009 00:27 #82

  • alex_joni
  • alex_joni's Avatar
  • OFFLINE
  • Administrator
  • EMC Developer
  • Posts: 101
  • Thank you received: 10
  • Karma: 15
pleezwrite wrote:
when I delete the symbol EMC would not start anymore and comes up with that usual long error massage with some kernel information at the end.

Can you use an online pasting facility (like pastebin.ca/) to put that information there? (and give us the resulting link).
The important part is in there ;)

Regards,
Alex
The administrator has disabled public write access.

Re:Led 14 Апр 2009 00:40 #83

  • pleezwrite
  • pleezwrite's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Here it is, hope its readable.

Adam
Uses EMC for: 3 axis mill, 2 axis CNC heater
Company profile: recumbent bicycle manufacturer
The administrator has disabled public write access.

Re:Led 14 Апр 2009 00:42 #84

  • pleezwrite
  • pleezwrite's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
now? This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
Uses EMC for: 3 axis mill, 2 axis CNC heater
Company profile: recumbent bicycle manufacturer
The administrator has disabled public write access.

Re:Led 14 Апр 2009 01:15 #86

  • alex_joni
  • alex_joni's Avatar
  • OFFLINE
  • Administrator
  • EMC Developer
  • Posts: 101
  • Thank you received: 10
  • Karma: 15
The error is this:
custom_postgui.hal:14: pin 'parport.0.pin-10-in' was already linked

That means you probably connected the pin 10 for something else using stepconf.
If you're sure you're not using, just put an "unlinkp parport.0.pin-10-in" before you do the 'net' to connect the parport pin to the pyvcp pin.

Regards,
Alex
The administrator has disabled public write access.

Re:Led 14 Апр 2009 04:54 #88

  • pleezwrite
  • pleezwrite's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Yes, I saw the error, then maybe my whole concept is wrong:

So, I have an input for X home switch and would like to link this pin to my large pyvcp LED because the screen is very far from the operator and the little home cross is not very visible. This would help us to see if the machine has really found home.

My concern is now that this is not feasible as input pin No. 10 is used for two inputs (LED for pyvcp and home switch)??? Or am I wrong?

Regards,
Adam
Uses EMC for: 3 axis mill, 2 axis CNC heater
Company profile: recumbent bicycle manufacturer
The administrator has disabled public write access.

Re:Led 14 Апр 2009 05:00 #89

  • alex_joni
  • alex_joni's Avatar
  • OFFLINE
  • Administrator
  • EMC Developer
  • Posts: 101
  • Thank you received: 10
  • Karma: 15
pleezwrite wrote:
My concern is now that this is not feasible as input pin No. 10 is used for two inputs (LED for pyvcp and home switch)??? Or am I wrong?

Well, you should have said that from the beginning ;)

You are not allowed to connect two signals to one writer pin (parport.0.pin-10-in), but you can connect one signal to more than one reader pins.
So in your case you have the 'Zhome' signal (you'll find the exact name in the hal file) which is connected to parport.0.pin-10-in and to the motion controller (something like net Zhome paport.0.pin-10-in axis.2.home-sw-in).

You then want (in your custom hal file) to connect that signal to the pyvcp pin:
net Zhome pyvc.xref

And that should be it.

Regards,
Alex
The administrator has disabled public write access.

Re:Led 14 Апр 2009 05:08 #90

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4944
  • Thank you received: 85
  • Karma: 134
Just to add a bit to what Alex said...

A little reading material is here:

www.linuxcnc.org/docview/devel/html//hal_basic_hal.html#r1_1_4

Also a good way to find out what is connected to what open up the HAL Configuration window from the Machine menu. You can find the signal names and click on them and see what is connected and you can see what pins have what connected to them.

www.linuxcnc.org/docview/devel/html//hal_basic_hal.html#r1_1

John
The administrator has disabled public write access.

Re:Led 15 Апр 2009 22:11 #109

  • pleezwrite
  • pleezwrite's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Thanks guys for the help, its all ok and understood now!

Adam
Uses EMC for: 3 axis mill, 2 axis CNC heater
Company profile: recumbent bicycle manufacturer
The administrator has disabled public write access.

Re:pyVCP Online Documents 21 Апр 2011 03:45 #9216

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
if it doesn't start, check for errors in syntax.(i do that a lot:)
what is the error message ? in the error message there is
a debug section. i usually look there first.








OOPS.....i need to read "THE LAST" post :)
Last Edit: 21 Апр 2011 03:49 by piasdom.
The administrator has disabled public write access.

Re:pyVCP Online Documents 17 Дек 2011 08:38 #15774

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1486
  • Thank you received: 40
  • Karma: 89
show the error code ,HAL code and XML file and we could help more specifically
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.947 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.