- Posts: 1943
- Thank you received: 0
Biesse Rover 346 Retrofit
Please Log in to join the conversation.
Estop and all the nice things on startup is working. External estop circuit living nicely with e-stop in gui......
A couple more inputs to deal with. before I start tackling the servo's and drives.
One issue I am having is gmoccapy.messages. Cant seem to get this working.
gmoccapy 2.2.3.1
My ini file:
MESSAGE_BOLDTEXT = LUBE SYSTEM FAULT
MESSAGE_TEXT = WAY OIL LUBRICATION TANK LOW. PLEASE REFILL BEFORE CONTINUING.
MESSAGE_TYPE = okdialog
MESSAGE_PINNAME = lubelow
postgui.hal:
net lubelow hm2_5i25.0.7i70.1.0.input-24
net gmoccapy-lubelow gmocappy.messages.lubelow
I would expect the to pop up a message with an ok button. Not happening. Inputs and signal working but not gmoccapy.messages.lubelow
I tried status type also and cannot get a message to pop up.
Got tips?
/EDIT I put the lubelow HAL pin in postgui as docs state and still the same thing.
Please Log in to join the conversation.
If I put the pin in postgui like gmoccapy docs states the signal doesnt show up in HAL, I think I understand why but I wont be able to use it as a pin in HAL?
Also if I put it in my custom.hal, I have the signal but it still doesnt work.
/EDIT I am going to post this in the gmoccapy section.
Please Log in to join the conversation.
Old control is removed. All I/O is on the mesa cards and LCNC see them and all is well.
The encoders are connected and going in the right direction. Time for the limits.......
Now the way it is wired now, the limits go directly into the drives..... good, would like them into Lcnc but I may do that later on today.
The home switches are working and they went into the old control. I intend to connect them into Lcnc but they are N/O. I dont really like that but, if the wire breaks I wont know, it will just hit the limits. Should I connect them N/C? And should I pass wires for limits into Lcnc? The drives have both +- limits wired in series going to the drives. I wont be able to do the Z very easy, would have to remove the motor and it will be a bitch. Setting the soft limits in Lcnc is enough with the hard limits going into the drives? That is the way the machine was working before.
This is a really big machine, and I want it to be correct, and not have to worry while running it. Will always be in the back of my mind that the home switches are N/O.
Can I get some advice?
Thanks,
Bob
Please Log in to join the conversation.
bevins wrote: I intend to connect them into Lcnc but they are N/O. I dont really like that but, if the wire breaks I wont know, it will just hit the limits.
That isn't a total disaster, if the limits work reliably.
And should I pass wires for limits into Lcnc?
It would be good for LinuxCNC to know, but if the limits kill the drives, then LinuxCNC will f-error anyway.
Is there any sort of fault / limit output from the drives that can be hooked into LinuxCNC.
Please Log in to join the conversation.
andypugh wrote:
bevins wrote: I intend to connect them into Lcnc but they are N/O. I dont really like that but, if the wire breaks I wont know, it will just hit the limits.
That isn't a total disaster, if the limits work reliably.
And should I pass wires for limits into Lcnc?
It would be good for LinuxCNC to know, but if the limits kill the drives, then LinuxCNC will f-error anyway.
Is there any sort of fault / limit output from the drives that can be hooked into LinuxCNC.
Yeah there is two. Drive ready, and alarm out.
Please Log in to join the conversation.
Once I get a green lite, I can take the machine out of e-stop. This all works. I can put the machine in e-stop via hardware estop or in the axis gui. If I do it via axis gui the green lite wont go out. So I have the below snippet in my hal so when I put the machine goes in estop via the gui, the green lite goes out. But what happens is when I first power up linuxcnc, I get the relay firing one time. I cant figure out why...
Is it because when linuxcnc starts, it checks the status of the estop and runs the code? Why would it do that when it is already in e-stop? From my understanding this should only work when it goes from estop-false to estop true.
loadrt oneshot count=1
addf oneshot.0 servo-thread
setp oneshot.0.width 1
setp oneshot.0.retriggerable 0
setp oneshot.0.rising 1
net estop-out-gr estop-latch.0.fault-out => oneshot.0.in
net unlatch-gr <= oneshot.0.out
net unlatch-gr => hm2_5i25.0.7i71.1.2.output-17
Please Log in to join the conversation.
I have to work on the Z because it is stiing at bottom on the limit switch. It uses air compensation to help it lift, and for the brake. It wont drop when I disable it because the air holds it up. But left overnight without air on the machine, because of the exhaust of air valves and/or leaks, it will slowly drop overnight.
So I have to figure out how to get it off the limit switch.
One issue I have to look at today, without homing and I go into mdi to try and move it, first it wont move in mdi and second when I go back to auto, both arrow keys move in one direction only and with the min speed. this is wierd.
Anyway here is the video.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
If your setup has hardware disable of your drives when on a limit, you'll have to figure that out yourself.
Please Log in to join the conversation.
Todd Zuercher wrote: In the Axis UI there is a check box for overriding limits, to let Linuxcnc power up and come out of e-stop when a limit is tripped. (Not sure where that would be for other UIs.)
If your setup has hardware disable of your drives when on a limit, you'll have to figure that out yourself.
Todd,
Yes, the limits go directly to the drive. I dont like it but it uses com not +24 like the 7i77 or 7i70. I know I can energize a relay but that would induce delays, and when the limits are concerned i dont really like it. I do have soft limits, and I could tag onto the com going to the drives and energize a relay, but the override button in axis wont matter anyway because the drive is disable also.
I will just have to lift the Z with a jack, and get it off its limits.
Please Log in to join the conversation.
