Re: Chevalier FCL-2480 Hickory Leadshine EL7 Build
Posted: Thu Apr 17, 2025 10:37 am
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.
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.