beautypg.com

Yaskawa MotionWorks IEC User Manual

Page 22

background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

14

Example 1: Same Function Block instance controls

different motions of an axis

The figure below shows an example where the Function Block FB1 is used
to control “AxisX” with three different values of Velocity. In a Sequential
Function Chart (SFC) the velocity 10, 20, and 0 is assigned to V. To trigger
the Execute input with a rising edge the variable E is stepwise set and
reset.