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 Basic Configuration Need to connect pin problem

Welcome, Guest
Username: Password: Remember me

TOPIC: Need to connect pin problem

Re:Need to connect pin problem Edited 02 Giu 2012 03:59 #20590

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4960
  • Thank you received: 87
  • Karma: 134
Post your hal file to a message so we can look at it.

Pin names must be exactly as you see them in show hal configuration with dots and dashes and underscores in the correct place. There is a guideline for programmers on how to format pin names but that doesn't matter for a user.

Signal names (created by users) iirc can be any combination of letters, numbers, dash, underscore or period.

linuxcnc.org/docview/html/hal/basic_hal....#_net_a_id_sub_net_a

Oh, stop pulling your hair out and pull on the fishes hair then fry them.

John
The administrator has disabled public write access.

Re:Need to connect pin problem Edited 02 Giu 2012 05:46 #20595

  • cwebs
  • cwebs's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 123
  • Karma: 5
Here are the hal files. 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.
The administrator has disabled public write access.

Re:Need to connect pin problem Edited 02 Giu 2012 05:47 #20596

  • cwebs
  • cwebs's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 123
  • Karma: 5
Other one 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.
The administrator has disabled public write access.

Re:Need to connect pin problem Edited 02 Giu 2012 06:50 #20598

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4960
  • Thank you received: 87
  • Karma: 134
I don't see anything wrong in your hal file. I assume that your loading halui in your ini file with

HALUI = halui

linuxcnc.org/docview/html/config/ini_con...id_sub_hal_section_a

Open up a watch window and put the parallel port pin in the watch window and cycle the machine power.

John
The administrator has disabled public write access.

Re:Need to connect pin problem Edited 02 Giu 2012 08:08 #20599

  • cwebs
  • cwebs's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 123
  • Karma: 5
Hal Configuration/pins/halui/machine/is-on shows the watch light changing from red to yellow OK.

Hal Configuration/pins/parport/0/pin-16-out shows no change. light stays red.

HALUI = halui is in the ini file. Here is the .ini file. I have made no entries to the .ini. Carl 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.
The administrator has disabled public write access.

Re:Need to connect pin problem Edited 02 Giu 2012 08:32 #20600

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4960
  • Thank you received: 87
  • Karma: 134
I see nothing strange in your ini and it looks ok.

What about the signal when you put it into a watch window what do you see?

John
The administrator has disabled public write access.
Moderators: Rick G
Time to create page: 1.098 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.