mcCYCLIC_ALL_EVENTS (cyclic start of a movement for all events)

<< 点击显示目录 >>

主页  轴控开发使用手册 > ACP10/ARNC0帮助信息 > ACP10_MC运动库 > 分类的功能块 > 基础运动 > MC_BR_EventMoveVelocity  > Function block modes  >

mcCYCLIC_ALL_EVENTS (cyclic start of a movement for all events)

Speed control is started each time the configured event occurs.

Example without using "VelocityParID" ("Execute" only set for one cycle):

mccyclic_all_events_mc_br_eventmovevelocity

New movement parameters are specified on each rising edge of the "Execute" input. The "WaitingForEvent" output is set to TRUE as soon as everything is configured and the drive accepts an event.

The first three and the fifth event on the drive each start speed control with the specified speed.

The event marked in green has no effect since the target speed was not changed previously. The event marked in red is rejected because the function block was aborted by calling an MC_Stop function block.

Example without using "VelocityParID" ("Execute" stays set):

mccyclic_all_events_mc_br_eventmovevelocity2

The only difference from the previous example is that the "Execute" input remains set for longer than one task cycle here. This affects the "InPosition" and "CommandAborted" outputs.

Example using "VelocityParID" ("Execute" only set for one cycle):

mccyclic_all_events_mc_br_eventmovevelocity3

New movement parameters are specified on each rising edge of the "Execute" input. The "WaitingForEvent" output is set to TRUE as soon as everything is configured and the drive accepts an event. If the value of the "VelocityParID" is already the same as the current speed, then the "InVelocity" output is set.

The first three and the fifth event on the drive each start speed control with the specified speed.

The event marked in green has no effect since the target speed was not changed previously. The event marked in red is rejected because the function block was aborted by calling an MC_Stop function block.

Example using "VelocityParID" ("Execute" remains set):

mccyclic_all_events_mc_br_eventmovevelocity4

The only difference from the previous example is that the "Execute" input remains set for longer than one task cycle here. This affects the "InPosition" and "CommandAborted" outputs.