Re: [Emc-users] mesa 7i76e io
On Tue, 12 Mar 2019, Gene Heskett wrote: And I note, after making the first 4 inputs into analog, 8 bit digitized voltage inputs by appending sseriel_port_0=1 to the hm2_pci config string, (that I'll need to feed 12 volts to derive a to voltage scale factor calibration) that the above 4 inputs still exist, I'd assume as true/false depending on the thresholds set by field voltage input, in my case 12 volts. Yes, the digital inputs are still available and have the same 60%/40% field voltage thresholds/hysteresis even when analog inputs are enabled (and also when MPG encoder inputs are enabled) In fact all 32 inputs are read as analog at about 50 KHz per channel and processed Peter Wallace Mesa Electronics ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] mesa 7i76e io
On Tuesday 12 March 2019 12:50:52 linden wrote: > Thanks to Andy and Peter io is working > > In the end it was to things not quite right: > > - Vin was off on TB1 pin 5 (unable to communicate with field > IO) > > - Syntax errors in Hal (functioning Hal below) > > Hope this is some use to some one in the future. > > thanks again linden > > * > * > > *.hal* > > **# external output signals > > # --- COOLANT-FLOOD --- > > net coolant-flood => hm2_7i76e.0.7i76.0.0.output-12 > > # --- COOLANT-MIST --- > > #net coolant-mist hm2_7i76e.0.0.7i76.0.0.output-01 > > # external input signals > > # --- HOME-X --- > net home-x <= hm2_7i76e.0.7i76.0.0.input-20 > > # --- HOME-Y --- > net home-y <= hm2_7i76e.0.7i76.0.0.input-21 > > # --- HOME-Z --- > net home-z <= hm2_7i76e.0.7i76.0.0.input-22 > > On 2019-03-12 6:56 a.m., Peter C. Wallace wrote: > > On Tue, 12 Mar 2019, Linden wrote: > >> Date: Tue, 12 Mar 2019 01:51:42 -0700 > >> From: Linden > >> Reply-To: "Enhanced Machine Controller (EMC)" > >> > >> To: emc-users@lists.sourceforge.net > >> Subject: [Emc-users] mesa 7i76e io > >> > >> > >> > >> Hello all > >> > >> I am not sure if i understand correctly how the D0 work between > >> hal and TB5&TB6 > >> > >> What I have currently is: > >> > >> - Axis gui loads and displays with no errors > >> > >> - 3 stepper motors configured and turning on command > >> > >> - 24volts supplied to pin 5 of TB1 Ground to pin 8 of TB1 I also > >> measure 24 volts between pin 8 Ground and pins 1 2 3 and 4 of TB1 > >> > >> - I do not get any measurable voltage between ground pin 8 of TB1 > >> and any of the pins on TB5 & TB6 regardless of weather the check > >> boxes for coolant are checked or not in the GUi > >> > >> If I understand this correctly i would expect 24 volts from the > >> field power on the active DO when the check box for coolant is > >> checked. Is this assumption wrong?? > >> > >> How do the physical pins of TB5 & TB6 relate to the pin numbers in > >> .hal?? > >> > >> Below is the .hal section regarding external signals. Is there some > >> thing wrong here with the syntax? > > > > Yes, the field outputs and outputs are named differently. > > Typically you would never use GPIO pins on a 7I76/7I76E Here are the > > field I/O pins: > > > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-00 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-00-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-01 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-01-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-02 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-02-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-03 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-03-not And I note, after making the first 4 inputs into analog, 8 bit digitized voltage inputs by appending sseriel_port_0=1 to the hm2_pci config string, (that I'll need to feed 12 volts to derive a to voltage scale factor calibration) that the above 4 inputs still exist, I'd assume as true/false depending on the thresholds set by field voltage input, in my case 12 volts. > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-04 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-04-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-05 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-05-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-06 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-06-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-07 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-07-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-08 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-08-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-09 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-09-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-10 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-10-not > > 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-11 > > 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0
Re: [Emc-users] mesa 7i76e io
On Tue, 12 Mar 2019, linden wrote: Date: Tue, 12 Mar 2019 09:50:52 -0700 From: linden To: Peter C. Wallace , andy pugh Cc: "Enhanced Machine Controller (EMC)" Subject: Re: mesa 7i76e io Thanks to Andy and Peter io is working In the end it was to things not quite right: - Vin was off on TB1 pin 5(unable to communicate with field IO) - Syntax errors in Hal (functioning Hal below) Hope this is some use to some one in the future. thanks again linden Note that if you are not using 5V VFIELD, VIN should connect to VFIELD (via W1) Also make sure the VFIELD connects directly to the field power supply (never switch VFIELD with a relay or mechanical switch) * * *.hal* **# external output signals # --- COOLANT-FLOOD --- net coolant-flood => hm2_7i76e.0.7i76.0.0.output-12 # --- COOLANT-MIST --- #net coolant-mist hm2_7i76e.0.0.7i76.0.0.output-01 # external input signals # --- HOME-X --- net home-x <= hm2_7i76e.0.7i76.0.0.input-20 # --- HOME-Y --- net home-y <= hm2_7i76e.0.7i76.0.0.input-21 # --- HOME-Z --- net home-z <= hm2_7i76e.0.7i76.0.0.input-22 On 2019-03-12 6:56 a.m., Peter C. Wallace wrote: On Tue, 12 Mar 2019, Linden wrote: Date: Tue, 12 Mar 2019 01:51:42 -0700 From: Linden Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: [Emc-users] mesa 7i76e io Hello all I am not sure if i understand correctly how the D0 work between hal and TB5&TB6 What I have currently is: - Axis gui loads and displays with no errors - 3 stepper motors configured and turning on command - 24volts supplied to pin 5 of TB1 Ground to pin 8 of TB1 I also measure 24 volts between pin 8 Ground and pins 1 2 3 and 4 of TB1 - I do not get any measurable voltage between ground pin 8 of TB1 and any of the pins on TB5 & TB6 regardless of weather the check boxes for coolant are checked or not in the GUi If I understand this correctly i would expect 24 volts from the field power on the active DO when the check box for coolant is checked. Is this assumption wrong?? How do the physical pins of TB5 & TB6 relate to the pin numbers in .hal?? Below is the .hal section regarding external signals. Is there some thing wrong here with the syntax? Yes, the field outputs and outputs are named differently. Typically you would never use GPIO pins on a 7I76/7I76E Here are the field I/O pins: 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-00 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-00-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-01 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-01-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-02 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-02-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-03 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-03-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-04 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-04-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-05 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-05-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-06 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-06-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-07 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-07-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-08 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-08-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-09 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-09-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-10 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-10-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-11 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-11-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-12 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-12-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-13 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-13-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-14 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-14-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-15 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-15-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-16 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-16-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-17 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-17-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-18 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-18-not 23 bit OUT FALSE hm2_7i76e.0.7i76.
Re: [Emc-users] mesa 7i76e io
Thanks to Andy and Peter io is working In the end it was to things not quite right: - Vin was off on TB1 pin 5 (unable to communicate with field IO) - Syntax errors in Hal (functioning Hal below) Hope this is some use to some one in the future. thanks again linden * * *.hal* **# external output signals # --- COOLANT-FLOOD --- net coolant-flood => hm2_7i76e.0.7i76.0.0.output-12 # --- COOLANT-MIST --- #net coolant-mist hm2_7i76e.0.0.7i76.0.0.output-01 # external input signals # --- HOME-X --- net home-x <= hm2_7i76e.0.7i76.0.0.input-20 # --- HOME-Y --- net home-y <= hm2_7i76e.0.7i76.0.0.input-21 # --- HOME-Z --- net home-z <= hm2_7i76e.0.7i76.0.0.input-22 On 2019-03-12 6:56 a.m., Peter C. Wallace wrote: On Tue, 12 Mar 2019, Linden wrote: Date: Tue, 12 Mar 2019 01:51:42 -0700 From: Linden Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: [Emc-users] mesa 7i76e io Hello all I am not sure if i understand correctly how the D0 work between hal and TB5&TB6 What I have currently is: - Axis gui loads and displays with no errors - 3 stepper motors configured and turning on command - 24volts supplied to pin 5 of TB1 Ground to pin 8 of TB1 I also measure 24 volts between pin 8 Ground and pins 1 2 3 and 4 of TB1 - I do not get any measurable voltage between ground pin 8 of TB1 and any of the pins on TB5 & TB6 regardless of weather the check boxes for coolant are checked or not in the GUi If I understand this correctly i would expect 24 volts from the field power on the active DO when the check box for coolant is checked. Is this assumption wrong?? How do the physical pins of TB5 & TB6 relate to the pin numbers in .hal?? Below is the .hal section regarding external signals. Is there some thing wrong here with the syntax? Yes, the field outputs and outputs are named differently. Typically you would never use GPIO pins on a 7I76/7I76E Here are the field I/O pins: 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-00 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-00-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-01 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-01-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-02 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-02-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-03 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-03-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-04 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-04-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-05 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-05-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-06 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-06-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-07 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-07-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-08 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-08-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-09 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-09-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-10 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-10-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-11 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-11-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-12 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-12-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-13 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-13-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-14 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-14-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-15 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-15-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-16 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-16-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-17 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-17-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-18 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-18-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-19 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-19-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-20 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-20-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-21 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-21-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-22 23 bit OUT
Re: [Emc-users] mesa 7i76e io
On Tue, 12 Mar 2019, Linden wrote: Date: Tue, 12 Mar 2019 01:51:42 -0700 From: Linden Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: [Emc-users] mesa 7i76e io Hello all I am not sure if i understand correctly how the D0 work between hal and TB5&TB6 What I have currently is: - Axis gui loads and displays with no errors - 3 stepper motors configured and turning on command - 24volts supplied to pin 5 of TB1 Ground to pin 8 of TB1 I also measure 24 volts between pin 8 Ground and pins 1 2 3 and 4 of TB1 - I do not get any measurable voltage between ground pin 8 of TB1 and any of the pins on TB5 & TB6 regardless of weather the check boxes for coolant are checked or not in the GUi If I understand this correctly i would expect 24 volts from the field power on the active DO when the check box for coolant is checked. Is this assumption wrong?? How do the physical pins of TB5 & TB6 relate to the pin numbers in .hal?? Below is the .hal section regarding external signals. Is there some thing wrong here with the syntax? Yes, the field outputs and outputs are named differently. Typically you would never use GPIO pins on a 7I76/7I76E Here are the field I/O pins: 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-00 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-00-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-01 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-01-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-02 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-02-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-03 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-03-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-04 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-04-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-05 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-05-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-06 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-06-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-07 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-07-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-08 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-08-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-09 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-09-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-10 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-10-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-11 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-11-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-12 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-12-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-13 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-13-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-14 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-14-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-15 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-15-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-16 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-16-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-17 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-17-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-18 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-18-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-19 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-19-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-20 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-20-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-21 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-21-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-22 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-22-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-23 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-23-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-24 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-24-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-25 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-25-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-26 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-26-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-27 23 bit OUT TRUE hm2_7i76e.0.7i76.0.0.input-27-not 23 bit OUT FALSE hm2_7i76e.0.7i76.0.0.input-28 23 bit OUT
Re: [Emc-users] mesa 7i76e io
On Tue, 12 Mar 2019 at 11:20, linden wrote: > I now get an error "parameter or pin 'hm2_7i76e.0.0.7i76.0.output-00' > not found" (I have also tried with 12 same error) It should probably be hm2_7i76e.0.0.7i76.0.0.output-00 > Is there a way via terminal or linuxcnc to read the current > configuration of the 7i76e Yes. Comment-out all the lines that are causing a problem then start LinuxCNC. Now open a terminal and type halcmd show pin halcmd show param And maybe copy the output to a text file for future reference. Also, this line is unnecessary: setp hm2_7i76e.0.7i76.0.0.output-00 true and this line shouldnt have a .out at the end (I don't think) net coolant-flood hm2_7i76e.0.7i76.0.0.output-00.out -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] mesa 7i76e io
Hello All I have tried as Andy suggested and changed the line in the Hal file see current line below along with complete error message from terminal below. I now get an error "parameter or pin 'hm2_7i76e.0.0.7i76.0.output-00' not found" (I have also tried with 12 same error) Any other suggestions? Is there a way via terminal or linuxcnc to read the current configuration of the 7i76e to show what pins are configured as inputs and outputs. As the error mesage shows the configeration of the step and direction pins that are working put nothing specific for any of the digital io? thanks again linden Hal # external output signals # --- COOLANT-FLOOD --- setp hm2_7i76e.0.7i76.0.0.output-00 true net coolant-flood hm2_7i76e.0.7i76.0.0.output-00.out error mesage from terminal LINUXCNC - 2.8.0~pre1 Machine configuration directory is '/home/draft5/linuxcnc/configs/Plaz2' Machine configuration file is 'Plaz2.ini' Starting LinuxCNC... Found file(REL): ./Plaz2.hal Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: 192.168.1.121: Hardware address: 00:60:1b:10:40:bc hm2_eth: discovered 7I76E-16 hm2/hm2_7i76e.0: Smart Serial Firmware Version 43 hm2/hm2_7i76e.0: 51 I/O Pins used: hm2/hm2_7i76e.0: IO Pin 000 (P1-01): StepGen #0, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 001 (P1-14): StepGen #0, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 002 (P1-02): StepGen #1, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 003 (P1-15): StepGen #1, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 004 (P1-03): StepGen #2, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 005 (P1-16): StepGen #2, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 006 (P1-04): StepGen #3, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 007 (P1-17): StepGen #3, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 008 (P1-05): StepGen #4, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 009 (P1-06): StepGen #4, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 010 (P1-07): IOPort hm2/hm2_7i76e.0: IO Pin 011 (P1-08): IOPort hm2/hm2_7i76e.0: IO Pin 012 (P1-09): IOPort hm2/hm2_7i76e.0: IO Pin 013 (P1-10): IOPort hm2/hm2_7i76e.0: IO Pin 014 (P1-11): Encoder #0, pin Index (Input) hm2/hm2_7i76e.0: IO Pin 015 (P1-12): Encoder #0, pin B (Input) hm2/hm2_7i76e.0: IO Pin 016 (P1-13): Encoder #0, pin A (Input) hm2/hm2_7i76e.0: IO Pin 017 (P2-01): IOPort hm2/hm2_7i76e.0: IO Pin 018 (P2-14): IOPort hm2/hm2_7i76e.0: IO Pin 019 (P2-02): IOPort hm2/hm2_7i76e.0: IO Pin 020 (P2-15): IOPort hm2/hm2_7i76e.0: IO Pin 021 (P2-03): IOPort hm2/hm2_7i76e.0: IO Pin 022 (P2-16): IOPort hm2/hm2_7i76e.0: IO Pin 023 (P2-04): IOPort hm2/hm2_7i76e.0: IO Pin 024 (P2-17): IOPort hm2/hm2_7i76e.0: IO Pin 025 (P2-05): IOPort hm2/hm2_7i76e.0: IO Pin 026 (P2-06): IOPort hm2/hm2_7i76e.0: IO Pin 027 (P2-07): IOPort hm2/hm2_7i76e.0: IO Pin 028 (P2-08): IOPort hm2/hm2_7i76e.0: IO Pin 029 (P2-09): IOPort hm2/hm2_7i76e.0: IO Pin 030 (P2-10): IOPort hm2/hm2_7i76e.0: IO Pin 031 (P2-11): IOPort hm2/hm2_7i76e.0: IO Pin 032 (P2-12): IOPort hm2/hm2_7i76e.0: IO Pin 033 (P2-13): IOPort hm2/hm2_7i76e.0: IO Pin 034 (P3-01): IOPort hm2/hm2_7i76e.0: IO Pin 035 (P3-14): IOPort hm2/hm2_7i76e.0: IO Pin 036 (P3-02): IOPort hm2/hm2_7i76e.0: IO Pin 037 (P3-15): IOPort hm2/hm2_7i76e.0: IO Pin 038 (P3-03): IOPort hm2/hm2_7i76e.0: IO Pin 039 (P3-16): IOPort hm2/hm2_7i76e.0: IO Pin 040 (P3-04): IOPort hm2/hm2_7i76e.0: IO Pin 041 (P3-17): IOPort hm2/hm2_7i76e.0: IO Pin 042 (P3-05): IOPort hm2/hm2_7i76e.0: IO Pin 043 (P3-06): IOPort hm2/hm2_7i76e.0: IO Pin 044 (P3-07): IOPort hm2/hm2_7i76e.0: IO Pin 045 (P3-08): IOPort hm2/hm2_7i76e.0: IO Pin 046 (P3-09): IOPort hm2/hm2_7i76e.0: IO Pin 047 (P3-10): IOPort hm2/hm2_7i76e.0: IO Pin 048 (P3-11): IOPort hm2/hm2_7i76e.0: IO Pin 049 (P3-12): IOPort hm2/hm2_7i76e.0: IO Pin 050 (P3-13): IOPort hm2/hm2_7i76e.0: registered ./Plaz2.hal:26: parameter or pin 'hm2_7i76e.0.7i76.0.output-00' not found Shutting down and cleaning up LinuxCNC... Running HAL shutdown script hm2_eth: HostMot2 ethernet driver unloaded hm2: unloading Note: Using POSIX realtime On 2019-03-12 3:26 a.m., andy pugh wrote: On Tue, 12 Mar 2019 at 09:18, Linden wrote: How do the physical pins of TB5 & TB6 relate to the pin numbers in .hal?? # --- COOLANT-FLOOD --- setp hm2_7i76e.0.gpio.049.is_output true net coolant-flood hm2_7i76e.0.gpio.049.out Note that I don't have, and have never even seen, a 7i76E. But: I think it is like a normal 7i76 in most respects. In that case the hm2_7i76E.0.gpio pins are the physical pins on the FPGA and those do not directly drive the IO on the terminal blocks. The GPIO in the terminal blocks is serially-addressed and appears as a 7i76 smart-serial device attached to the 7i76E ( :-) So the terminal bl
Re: [Emc-users] mesa 7i76e io
On Tue, 12 Mar 2019 at 09:18, Linden wrote: > How do the physical pins of TB5 & TB6 relate to the pin numbers in .hal?? > # --- COOLANT-FLOOD --- > setp hm2_7i76e.0.gpio.049.is_output true > net coolant-flood hm2_7i76e.0.gpio.049.out Note that I don't have, and have never even seen, a 7i76E. But: I think it is like a normal 7i76 in most respects. In that case the hm2_7i76E.0.gpio pins are the physical pins on the FPGA and those do not directly drive the IO on the terminal blocks. The GPIO in the terminal blocks is serially-addressed and appears as a 7i76 smart-serial device attached to the 7i76E ( :-) So the terminal blocks are pins like: hm2_7i76e.0.7i76.0.0.output-00 where the numbers 00 to 15 refer to screw terminal numbers directly. Don't set "is output" directly on any FPGA pins, that might interfere with specific FPGA pin functions such as encoders or smart-serial. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] mesa 7i76e io
Hello all I am not sure if i understand correctly how the D0 work between hal and TB5&TB6 What I have currently is: - Axis gui loads and displays with no errors - 3 stepper motors configured and turning on command - 24volts supplied to pin 5 of TB1 Ground to pin 8 of TB1 I also measure 24 volts between pin 8 Ground and pins 1 2 3 and 4 of TB1 - I do not get any measurable voltage between ground pin 8 of TB1 and any of the pins on TB5 & TB6 regardless of weather the check boxes for coolant are checked or not in the GUi If I understand this correctly i would expect 24 volts from the field power on the active DO when the check box for coolant is checked. Is this assumption wrong?? How do the physical pins of TB5 & TB6 relate to the pin numbers in .hal?? Below is the .hal section regarding external signals. Is there some thing wrong here with the syntax? thanks linden # external output signals # --- COOLANT-FLOOD --- setp hm2_7i76e.0.gpio.049.is_output true net coolant-flood hm2_7i76e.0.gpio.049.out # --- COOLANT-MIST --- setp hm2_7i76e.0.gpio.050.is_output true net coolant-mist hm2_7i76e.0.gpio.050.out # external input signals # --- HOME-X --- net home-x <= hm2_7i76e.0.gpio.021.in # --- HOME-Y --- net home-y <= hm2_7i76e.0.gpio.022.in # --- HOME-Z --- net home-z <= hm2_7i76e.0.gpio.023.in -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users