S5-115U Manual
Setting Addresses
Use the left-hand switch ( in Figure 6-4) on the addressing panel of the IM 306 to indicate what
type of module you have plugged into the slot. Proceed as follows:
Set the switch to OFF: for a 32-channel digital module or a 16-channel analog module.
Set the switch to ON:
for a 16-channel digital module or an 8-channel analog module.
The following modules must also be set as 16-channel digital modules:
•
482-7 digital input/output module
•
434-7 digital input module with process interrupt.
Use the seven address switches ( in Figure 6-4) on the addressing panel of the IM 306 to indicate
the least significant address (the address for channel "0") for the module in question. This setting
establishes the addresses of the other channels in ascending order.
When setting start addresses, note the following:
•
32-channel digital modules can only have start addresses whose byte numbers are divisible by
4 (e.g., 0, 4, 8 ...).
•
16-channel digital modules can only have start addresses whose byte numbers are divisible by
2 (e.g., 0, 2, 4 ...).
•
16-channel analog modules can only have the start addresses 128, 160, 192 and 224.
•
8-channel analog modules can only have the start addresses 128, 144, 160 to 240.
Example
A 16-channel digital input module is plugged into slot 2.
Assign it start address 46.0 by performing the following steps:
•
Check to see if the byte number of the start address can be divided by 2 since you are dealing
with a 16-channel digital module.
46 : 2=23 Remainder 0
•
Set the number of input channels (set switch to ON).
•
Set the address switches on the DIP switch for slot number 2 as shown in Figure 6-5.
Binary Weight of the Address Bits
128 64
ON
16
1
2
32
7
EWA 4NEB 811 6130-02b
32
16
8
4
2
5
3
2
1
6
4
Figure 6-5. Setting a DIP Switch
Addressing/Address Assignments
The address is equal to the sum of the
weights selected by the individual coding
switches, e.g.:
2+4+8+32=46
6-5