Publication 1763-RM001C-EN-P - October 2009
274
Using Interrupts
EII Function File Sub-Elements
EII Program File Number (PFN)
PFN (Program File Number) defines which subroutine is called (executed)
when the input terminal assigned to EII:0 detects a signal. A valid
subroutine file is any program file (3 to 255).
The subroutine file identified in the PFN variable is not a special file
within the controller. It is programmed and operated the same as any
other program file. From the control program perspective it is unique, in
that it is automatically scanned based on the configuration of the EII.
EII Error Code (ER)
Any ER (Error Code) detected by the EII sub-system is displayed in this
register. The table below explains the error codes.
Sub-Element Description
Address
Data Format
Type
User Program
Access
PFN - Program File Number
EII:0.PFN
word (INT)
control
read only
Sub-Element Description
Address
Data Format
Type
User Program
Access
ER - Error Code
EII:0.ER
word (INT)
status
read only
EII Error Codes
Error
Code
Recoverable Fault
(Controller)
Description
1
Invalid Program File
Number
Program file number is less than 3, greater than 255, or does not
exist
2
Invalid Input
Selection
Valid numbers must be 0, 1, 2, 3, 4, 5, 6, or 7.
3
Input Selection
Overlap
EIIs cannot share inputs. Each EII must have a unique input.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive