
Chapter 16 PLC Function
CT2000 Series
16-146
16-11 Count function using MI8
16-11-1 High-speed count function
The CT2000's MI8 supports one-way pulse counting, and the maximum speed is 100K. The starting
method is very simple, and only requires setting M1038 to begin counting. The 32 bit count value is
stored on D1054 and D1055 in non-numerical form. M1039 can reset the count value to 0.
Current count value
of MI8(H word)
※
When the PLC program defines MI8 for use as a high-speed counter, and also for use in PLC
procedures, it must be written to M1038 or M1039, and the original MI8 functions will be disabled.
16-11-2 Frequency
calculation
function
Apart from high-speed counting, the CT2000's MI8 can also convert a received pulse to frequency.
The following figure shows that there is no conflict between frequency conversion and count
calculations, which can be performed simultaneously.
PLC speed calculation formula
D1057 Speed
D1058 Interval between calculations
D1059 Decimal places
Assuming that there are 5 input pulses each second, (see figure below) we set D1058=1000ms=1.0
sec. as the calculation interval. This enables five pulses to be sent to the converter each second.
Assuming that each 5 pulses correspond to 1Hz, we set D1057=5.
Assuming that we wish to display numbers to two decimal places, we set D1059=2, which is also
1.00Hz. The numerical value displayed at D1056 is 100. For simplicity, the D1059 conversion formula
can be expressed as in the following table:
Summary of Contents for CT2000 Series
Page 5: ...Chapter 1 Introduction CT2000 Series 1 2 Model Name VFD 750 CT 43 F 00 A6 Serial Number...
Page 22: ...Chapter 1 Introduction CT2000 Series 1 19 Digital Keypad KPC CC01 KPC CE01 Unit mm inch...
Page 23: ...Chapter 1 Introduction CT2000 Series 1 20 This page intentionally left blank...
Page 41: ...Chapter 4 Wiring CT2000 Series 4 6 This page intentionally left blank...
Page 71: ...Chapter 7 Optional Accessories CT2000 Series 7 18 Wall Mounting Embedded Mounting...
Page 87: ...Chapter 8 Optional Cards CT2000 Series 8 8 PG Card intallation...
Page 88: ...Chapter 8 Optional Cards CT2000 Series 8 9 Disconneting the extension card...
Page 92: ...Chapter 8 Optional Cards CT2000 Series 8 13 PG2 Wiring Diagram...
Page 95: ...Chapter 8 Optional Cards CT2000 Series 8 16 PG2 Wiring Diagram...
Page 117: ...Chapter 8 Optional Cards CT2000 Series 8 38 This page intentionally left blank...
Page 259: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 11...
Page 260: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 12...
Page 263: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 15...
Page 266: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 18...
Page 397: ...Chapter 13 Warning Codes CT2000 Series 13 8 This page intentionally left blank...
Page 407: ...Chapter 14 Fault Codes and Descriptions CT2000 Series 14 10 This page intentionally left blank...
Page 489: ...Chapter 16 PLC Function CT2000 Series 16 48 LD X1 Load Contact a of X1 OUT Y1 Drive Y1 coil...
Page 592: ...Chapter 16 PLC Function CT2000 Series 16 151...
Page 594: ...Chapter 16 PLC Function CT2000 Series 16 153...
Page 597: ...Chapter 16 PLC Function CT2000 Series 16 156 This page intentionally left blank...