I do agree with Eric.
We need to read the position which has been latched by the drive in order to be acurate
MC-touch prode doesn't work because My goal is to get rid of the PlcTask.
I tried to read the latched position S130 of the drive In the AT but then there is a problem because S130 if not in the same unit of the Feedback position of Codesys soft which is calculated in the PLC.
The problems do arise, because there is no official driver for the CtrlX Drive SoE yet, and you did probably use the standard SoE drive driver for the drive.
The development of the SoE driver for the IndraDrive is still in progress (stand 09.2023) and there are still a few problems here (including with the TouchProbe), which are not yet finally addressed.
Information received on this topic (for a current solution/workaround, that the MC_TouchProbe should also work here) is:
- remove S-0-0405 and S-0409 from the MDT and include these parameters in the real-time control bits S-0-0301 and S-0-0305.
So as soon as the driver development for CtrlX Drive SoE is finished, and available, the problem will be solved.