Slave device control method
Abstract
The present disclosure relates a slave device control method including generating the control message including a plurality of input data and transmitting the control message to a specific slave device among a plurality of slave devices, by a master device, extracting input data from a received data start position of the control message, by the specific slave device, and padding output data to transmitted data storage position of the control message and transmitting the output data to a next slave device, by the specific slave device.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (5)
- Claim 1Independent Claim
A slave device control method comprising: generating, by a master device, a control message comprising a Media Access Control (MAC) header, a Application (APP) header, and a plurality of input data according to an order of a plurality of slave devices and transmitting the control message to a specific slave device corresponding to first input data among the plurality of slave devices; and wherein the generating comprises transmitting the control message to a first slave device among the plurality of slave devices when the plurality of input data is aligned in the order in which the plurality of slave devices is connected to generate the control message; and wherein the generating comprises transmitting the control message to a last slave device among the plurality of slave devices when the plurality of input data is aligned in an opposite order to the order in which the plurality of slave devices is connected to generate the control message; extracting, by each of the plurality of slave devices, corresponding input data among the plurality of input data from a received data start position of the control message, wherein the extracted corresponding input data is deleted from the control message; and padding, by each of the plurality of slave devices, output data to a transmitted data storage position of the control message and transmitting the output data to a next slave device, wherein if the received data start position is a start position of the control message, the transmitted data storage position of the control message is a last position of the control message, and if the received data start position is the last position of the control message, the transmitted data storage position of the control message is the start position of the control message; and wherein when the master device receives the control message associated with the plurality of slave devices, the master device checks whether the control message is a particular message received from one of the plurality of slave devices by using a MAC address included in the MAC header of the control message.
- Claim 2Depends on #1
The method according to claim 1 , wherein the generating comprises aligning the plurality of input data in an order or an opposite order in which the plurality of slave devices are connected to generate the control message.
- Claim 3Depends on #1
The method according to claim 1 , further comprising: determining the received data start position according to an order in which the plurality of input data is aligned and an order of slave devices that receive the control message; and determining the transmitted data storage position according to the received data start position.
- Claim 4Depends on #1
The method according to claim 1 , wherein a size of the input data and a size of the output data are variably set according to a size of data.
- Claim 5Depends on #1
The method according to claim 1 , further comprising: checking, by the master device, whether each of the plurality of slave devices is normally operated using output data of the control message.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATION This application claims the benefit of Korean Patent Application No. 10-2016-0057164, filed on May 10, 2016, entitled “SLAVE DEVICE CONTROL METHOD”, which is hereby incorporated by reference in its entirety into this application. BACKGROUND 1. Technical Field Embodiments of the present disclosure relates to a slave device control method. 2. Description of the Related Art When there is a plurality of devices connected via a network, the devices are generally classified into a master device and a slave device. A user allows a master device to monitor an operation of a slave device or to transmit commands or data required by the slave device. In general, when there are many slave devices on a network, a master device transmits a control message to each slave device to control the slave device. In general, a mater device generates control messages corresponding to the number of slave devices present in a network and transmits the generated control messages to the respective slave devices. A slave device may apply a control message received from a master device to each slave device or transmit input data requested by the master device to the master device. In this case, the master device needs to generate control messages by as much as the number of slave devices in a network and to transmit the control messages to the respective slave devices in order to control the slave devices. However, as the number of slave devices increases, a master device needs to generate more control messages and to transmit the control messages to each slave device. Accordingly, it is disadvantageous to increase data traffic and, thus, a data transmission time increases and real-time control is difficult. In order to overcome such a problem, a data transmissions method using EtherCAT communication is used. The master device D 0 packages output data with a fixed size to be transmitted to e
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (17)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (2)
- Extended European Search Report dated May 19, 2017 corresponding to application No. 16197083.5-1862.
- Japanese Office Action related to Japanese Application No. 2016-234568; action dated Dec. 5, 2017; (4 pages).