Switch S3 System Interrupts - Siemens 6ES5-424 Technical Reference Manual

Counter module
Table of Contents

Advertisement

Chapter 2
Module setup Procedures
Coding Rules For The Master Module:
1. Jumper G-H must be open.
2. Jumper 8-9 on S2 must be closed. This will identify the
module as the Master.
3. The remaining jumpers on S2 will be closed, unless there
is a slave module assigned to that jumper; then it should
be open.
Coding Rules For Slave Modules:
1. Jumper G-H must be closed.
2. Jumper 8-9 on S2 must be open.
3.
Only the jumper on S2 for the appropiate slave number
should be closed. The remaining jumpers on S2 must
be open.
NOTE:.
Because an interrupt will occur on any transition at IBO the
user must program the OBs not to respond when the inter-
rupts are reset, a transition from 1 to 0. The OBs should only
respond when the transition is from 0 to 1. The following
statements could be installed at the beginning of the OB to
provide interrupt reaction only on a 0 to 1 transition.
OBx
A l 0.x
BEC
Note:
If the 6ES5 242 module is installed and the group interrupts
are used, an input module cannot b e assigned to byte
address 0 (IBO). If there is an input module installed with byte
address 0 (IBO) assigned, the group interrupt will not operate;
instead, the input module will operate.
2 . 3
Switch S3
-
System Interrupts
Switch S3 provides the module a choice of which system
interrupt it will be connected to within the PC. The 6ES5 242
can be connected to one of seven different interrupt lines
by closing the proper jumper on switch 53. Which interrupt
is used is dependent on which type of PC the module is
installed in. A brief description of how to handle the interrupts
for a particular system is given below.
NOTE:
All jumpers on switch S3 which do not pertain to the system
being used should be left open.
SS-21 0
The S5-210 system has four system interrupts available and
a 210 bus interrupt (PL4) available. The program response to
each of the available interrupts must be written in assembly
language. The interrupt handling system forthe S5-210 system
is beyond the scope of this manual and the reader should
refer to the instruction manual for the S5-210 system.
Jumper
Description
8-9
System Interrupt IRA'
7-1 0
System Interrupt IRB'
6-1 1
System Interrupt IRC'
5-1 2
System Interrupt IRD'
1-16.
210 Bus Interrupt PL4' (EANK')
S5-135U
The S5-135U has only one system interrupt for each of the four
available CPUs. This is a hardware interrupt, and is handled
by 062. Because there is just one interrupt for each CPU, you
should identify which module issued the interrupt by checking
each of the interrupt information registers of the counter
modules connected to that CPU. This is done in OB2 of each
CPU. Each counter module may be connected to more than
one interrupt; i.e., one counter module may be connected to
the interrupts of CPU 1 and CPU 2, while another counter
module is just connected to the interrupts of CPU 2.
0 8 2
Jumper
Description
0 B2
8-9
System interrupt IRA' for CPU 1
OB2
7-1 0
System interrupt IRB' for CPU 2
0 6 2
6-1 1
System interrupt IRC' for CPU 3
OB2
5-1 2
System interrupt IRD' for CPU 4
S5-115U
The S5-115U has two system interrupts. These are hardware
interrupts, and are handled by two organization blocks. You
have to specify which modules will be connected to which
interrupt, and handle the interrupts via the availavle OBs.
For example, if more than one module is connected to IRA',
then each of the modules connected must havetheirlnformation
Registers read to determine which module issued the interrupt.
OBx
Jumper
Description
OB2
8-9
System interrupt IRA'
OB3
7-1 0
System interrupt IRB'
S5-150
The S5-150 does not use switch S3; instead Group lnterrupt
switch S2 is used to assign interrupts. When using a S5-150,
all of the jumpers should be open. Refer to the previous
section for interrupt handling with the S5-150.

Advertisement

Table of Contents
loading

Table of Contents