How to open the OPCUA service of Siemens 1500PLC:
1 Open Botu hardware configuration
2 Right click to open PLC properties
3 OPC UA->server
4 Runtime license->OPC UA activation license
5 Protection & Security opens to allow PUT/GET security items (optional and not required)
6 Compile and download the program