|
学习学习,不错的资料TON_GearOutDelay(IN:= NOT IN_bTrigger_GearIn, PT:= T#0.2S, Q=> , ET=> );
R_TRIG_GearOut(CLK:= TON_GearOutDelay.Q(*IN_bTrigger_GearOut*) AND MC_GearIn_0.Busy, Q=> );
//啮合
MC_GearIn_0(
Master:= MasterAxis,
Slave:= SlaveAxis,
Execute:= IN_bTrigger_GearIn,
RatioNumerator:= IN_iRatioNu,
RatioDenominator:= IN_uiRatioDe,
Acceleration:= IN_rAcc,
Deceleration:= IN_rDec,
Jerk:= ,
InGear=> OUT_GearIn_OK,
Busy=> ,
CommandAborted=> ,
Error=> ,
ErrorID=> );
//脱离 |
|