Re: [Emc-users] 7i43 load error LinuxCNC 2.7.4

2017-07-03 Thread andy pugh
On 2 July 2017 at 23:08, Condit Alan via Emc-users
 wrote:
> However, I can’t get the “Axis” power switch to go “on” when I click it and I 
> haven’t figured out whether I have the estop switch wired correctly to the 
> 7i43 board via the 7i42TA. I can’t really tell whether the “power switch” 
> problem is related to estop or some other kerfuffle.

It is probably an issue with the HAL pins iocontrol.0.emc-enable-in or
motion.enable. How are they connected in HAL (if at all)

-- 
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

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 7i43 load error LinuxCNC 2.7.4

2017-07-02 Thread Condit Alan via Emc-users
Brain farts and other errors! I was trying to send the firmware via a parallel 
cable that wasn’t plugged into the cpu box. Fixed that! Then I realized that I 
originally bought 2 of the D525MW boards. I upgraded the bios on one of them, 
then my house was burglarized and guess which one got taken? So the second 
error was as Andy suspected related to an EPP problem. I got the bios upgraded 
and got the various loadf's and addf's sorted. So, now linuxcnc will fire up. 
However, I am getting occasional timeout errors. I seem to recall something 
about needing to pet the watchdog occasionally on the 7i43. Could this be 
biting me?
I don’t have the limit switches, spindle encoder or steppers plugged into the 
box yet and I am getting occasional joint errors (probably related to the limit 
switch inputs not being pulled up or down??). However, I can’t get the “Axis” 
power switch to go “on” when I click it and I haven’t figured out whether I 
have the estop switch wired correctly to the 7i43 board via the 7i42TA. I can’t 
really tell whether the “power switch” problem is related to estop or some 
other kerfuffle.

Thanks in advance,
Alan

> On Jul 2, 2017, at 8:46 AM, andy pugh  wrote:
> 
> On 30 June 2017 at 22:01, Condit Alan via Emc-users
>  wrote:
>> Where is the firmware (bit file) that is to be loaded found? I have a 7i43p 
>> 200K board.
> 
> The bitfile will be in /lib/firmware/hm2
> 
> But it sounds to me more like an EPP problem. I am confused by your
> mention of a Mac.
> 
> -- 
> 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


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 7i43 load error LinuxCNC 2.7.4

2017-07-02 Thread andy pugh
On 30 June 2017 at 22:01, Condit Alan via Emc-users
 wrote:
> Where is the firmware (bit file) that is to be loaded found? I have a 7i43p 
> 200K board.

The bitfile will be in /lib/firmware/hm2

But it sounds to me more like an EPP problem. I am confused by your
mention of a Mac.

-- 
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

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 7i43 load error LinuxCNC 2.7.4

2017-06-30 Thread Condit Alan via Emc-users
Thanks Andy,

I found the error. The hal source on my Mac wasn’t the same as that on my 
linuxcnc box. I got the loadf’s and addf’s setup correctly now. However, now I 
am getting the error “Epp timeout while sending firmware". 

Would the error message for timeout be the same if it failed to find the file?

Where is the firmware (bit file) that is to be loaded found? I have a 7i43p 
200K board.

Thanks in advance,
Alan


> On Jun 29, 2017, at 9:30 PM, Condit Alan  wrote:
> 
> I am trying to get my 7i43 configuration to run. LinuxCNC shutdown reporting 
> pin not found for “scale.spindle.gain".
> 
> I found the following lines in my .hal config that seem relevant.
> 
> loadrt scale names=scale.spindle
> 
> addf scale.spindle servo-thread
> 
> setp scale.spindle.gain 60
> 
> net spindle-fb-filtered-abs-rpsabs.spindle.out  =>   scale.spindle.in
> net spindle-fb-filtered-abs-rpmscale.spindle.out
> 
> Does anything stand out as an error?
> 
> Thanks,
> Alan


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 7i43 load error LinuxCNC 2.7.4

2017-06-30 Thread andy pugh
On 30 June 2017 at 05:30, Condit Alan via Emc-users <
emc-users@lists.sourceforge.net> wrote:

> loadrt scale names=scale.spindle
> addf scale.spindle servo-thread
> setp scale.spindle.gain 60
>
> Does anything stand out as an error?
>

Not really. Does the HAL parse the lines in the order here? or is there a
chance that it is attempting to set the gain before the component is
loaded.
http://linuxcnc.org/docs/2.7/html/man/man9/scale.9.html

Seems to indicate that the pin name is correct.

You could put "show pin scale*" in the HAL above the troublesome line then
start LinuxCNC from the command line. You should get a pin listing.

-- 
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
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users