Thanks for the help, but unless I misunderstand, I do not think the dwell will do what I want. Here is a scenario:
At the end of the coordinated motion program, the dither axis has Motor[x].CompPos = 1,000,000 cts. In real world, this corresponds to an offset of let's say 30 degrees for the rotary axis being dithered. This means that the Motor[x].Pos and Motor[x].ActPos are different by 30 degrees. I would like to get these two values the same, but I am constrained to avoid physically moving the axis in the process.
In the above scenario, if I only set Motor[x].CompPos = 0 at the end of the motion program then ActPos = Pos as desired, but this will be accomplished by physically moving the motor as was done for the dithering. To avoid any actual motion, I tried to tell the axis to jog by 1,000,000 counts while at the same time changing the CompPos from 1,000,000 to zero. In essence I was trying to tell the motor to move by 1,000,000 counts while at the same time telling it that the offset was wrong by 1,000,000 counts, or in other words, I told the motor that it reached the destination immediately. This seemed to have the desired effect of avoiding any physical motion while making Motor[x].Pos = Motor[x].ActPos. Unfortunately the combination of commands also led to the axis being disabled, which I am guessing is due to a following error.
Do you know any other way I can make Motor[x].Pos = Motor[X].ActPos while avoiding any hardware motion?