Patent ID: 8990444
Filing Date: 2015-03-24
Classification: G05B,G06F,H04L

Abstract:
1. A data transmitting method using a virtual serial fieldbus port applied to a fieldbus gateway having a network interface and at least one physical serial fieldbus port or network fieldbus port, the method comprising the steps of: executing a driver or middleware of a virtual serial fieldbus port and combining the network interface to generate a virtual serial fieldbus port; simulating a processing mechanism of data link layer provided by a fieldbus protocol of the virtual serial fieldbus port and simulating behaviors of a fieldbus physical layer based on definition of the fieldbus protocol by the virtual serial fieldbus port for simulating a real serial fieldbus port to receive a network packet from another virtual serial fieldbus port of a source device via a network so as to extend the distance between the fieldbus gateway and the source device, wherein the network packet includes a fieldbus frame using a serial fieldbus protocol corresponding with the virtual serial fieldbus port; selecting a fieldbus protocol and a fieldbus port based on a target address from the fieldbus frame, wherein the selected fieldbus protocol is a serial fieldbus protocol or a network fieldbus protocol, and the selected fieldbus port is one of physical serial fieldbus port corresponding with the serial fieldbus protocol or the network filed port corresponding with the network fieldbus protocol; converting the fieldbus frame into the fieldbus frame format using the selected fieldbus protocol; and using the selected fieldbus port to transmit the converted fieldbus frame to a target device.