Motion Control
ASDA-A3
7-64
7
Interpret PR path flow
The PR paths mentioned above include commands such as Sequence, Interrupt, and Overlap.
The replacement, integration, and overlapping for commands have different behavior depending
on the settings. The suggested steps to interpret the PR path is as follows.
1.
Check the command sequence. Check whether there are delay time (DLY) and interrupt
(INS) commands because these two types change the command execution sequence.
2.
Find the lead PR and identify each PR group of 1 ms.
3.
In each PR group of 1 ms, only the last motion command is executed. The Jump and Write
commands are immediately executed in the PR executor.
4.
Position commands are combined based on the principle described in Section 7.1.3.3.
Statement (Arithmetic operation)
You can regard Statement commands as combinations of Write commands and Jump
commands. Thus, the execution priority is the same as these two types of commands, which are
executed by the PR executor. Statement commands can interrupt the previous command but
cannot be interrupted by the following command. This ensures that all statements are executed
before the PR paths enter the PR queue. In addition, whether there is an interrupt command in
the next PR path determines the statement execution duration in the command cycle. If the
following PR has no interruption setting (see Figure 7.1.6.12):
The arithmetic operation only takes 3.89 µs, but it still takes a complete cycle of 1 ms. The
Jump PR number in the Statement is executed in the next ms. If the Jump PR number specified
in the Statement has the interruption setting (as shown in Figure 7.1.6.13), this Jump command
is executed only when the Statement is completely executed (which is after 3.89 µs). Using
P5.007 to trigger other PR paths is not applicable in the arithmetic operation area in the
Statement.
PR executor
PR#1
Statement
S0
Exe.Time=3.89
μs
true
false
PR#10
Write
DLY=[0] 0 ms
P5.045=200
PR#20
Write
DLY=[0] 0 ms
P5.045=300
(1 ms Cmd cycle)
Execution time: 3.89
μs
(1 ms Cmd cycle)
Figure 7.1.6.12 Multiple commands with arithmetic operations
(followed by a PR path without interrupt command)
Содержание ASDA-A3 Series
Страница 15: ... This page is intentionally left blank ...
Страница 89: ...Wiring ASDA A3 3 38 3 Pin assignment for the CN1 quick connector J2 and J1 ...
Страница 91: ...Wiring ASDA A3 3 40 3 Wiring for CN1 quick connector and installation Installation ...
Страница 296: ...ASDA A3 Motion Control 7 99 7 Figure 7 3 4 6 ASDA Soft Speed fitting setting interface for creating E Cam table ...
Страница 320: ...ASDA A3 Motion Control 7 123 7 Figure 7 3 7 14 ASDA Soft rotary shear intermittent printing machine setting interface ...
Страница 373: ...Motion Control ASDA A3 7 176 7 This page is intentionally left blank ...
Страница 605: ...Parameters ASDA A3 8 232 8 This page is intentionally left blank ...
Страница 623: ...MODBUS Communication ASDA A3 9 18 9 This page is intentionally left blank ...
Страница 645: ...Absolute System ASDA A3 10 22 10 This page is intentionally left blank ...
Страница 661: ...Linear Motor ASDA A3 11 16 11 This page is intentionally left blank ...
Страница 793: ...Troubleshooting ASDA A3 13 48 13 This page is intentionally left blank ...
Страница 819: ...Specifications ASDA A3 A 26 A This page is intentionally left blank ...
Страница 841: ...Accessories ASDA A3 B 22 B This page is intentionally left blank ...