Lg Electronics 120S Manuale Utente

Pagina di 306
Chapter 7    Usage of Various Functions
 
7-1 
 
 
 
Chapter 7. Usage of Various Functions 
 
7.1 Built-in Functions 
 
7.1.1 High-speed counter function 
This chapter describes the specification, handling, and programming of built-in high speed counter of MASTER-K120S. The 
built-in high speed counter of MASTER-K120S(hereafter called HSC) has the following features; 
 
Function 
Description 
Counter format 
• Linear counter : Up/Down counter. 
Counting range is from -2,147,483,648 to 2,147,483,647 
• Ring counter : Counter value rotates from 0 to (set value-1) 
Counter mode 
4 counter functions as followings 
• 1-phase operation mode   
• 1-phase pulse + direction mode : Up / down is selected by direction pulse 
• 2-phase CW/CCW mode : Up / down is selected by CW or CCW pulse input 
• 2-phase multiplication mode : Up / down is automatically selected by the phase   
difference between A-phase and B.(multiplied by 4) 
Preset function 
Change current value to preset value. 
Latch counter 
Latches current value. 
Comparison output  When current value is equal to comparison value, turns on the output contact points or 
executes interrupt program 
Additional 
function 
RPM function 
Calculate the RPM(Rotates Per Minute) of input pulse 
 
1) Performance Specifications 
 
Items 
Specifications 
Standard Type 
Economic Type 
Points 
1 phase : 4 points, 2 Phase : 2 points 
1 phase : 2 points, 2 Phase : 1 points 
Max. counting speed 
1-phase 100kHz/ 2-phase 50kHz ( Ch0, Ch1)
1-phase 20kHz/ 2-phase 10kHz ( Ch2, Ch3) 
1-phase 10kHz/ 2-phase 5kHz   
( Ch0, Ch1) 
Input types 
A-Phase, B-Phase, Preset input 
Counting ranges 
from -2,147,483,648 to 2,147,483,647(Binary 32 bits) 
1-phase Up 
counter 
1-phase Pulse +   
direction input 
A-Phase : Input pulse,    B-Phase : Direction pulse 
2-phase  
CW/CCW mode 
A-Phase : Up counting pulse,    B-Phase : Down counting pulse 
Up / Down 
selection 
2-phase  
multiplication mode 
Auto-select by phase difference of A-phase and B 
Additional function 
Ring counter, Latch counter, Preset, Comparison output, RPM function 
 
2) Input specification 
Items 
Specifications 
Items 
Specifications 
Rated input   
24VDC (7mA) 
Rated input 
24VDC (7mA) 
On voltage 
20.4 ~ 28.8VDC   
On voltage 
20.4 ~ 28.8VDC   
Off voltage 
6VDC or lower 
On delay time 
200  ㎲ or lower 
A / B phase 
Off voltage 
6VDC or lower 
Preset input 
Off delay time 
200  ㎲ or lower