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:

Meaning of the DIP switch 1: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

  • PN name from memory
  • IP address via DIP switches
    172.16.17.xxx (xxx DIP switch)
    SNM 255.255.0.0
  • PN name becomes empty string
  • IP address via DIP switches
    172.16.17.xxx (xxx DIP switch)
    SNM 255.255.0.0

0

1

DHCP
DIP switch 1 to 8 set to OFF

  • PN name from memory
  • IP address and SNM via DHCP
  • PN name becomes empty string
  • IP address and SNM via DHCP

DHCP
DIP switch 1 to 8 set to ON

  • PN name from memory
  • IP address from memory
  • PN name becomes empty string
  • IP address 0.0.0.0

1

0

Reserved

 

 

1

1

PROFINET-compliant
DIP switch 1 to 8 set to OFF

  • PN name from memory
  • IP address from memory
  • PN name becomes empty string
  • IP address 0.0.0.0

PROFINET with fixed name
DIP switch 1 to 8 set to ON

  • PN name via
    DIP switch 1 to 8
  • IP address from memory
  • PN name via
    DIP switch 1 to 8
  • IP address 0.0.0.0

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.