Daughterboard inputs not recognized in HALMETER

  • Dubmfg
  • Dubmfg's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 Oct 2017 23:38 - 11 Oct 2017 23:39 #100246 by Dubmfg
I've measured +24v to the pin when the limit switch is triggered. Pin 1 on SB6 is also directly wired from +24V on the power supply plug to it, as an always on signal for this testing.
Last edit: 11 Oct 2017 23:39 by Dubmfg.

Please Log in or Create an account to join the conversation.

More
12 Oct 2017 03:40 - 12 Oct 2017 03:42 #100254 by smgvbest
ok that's good, can you from a command prompt do a
dmesg | grep 6i25 and attach the output
also with pathpilot running in the MDI do a ADMIN HALCMD SHOW
then also attach your /home/operator/gcode/logfiles/pathpilotlog.txt

also, how are you running halmeter? are you starting it from within pathpilot with a ADMIN HALMETER?
please?
Last edit: 12 Oct 2017 03:42 by smgvbest.

Please Log in or Create an account to join the conversation.

  • Dubmfg
  • Dubmfg's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
18 Oct 2017 00:57 #100495 by Dubmfg
Im using ADMIN HALMETER from within Pathpilot itself. Also, ADMIN HALCMD SHOW does not ellicit a response in Pathpilot.

I couldnt get a response in Terminal with dmesg | grep 6i25. Am I doing that wrong?

I've attached my logfiles


File Attachment:

File Name: pathpilotlog.txt
File Size:38 KB

File Attachment:

File Name: systeminfo.txt
File Size:66 KB

File Attachment:

File Name: logfiles.zip
File Size:11 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
18 Oct 2017 02:57 #100497 by PCW
Try dmesg | grep 5i25

Please Log in or Create an account to join the conversation.

  • Dubmfg
  • Dubmfg's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
18 Oct 2017 03:01 #100498 by Dubmfg
Derp, it reports as a 5i25. Shoulda remembered

File Attachment:

File Name: report.txt
File Size:3 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
18 Oct 2017 12:01 - 18 Oct 2017 12:02 #100504 by smgvbest
I see in your log you originally used the incorrect bit file and the last entry was the correct 5i25-7i76x2.bit
have you noticed any difference since that change?
the tormach bit file does not support the 7i76 so it would be suspected as a problem.

I'm at work and that was a quick look.
I wouild love to see linuxcnc and/or tomach to timestamp log file (pet peeve of mine)
Last edit: 18 Oct 2017 12:02 by smgvbest.

Please Log in or Create an account to join the conversation.

  • Dubmfg
  • Dubmfg's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
18 Oct 2017 14:10 #100509 by Dubmfg
Well yes, I swapped the bitfile for the 7i76 compatible one and am working on the .hal to use the inputs from the 7i76 instead of Tormach`s card. Where is the tormach timestamp logfile located?

Please Log in or Create an account to join the conversation.

  • Dubmfg
  • Dubmfg's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
20 Oct 2017 16:26 #100584 by Dubmfg
Ideas anyone? Ive been poking around forever and cant get anything meaningful out of my inputs still :(

Please Log in or Create an account to join the conversation.

More
20 Oct 2017 17:39 #100586 by PCW
I would try LinuxCNC to verify the hardware
(and have access to known working tools)

Please Log in or Create an account to join the conversation.

More
22 Oct 2017 22:32 - 22 Oct 2017 22:32 #100638 by andypugh

Ideas anyone? Ive been poking around forever and cant get anything meaningful out of my inputs still :(


Which pin names are you looking at?

I do most of my card testing at the command line to reduce the variables.
Copy and paste this into the terminal.
halrun
loadrt hostmot2
loadrt hm2_pci
loadrt threads
addf hm2_5i25.read thread1
addf hm2_5i25.write thread1
start
show pin
loadusr halshow

Now you can add the input bits to the halshow "watch" tab and see what happens.
Last edit: 22 Oct 2017 22:32 by andypugh.

Please Log in or Create an account to join the conversation.

Time to create page: 0.299 seconds
Powered by Kunena Forum