Problem with switching from AF to AH, Ab

Hello everybody,

I have got problem with ctrlX Drives. I have got:

- XCD2-W2323ARN-02AX3T0NNET-S0308N2NNNP0NN

- XMS2-W0006ANA-01NETT0NNNN-S0308N2NNNN0NN

All drives are with FWA-XD1-AXS-V-0308N-NN.02 firmware. XCD2 has got build-in ctrlX Core with RM22.03 firmware version. Motors are MS2N03. I have got a Cartesian Robot and I am using Motion Interface to control it.

The kinematics are working properly and here everything is good, but the problem is in switching from AF to AH/Ab. After the movement is finished, when I am using command "arKinCtrl_gb[Robot.GroupNo].Admin._OpMode:= ModeCoordAH;" or "arKinCtrl_gb[Robot.GroupNo].Admin._OpMode:= ModeCoordAB;" nothing happens - the drives are still under power in the AF state. The program is showing that the command has been executed and it looks like that:

But it is not true and the drives are still under power in AF state.

My colleague told me, that this problem occured after the update to RM22.03 version. Before everything was OK - he said.

Maybe somebody has got the similar problem or know the solution?

Best reply by CodeWasi

Hello Filip_K,

the RuD colleagues tested your case (RM2203) and returned with the results. (additionally checks on RM2111/RM2207 done).

Regarding AH on drive-side newer gets reached:
KinInterface on top of the AxisInterface connected with the motion and cmding ctrlX-Drive or other. The dialog of Drive-Engineering visualisze all bubbles even their state are not reached under all conditions. Since the motion on ctrl side is realizing the AH PosHold it does not rely on the realiszation on the drive. Drive stays in AF and holds the position commanded by the ctrl-side ( will not change till new kin/axis-ctrl triggers). So that behaviour on drive side is solved. AH is realized ctrl-interally and visible by arAxisStatus_gb[].admin ...  STANDSTILL.

 

Regarding your claim: KinInterface is switched to _CoordAB and Drive stays in AF :
We could not reproduce the behaviour. Could you please support with a trace-measurement covering the Kin- and Axis ctrl/status info of the admin/opmode /opmodeAkn to see if the programm calls correctly. Maybe the axis-Interface is not called and motion/drive are not updated with the desired Mode. 

Please include the trace by configuring and DL and retrigger the casesteps. We really appreciate your cooperation, it is an important point that needs to be clearified.

Thanks in advance.

 

 

 

 

View original
4 replies