About This File
A Library containing a function Block that can be run on any Omron NJ or NX PLC. The Function Block will retrieve the host PLC's IP address, Subnet Mask, Gateway, and MAC Address. The Port Details are displayed through 2 structures , 1 per-port. In the event you only have 1 Ethernet port then the structure for the 2nd port will contain all 0s. Data Format:
IP Address - USINT
Subnet - USINT
Gateway - USINT
MAC - BYTE (hex value)
Access the retrieved details by the typical parent-child tag structure. ex. Port_1_Detals.IP_Address will get the first octet of Port 1's IP.
Tested on: NX1P2, NX102, NX7, and NJ301