brains will not be the way you are looking for. if your Arduino wil accept ModBus you can find a lot about modbus
here on the forum. also a complete sample for modbus arduino communication is in the modbus aeria.
https://www.machsupport.com/forum/index.php?topic=21105.0for a simple serial output you can use VBScript.
from the manual:
SendSerial
Sub SendSerial(Data As String)
This function send the String Data to the serial port specified in the Config-
>GeneralConfig serial port configuration. This provides transmit-only capability, at any
supported BAUD rate.
Arguments:
String message to be sent to configured serial device
Return Value:
None
Example:
‘ Send “Hello, world!” to serial device
SendSerial(“Hello, world!” & chr(10) & char(13))
See also: