From 6b64f9cf801d80690fd85ae1d8b9455daf9e5f99 Mon Sep 17 00:00:00 2001 From: Richard Meyer Date: Tue, 18 Jul 2023 15:23:01 -0400 Subject: [PATCH] add javascript designator to code --- .../how-to-build-a-secure-opc-ua-server-for-plcs-in-node-red.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blog/2023/07/how-to-build-a-secure-opc-ua-server-for-plcs-in-node-red.md b/src/blog/2023/07/how-to-build-a-secure-opc-ua-server-for-plcs-in-node-red.md index fc4c33aefd..3f7fbc1d5d 100644 --- a/src/blog/2023/07/how-to-build-a-secure-opc-ua-server-for-plcs-in-node-red.md +++ b/src/blog/2023/07/how-to-build-a-secure-opc-ua-server-for-plcs-in-node-red.md @@ -125,7 +125,7 @@ Drag an `inject` node and `function` node on to the palette and wire them togeth ![function1-palette.png](./images/opc-ua-2/function1-palette.png) Open up the function node. We’re going to create a dict called `conveyorData` to store in context memory and initialize it with some values. -``` +```javascript var conveyorData = {}; conveyorData = { Conveyor_RTS : false,