A factory automation, FA, system being realized by a master-slave control system, the FA system comprising: a setting device that sets operation conditions for the FA system, a network master, wherein the network master is directly connected to the setting device; and at least one network slave, wherein the at least one network slave is directly connected to the network master and is connected to the setting device via the network master, wherein the network slave includes a first device and a second device (4b, 4c), wherein the setting device is comprising: a slave role setting unit (13, 15) that sets a role of the at least one network slave based on a user's operation, wherein the role represents a master-servant relationship between the first device and the second device (4b, 4c) and the master-servant relationship in a case in which the first device and the second device (4b, 4c) mutually synchronously operate is regarded as a synchronization relationship; a synchronization target type setting unit that sets a synchronization target type that represents a type of numerical value that is a target of synchronization between the first device and the second device (4b, 4c) in the synchronization relationship, wherein the type of numerical value comprises at least one of a command position, a feedback position, and a feedback speed of the first device; and a data setting unit that sets a type of data to be transmitted between the at least one network slave and the network master based on the role and sets a type of data to be transmitted from the first device to the second device (4b, 4c) via the network master based on the synchronization relationship and the synchronization target type, wherein the first device that is the inter-slave master in the synchronization relationship is regarded as a synchronization master device and the synchronization target type setting unit selects setting of the synchronization target type in accordance with a type of the synchronization master device as initial setting of the synchronization target type. a setting device that sets operation conditions for the FA system, a network master, wherein the network master is directly connected to the setting device; and at least one network slave, wherein the at least one network slave is directly connected to the network master and is connected to the setting device via the network master, wherein the network slave includes a first device and a second device (4b, 4c), wherein the setting device is comprising: a slave role setting unit (13, 15) that sets a role of the at least one network slave based on a user's operation, wherein the role represents a master-servant relationship between the first device and the second device (4b, 4c) and the master-servant relationship in a case in which the first device and the second device (4b, 4c) mutually synchronously operate is regarded as a synchronization relationship; a synchronization target type setting unit that sets a synchronization target type that represents a type of numerical value that is a target of synchronization between the first device and the second device (4b, 4c) in the synchronization relationship, wherein the type of numerical value comprises at least one of a command position, a feedback position, and a feedback speed of the first device; and a data setting unit that sets a type of data to be transmitted between the at least one network slave and the network master based on the role and sets a type of data to be transmitted from the first device to the second device (4b, 4c) via the network master based on the synchronization relationship and the synchronization target type, a slave role setting unit (13, 15) that sets a role of the at least one network slave based on a user's operation, wherein the role represents a master-servant relationship between the first device and the second device (4b, 4c) and the master-servant relationship in a case in which the first device and the second device (4b, 4c) mutually synchronously operate is regarded as a synchronization relationship; a synchronization target type setting unit that sets a synchronization target type that represents a type of numerical value that is a target of synchronization between the first device and the second device (4b, 4c) in the synchronization relationship, wherein the type of numerical value comprises at least one of a command position, a feedback position, and a feedback speed of the first device; and wherein the first device that is the inter-slave master in the synchronization relationship is regarded as a synchronization master device and the synchronization target type setting unit selects setting of the synchronization target type in accordance with a type of the synchronization master device as initial setting of the synchronization target type.