This may be the same example project, but it also provides the documentation in the codesys help site.
If you are using Node Red and want to send/receive information from Node Red, you would use the OPC-UA Node in Node Red and configure the Symbol Configuration object in Codesys. The first half of our online training section on Codesys OPC-UA connectivity covers this.