Method for controlling devices (11,12,13,14,15,16) within an agricultural network system via a network bus such as a physical network bus or a logical network bus, wherein the devices (11,12,13,14,15,16) are controlled by means of control information which is transmitted to the devices by means of messages comprising a content and a header title, the method comprising steps for: - determining a function for performing thereof by a one of the devices (11,12,13,14,15,16) in the network, - determining the content of a message to be transmitted, - compiling header title information for inclusion thereof in a header title for the message to be transmitted, wherein - the header title information comprises a predetermined number of data fields each defining a subset of devices (11,12,13,14,15,16), defining a network identifier, a device type designation, a function designation, a location designation and/or a group designation, for the purpose of determining on the basis of compliance with one or more of these data fields which device or devices (11,12,13,14,15,16) receive (s) the message, the header title information comprising the following fields: - a type field, relating to a type of device connected to the network bus, which type can have an overlap with networks, functions, locations or groups, - a function field, relating to a function to be performed by a device, which function can have an overlap with types, networks, locations or groups, this function preferably relating to a milk pulsator, an automatic teat cup remover, a shut-off valve or a gate control, the header title information further comprising at least one of the following types of data fields: - a location field, relating to a location of a device, which location can have an overlap with types, networks, functions or groups, - a group field, relating to a group of devices, which groups can have an overlap with types, networks, functions or locations, and - a network field, relating to a network of devices, which network can have an overlap with types, functions, locations or groups. - determining a function for performing thereof by a one of the devices (11,12,13,14,15,16) in the network, - determining the content of a message to be transmitted, - compiling header title information for inclusion thereof in a header title for the message to be transmitted, wherein - the header title information comprises a predetermined number of data fields each defining a subset of devices (11,12,13,14,15,16), defining a network identifier, a device type designation, a function designation, a location designation and/or a group designation, for the purpose of determining on the basis of compliance with one or more of these data fields which device or devices (11,12,13,14,15,16) receive (s) the message, the header title information comprising the following fields: - a type field, relating to a type of device connected to the network bus, which type can have an overlap with networks, functions, locations or groups, - a function field, relating to a function to be performed by a device, which function can have an overlap with types, networks, locations or groups, this function preferably relating to a milk pulsator, an automatic teat cup remover, a shut-off valve or a gate control, the header title information further comprising at least one of the following types of data fields: - a location field, relating to a location of a device, which location can have an overlap with types, networks, functions or groups, - a group field, relating to a group of devices, which groups can have an overlap with types, networks, functions or locations, and - a network field, relating to a network of devices, which network can have an overlap with types, functions, locations or groups. - a type field, relating to a type of device connected to the network bus, which type can have an overlap with networks, functions, locations or groups, - a function field, relating to a function to be performed by a device, which function can have an overlap with types, networks, locations or groups, this function preferably relating to a milk pulsator, an automatic teat cup remover, a shut-off valve or a gate control, the header title information further comprising at least one of the following types of data fields: - a location field, relating to a location of a device, which location can have an overlap with types, networks, functions or groups, - a group field, relating to a group of devices, which groups can have an overlap with types, networks, functions or locations, and - a network field, relating to a network of devices, which network can have an overlap with types, functions, locations or groups. - a location field, relating to a location of a device, which location can have an overlap with types, networks, functions or groups, - a group field, relating to a group of devices, which groups can have an overlap with types, networks, functions or locations, and - a network field, relating to a network of devices, which network can have an overlap with types, functions, locations or groups.