Meaning of the DIP switch
10-pole DIP switch S001
The DIP switch has the following meaning for the Ethernet interfaces X001 and X002, which are switched:
Fig.14: DIP switch S001: Left off ”0“, right on “1”DIP 9 | DIP 10 | Description DIP 1..8 | Restart behavior | Behavior with factory settings |
|---|---|---|---|---|
0 | 0 | Last byte of the IP address via DIP switches 1 to 8 |
|
|
0 | 1 | DHCP |
|
|
DHCP |
|
| ||
1 | 0 | Reserved |
|
|
1 | 1 | PROFINET-compliant |
|
|
PROFINET with fixed name |
|
|
Example of address name and IP address according to PROFINET specification
If, in the default case, DIP switches 9 and 10 are switched on and DIP switches 1 to 8 are switched off, the EK9320 has neither an IP address nor a name.
Advantage:
The name can be assigned almost arbitrarily.
Disadvantage:
In the event of replacement, the PROFINET controller must automatically describe the new replaced couplers with the names used in the project using the "Alias Name" feature, as the couplers do not have a PROFINET name in the default state. Topology recognition is required for this. Topology recognition works via the LLDP (Link Layer Discovery Protocol). The switches must support this protocol in order to use this function.
Example of address name and IP address with DIP switch
DIP switches 9 and 10 are ON, DIP switches 1 to 8 are OFF. The name is formed from ek9320-x, where x is the position of DIP switches 1 to 8. At least one DIP switch must be set to ON. If you want to assign the name "ek9320-53", you must set the following:
53dec = 0 0 1 1 0 1 0 1bin, which means that DIP 1 must be ON, DIP 2 OFF, DIP 3 ON, DIP 4 OFF, DIP 5 ON, DIP 6 ON, DIP 7 OFF and DIP 8 OFF.
Advantage:
You can also replace the device without an alias name. The replaced coupler only needs to have the same DIP switch setting. Switches that do not support LLDP can therefore also be used (this is not recommended or, if so, then only in small networks with up to 20 devices).
Disadvantage:
You cannot use any name, but must be satisfied with the designation (name) specified by Beckhoff. You are also responsible for ensuring that the name is unique within your network.