Delta ASD-A2 Series User Manual page 250

Table of Contents

Advertisement

Chapter 7 Motion Control
Data Storage Position
Compare Number
Compare Format
Compare Condition
Auxiliary Selection
Note
The value of COMPARE is saved in data array and the first compare data locates in P5-56. The
CMP number has no limit, thus it can be set via P5-58. The last CMP data is saved in P5-56 +
P5-58 - 1. Set the value of P5-59 X, Bit0 to 1 so as to activate CMP function and start to compare
the first data of data array. Every time when a position saved in data array is compared, the
compare DO will be outputted. Then, the value of P5-58 will decrease one automatically and
compare the next value until the CMP number reaches the setting value (P5-58 = 0). When the
CMP procedure is completed, the setting value of P5-59 X, Bit0 will be cleared to 0.
When comparing to the last point, it can select if it returns to the first data for comparing. This is
called cycle mode. Or it can activate CAPTURE function and wait DI7 for triggering CAP/CMP
procedure.
The diagram of COMPARE:
Revision February, 2017
Data array. The start address is set by P5-56.
It is set via P5-58 and will not exceed the limit of data array.
32-bit (It has positive and negative.)
It will be triggered when the source of compare axis pass
through the compare value.
Cycle mode: When comparing to the last point, it automatically
returns to the first point and starts to compare.
When the last compare is completed, the CAPTURE function is
activated automatically.
If P5-58 is set to 0, set the value of P5-59 X, Bit0 to1 will be
unable to compare. Set the value of P5-59 X, Bit0 to 0.
Since the capture axis is 32-bit wide, the accumulation will
cause overflow. Please avoid this.
ASDA-A2
7-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents