Download  Print this page

Chapter 2 Module Setup Procedures; Switch S1 Addressing; Switch S2 Group Interrupts - Siemens 6ES5-424 Technical Reference Manual

Counter module.
Hide thumbs

Advertisement

Chapter 2
Module Setup Procedures
This section will describe in detail the setup of the six switches
SWITCH S1 Jumper Assignments
located on the 6ES5-242 module.
Jumper
Address
2.1 Switch S1
-
Addressing
The S1 switch is used to select the module's address within
6-1 1
a PC. It is connected to the address lines A4
-
A1 l. The
5-1 2
addressing range is selected from 128 to 240 decimal. The
4-13
-
..
following figures show the details of the S5-150, S5-135U,
3-14
and S5-115U.
2-1 5
1-16
All
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1 A0
x
x
x
x
1
s
s
s
o
o
o
o
module address
sub address
Q
X
= irrelevant if jumper E-F is removed. If jumper E-F is
installed, A l l
-
A8 should be open. Note that jumper
E-F should only be installed for the S5-210 system.
I
=
selected or jumper closed. A7 must be closed to have
an address of at least 128.
s = selectable jumpers. With jumpers A6
-
A4 there are eight
different addresses selectable for the module.
o
=
represents the sub 'address, A3
-
AO. Each module has
16 internal addresses which are relative to the madule's
address.
A l l A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Decimal Hex
X
X
X
X
1 0 0 0 0 0 0 0 1 2 8 - 1 4 3 ~ ~ 8 0 - ~ ~ 8 F
X
X
X
X
1 0 0 1 0 0 0 0 1 4 4 - 1 5 9 ~ ~ 9 0 - ~ ~ 9 F
X
X
X
X
1 0 1 0 0 0 0 0 160-175xxAO-xxAF
X
X '
X
X
1 0 1 1 0 0 0 0 176-19lxxBO-XXBF
X
X
X
X
1 1 0 0 0 0 0 0
192-207xxCO-XXCF
X
X
X
X
1 1 0 1 0 0 0 0 208-223xxDO-XXDF
X
X
X
X
1 1 1
0
0 0 0 0 224-239xxEO-XXEF
X
X
X
X
1 1 1 1 0 0 0 0 240-255xxFO-XXFF
X
= irrelevant it jumper E-F is open. If jumper E-F is closed,
jumpers must be open.
1
=
jumper closed.
0 =jumper open.
For the S5-210 system bus the addressing range is between
FOlxH and FFFxH. A maximum of 255 modules may be
addressed.
All
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1 A0
s
s
s
s
s
s
s
s
0
0
0
0
module address
sub
address
Jumper E-F should be installed for the S5-210 system.
s = selectable jumpers. With jumpers A l l
-
A4 there are 255
different addresses selectable for the module.
o = represents the sub address, A3
-
AO. Each module has
16 internal addresses, which are relative to the module's
address.
2.2 Switch S2 Group Interrupts
NOTE:
If your PC is not the S5-150S,
all
jumpers on Switch S2
should be open and the setting of switch S2 is not necessary.
Switch S2 is used in conjunction with the 150s PC. The 150s
does not have a hardware interrupt line on the backplane of
the PC as do the 135U, 115U, and the 210 PCs. Instead the 150
uses IBO (input byte 0) to provide interrupt capabilities. To
allow the use of IBO the 242 module provides special circuitry
which allows it to simulate IBO.
The 150s system may contain up to eight 242 modules. If the
interrupt capabilities are to be used, each of the modules
used within the PC must be assigned a group interrupt code.
This is accomplished with switch S2.
The first module used within the PC must be assigned as the
Master module. If only one module is used, it must be assigned
as the Master. When an interrupt occurs it will appear on IBO,
bit 0 for the module that is coded as the Master.
The remaining modules used in the PC will be assigned a slave
number, slaves l
-
7. These slave numbers correspond to the
remaining bits in IBO; i.e., slave 2 will be 180.2.
The 150s interrupt system has a priority organization, IBO.0
has the highest priority and IB0.7 has the lowest priority.
This in turn will be true for the 242 modules installed within
the PC. The Master will have interrupt priority over the slaves,
slave 1 will have priority over slave 2 and so on.
Also used in conjunction with switch S2 will be jumper G-H.
The jumper G-H is used to determine if the module is the
Master or a slave. The following table reflects the correct
settings for each of thr eight possible modules.
IB0.x
S2 Jumper
Description
OBX
'Jumper G-H
Master
Slave 1
Slave 2
Slave 3
Slave 4
Slave 5
Slave 6
Slave 7
open
closed
closed
closed
closed
closed
closed
closed

Advertisement

Table of Contents

Comments to this Manuals

Symbols: 0
Latest comments: