motion 1.14 , Add gantry is normally available after power(MC_Power,MB_AddAxisToGantry)
But the same program motion1.16 will report an error, has anyone encountered.
Is there any error code from the function block MB_AddAxisToGantry or can you activate traces for motion and PLC?
What about the diagnostics is there an error message?
motion1.14 ，It can work normally
if MC_Power_0.Status AND MC_Power_1.Status THEN
bAddGantry=true, an error will be reported，
Did you only change the version of the motion app or only plc?
From version 1.14 to 1.16 there was a new state introduced for gantry slave if connected --> GANTRY_SLAVE (in 1.14 it was SYNCHRONIZED_MOTION).
In this case it is necessary to change both, the version of your library in plc and version of the motion app.
I have two cores, one with 1.14 system (APP) , one with 1.16 system (APP) , and two versions of works. All PLC library versions and APP versions are the same, i think there may be a BUG in the 1.16 PLC Library instruction.