Delta AS Series Programming Manual page 476

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Example
1.
Before the INCD instruction is executed, the MOV instruction writes the setting values in D100–D104. The values
in D100–D104 are 15, 30, 10, 40, and 25 respectively.
2.
The instruction compares the current values in C10 with the setting values in D100–D104. When the current value
matches the setting value, the instruction resets C10 to 0, and counts again.
3.
The instruction stores the current comparison group number in C11.
4.
When the value in C11 changes by one, M10–M14 act correspondingly. Referto the following timing diagram.
5.
When the comparison between the current values in C10 and the values in D100–D104 is complete, SM688 is ON
for a scan cycle.
6.
When X0.0 is switched from ON to OFF, C10 and C11 are reset to 0, and M10–M14 are switched OFF. When X0.0
switches to ON again, the instruction execution starts from the beginning.
Ch ap te r 6 Ap pl ie d Instruc ti ons
6_
6 - 1 9 7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents