Hello,
I am currently working on controlling a single-axis motor using the Python API based on the MachineControl app.
So far, I have successfully implemented control through the following paths:
- root/MachineControl/hostInJointAdditivePosition1/ch0
- root/SetpointGenerators/SetpointGenerator01/input
However, I have encountered a limitation with these modes: they only allow providing a pure Target Position and do not support sending a Target Torque Offset command simultaneously. My ultimate goal is to achieve CSP (Cyclic Synchronous Position) control by providing both Target Position and Target Torque Offset at the same time.
I attempted to write values directly to the parameters in AxesControl, but I found that the path axesPositionsInput/ch0 is read-only and does not accept input values.
Could you please provide guidance on the following:
Which specific path(s) should I use in AxesControl to input both the Target Position and Target Torque Offset simultaneously?
What are the prerequisite settings required to activate and use the AxesControl mode? Specifically, are there mandatory configurations for Jog mode, Pause mode, or PVA limits that must be initialized beforehand?
I would appreciate any insights or documentation regarding the correct variable paths and the required state machine transitions for this specific control mode.
Thank you in advance for your help.