PathPilot Lathe with 6 place turret

More
25 Mar 2017 21:21 #90265 by brianTruck
Thanks' Andy
I'll work on that when I this thing out of estop. It is a stepper on the turret.

Installed 7i76 , fired it up and it goes to update software ,here is the code it logged.

tormach_lathe_5i25a.hal:224: Pin 'hm2_5i25.0.7i76.0.0.input-00' does not exist

This is the Hal code is doesn't like

net estop-out <= iocontrol.0.user-enable-out
########################################################################
# estop noise debounce
net machine-ok-raw hm2_5i25.0.7i76.0.0.input-00 => machine-ok-db.in #<<<this is line 224
# use the setp line below without a machine attached
# this isn't useful unless a properly flashed 5i25 is present
net machine-ok-debounced machine-ok-db.out => estop-latch.0.ok-in

Thanks'
Brian

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

More
25 Mar 2017 21:41 - 25 Mar 2017 21:42 #90266 by PCW

Installed 7i76 , fired it up and it goes to update software ,here is the code it logged.


Beware, that you have not disabled it, Pathpilot will overwrite the 5I25's 7I76 firmware with Tormach firmware

tormach_lathe_5i25a.hal:224: Pin 'hm2_5i25.0.7i76.0.0.input-00' does not exist


This is expected if

1. 5I25 firmware is wrong OR
2. No 12/24V field power on the 7I76 OR
3. No 5V power on the 7I76
Last edit: 25 Mar 2017 21:42 by PCW.

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

More
25 Mar 2017 22:02 - 25 Mar 2017 22:34 #90267 by brianTruck
Thanks'
I didn't realize that it was looking for external power, got that hooked up now and I'm to the Pathpilot screen.

Now before I do something dumb again ,is in.0 looking for gnd to release the estop or 5 volts, and where should I tap the 5 volts from if it needs that ?

I'll answer this one. +8-32 volts :)


Thanks'
Brian
Last edit: 25 Mar 2017 22:34 by brianTruck.

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

More
26 Mar 2017 00:01 #90273 by brianTruck
I'm starting to question my sanity by not going with normal linuxcnc.

Pathpilot see's that the e-stop is being released (machine -ok), but will not release from e-stop .This is the same code that worked on my BOB ( was the code ,I've made so many changes to e-stop that I'm lost now ). It looks to me that the input lets the UI know that the e-stop is released ,but isn't letting the rest of the controller know that the e-stop is off.
.
Brian

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

More
26 Mar 2017 07:16 #90281 by andypugh

I'm starting to question my sanity by not going with normal linuxcnc.

It does make much of our advice of dubious value.

Pathpilot see's that the e-stop is being released (machine -ok), but will not release from e-stop


Pins to look at include:

iocontrol.0.emc-enable-in : (Bit, In) Should be driven FALSE when an external estop condition exists.
iocontrol.0.user-enable-out : (Bit, Out) FALSE when an internal estop condition exists
iocontrol.0.user-request-enable : (Bit, Out) TRUE when the user has requested that estop be cleared
motion.enable IN BIT : If this bit is driven FALSE, motion stops, the machine is placed in the "machine off" state, and a message is displayed for the operator. For normal motion, drive this bit TRUE.
axis.N.amp-fault-in IN BIT : Should be driven TRUE if an external fault is detected with the amplifier for this joint

linuxcnc.org/docs/2.7/html/man/man1/iocontrol.1.html
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html
The following user(s) said Thank You: brianTruck

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

More
26 Mar 2017 13:21 #90284 by brianTruck
Thanks' Andy - Back online! I was soooo close to installing linuxcnc.

The hale file that gets it out of e-stop is attached.

On a side note, I thought my computer power supply went out, as it was tripping my ground fault. Ran a ground wire from lathe to computer and it took care of it. (computer is not mounted to lathe).

Thanks'
Brian


File Attachment:

File Name: tormach_la...i25b.hal
File Size:12 KB
Attachments:

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

More
26 Mar 2017 15:25 #90294 by brianTruck
I've made changes to oracchanger.comp and tried to halcompile on my Pathpilot machine. I tried apt-get install linuxcnc-dev and it won't install on this machine. I have another computer running linuxcnc , I halcompliled it ,made a copy of the oracchanger.ko file and copied it to the PathPilot rtlib directory and now I get ..........


'/home/operator/tmc/rtlib/oracchanger.ko' : -1 Invalid module format


.............in the log file

Any thoughts ?

Thanks'
Brian

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

More
26 Mar 2017 22:14 #90317 by andypugh

'/home/operator/tmc/rtlib/oracchanger.ko' : -1 Invalid module format


Not an error I have seen before. What kernel versions are the two machines running?

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

More
26 Mar 2017 23:22 #90320 by brianTruck
PathPilot 2.6.32-122 rtai
linuxcnc 3.4-9-rtai-686-pae

Brian

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

More
27 Mar 2017 08:28 #90337 by andypugh
It is possible that the kernel versions are too different.

In fact, it is even possible that "halcompile" is still called "comp" on the PP install.

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

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