Rockwell Automation Publication 2080-UM004C-EN-E - March 2015
95
Quickstart
Appendix
B
Configuration for UDFB 1: RA_HSCPlugIn
1.
Launch Connected Components Workbench. Open the sample project
you have downloaded from the Sample Code Library.
2.
Import the RA_HSCPlugIn UDFB you have downloaded into this
project. Note that the sample project will have the following input and
output parameters.
NOTE: The purpose of this UDFB is to get
high speed counter accumulator value and
current pulse frequency.
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.
Содержание 2080-DNET20
Страница 8: ...viii Rockwell Automation Publication 2080 UM004C EN E March 2015 Table of Contents Notes ...
Страница 14: ...6 Rockwell Automation Publication 2080 UM004C EN E March 2015 Chapter 1 Micro800 Plug in Modules Notes ...
Страница 26: ...18 Rockwell Automation Publication 2080 UM004C EN E March 2015 Chapter 2 Install and Wire Your Module Notes ...
Страница 86: ...78 Rockwell Automation Publication 2080 UM004C EN E March 2015 Appendix A Specifications Notes ...
Страница 112: ...104 Rockwell Automation Publication 2080 UM004C EN E March 2015 Appendix B Quickstart Notes ...
Страница 117: ...Rockwell Automation Publication 2080 UM004C EN E March 2015 109 ...