updated to support remote plcs and nodes