Skip to main content

TCP

The TCP protocol block allows a Serial command to be created directly from within a process and sent out of an output method or patch defined within Workspace Settings.

Upon receiving an input, the TCP block will send the value as defined within it. (If using variables, this will send a snapshot of the values when the input is triggered).

When the command is sent, and the payload gets received by the TCP endpoint, the Received output node is activated.

Once a link to the TCP endpoint is established, the Connected node is set to HIGH. - When disconnected, this is set to LOW. The Disconnected node does the inverse of this.

The Failure node is set to HIGH if a connection cannot be established or the payload is not received.

  • TCP Patch - Defined within Workspace Settings.
  • Message - Create a message or use a variable.
  • Format - Select between ASCII or HEX.
  • Connection - Persistent establishes an open TCP connection with the endpoint you are transmitting to, whereas Single opens a connection, transmits a message then closes the connection.

To send multiple commands in quick succession with precise timing, creating an Action is a better option compared to triggering multiple protocol blocks with Delay timers.

Find out more about TCP here.