Toshiba PROSEC T1-16S User Manual page 134

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

7. Instructions
CNT
Counter
Expression
Count input
CNT
C
Enable input
A B
E
Function
While the enable input is ON, this instruction counts the number of the count input changes from
OFF to ON. The count value is stored in the counter register B. When the count value reaches the
set value A, the output and the counter device corresponding to B are turned ON. When the enable
input comes OFF, B is cleared to 0 and the output and the counter device are turned OFF.
The available data range for operand A is 0 to 65535.
Execution condition
Enable
input
OFF
No operation (B is cleared to 0)
ON
Count value (B)
Count value (B)
Operand
Name
X
A Set value
B Count value
Example
X001
X002
2
C010
1
C.010
Y021
132
T1-16S User's Manual
Output
Q
Operation
set value (A)
set value (A)
Device
Y
R
S
T.
C. XW YW RW SW T
5
4
3
3
2
1
Output
OFF
OFF
ON
Register
C
D
I
Note
No transitional contact is required for the
count input. The count input rising edge is
detected by this instruction.
For the count input, direct linking to a
connecting point is not allowed. In this
case, insert a dummy contact (always ON
= S04F, etc.) just before the input.
Refer to Note of Shift register FUN 074.
Multiple counter instructions (CNT) with
6F3B0253
Constant Index
J
K
0 - 65535

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents