Terminal device, communication system, and communication method of terminal device for integrating and transmitting data
A terminal device that is connected via a cable to a port of a switching device and performs data communication with a master device includes: a plurality of controllers configured to control, in accordance with a control command transmitted from the master device, a plurality of objects to be controlled; and a data transmitter configured to integrate data, transmitted from the plurality of respective controllers, in a transmission format for transmitting data to the master device to transmit the integrated data to the switching device.
1. A terminal device that is connected via a cable to a port of a switching device and performs data communication with a master device, the terminal device comprising:
a plurality of controllers configured to control, in accordance with a control command transmitted from the master device, a plurality of devices to be controlled; and
a data transmitter configured to integrate data, transmitted from the plurality of respective controllers, in a transmission format for transmitting data to the master device, by obtaining respective temporary data by exclusive logical disjunction of the respective data transmitted from the plurality of respective controllers with a predetermined logical conjunction pattern and taking logical disjunction of the obtained respective temporary data, to transmit the integrated data to the switching device.
2. The terminal device according to claim 1 , wherein the data transmitter arranges the data, transmitted from the respective controllers, at positions not overlapping with each other in the transmission format.
3. A communication system comprising:
the terminal device according to claim 1 .
4. A communication method of a terminal device that is connected via a cable to a port of a switching device and performs data communication with a master device, the communication method comprising:
integrating data, transmitted from a plurality of respective controllers that control a plurality of devices to be controlled in accordance with a control command transmitted from the master device, in a transmission format for transmitting data to the master device, by obtaining respective temporary data by exclusive logical disjunction of the respective data transmitted from the plurality of respective controllers with a predetermined logical conjunction pattern and taking logical disjunction of the obtained respective temporary data; and
transmitting the integrated data to the switching device.