Delta Electronics — 7.1.6 PR procedure execution flow

ASDA-B3 Motion Control  PR queue The triggered PR path is the lead PR. The PR group it leads goes into the PR queue to wait for prioritization. In each ms, the servo drive sends the lead PR and the PR group it leads to the PR executor 7 with a first-in first-out method no matter whether a PR path is being executed. Therefore, as long as a PR path is triggered, the PR queue collects it and sends it to the executor.  PR Executor Once the PR executor receives the lead PR and its PR group, the PR group that is being executed will be replaced immediately.

If the received PR group includes motion commands, such as Speed commands and Position commands, then the PR executor sends them to the motion command generator. PR paths with Write or Jump commands are complete at the moment when the PR executor reads the command, and thus they do not enter the generator. The PR executor can consecutively complete at least 20 PR paths with interrupt commands (INS) (without delay times) within 1 ms. If there is a PR path that has not been completed within 1 ms, and a new PR group is sent to the executor by the queue, the new PR group then replaces the previous PR group.

In other words, instead of executing the PR group that hasn’t been completed, the executor starts executing the new PR group. If there is a PR path that has not been completed within 1 ms but no new PR group is sent to the executor, the executor continues to execute the unfinished PR path.  Motion command generator Motion commands include the Speed and Position commands. The PR executor sends this type of commands to the motion command generator. This generator has a buffer for temporarily storing the next motion command and all motion commands are integrated here. Motion commands can be executed as soon as they enter the generator.

If another motion command (with interrupt setting) also enters the generator, it is integrated with the current command in the generator and the integration is based on the motion command settings. The settings include whether multiple motion commands are sequence commands and whether they are set with the Overlap or Interrupt function. All integration varies with each PR path setting. Sequence command The configurable commands for PR paths are the motion commands, which are the Position and Speed commands. A Sequence command is a motion command without an Overlap or Interrupt function. The following command starts to be executed only after the delay set in the previous command.

Regarding Position commands, the delay time starts to count after the target position is reached. For Speed commands, the delay time counting starts after the target speed is reached. 7-47