Classicladder variable assignment error

More
10 years 1 month ago #80655 by Henk
HI Hans

Unfortunately I do not have an electronic build blog but I have made notes and wiring diagrams by hand as far as I went. Retrofitting a Deckel FP series mill is really not that difficult as they say. It was my first experience with Linuxcnc and I managed to do it in about 3 months devoting only some evenings and some weekends to the job.

The machine is now fully operational and reliable. I had to replace the linear encoders with normal TTL encoders used with off the shelf DRO's and although the resolution is not as good as the original Heidenhein encoders the machine is still pretty accurate. In my opinion, if you want to machine to tolerances better than 5micron you need much more than a 1980's Deckel! There are ways to convert the sin/cos signals to 5V TTL but the above solution is much easier and cheaper.

I re-wired the machine from the ground-up. This is partly because I didn't have the original wiring diagrams but if I have to do it again, I would do the same.

The most frustrating part of the project was learning how HAL and its connections work, Ladder programming etc, but all that is documented and I advise reading the integrator's manual carefully.

Regards
Henk

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

More
10 years 1 month ago #80692 by sinusvag
Hello Henk!

Nice to hear! How did you handle the gear-changing? Did you write some sort of algorithm to yourself after watching the machine in action in order to do the ladder programming? Some claim this is the quirkiest part of the conversion.

Also, the scales: you chose not to use the Haidenhain-scales - was that because of the price for the EXE-boxes or because the scales were broken?

Cheers Hans

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

More
10 years 1 month ago #80711 by Henk
Replied by Henk on topic Deckel FP4NC Retrofit
Hi Hans
My machine has two gear selections operated by a small Hydraulic Cylinder. I used Classicladder to do the switching from low to high ore back again. This sequence is initiated by either an M101 command or by the S-word in MDI. If the spindle speed requested is lower than 700RPM and the high gear is selected (indicated by a limit switch), the spindle will creep at a slow speed and the gear change rung is initiated. When the gearchange is confirmed by the other limit switch, the spindle speed command is set back to the requested speed and the spindle started.

The scaling of the spindle speed command is also done through ladder which is what the posts below was about.....I never tried the Gearchange component but it is definitely the more elegant way to do the scaling.

Yes, I replaced the scales because the EXE boxes are expensive. For a home/hobby machine shop it didn't make sense. IChaus in Germany sells an IC that can be used to make your own converter. I can send you the detail of this if youre interested.

I will post my ladder diagrams later so you can see what I did.

Henk
The following user(s) said Thank You: sinusvag

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

More
10 years 1 month ago #80724 by sinusvag
Replied by sinusvag on topic Deckel FP4NC Retrofit
Thanks Henk!

Really appreciate you sharing! I know that there are many people that are interested in your solution!

(Would humbly recommend you make a separae thread!)

Cheers from Sweden :)

Hans

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

Time to create page: 0.259 seconds
Powered by Kunena Forum