OPCUA variable read and write

Hi everyone!

I want to make a communication between my Node-RED server, which runs on my PC and a PFC100 WAGO PLC. I tried severeal different solutions , but none of them worked. Please help me out with an example.I want to make some switch buttons , witch are gonna send booleans to the PLC and i wnat to read them back, for example , i want to switch on motor1 and motor2 , but if both is turned on ,the plc set them to false , and i want to read they state , and switch off the buttons . How should i do it ?

Did you search the flows for examples ?