UDP channel

Registers in UDP:

RegNoIdentifierMemory TypeRead OutType
0
1
2EthernetTrafficStream_ _ _ _ _ _Record
3IPAddressStream_ _ _ _ _ _Record
4PortNumberStream_ _ _ _ _ _Record
5SecurePortNumberStream_ _ _ _ _ _Record
6IPNetTableStream_ _ _ _ _ _Record
7
8
9
10
11
12PasswordTableStream WriteOnly
13
14GuidStream ReadOnly_ _ _ _ _ _String
15

This variable holds a list of all the subnets that can be accessed from this
node when it is acting as a master (client). A configuration tool is normally used to configure the table.

Refer to the general UDP/IP Ethernet Communication Channel description for an overview of the purpose of this table.

By default, all fields in this table hold $FFFF. A value of $FFFF or 0 in NoOfIPNets indicates that the table has not been initialised by any configuration tool. In this situation, a default subnet with NetIndex = 1 is set up as an IPRange net, with the same subnet address as the subnet address of this node, and with UDP port number = 34378.

This means that from PROCESS-PASCAL, all IP nodes on the same subnet can be accessed with NetIndex = 1, and NodeAddress = the P-NET node address of the node. It also means that the gateway functionality of P-NET systems is fully supported by P-NET over IP, without any further configuration.

IPAddress
The IPAddress field holds the IP subnet address, if the net is an IPRange net, or the complete IP address of the remote NAT router, if the net is a UDPRange net.

UDPPort
The UDPPort field holds the UDP port number sent to all nodes, if the net is an IPRange net, or the start UDP port number, if the net is a UDPRange net.

Router
The Router field holds the node address of the router through which requests to nodes on this subnet are to be sent. Routers are always located on the same subnet as this device. If the nodes on a subnet are accessed directly, the value of Router must be = 0.

IPNettype
The IPNettype field defines the type of this subnet. The value of this field can be UnUsed, IPRange or UDPRange.