This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const opcua = require("node-opcua"); | |
const userName = "user1" | |
const password = "password1" | |
//xx const endpointUrl = "opc.tcp://192.168.249.31:4840"; | |
const endpointUrl = "opc.tcp://localhost:26543"; | |
//xx const nodeId = "ns=4;s=opctest1_Copy1"; | |
const nodeId = "ns=411;s=Scalar_Static_UInt16"; |