Hi
I have restarted work on my long term project MAHO MH800C, 2 spindles (horizontal & Vertical), 5 axis, 3 linear 1 rotary, one swivel.
The 3 linear axis have only one switch for limits, that are operated by a ramp each end of stroke,.
The other option is the linear scales I have fitted, Heidenhain LS477 that do have reference or index markers.
The rotary axis, has index/refence markers, and the swivel has a switch each end of travel.
There are examples in the CamSoft reference manuals etc for all but, I cannot find any example code about the one switch for the linear axis for use for end of travel limits, or homing?
Any way which would be the better option for homing, my guess is the index markers??
Another issue I have is the starting process of the MAHO which involes pushing buttons in a sequence then opening and closing doors within a certain time frame, this is done though Safety Relays.
I just want to be able to push a button and start the hydraulics, using STARTUP.FIL and using I/O to check things are right to do so, then if all good hydraulic pressure etc, start the CNC side through either a physical button or an on screen button, dose this sound a good or bad idea, to my mind it would be good.
I have been able to sort out the encoders except for the pulses/mm/ratio, but at least they are counting up and down.
Any advise or direction would be greatly appreicated.
Best Regards
Burgs