Pathpilot to non tormach machines Tutorial Part1

More
21 Jul 2017 00:00 #96192 by Atalon
So just to clarify the error is:

tormach_mill_5i25.hal:217: parameter or pin 'hm2_5i25.0.gpio.005.is_output' not found

I am not seeing any reference to the 7i76 so I am guessing these are the equivalent options but don't know which I should be using. Does anyone have a reference file?

The output for pin is
hm2_5i25.0.gpio.005.in
hm2_5i25.0.gpio.005.in_not

The output for param is
hm2_5i25.0.gpio.005.invert_output
hm2_5i25.0.gpio.005.is_opendrain

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

More
21 Jul 2017 00:28 #96197 by andypugh
7i76 GPIO pins know what they are, so don't need their direction and type setting.

But you are going to need to re-arrange the GPIO assignments to get the inputs and outputs sorted out. (ie, you need to choose which 7i76 output will do the job that was done by 5i25-gpio-005.

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

More
21 Jul 2017 00:49 #96203 by smgvbest
this most likely reason for the this error is the 7i76 is not powered correctly

at the linux command line do a
start pathpilot in background
operator_login &
then
dmesg | grep hm2

you should see something like this
note the 7i76 references. if you do not see them you're 7i76 os not firing up correctly

operator@tormachpcnc:~$ dmesg | grep hm2
[ 330.005513] hm2: loading Mesa HostMot2 driver version 0.15
[ 330.006852] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 330.006868] hm2_pci 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 330.006870] hm2_pci: discovered 5i25 at 0000:02:00.0
[ 330.007158] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[ 330.011502] Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
[ 330.013618] Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
[ 330.016402] Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
[ 330.020116] Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv

[ 330.144233] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 330.144235] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
[ 330.144237] hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
[ 330.144239] hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
[ 330.144240] hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
[ 330.144242] hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
[ 330.144243] hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
[ 330.144244] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
[ 330.144246] hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
[ 330.144247] hm2/hm2_5i25.0: IO Pin 008 (P3-05): IOPort
[ 330.144248] hm2/hm2_5i25.0: IO Pin 009 (P3-06): IOPort
[ 330.144250] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Smart Serial Interface #0, pin TxData0 (Output)
[ 330.144252] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Smart Serial Interface #0, pin RxData0 (Input)
[ 330.144253] hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
[ 330.144254] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
[ 330.144256] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin Index (Input)
[ 330.144257] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Encoder #0, pin B (Input)
[ 330.144258] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Encoder #0, pin A (Input)
[ 330.144260] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 330.144261] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 330.144262] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[ 330.144263] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 330.144264] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[ 330.144265] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 330.144267] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 330.144268] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
[ 330.144269] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
[ 330.144270] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
[ 330.144271] hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
[ 330.144272] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
[ 330.144273] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
[ 330.144275] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
[ 330.144276] hm2/hm2_5i25.0: IO Pin 031 (P2-11): Encoder #1, pin Index (Input)
[ 330.144277] hm2/hm2_5i25.0: IO Pin 032 (P2-12): Encoder #1, pin B (Input)
[ 330.144279] hm2/hm2_5i25.0: IO Pin 033 (P2-13): Encoder #1, pin A (Input)
[ 330.144303] hm2/hm2_5i25.0: registered
[ 330.144304] hm2_5i25.0: initialized AnyIO board at 0000:02:00.0
[ 357.347278] hm2_5i25.0: dropping AnyIO board at 0000:02:00.0
[ 357.347281] hm2/hm2_5i25.0: unregistered
[ 357.347292] hm2_pci 0000:02:00.0: PCI INT A disabled
[ 357.347301] hm2_pci: driver unloaded
[ 357.348053] hm2: unloading

if you are not seeing it check you power and jumper settings are correct on the 7i76 board.
I had this same problem with mine.

Sandra

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

More
21 Jul 2017 02:47 #96206 by Atalon
AH this does a lot to connect what I have seen so far. Hopefully this weekend will see some good progress.

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

Moderators: cncbasher
Time to create page: 0.086 seconds
Powered by Kunena Forum