Chevalier FCL-2480 Hickory Leadshine EL7 Build

All things ecat Hickory CNC controller

Moderator: cnckeith

centroid467
Posts: 780
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Chevalier FCL-2480 Hickory Leadshine EL7 Build

Post by centroid467 »

Ok, I did some poking around and it will be necessary to write or modify some macros. Specifically, M41, M42, and M43.

You can set the inputs using the Wizard but looking at a Hickory (Mill) PLC shows that they are more for informing the control of a manual range selection. I would set it up differently to avoid any conflicts in the PLC program. I'll try give you an example of a macro that could work soon. Also, it seems that you will need to make very small changes to the PLC, namely assigning the range switching outputs to reflect certain SV_M94_M95_x variables.



The gear ratios are used for internal speed calculations and should be populated. Thankfully, they are pretty easy to figure out. You divide the max speed in the lower range by the max speed in high range. So, with the numbers you gave, you would set it up for medium range ratio = 0.3369565 and low range ratio = 0.1081522.

The Wizard may also ask for the minimum speed in high range. That is the lowest speed you can command in high range that will produce usable torque. I'm not sure where that is used - I'll have to look into that.



As far as the inputs and outputs go, I would leave them unassigned in the PLC. So, do not assign the spindle range inputs in the Wizard. I believe the Wizard will generate M41, M42, and M43 macro templates.


Lloyddunn
Posts: 7
Joined: Sat Dec 28, 2024 11:58 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Chevalier FCL-2480 Hickory Leadshine EL7 Build

Post by Lloyddunn »

Thanks for the info. I found these macros that I’m going to attach below on another tread but they are only two speed. Let me know what you think and if you have any advice for adding the third speed. Thanks a lot for the help.
Attachments
mfunc4 3.zip
M4
(1.38 KiB) Downloaded 4 times
mfunc41 3.zip
M41
(739 Bytes) Downloaded 6 times
mfunc3 2 3.zip
M3
(1.38 KiB) Downloaded 5 times
mfunc43 2.zip
M43
(739 Bytes) Downloaded 4 times


centroid467
Posts: 780
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Chevalier FCL-2480 Hickory Leadshine EL7 Build

Post by centroid467 »

Those look pretty good to me!

I'd approach it by adding the mfunc42.mac following the pattern in the M41 and M43 samples.

Modify the M3 and M4 macros with:
* The correct inputs and outputs for your wiring
* The correct thresholds to switch between ranges
* Logic to switch between your three ranges - should be pretty easy to check using an ELSE clause or multiple IF/THEN statements
* N3000 block following the pattern of the N1000 and N2000 blocks to control shifting into the medium range


Post Reply