36 Rockwell Automation Publication 2080-UM004D-EN-E - March 2018
Chapter 4 High Speed Counter – 2080-MOT-HSC
User Defined Function
Blocks
UDFBs only apply if UDFB mode is selected in Connected Components
Workbench software. It is recommended to use Feedback Axis (Release 8.0 or
later) or native HSCE instructions (Release 11.0 or later) to configure the
2080-MOT-HSC plug-in module.
RA_HSCPlugIn
The purpose of this UDFB is to get high speed counter accumulator value and
current pulse frequency.
100 20.01% 2.110% 0.220% 0.031% 0.012%
1000 3.010% 0.310% 0.040% 0.013% 0.010%
10,000 1.210% 0.130% 0.022% 0.011% 0.010%
For low frequency pulses, filter times should be set appropriately to
avoid extra pulses from a noisy environment. For high frequency pulses,
shielded cable must always be used.
Maximum Cyclic Rate Errors
Update Time
Value Scalar
Frequency
100 Hz 1 kHz 10 kHz 100 kHz 1 MHz
RA_HSCPlugIn: Input and Output Parameters
Parameter Type Data Type Description
FBEN INPUT BOOL Function block Enable input
SlotID INPUT UINT Plug-in slot number.
Slot ID = 1…5 (starting with the far left slot 1.)
NoiseFilter INPUT USINT 00: No filter
01: 250 kHz
02: 200 kHz
03: 80 kHz
04: 40 kHz
05: 13.3 kHz
06: 10 kHz
07: 4 kHz
08: 2 kHz
09: 1 kHz
10: 500 Hz
11: 250 Hz
12: 125 Hz
13: 63.5 Hz
14: 31.25 Hz
HSCMode INPUT USINT 0, 2 , 4, 6, 8, 10, 12
RA_HSCPlugIn
FBEN
SlotID
NoiseFilter
Mode
FBENO
IDCheck
Start
Stop
Initialized
Accumulator
Rate