Chapter 4 Application Techniques ASDA Series Application Note
4-6 March, 2015
1. Write the value required by compare function in data array. Here can setup the output
timing and output duration of DO. See below for the main PR functions:
a Use P5-11 to specify the start address when writing value to data array.
b Use P5-12 to continuously write the value into data array.
c PR#2 setup the timing of DO1 on.
d PR#3 setup the timing of DO2 on.
e PR#4 setup the timing of DO1 off.
f PR#5 setup the timing of DO2 off.
Figure 4.1.4 PR Illustration for Setting up Data Array
2. See below for the main PR functions when enabling compare function:
a PR#09: Activate the motor. In this example, the source axis of compare function is set
to the output pulse from the encoder.
b PR#12: Specify the compare start address in data array. This value is the timing of
DO1 on.
c PR#13: Enable compare function.
Figure 4.1.5 PR Illustration of Compare Function