This FB activate the internal UPS for writing persistent data. In fact, after power failure the UPS give time to cpu for writing persistent data in internal memory.Beckhoff sent me an example and I implemented it. Totally new to this and codesys, did not really know what Ineeded to do to use the FB_S_UPS_CX80XX function block.
First of all, I recommend you always use fixed IP and never use DHCP. With fixed IP your communication will establish easier and quicker.Next question.
What is the diffenerence with the three different network ports (X001, X101, X102)?
I have been connedted to the X001 via DHCP. In System Manager, I just assigned it a static IP address. Any reason that I should or should not use X001? I will be talking to this controller via AmsAds from my host control system. Should that link be X101/X102 for some reason?
X001 is not a real time Ethernet and used for downloading and uploading program to/from the PLC.
X101 and X102 are switched and they are real time Ethernet which is used for communicating with remote I/O and HMIs. Of course you can use it as a programming port like X001. By the way, you can not change the IP address of X101 and X102 with System Manager. You should use this address in your web browser "CPU IP or Name/Config" to change the IP address.