Ra_encoderfdbk – Rockwell Automation 2080 Micro800 Digital and Analog Plug-in Modules User Manual
Page 44

36
Rockwell Automation Publication 2080-UM004B-EN-E - December 2013
Appendix 4 High Speed Counter – 2080-MOT-HSC
RA_EncoderFDBK
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
Start
INPUT
BOOL
Start counter.
Stop
INPUT
BOOL
Stop the counter and clear “MaxDPos” and
“MaxDSpd” value.
FBENO
OUTPUT
BOOL
Function block Enable output.
IDCHeck
OUTPUT
BOOL
TRUE: HSC plug-in is at selected slot.
FALSE: Wrong plug-in or no plug-in at selected slot.
Initialized
OUTPUT
BOOL
TRUE: HSC plug-in initialization finished and ready
to execute.
FALSE: HSCplug-in initialization not yet finished.
Accumulator
OUTPUT
LINT
Accumulator value.
Rate
OUTPUT
Real
Current pulse rate. The rate calculation is based on
how many pulses have been counted every 10 ms.
RA_EncoderFDBK: 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)
HomePos
INPUT
REAL
Home position.
Same value indicated in MC_Home instruction.
RA_EncoderFDBK
FBEN
SlotID
HomePos
NoiseFilter
FBENO
IDCheck
EncMode
TrvPerRev
Initialized
CurrentPOS
CurrentSpd
Start
Stop
Accumulator
TpPosition
Direction