beautypg.com

Yaskawa MotionWorks IEC User Manual

Page 56

background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

48

is at StandStill, using MC_Direction_CurrentDirection will default to the
positive direction. *)

MC_SwitchMode:(On, Off, EdgeOn, EdgeOff, EdgeSwitchPositive,
EdgeSwitchNegative)

(* Only MC_SwitchMode#EdgeOn is supported *)

Y_AdjustMode: (MasterDistance, ElapsedTime, WithinRange)

• If AdjustMode=Y_AdjustMode#MasterDistance, then the cam
adjustment starts immediately, and completes when the master has
travelled the specified distance. If MasterDistance is 0.0, then the cam
adjustment finishes in the same scan it starts.

• If AdjustMode=Y_AdjustMode#ElapsedTime, then the cam adjustment
starts immediately, and completes within the specified time. If time=0.0,
then the adjustment completes in the same scan it starts.

• If AdjustMode=Y_AdjustMode#WithinRange, then the cam adjustment
starts when the master is crosses the StartPosition, and completes when
the master reaches the EndPosition. If the master position is already
between StartPosition and EndPosition, then the adjustment starts
immediately, but still completes at the EndPosition, which means that the
correction speeds may be higher.

Y_RampIn:(None, Accel, SCurve) - Reserved for future use.

Y_RampOut: Reserved for future use.

Y_EngageMethod:(AtPosition, Immediate, Linked): This enumerated type
is reserved for

Y_CamIn

Y_DisengageMethod:(AtPosition, Immediate, EndOfProfile): This

enumerated type is reserved for

Y_CamOut