Omron CJ1W-CT021 Operation Manual page 180

High-speed counter units
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

CAM-positioning
Range Data
DM-configuration
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
General DM-Settings:
D 20000 (= m)
D 20001 (= m+1)
D 20002 (= m+2)
D 20003 (= m+3)
Counter 1 DM-settings:
D 20030 (= m+30)
D 20031 (= m+31)
D 20032 (= m+32)
D 20057 (= m+57)
D 20058 (= m+58)
D 20063 (= m+63)
D 20064 (= m+64)
D 20065 (= m+65)
D 20066 (= m+66)
D 20067 (= m+67)
160
The encoder is connected to Circular Counter 1. The 15 outputs are controlled by
5 Ranges (Range 0 to 4). An Hysteresis of 20 counts is defined and will be applied
to the Range Limits. The outputs are assigned to the Interrupt Tasks 10 to 39
respectively in the PLC ladder program (i.e. offset is 10). As a result the rising
edge of (Digital) Output O0 is assigned to External Interrupt Task 10, the falling
edge to External Interrupt Task 11 and so on.
Range
0
1
2
3
4
The Machine Number of the High-speed Counter Unit is 0. The High-speed Coun-
ter is allocated 40 CIO-words starting from CIO 2000 (n = CIO 2000 + 0 x 10) and
400 DM-words starting from D 20000 (m = D 20000 + 0 x 100). The Range Data
of Counter 1 is stored in EM starting from EM100. To configure the Unit the follow-
ing DM-settings must be made.
-
-
-
0
-
0
1
0
7
F
F
F
0
0
0
0
-
-
-
0
-
-
-
2
-
-
-
1
0
0
1
F
0
0
0
0
0
0
1
4
-
-
0
5
-
-
-
0
0
1
0
0
-
-
-
0
Lower Range
Limit
500
700
2500
5000
12000
:DM-word
(The hyphen "-" indicates that the contents of the corresponding digit is
irrelevant and the value does not care)
Range Mode (=0)
Offset Interrupt Task Outputs is 10 (=010
Interrupts for Outputs 0 to 14 are enabled (=00007FFF
Circular Counter (=0)
Input Signal Type is Multiplic ation x4 (=2)
Z-signal reset enabled (=1)
Enable Range 0, 1, 2, 3, and 4
Hysteresis is 20 counts (=0014
Total number of Ranges is 5 (=05
Memory Area is EM (=0)
Indirect Address is EM00100 (=00100
Upper Range
Outputs ON
Limit
800
0, 1, 5, 12
1500
5, 6, 8, 13, 14
6000
5, 7, 9
7000
2, 3
18000
7, 9, 10, 11
)
(BCD)
)
H
)
H
)
(BCD)
)
(BCD)
Section 6-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents