
11
CJ-series 4-Channel Counter Unit Operation Manual for NJ-series CPU Unit (W512)
2-3-2 Connector Wiring Methods ........................................................................................................ 2-8
2-3-3 Important Wiring Considerations ............................................................................................... 2-9
2-3-4 Internal Circuitry ....................................................................................................................... 2-10
2-3-5 Counter Input Configuration ..................................................................................................... 2-10
Section 3 Operation and Configuration
3-1 Overview .................................................................................................................................. 3-2
3-1-1 Summary ................................................................................................................................... 3-2
3-1-2 List of Functions/Allocation Areas by Purpose .......................................................................... 3-2
3-2 Counter Types ......................................................................................................................... 3-4
3-2-1 Circular Counter ......................................................................................................................... 3-4
3-2-2 Linear Counter ........................................................................................................................... 3-5
3-3 Input Signal Types .................................................................................................................. 3-8
3-3-1 Phase Differential ...................................................................................................................... 3-8
3-3-2 Up & Down Pulse ....................................................................................................................... 3-9
3-3-3 Pulse & Direction ....................................................................................................................... 3-9
3-4 Controlling a Counter ........................................................................................................... 3-11
3-5 Output Control ...................................................................................................................... 3-13
3-5-1 Range Mode ............................................................................................................................ 3-14
3-5-2 Comparison Mode ................................................................................................................... 3-20
3-6 Reset Signals ........................................................................................................................ 3-27
3-7 Extra Functions .................................................................................................................... 3-29
3-7-1 Hysteresis ................................................................................................................................ 3-29
3-7-2 Initial Counter Value ................................................................................................................. 3-30
Section 4 Exchanging Data with CPU
4-1 Overview .................................................................................................................................. 4-2
4-1-1 Data Flow ................................................................................................................................... 4-2
4-1-2 Unit Restart ................................................................................................................................ 4-4
4-1-3 Access from User Program ........................................................................................................ 4-5
4-2 Memory Allocation ................................................................................................................. 4-7
4-2-1 Memory Mapping ....................................................................................................................... 4-7
4-2-2 Allocating Ranges and Comparison Data .................................................................................. 4-8
4-2-3 Details of Device Variables for CJ-series Unit (for input/output) .............................................. 4-12
4-2-4 Details of Device Variables for CJ-series Unit (for setting) ...................................................... 4-16
4-2-5 Memory Allocation for Ranges ................................................................................................. 4-19
4-2-6 Memory Allocation for Comparison Data ................................................................................. 4-20
Section 5 Error Processing, Maintenance and Inspection
5-1 Error Indicators ....................................................................................................................... 5-2
5-1-1 Errors during initial processing .................................................................................................. 5-2
5-1-2 Errors during normal operation .................................................................................................. 5-2
5-2 Error Codes ............................................................................................................................. 5-3
5-2-1 DM-configuration errors ............................................................................................................. 5-4
5-2-2 Overflow/Underflow errors ......................................................................................................... 5-5
5-2-3 System Errors ............................................................................................................................ 5-5
5-2-4 Preset Error ............................................................................................................................... 5-5
5-3 Event Log ................................................................................................................................ 5-7
5-3-1 Overview of the Event Logs ....................................................................................................... 5-7
5-3-2 Error Table ................................................................................................................................. 5-7
5-3-3 Error Descriptions ...................................................................................................................... 5-8