Retrofit of a Hitachi-Seike VK45 mill

More
5 years 8 months ago - 5 years 8 months ago #199832 by RotarySMP
Respect! That is a hell of a machine conversion, and your control panel looks really well thought out and executed.
Mark
Last edit: 5 years 8 months ago by RotarySMP.

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

More
5 years 8 months ago #199924 by ZincBoy
Thanks for the comments. It has been a ton of work but quite rewarding to see it come together.

Onto the controls side of things:

One of the major selling features of this mill was the fact that it came with a full set of manuals. Exploded mechanical drawings, full electrical diagrams including pinouts, ladder logic, and the user and maintenance guides. These were critical in getting the machine to work and it would have added at least a month of tracing the wiring to figure most of it out. Some aspects I would not have gotten working without the manuals as I would have no idea what they were supposed to do. I don't think I would tackle another conversion if at least the electrical manual was not available.

As mentioned previously, the machine came with the SeicosII control. As this machine was built in 1986 or 87 the control was based on an 8086 processor and was very limited in program space. It came with paper tape reader as it's primary input method.

After testing as much as I could with the original control running I found the following:
1) X,Y, and Z servo drives were good and working well when tested without the control.
2) X,Y, and Z servo motors and encoders were working well.
3) The X axis could not be controlled as the motion control board output was stuck at -15V.
4) The Yaskawa spindle drive was dead with a "FU" code being displayed and no signs of life
5) Multiple solid-state relays to control the hydraulic solenoids were burnt out and that is why the tool changer didn't work

The servo drives and motors being good was a big relief as they could be re-used. They are +/-10V input velocity mode drives so easy to run with LinuxCNC. The X axis fault being with the controller was also good news.

The spindle drive failure was a big disappointment. It was claimed to be working "just before you got here" when I inspected the mill. After getting a quote on repair or replacement of $5000 and $10000 from Yaskawa I decided I would go with a VFD. This will be a topic for a post by itself as there were quite a few issues getting this to work.

I was hoping to re-use the solid state relay boards that came with the mill. The Seicos system uses a rs485 like serial bus to control IO boards that are part of its PLC system. I was going to reverse engineer the protocol and build a translator but that would have been a significant effort. The fact that the few replacement SSRs I could find were $50 each and I needed around 16 of them put re-use out of the picture.

In the end I ended up mostly gutting the controls and re-doing everything with Mesa cards. On the keep list: servo drives, contactors for hydraulic pump, coolant pump, chip conveyor, and the 200V to 100V control transformer. And the music generator board that drives the alarm speaker because I liked it :) Everything else was removed:


The Mesa boards I ended up using were the 7i98 ethernet FPGA card, 7i77D analog servo card, 2x 7i84 isolated IO cards, 1x 7i73 pendant interface card, and the 7i74 8 channel serial breakout. The 7i77 did not have enough IO on its own so the 7i84s were used to expand. One 7i84 was located in the main control cabinet and the other is located in the tool changer control box. This is pretty much exactly the same as the control scheme for the Seicos system. The 7i84s are great cards as you just need a single cat5 cable and field power wires to get 32 inputs and 16 outputs.

Main control cabinet:

Still needs some tiding up. The cable channels did not have covers when I got the machine and I haven't gotten around to finding the right size to replace them.

Tool changer control box:


I have a spreadsheet that documents all of the connections so I can figure out what I did later. It would be too much work to create a schematic of everything and it is pretty simple with most connections just being from point A to B.
The following user(s) said Thank You: RotarySMP, arvidb, johnmc1, J Green

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

More
5 years 8 months ago - 5 years 2 months ago #200154 by ZincBoy
I thought I would add my configuration files for future reference. They are not 100% done but pretty close. Most everything is implemented with hal components with only M6 being partially remapped g code.Components include:frontpanelbuttons.comp: decode the scanned button matrix output of the 7i73 pendant IO board.gearchange4.comp: auto change between high and low gears depending on the spindle speed requestedorientfilter5.comp: perform spindle orientation using a Hitachi SJ700 driveVK45toolchange2.comp: control the tool changer on the VK45 mill.And a bunch of other helper functions that are less interesting but needed for the system to function.My plan is to get into the details of how each of these work as time permits.

Edit: removed attachment,  updated version is in later message.
Last edit: 5 years 2 months ago by ZincBoy. Reason: Removed outdated config files.
The following user(s) said Thank You: tommylight, J Green

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

More
5 years 7 months ago #201596 by J Green
Very interested in your SSR ? boards. Looks as if you made them yourself. Would be interested in more details about them.
I admire your work , you have put a lot of thought into the conversion an lots of finesse into doing it .
Bob
PS Big thanks for including tthe Zip files

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

More
5 years 7 months ago #201613 by ZincBoy
The SSR board is something I came up with the drive the solenoids and contactor coils in the mill. The factory control had SSR boards but they were half burnt out and the SSRs were $50 each. I could have used lower cost off the shelf SSRs but they are still quite expensive, large, and I would need to create a board anyway. Total cost to build 6 SSR boards was about $100 and they fit the areas I needed them to.

Each board has 8 channels of optically isolated 100-240V switching. The triacs used are rated for 8A but there is virtually no heatsinking so the board is only good for about 1A/channel and 5A/board. Over sizing the triacs was done to hopefully avoid the burn out issue the factory ones suffered from. The factory SSRs were rated at 1A.



As can be seen from the schematic, the circuit is very simple. D1-8 are indicator LEDs that show when a channel is active. U1-8 are optically isolated triacs. The R1,2,3,C1 network helps make sure the power triac Q1 turns off. VR1-8 are MOVs that absorb any transients created by switching the inductive loads. The fuse F1 protects the high voltage outputs from overload. The factory fuses had open indicators that were fed back to the PLC but I will rely on things just not working :)

Some notes:
- This is not a zero cross switching design. It should be possible to make it zero cross by replacing U1-8 with appropriate isolators.
- C1-8 are high voltage capacitors and should be rated to see line voltage. This makes this one of the more expensive parts of the design
- 1206 size resistors should be used or care should be taken to make sure the voltage ratings are not exceeded.
- VR1-8 voltage rating should be selected to match the line voltage used. Since my system uses 100Vac, I used 115Vac rated MOVs.
The following user(s) said Thank You: J Green

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

More
5 years 7 months ago #201622 by J Green
I like your approach for the SSR Bd , it is easy to check an repair- replace if needed . If the open fuse indicator should become needed then might consider a neon bulb for visual indication .
The factory SSRs were rated at 1A Back when that design was done I bet the SSR speck sheet indicated they were way over what was needed . Your choice of 5 Amp devices should mean they have a bigger junction for heat dissipation an larger surge capacity .
Thank You again for sharing
Bob

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

Time to create page: 0.065 seconds
Powered by Kunena Forum