omron — NETWORK real-valued function

NETWORK real-valued function NETWORK real-valued function Syntax NETWORK (component, code) Function Return network status and IP address information Parameters component Real-valued expression that identifies the component of the network that is of interest. 1 = TCP 3 = FTP code Real-valued expression that further identifies the information desired. This value is only used for TCP: 0 = Return status value as described later (default).

1 = Return AD1*256 + AD2 2 = Return AD3*256 + AD4 3 = Return NM1*256 + NM2 4 = Return NM3*256 + NM4 11 = Return AD1 12 = Return AD2 13 = Return AD3 14 = Return AD4 15 = Return NM1 16 = Return NM2 17 = Return NM3 18 = Return NM4 where AD n is the nth byte of the IP address and NM n is the nth byte of the Network Mask Details This function returns one of the following values if status is requested (that is, if the code argument is omitted or set to 0): eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 356