Field device, in particular a field device of a room automation system or of a power management system or of a hazard detection system, comprising at least one human-machine interface with at least one memory configured to store physical layer data, at least two protocol stacks, wherein the field device is configured to select at least one protocol stack based on the physical layer data stored in the memory of the human-machine interface, wherein the field device further comprises at least two physical layers, at least two pairs, wherein each compatible pair comprises at least one physical layer and at least one protocol stack, wherein the field device further comprises at least one selector switch configured to connect and to disconnect physical layers and protocol stacks, such that a physical layer element and a protocol stack connected or disconnected by the at least one selector switch belong to the same compatible pair.