The Ethernet Trigger/Table is used to send custom messages out of the Ethernet port on the rear of the Soundweb London device. It can be set up in two modes:
1. List mode which allows two messages per input - one for a LOW (0) input and one for a HIGH (1) input.
2. Table mode which treats the inputs as binary thus giving a greater number of states.
The Connected output will illuminate when a TCP connection has been made, triggered by a HIGH on the Connected input. These are operational in simulation and when online to the device.
A transition from low to high on the Connect input node will cause the London to attempt to create a socket to the provided Ethernet Address, port #, and protocol type (TCP or UDP) specified in the properties of the logic object. The Connected indicator will illuminate when a successful connection has been established (TCP). Messages can now be sent to the device(s). If a connection cannot be made to the specified device, or is broken, the London will automatically retry every 30s to establish a connection as long as the Connect node is held high.
NOTE: Socket time-outs can take up to a few minutes after actually being broken before the Connected indicator will turn off if the remote socket simply drops offline without sending a close message (reboot, AC power reset, unplugged Ethernet cable, etc). To ensure a connection you can set the Connect node low and set back high. This will cause the London to request a new socket connection and the Connected status will be updated.
Number of Inputs: This sets the number of inputs, selectable from 1 to 12 when in 'Table Mode' and from 1 to 31 when in 'List Mode'
Ethernet Table: Click to edit Ethernet, brings up this menu:
Enter the messages in decimal, hexadecimal or ASCII.
Port: Enter the IP Port number for the application.
Name: Name of the Ethernet Trigger/Table object.
Mode of Operation: Select between Table or List
IP Address: Enter the IP Address of the device you wish to send messages to. Loopback addresses and the address of the London device itself are not valid entries.
Type: Select between TCP or UDP protocol.
When in Decimal or Hexadecimal mode, all bytes must be separated by a comma. Example in Decimal: 80,79,78,13 and in Hexadecimal 50,4F,4E,0D
Some devices require the message to contain a printable ASCII message followed by an unprintable ASCII character such as a carriage return. The best way to accomplish this type of data entry is to start in ASCII mode and switch to Hex/Dec mode as shown in the sequence below:
Type in the printable ASCII characters and press enter
Use the drop-down box to select either Hex or Decimal (decimal shown below)
You can now add the Carriage-Return (decimal 13) to the end of the message
Toggling back and forth between ASCII and decimal will show the Carriage Return character is present.
The number of Ethernet objects that can be placed is dependent upon the number of sockets available in a Soundweb London device since each object will open 1 socket. Each Soundweb London device can open a maximum of 500 sockets, however some of these will already be in use for HiQnet, TCP, FTP communications and the like. The remaining sockets can be used by instances of Ethernet Trigger/Table objects. This only applies to Ethernet Triggers using the TCP protocol. The quantity of Ethernet objects using UDP is not limited by the number of available sockets.