Installation manual
Publication 1747-RM001G-EN-P - November 2008
Table of Contents ix
STD/STE Zone Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-16
Selectable Timed Start (STS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-17
Discrete Input Interrupt Overview . . . . . . . . . . . . . . . . . . . . . . . . .  11-18
Basic Programming Procedure for the DII Function . . . . . . .  11-18
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-19
Counter Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-19
Event Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-20
DII Subroutine Content  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-20
Interrupt Latency and Interrupt Occurrences . . . . . . . . . . . . .  11-21
Interrupt Priorities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-22
Status File Data Saved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-22
Reconfigurability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-22
DII Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-23
Discrete Input Interrupt Application Example . . . . . . . . . . . .  11-25
I/O Interrupt Overview (ISR). . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-27
Basic Programming Procedure for the I/O Interrupt 
Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-27
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-27
Interrupt Subroutine (ISR) Content . . . . . . . . . . . . . . . . . . . . .  11-28
Interrupt Latency and Interrupt Occurrences . . . . . . . . . . . . .  11-28
Interrupt Priorities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-29
Status File Data Saved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-30
I/O Interrupt Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-30
I/O Interrupt Disable (IID) and I/O Interrupt Enable (IIE). . . .  11-32
IID Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-32
IIE Operation  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-33
IID/IIE Zone Example  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-33
Reset Pending Interrupt (RPI). . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-34
Entering Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-34
Interrupt Subroutine (INT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11-34
Chapter 12
SLC Communication Instructions
About the Communication Instructions. . . . . . . . . . . . . . . . . . . . . .  12-2
Service Communications (SVC)  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  12-3
Use an SLC 5/02 Processor  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  12-3
Use SLC 5/03 and Higher Processors . . . . . . . . . . . . . . . . . . . .  12-3
Channel Servicing  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  12-4
Message Instruction Overview  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  12-5
MSG Instruction Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .  12-5
MSG Instruction Configuration Options . . . . . . . . . . . . . . . . .  12-11
MSG Instruction Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . .  12-11
MSG Instruction Setup Screen Parameters  . . . . . . . . . . . . . . .  12-13
MSG Instruction Setup Screen Status Bits . . . . . . . . . . . . . . . .  12-27
MSG Instruction Control Block . . . . . . . . . . . . . . . . . . . . . . . .  12-30
Status Bit Sequencing for SLC 5/03, SLC 5/04, and 
SLC 5/05 MSG Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  12-37










