iv CNT32-4MT(LPCI)
Step 5 Operation Checks .................................................................................................................. 18
Check Method ............................................................................................................................ 18
Setting counter operation conditions ......................................................................................... 19
Setup Troubleshooting ...................................................................................................................... 24
Symptoms and Actions .............................................................................................................. 24
3. EXTERNAL CONNECTION 25
Using the On- Board Connectors ...................................................................................................... 25
Connecting a Board to a Connector ........................................................................................... 25
Connector Pin Assignment ........................................................................................................ 26
How to Connect the Counter Input Signal ....................................................................................... 28
Example Connection for Counter Input Circuit ........................................................................ 28
Example Connection with a Rotary Encoder ............................................................................ 30
Example Connection with a Linear Scale.................................................................................. 30
Connecting the control signal input/output ...................................................................................... 31
Connection of a control input .................................................................................................... 31
Control input circuit and its sample connection ........................................................................ 31
Connection of a control output .................................................................................................. 34
Control output circuit and its sample connection ...................................................................... 34
4. FUNCTIONS 35
Types and Operations of Pulse Signals ............................................................................................ 35
Types of pulse signals ................................................................................................................ 35
2-phase Input .............................................................................................................................. 35
Single-phase Input ..................................................................................................................... 36
Single-phase Input with Gate Control Attached ........................................................................ 36
Multiplication of Count Input .................................................................................................... 37
Synchronous Clear ..................................................................................................................... 37
Asynchronous Clear ................................................................................................................... 38
Phase-Z/CLR Input .................................................................................................................... 38
Control of a counter .......................................................................................................................... 39
Counter start/Counter stop ......................................................................................................... 39
Preset .......................................................................................................................................... 40
Zero-clear ................................................................................................................................... 41
Register ...................................................................................................................................... 41
Obtaining the count value ................................................................................................................. 42
Obtaining the count value .......................................................................................................... 42
Counter mode ............................................................................................................................. 42
Sampling mode .......................................................................................................................... 43
Totalizing/line receiver counter ................................................................................................. 44
Sampling function ............................................................................................................................. 45
Sampling function ...................................................................................................................... 45
Bus mastering ............................................................................................................................. 45
Interrupt (During bus mastering) ............................................................................................... 45