The function writes data with defined length into an asynchronous line specified length into Serial, MOXA IP Serial Library or SerialOverUDP Device Redundant, in case of first two lines with parameters defined according to a specified mode of a particular station.