Hardware manual
Impact Reference Guide TCP/IP Out
3-201 Datalogic Automation Inc.
2. Select the type of data the tool will send - a string or an Integer List.
String - You can type a string directly into the Data to Send field, or create a link.
Integer List - can contain any valid integer value but, since each value is translated into a 1-byte char-
acter, any value outside the range -128 to +127 is truncated before it is sent. You can use a Basic tool to
unpack, translate, and repack larger integer values, if necessary. You must create a link to an Integer
List, you cannot type it directly into the Data to Send field.
3. Click the drop down arrow to select an End of Data Character. The delimiter is placed at the end of the
input string when it is transmitted. The receiving device or camera’s Serial Port Delimiter must match
this setting. (See “Serial Port” on page 2-10) The M-Series processor can use only a one character
delimiter.
4. If you check the box labeled "Wait for Data Send to Complete," the tool will wait for verification from
the receiving device that the data has been received.
5. If you want to test the setup at any time, you can click the Test Data Send button.
TCP/IP Out
In the Communication Drawer
The TCP/IP tool sends a message consisting of a string or integer list out the Impact device’s Ethernet port.
The tool can act as either a Server or a Client. In Server mode it uses the existing local server connections
and sends the data to all remote clients when it runs. Any device on the network receives the message. In
Client mode, the tool connects to the remote device with the defined IP Address and Port Number and sends
that device the data.
If an Impact device has a task with the Trigger Event set to TCP/IP Input, the task is queued to run. (See
page 2-9 for Input Event Port definition.) The string or integer list from this tool is written to both the Input-
String and InputList properties of that task.
NOTE: Either the Input String property or the Input List property can contain a value, but NOT both. An
error will occur if both properties contain a value.
Since TCP communication is one-way, you cannot send and receive on the same port number in an Impact
device.
To set up the TCP/IP Out tool
1. Click the Setup tab and select the Data radio button.
2. Select the type of data the tool will send - a string or an Integer List.
String - You can type a string directly into the Data to Send field, or create a link.
Integer List - can contain any valid integer value. You must create a link to an Integer List, you cannot
type it directly into the Data to Send field.
3. Select the Destination radio button.
4. Select the Connection Type.
Server: The currently configured Server IP Address and Port Number are displayed. (See “TCP/IP” on
page 2-9 for configuration.) The data is sent to all currently connected clients (devices). Skip to step 9.
Client: The data is sent to the configured remote device. Continue with step 5.
5. Enter the IP Address of the remote (receiving) device.
6. Enter the Port Number on the remote (receiving) device. This is the port on the receiving device where
the tool sends the message. For an Impact device, this number should match the remote Impact
device’s TCP/IP Input Event port number.