TestIT:Configuration IP

From Nolek Wiki
Jump to navigation Jump to search

6.3.23 IP

An IP device is used to communicate with any connected device that uses the tcp/ip or udp (protocols), making it possible to receive and set values, using TestIT symbols.

Setup fields:

  • Device Configuration
  • Recipe/Result handling?
  • Test Device

Device Configuration:

  1. Write the device name and device description
  2. Select if the device is active or not
  3. Write the IP address to use for the communication, this should be on the same subnet as the device to communicate. E.g. If the IP of the device to communicate with is 127.0.1.10 then the configured IP should start with 127.0.1. and the last number can be anything from 1-254 except the used (10).
  4. Select the port to use for the communication (e.g 21)
  5. Select the protocol (Transmission control / User datagram)
  6. Select the send termination char, which specifies when the sent text ends.
  7. Select if the send parameters should be sent as text or array.
  8. Select the encoding of the send parameters
  9. Select the send Delimiter, which is a character to use for splitting the send text.
  10. Select send parameter amount, this amount is how many symbol values that will be sent, split by the delimiter.
  11. Select receive termination char, specifying what char to remove from the received text
  12. Select to receive data as text or array
  13. Select receive encoding
  14. Select receive delimiter, which is the character that will split the received data into the different parameters / symbols
  15. Select receive parameter amount.
  16. Select a time out in seconds
  17. Select a validation type (none, start with, contains)
  18. Select the Filter OK amount – this is how many times TestIT should receive validated data from the device.
  19. Press Save on the bottom left.

Symbols:

  1. Select a bool symbol to use for Done – this will be set when the IP device has received all values according to filter OK amount.
  2. Select a string symbol for the received text
  3. Select a bool symbol for Stop
  4. Select a string symbol for the result text received.

Filter parameters:

  1. Enter the text to use for validating received data, according to the validation type rules in Device configuration point 17.

Parameters:

  1. Select the TestIT symbols to use for the sending
  2. Select symbols to receive the data, after splitting according it by the selected receive delimiter.

Test Device:

  1. Press Lock config to connect to the device.
  2. Write the data to send to the device in the Command box
  3. Press Send
  4. If any message is returned from the device, it will be displayed in the communication box.
  5. If returned data is validated

Coding/Commands:


Back to Configuration