Delta AS Series Programming Manual page 554

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Ch ap te r 6 Ap pl ie d Instruc ti ons
Example 1 (using CNT instruction in a POU)
When SM408 is ON for the first time, the instruction loads the setting value 10 to the counter C0 and the counter begins
counting. After SM408 switches from OFF to ON ten times, the value in C0 is 10 and the contact of C0 is ON. After C0 is
ON, if SM408 continues to switch from OFF to ON, the instruction does not increase the value in C0 after it reaches the
setting value for C0.
Example 2 (using a function block in CNT instruction)
Step 1: Declare the function block as C_Pointer.
This function block
6_
Step 2: Appoint C_Pointer as C0 and C1 in a program of unit (POU).
Additional remarks
When you declare the operand S
in ISPSoft, select the data type COUNTER.
1
6 - 2 7 5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents