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 GM7U. The built-in high
speed counter of GM7U (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
Points
1 phase: 4 points, 2 Phase: 2 points
Input types
A-Phase, B-Phase, Preset input
Counting ranges
from -2,147,483,648 to 2,147,483,647(Binary 32 bits)
Max. counting speed
1-phase 100kHz/ 2-phase 50kHz ( Ch0, Ch1)
1-phase 20kHz/ 2-phase 10kHz ( Ch2, Ch3)
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
Summary of Contents for GLOFA G7M-DR20U
Page 28: ...Chapter 4 Names of Parts 4 3 2 G7M DRT60U N 3 G7M DT60U N 4 G7M DT60U P...
Page 29: ...Chapter 4 Names of Parts 4 4 5 G7M DR60U DC 6 G7M DRT60U N DC 7 G7M DT60U N DC...
Page 31: ...Chapter 4 Names of Parts 4 6 3 G7M DT40U N 4 G7M DT40U P 5 G7M DR40U DC...
Page 32: ...Chapter 4 Names of Parts 4 7 6 G7M DRT40U N DC 7 G7M DT40U N DC 8 G7M DT40U P DC...
Page 33: ...Chapter 4 Names of Parts 4 8 4 1 3 30 point main unit 1 G7M DR30U 2 G7M DRT30U N 3 G7M DT30U N...
Page 34: ...Chapter 4 Names of Parts 4 9 4 G7M DT30U P 5 G7M DR30U DC 6 G7M DRT30U N DC...
Page 36: ...Chapter 4 Names of Parts 4 11 2 G7M DRT20U N 3 G7M DT20U N 4 G7M DT20U P...
Page 37: ...Chapter 4 Names of Parts 4 12 5 G7M DR20U DC 6 G7M DRT20U N DC 7 G7M DT20U N DC...
Page 38: ...Chapter 4 Names of Parts 4 13 8 G7M DT20U P DC...
Page 159: ...Chapter 7 Usage of Various Functions 7 52 c Program...
Page 183: ...Chapter 7 Usage of Various Functions 7 76 c Program...
Page 253: ...Chapter 8 Communication Functions 8 27 b When uses Ch 1 Built in RS 485...
Page 356: ...Appendix 1 System Definitions App1 9 6 Position Parameter...
Page 357: ...Appendix 1 System Definitions App1 10 7 High Speed Counter Parameter...