15. Handy Instruction Design Examples M1002 Set the time interval for adding material C C0 Reset C0 when one production cycle is completed M1013 X0 When the present value in C0 reaches time intervals for adding materials, the corresponding output devices M100~M108 will be ON. M100 Y0 Add material A M101 M102 M103 Y1 Add material B M104 M105 M106 Y2 Add material C M107 M108 Program Description: z “Absolute Drum Sequencer” is a concept performing repetitive process consists of multiple steps which could be executed in the same interval.
In this program, when present value in counter C0 reaches the set value in D 500~D517, the corresponding output devices M100~M108 will be ON to execute specified actions within single interval. z Before the execution of ABSD instruction, use MOV instruction to write all the set values into DVP-PLC Application Examples 15-10 MOV K20 D512 MOV K25 D513 MOV K30 D514 MOV K35 D515 MOV K40 D516 MOV K45 D517 RST C0 CNT C0 K60 ABSD D500 C0 M100 K9