I've got a short question about homing procedure in MotionInterface - when command "ModeHoming" will be available in MotionInterface? I read this POST about homing procedure but it is about PLCOpen and I want to use MotionInterface so the answer didn't satisfy me.
This mode is available on XM PLCs with command:
and is working great and I want to use it also on CtrlX.
Solved! Go to Solution.
As long as ModeHoming is not available, you can help yourself with a user defined operating mode.
This is described here in the online help:
ctrlX PLC Engineering, PLC Libraries, Reference Book --> CXA_MotionInterface --> AxisInterface --> AxisInterface - User extension --> Using the user-defined operation mode
Just use the MC_Home (when it is avalaible) in the method mUserModes.
Your command will then be:
arAxisCtrl_gb[AxisZ.AxisNo].Admin._OpMode.en := ModeXx_User_0;