Serial interface implementation based on ModBus protocol and DCS communication