IP Network Listener Tags

Not counted towards your tag license limit.

Add IP Network Listener tags to your application if you want to be able to accept inbound TCP or (rarely) UDP connections. This tag is for use with the DNP3 and Modbus Compatible Devices, but may also be used by custom drivers.

In addition to use with drivers, an IP Network Listener can also be used with services, such as the SNMP Agent.

The IP Network Listener may be useful for enhanced security when you are employing a Modbus Compatible driver configured for virtual I/O. This will allow you to limit the traffic to or from the driver to approved addresses. Note that when used in this situation, the TCP/IP tag to which the driver is attached must be configured for address 127.0.0.1 and not a blank address, as is common. This will prevent conflicts on the common port.

The IP Network Listener will not be required in most situations. It may be useful if your TCP connections will close between polling intervals and you need to allow the RTU to connect to the driver before the next cycle, perhaps to report a fault condition. It is required by the SNMP Agent in order to provide access to the system. Otherwise, use with caution.
Note that most support calls involving the IP Network Listener tag are solved by determining that the tag was unnecessary and removing it.

 

While this tag will work with both TCP and UDP, it is intended primarily for TCP connections. Drivers using the UDP protocol may not need a Network Listener unless the RTU is connecting to VTScada using a different IP address each time. If using an IP Network Listener tag with a UDP connection, use care to ensure the port number is set correctly and is compatible with the corresponding UDP/IP port tag configuration.

The IP Network Listener uses a socket server to accept incoming connections. Improper configuration can result in communications failure for UDP/IP Port tags that make use of the same local port number. Refer to UDP/IP Port Tags for more information and further warnings.

Use of an IP Network Listener Tag is generally not recommended for UDP/IP communications. The VTScada engine will listen for UDP/IP datagram packets and place them into existing UDP streams if the remote IP address matches that of the UDP stream.

Multiple Modbus and DNP3 driver tags can share the same IP Network Listener.

IP Network Listener properties Options tab

IP Network Listener tag options

Enable

Accepts a 1 to enable or a 0 to disable inbound connections. The options Expression or Tag allow you to enable or disable connections based on user control of your choice, or based on current operating conditions. Set to 1 (online) by default for all workstations.

Protocol

Select either TCP/IP and UDP/IP, as appropriate for the device your drivers will be communicating with.

Port Number

Define the port that be used for inbound connections. Ensure that your firewall has been configured to allow connections to this port.

Remote Port Number

Enabled only for UDP/IP. UDP responses from VTScada will be sent to this port number. Leave this option Invalid to send responses back to the source port on the RTU.

Review the warnings in the introduction of the UDP/IP Port tag description.

IP Allow List

Optional. As a security measure, this listener may be configured to accept connections only from the IP addresses you add to this list. A range of allowed addresses may be defined by leaving portions empty.

Support is provided for CIDRClosed Classless Inter-Domain Routing ranges. For example, 192.168.1.0/24 or 192.0.0.0/8

Discriminator Options - Idle Time and Sample Limit

These two values control how incoming data is sampled. Sample Limit specifies the number of bytes to be received before the stream is sampled. In the event that the stream is not changing, the passage of Idle Time seconds will trigger a sample. The default values were selected to work in most cases, but you may find that Sample Limit need only be set to 10 bytes when this tag is used by a DNP3 driver.