Hsc Function File Sub-Elements - Allen-Bradley MicroLogix 1400 Instruction Manual

Programmable controllers
Hide thumbs Also See for MicroLogix 1400:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
HSC Function File
Sub-Elements
All examples illustrate HSC0.
Program File Number (PFN)
Description
Address
Data Format HSC Modes
PFN - Program
HSC:0.PFN word (INT)
File Number
(1) For Mode descriptions, see HSC Mode (MOD) on page 116.
The PFN (Program File Number) variable defines which subroutine is
called (executed) when HSC0 counts to High Preset or Low Preset, or
through Overflow or Underflow. The integer value of this variable defines
which program file will run at that time. A valid subroutine file is any
program file (3...255).
Error Code (ER)
Description
Address Data Format
ER - Error Code HSC:0.ER word (INT)
(1) For Mode descriptions, see HSC Mode (MOD) on page 116.
The ERs (Error Codes) detected by the HSC sub-system are displayed in
this word. Errors include:
HSC Error Codes
Error Code
Name
1
Invalid File
Number
2
Invalid Mode
3
Invalid High
Preset
4
Invalid Overflow 0...9
5
Invalid
Underflow
(1) For Mode descriptions, see HSC Mode (MOD) on page 116.
Using the High-Speed Counter and Programmable Limit Switch
Type
(1)
0...9
control read only
(1)
Type
HSC Modes
0...9
status read only
(1)
Description
Mode
n/a
Interrupt (program) file identified in HSC:0.PFN
is less than 3, greater than 255, or does not
exist
n/a
(1)
Invalid Mode
0,1
High preset is less than or equal to zero (0)
2...9
High preset is less than or equal to low preset
High preset is greater than overflow
2...9
Low preset is less than underflow
Publication 1766-RM001A-EN-P - October 2008
103
User Program Access
User Program Access

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents