2. Hardware Implementation of the LUFP9 Gateway
2.7.2. Encoding the Gateway Address
The LUFP9 gateway is identified on the DeviceNet bus by its address (or “Mac ID”), which is between 0 and 63.
Speed Address (Mac ID)
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
ON
The gateway’s DeviceNet address depends on the position of selector switches 3 to 8. It corresponds to the binary number given by the ON (1) or OFF (0) position of these 6 selector switches.
Selector | DeviceNet |
| Selector | DeviceNet |
| Selector | DeviceNet |
switches |
| switches |
| switches | |||
address |
| address |
| address | |||
1 2 3 4 5 6 7 8 |
| 1 2 3 4 5 6 7 8 |
| 1 2 3 4 5 6 7 8 | |||
|
|
|
|
| |||
x x 0 0 0 0 0 0 | 0 |
| x x 0 1 0 1 1 0 | 22 |
| x x 1 0 1 1 0 0 | 44 |
x x 0 0 0 0 0 1 | 1 |
| x x 0 1 0 1 1 1 | 23 |
| x x 1 0 1 1 0 1 | 45 |
x x 0 0 0 0 1 0 | 2 |
| x x 0 1 1 0 0 0 | 24 |
| x x 1 0 1 1 1 0 | 46 |
x x 0 0 0 0 1 1 | 3 |
| x x 0 1 1 0 0 1 | 25 |
| x x 1 0 1 1 1 1 | 47 |
x x 0 0 0 1 0 0 | 4 |
| x x 0 1 1 0 1 0 | 26 |
| x x 1 1 0 0 0 0 | 48 |
x x 0 0 0 1 0 1 | 5 |
| x x 0 1 1 0 1 1 | 27 |
| x x 1 1 0 0 0 1 | 49 |
x x 0 0 0 1 1 0 | 6 |
| x x 0 1 1 1 0 0 | 28 |
| x x 1 1 0 0 1 0 | 50 |
x x 0 0 0 1 1 1 | 7 |
| x x 0 1 1 1 0 1 | 29 |
| x x 1 1 0 0 1 1 | 51 |
x x 0 0 1 0 0 0 | 8 |
| x x 0 1 1 1 1 0 | 30 |
| x x 1 1 0 1 0 0 | 52 |
x x 0 0 1 0 0 1 | 9 |
| x x 0 1 1 1 1 1 | 31 |
| x x 1 1 0 1 0 1 | 53 |
x x 0 0 1 0 1 0 | 10 |
| x x 1 0 0 0 0 0 | 32 |
| x x 1 1 0 1 1 0 | 54 |
x x 0 0 1 0 1 1 | 11 |
| x x 1 0 0 0 0 1 | 33 |
| x x 1 1 0 1 1 1 | 55 |
x x 0 0 1 1 0 0 | 12 |
| x x 1 0 0 0 1 0 | 34 |
| x x 1 1 1 0 0 0 | 56 |
x x 0 0 1 1 0 1 | 13 |
| x x 1 0 0 0 1 1 | 35 |
| x x 1 1 1 0 0 1 | 57 |
x x 0 0 1 1 1 0 | 14 |
| x x 1 0 0 1 0 0 | 36 |
| x x 1 1 1 0 1 0 | 58 |
x x 0 0 1 1 1 1 | 15 |
| x x 1 0 0 1 0 1 | 37 |
| x x 1 1 1 0 1 1 | 59 |
x x 0 1 0 0 0 0 | 16 |
| x x 1 0 0 1 1 0 | 38 |
| x x 1 1 1 1 0 0 | 60 |
x x 0 1 0 0 0 1 | 17 |
| x x 1 0 0 1 1 1 | 39 |
| x x 1 1 1 1 0 1 | 61 |
x x 0 1 0 0 1 0 | 18 |
| x x 1 0 1 0 0 0 | 40 |
| x x 1 1 1 1 1 0 | 62 |
x x 0 1 0 0 1 1 | 19 |
| x x 1 0 1 0 0 1 | 41 |
| x x 1 1 1 1 1 1 | 63 |
x x 0 1 0 1 0 0 | 20 |
| x x 1 0 1 0 1 0 | 42 |
|
|
|
x x 0 1 0 1 0 1 | 21 |
| x x 1 0 1 0 1 1 | 43 |
|
|
|
2.7.3. Sample Gateway Configurations
Speed = 250 kbits/s
Address = 12
Speed = 500 kbits/s
Address = 5
Speed Address (Mac ID) | Speed Address (Mac ID) |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
ON | ON |
21