Schaublin 125-CNC retrofit.

More
09 Apr 2023 18:24 - 09 Apr 2023 18:33 #268698 by RotarySMP
I am coming to this conclusion as well, that I need to break out the CAD (cardboard a.. D..).

I need to order a second 7i73 for that front rail, sliding pendant as well, as it will be much more than I first envisaged.
Last edit: 09 Apr 2023 18:33 by RotarySMP.

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

More
09 Apr 2023 19:48 #268703 by smc.collins
this is my temp configuration, x z rapid joystick, x z mog dials, connector for my foot switch for my chuck " i wrote a hal component for this check hal examples" . 

everything else is pretty much dead. I'm not a fan of having turret jog controls, long borings etc will hit stuff. better to write a macro that calls g28 for a tool change and move the carriage somewhere safe

I'm still prototyping my controls layout, but it's going to be a variation of this with some dedicated buttons.
Attachments:
The following user(s) said Thank You: spumco

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

More
09 Apr 2023 23:28 #268728 by spumco
Replied by spumco on topic Schaublin 125-CNC retrofit.

 I'm not a fan of having turret jog controls, long borings etc will hit stuff. better to write a macro that calls g28 for a tool change and move the carriage somewhere safe

 


Very, very good point.

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

More
10 Apr 2023 00:33 - 10 Apr 2023 01:49 #268733 by smc.collins
I get super paranoid with some of my large drill bits, I have a 3 inch drill that is 14 inches long out front of the tool block, and that thing will smash shit. I am working on writing some macros for tool change related stuff. heres my attempt


see post below for edit


and some hal file stuff


net jog-tool-up halui.mdi-command-00 <= your_input_pin_for_tool_up
net jog-tool-down halui.mdi-command-01 <= your_input_pin_for_tool_down

setp halui.mdi-command-00.string "O<jog_tool_up_down> CALL"
setp halui.mdi-command-01.string "O<jog_tool_up_down> CALL"


and more info 

[RS274NGC] ... SUBROUTINE_PATH = /path/to/your/subroutines/directory


I think this will require adding the macros to the INI file as well. I haven't made it that far yet. I started working on a macro to move y Z up and down during toolchanges, because the carousel on my SLV40 only goes left/right or along the X , the bmc20 has the carousel move up and down and the bmc30 is like the slv40, so I started with the carousel I had the most of. 

I scratched this down on some notepad and had chat gpt clean it up, TEST CAREFULLY I HAVE NOT TESTED THIS CODE
Last edit: 10 Apr 2023 01:49 by smc.collins.

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

More
10 Apr 2023 01:17 #268734 by spumco
Replied by spumco on topic Schaublin 125-CNC retrofit.
I hate to divert Mark's thread on a tangent... but how do you GOTO in LCNC?  I thought that was verboten because reasons.

Or is this for a non-LCNC machine?
The following user(s) said Thank You: smc.collins

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

More
10 Apr 2023 01:44 #268736 by smc.collins
I didn't realize that, doh, I had been learning the fanuc code for another project. 




O<jog_tool_up_down> SUB

#<_halui_input1> = #<_ini[halui.jog.tool_up]>
#<_halui_input2> = #<_ini[halui.jog.tool_down]>

(Initialize block numbers)
#100 = 0

WHILE [#100 LT 1]

(If halui input1 is triggered, jog tool up)
IF [#<_halui_input1> EQ 1] AND [#<_halui_input2> EQ 0] THEN
G28 (Move to tool change position)
M6 T[ATC_NEXT]
M61 Q[ATC_CURRENT]
G43 (Load and store the tool offsets)
#100 = 1
ENDIF

(If halui input2 is triggered, jog tool down)
IF [#<_halui_input1> EQ 0] AND [#<_halui_input2> EQ 1] THEN
G28 (Move to tool change position)
M6 T[ATC_PREV]
M61 Q[ATC_CURRENT]
G43 (Load and store the tool offsets)
#100 = 1
ENDIF

ENDWHILE

(Ensure a tool is set in the turret)
IF [ATC_CURRENT GT 0] THEN
M6 T[ATC_CURRENT] (Set the current tool in the turret)
ENDIF

O<jog_tool_up_down> ENDSUB

 
The following user(s) said Thank You: spumco

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

More
02 Jul 2023 12:20 #274634 by Emco2342

You could simply replace the synchro resolvers with a conventional encoder and drive the motors with a DC servo drive. I have the cncdrive DG4S servo drivers in my 1983 Shizuoka mill . They work fine with the SEM brushed motors and Heidenhain clone encoders originally fitted. The original tachos are no longer required with modern digital drivers, but I left those where they were due to the way they are fitted within the motors.

The original controller in the Shizuoka drove analogue servo amplifiers and DC brushed motors but the Micon control software dealt in digital units of course. So the initial output from the controller was step/dir, with a "positioner" module to compare that with the encoder feedback and generate an analogue (+/-10V) signal for the amps. So step/dir interfaces in analogue servo systems are not unheard of.

Hi Muzzer,

Are you still running the Linux CNC - MESA - DG4S setup on your lathe?

Thanks,

Frans
 

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

More
02 Jul 2023 19:08 #274657 by RotarySMP
Hi Frans, what do you mean by DG4S?
Mark

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

More
03 Jul 2023 03:08 #274672 by spumco
Replied by spumco on topic Schaublin 125-CNC retrofit.
Mark -

I think he's referring to these
www.shop.cncdrive.com/index.php?productID=366

That Muzzer mentioned in this thread back in 2021.  Nothing to do with you or the Schaublin I suspect.

 
The following user(s) said Thank You: RotarySMP

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

More
03 Jul 2023 05:40 - 03 Jul 2023 05:41 #274677 by RotarySMP
Thanks. I used AC servos.
Last edit: 03 Jul 2023 05:41 by RotarySMP.

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

Moderators: piasdom
Time to create page: 0.403 seconds
Powered by Kunena Forum