FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
10-10-2024 03:09 PM
Hi,
It seems that with indradrive it was possible to change gear ratio "on the fly" by changing parameter set. However, with ctrlX this doesn't seem possible anymore.
I have an application that requires gear switching. Any suggestions on how to approach this with ctrlX drive?
Solved! Go to Solution.
10-10-2024 07:11 PM
So the gear ratios can only be changed when the drive is in parameter mode (PM). I would recommend creating a POU in the PLC that checks the machine is in a safe state, then commands the drive to PM mode (or SAFE OP, works to if EtherCAT is your bus), then write the gear ratio parameters using the library CXA_EtherCATMaster. Then use the 'done' bit from the IL_ECATSoeWrite function block to check when to set the drive back to OP mode.
10-11-2024 08:26 AM
Alternatively to doing this in the control one may create a so called technology function (TechFunc) which is in fact a drive integrated PLC program with the means of the options "TE0" or "TE1".
Inside this function one would
- switch drive to drive halt state using control word S-0-0134, then switch off drive enable by sui9gn as well this control word parameter S-0-0134
- if needed, with an absolute encoder and an absolute position present, store the actual position to a TechFunc parameter for gear ratio 1 (similarly a parameter is needed as well for gear ratio 2)
- switch to configuration mode (CM) using command parameter S-0-0420
- change the required gear ratio parameters (S-0-0121, S-0-0122) and eventually some other related parameters like max. velocity (S-0-0091), standstill window (S-0-0124), etc.
- switch back to operation mode (OM) using command parameter S-0-0422
- usually, with an absolute encoder present, system will tell that the absolute position has been lost (e.g. error code F2174)
- if needed and only this error code F2174 is present, initially reset this error by using parameter S-0-0099 and then set the absolute position again by first setting the required absolute target position (coming from the in before stored TechFunc parameter for gear ratio 2) to parameter S-0-0052 and then using command parameter S-0-0447 to set this as the actual position (if switching to gear ratio 1 the other TechFunc parameter is used)
- now normal procedure of commanding the axis after setting enable again can be applied
10-11-2024 09:24 AM
Thank you for the replies!
According to MPx-21 FW manual, changing gear ratio in AF was possible: "Parameter set switching of application, control loop and load gear parameters can take place in operation, i.e. with drive enable ("AF")." Is such funcitionality planned for ctrlX? I would have to edit gear ratio parameters without switching to PM or CM
10-14-2024 08:59 AM
No, such functionality is not planned. As one has to normally mechanically switch the gear stage by decoupling and coupling on the relevant gears this normally isn´t done with drive enable applied. Thus the decision was done to do this by means of the explained TechFunc above.
If you want to discuss your particular application please address to your responsible(s) in the regional sales or applications team of Bosch Rexroth!