Send Data to Serial Port

This action sends data to a serial port. Use it to communicate with external serial-port devices.

[Tip] Tip

Make sure the port settings match on both ends – in the configured action and on the serial-port device. Serial port can be used by a single application in the machine. To successfully use the port from this action, no other application may use the port at the same time, not even any printer driver.

Port group defines the serial port.

  • Port name: name of the port to which the external device connects to. This can either be a hardware COM port or a virtual COM port.

Port Settings group defines additional port connection settings.

  • Bits per second: speed rate used by the external device to communicate with the PC. The usual alias used with the setting is "baud rate". Select the value from the drop-down menu.

  • Data bits: number of data bits in each character. 8 data bits are almost universally used in newer devices. Select the value from the drop-down menu.

  • Parity: method of detecting errors in a transmission. The most common parity setting, is "none", with error detection handled by a communication protocol (flow control). Select the value from the drop-down menu.

  • Stop bits: halts the bits sent at the end of every character allowing the receiving signal hardware to detect the end of a character and to resynchronize with the character stream. Electronic devices usually use a single stop bit. Select the value from the drop-down menu.

  • Flow control: serial port may use interface signals to pause and resume the data transmission.

Content group defines the content to be sent to serial port.

[Tip] Tip

Fixed content, mix of fixed and variable content, or variable content alone are permitted. To enter variable content, click the button with arrow to the right of data area and insert a variable from the list. For more information, see section Combining Values in an Object in Loftware Automation user guide.

  • Data: content to be sent outbound.