Syntax

Command Description Return Value
Write <port> <string> Writes the given string to the specified port The number of characters written
Write <ip-address> <string> Sends the given string via UDP to the specified ip-address using the default port of 52737 The number of characters written
Write <ip-address>:<port> <string> Sends the given string via UDP to the specified ip-address and port The number of characters written
  • <port>
    • COM1 refers to the built-in RS-232 port.
    • COM2 refers to the built-in RS-485 port.
  • <ip-address>
    • Any valid ip address (such as 192.168.1.234)

Abbreviation

WR

Writes (or sends) the given string to the specified serial port or via a UDP Ethernet packet.

Use the Write command to send strings to other devices via one of the serial ports or via Ethernet messages.

Examples

Write COM1 "Hello World"
Sends the string “Hello World” to the RS-232 port.

Write COM2 "This is a test\r"
Sends the string “This is a test” followed by a carriage return character to the RS-485 port.

Write "10.0.1.5" "Cue 1 Go"
Sends the string “Cue 1 Go” via UDP to the ip address “10.0.1.5” and the default port of 52737.

Write "10.0.1.5:1234" "Mission Accepted\x00"
Sends the string “Mission Accepted” followed by a NULL byte via UDP to the ip address “10.0.1.5” and the port of 1234.