This tutorial shows how to implement an OPC UA server on any PLC in Codesys. The implementation allows to read and write tags from any OPC UA Client of your choice
Different PLCs have different ways of configuration, but usually a PLC will have a web configuration page where you do basic configurations. Just type the current IP address of your PLC in your browser and it will take you by default to the web configuration page. I hope this answers your question