0.2.328 • Published 3 days ago

node-red-contrib-opcua v0.2.328

Weekly downloads
1,048
License
Apache-2.0
Repository
github
Last release
3 days ago

NPM download NPM version

Node-RED OPC UA

node-red-contrib-opcua

opcuanodeLogo64

A Node-RED nodes to communicate or serve via OPC UA.

based on node-opcua

nodeopcua64

Install

Run command on Node-RED installation directory.

npm install node-red-contrib-opcua

or run command for global installation.

npm install -g node-red-contrib-opcua

Usage

Use OpcUa-Item to define variables. Use OpcUa-Client to read / write / subscribe / browse OPC UA server.

See some flows under folder examples. Updated server sub-flow example OPCUA-TEST-NODES.json look commands: addFolder, addVariable, addMethod, setFolder. Added new opcua-rights node to set folder/variable access level and role & permissions.

Here you got some ready to use examples. You can use the Import in Node-RED in the right upper corner menu.

node-red-opcua-flow

Examples are available for Schneider IGSS and Prosys Simulation Server as Node-RED flow. Search for OPC UA on: http://flows.nodered.org/

node-red-opcua-flow-Prosys

New method node example

Events example

Message parameters

Input message

PropertyFunction/ValueNotes
payloadset interval for subscription or monitorItem
intervalSubscription interval
queueSizeSubscription queue size
deadbandType"a" abs. or "p" percentAction monitor
deadbandValueinteger for deadbandAction monitor
topicNodeId and DataType in format ns=3;s=Counter;datatype=Int32
actionsubscribenodeId / variable
unsubscribenodeId / variable
deletesubscriptionsubscription
browsenodeId / folder
infonodeId
readnodeId
writenodeId & value
monitordeadbandtype abs/pro
eventsnodeId
readmultiplenodeId + datatype
writemultiplenodeId + datatype + value

readmultiple to readmultiple items writemultiple to write multiple items clearitems to empty multiple items (readmultiple / writemultiple)

NOTE: With datatype=xxxArray msg.payload.range = "2:4" can used as indexRange to read/write partial array

Output message

PropertyFunction/ValueNotes
payloaddataValue.value.value
statusCodeOPC UA StatusCode
sourceTimestampSource timestamp
serverTimestampServer´s timestamp

Release history (only couple of older releases):

v0.2.223

v0.2.117

v0.2.116

v0.2.115

v0.2.114

v0.2.113

v0.2.112

v0.2.111

v0.2.110

v0.2.109

v0.2.108 and older

Authors

Testing

karma start opcua.conf.js --log-level debug --single-run

TBD List

NodesFunctionDone
All
Project structure:white_check_mark:
Async calls:waxing_crescent_moon:
UnitTesting:new_moon:
Documentation:first_quarter_moon:
Item:white_check_mark:
Browser
Browse:white_check_mark:
Simple UI interface:first_quarter_moon:
Client
Read:white_check_mark:
Read Multiple:white_check_mark:
Write:white_check_mark:
Write Multiple:white_check_mark:
Subscribe:white_check_mark:
Unsubscribe:white_check_mark:
DeleteSubscription:white_check_mark:
Info:white_check_mark:
Browse:white_check_mark:
AE:new_moon:
reconnect on error:waxing_crescent_moon:
Server
Commands
Restart:white_check_mark:
Add Folder:white_check_mark:
Set Folder:white_check_mark:
Add Variable:white_check_mark:
Add Object:new_moon:
Add Method:new_moon:
Add Equipment:first_quarter_moon:
Add PhysicalAssets:first_quarter_moon:
Delete by NodeId:white_check_mark:
Examples
Methods
Structures
Variables
Objects
AE
Alarm and Events
Subscribe:white_check_mark:

EMOJI CHEAT SHEET

0.2.328

3 days ago

0.2.327

10 days ago

0.2.326

11 days ago

0.2.325

28 days ago

0.2.323

3 months ago

0.2.322

3 months ago

0.2.321

3 months ago

0.2.320

5 months ago

0.2.318

7 months ago

0.2.316

7 months ago

0.2.315

8 months ago

0.2.314

8 months ago

0.2.306

12 months ago

0.2.313

9 months ago

0.2.312

9 months ago

0.2.311

9 months ago

0.2.310

9 months ago

0.2.309

10 months ago

0.2.308

11 months ago

0.2.307

11 months ago

0.2.305

1 year ago

0.2.304

1 year ago

0.2.299

1 year ago

0.2.298

1 year ago

0.2.297

1 year ago

0.2.296

1 year ago

0.2.295

1 year ago

0.2.303

1 year ago

0.2.302

1 year ago

0.2.301

1 year ago

0.2.300

1 year ago

0.2.293

1 year ago

0.2.292

1 year ago

0.2.291

2 years ago

0.2.290

2 years ago

0.2.289

2 years ago

0.2.288

2 years ago

0.2.287

2 years ago

0.2.286

2 years ago

0.2.285

2 years ago

0.2.284

2 years ago

0.2.283

2 years ago

0.2.282

2 years ago

0.2.281

2 years ago

0.2.280

2 years ago

0.2.279

2 years ago

0.2.278

2 years ago

0.2.277

2 years ago

0.2.276

2 years ago

0.2.275

2 years ago

0.2.269

2 years ago

0.2.268

2 years ago

0.2.267

2 years ago

0.2.266

2 years ago

0.2.265

2 years ago

0.2.264

2 years ago

0.2.263

2 years ago

0.2.262

2 years ago

0.2.261

2 years ago

0.2.274

2 years ago

0.2.273

2 years ago

0.2.272

2 years ago

0.2.271

2 years ago

0.2.270

2 years ago

0.2.260

2 years ago

0.2.259

2 years ago

0.2.258

2 years ago

0.2.257

2 years ago

0.2.256

2 years ago

0.2.255

2 years ago

0.2.254

2 years ago

0.2.253

2 years ago

0.2.252

2 years ago

0.2.251

2 years ago

0.2.250

2 years ago

0.2.249

2 years ago

0.2.248

2 years ago

0.2.247

2 years ago

0.2.246

2 years ago

0.2.245

2 years ago

0.2.244

3 years ago

0.2.243

3 years ago

0.2.242

3 years ago

0.2.240

3 years ago

0.2.239

3 years ago

0.2.238

3 years ago

0.2.237

3 years ago

0.2.236

3 years ago

0.2.235

3 years ago

0.2.234

3 years ago

0.2.233

3 years ago

0.2.232

3 years ago

0.2.231

3 years ago

0.2.230

3 years ago

0.2.229

3 years ago

0.2.228

3 years ago

0.2.227

3 years ago

0.2.226

3 years ago

0.2.225

3 years ago

0.2.224

3 years ago

0.2.223

3 years ago

0.2.222

3 years ago

0.2.118

3 years ago

0.2.117

3 years ago

0.2.116

3 years ago

0.2.115

3 years ago

0.2.114

3 years ago

0.2.221

3 years ago

0.2.220

3 years ago

0.2.113

3 years ago

0.2.112

3 years ago

0.2.111

3 years ago

0.2.110

3 years ago

0.2.109

3 years ago

0.2.108

3 years ago

0.2.107

3 years ago

0.2.106

3 years ago

0.2.105

3 years ago

0.2.104

3 years ago

0.2.103

3 years ago

0.2.102

3 years ago

0.2.101

3 years ago

0.2.100

3 years ago

0.2.99

3 years ago

0.2.98

3 years ago

0.2.97

3 years ago

0.2.96

3 years ago

0.2.95

3 years ago

0.2.94

3 years ago

0.2.93

3 years ago

0.2.92

3 years ago

0.2.91

3 years ago

0.2.90

3 years ago

0.2.89

4 years ago

0.2.88

4 years ago

0.2.87

4 years ago

0.2.86

4 years ago

0.2.85

4 years ago

0.2.84

4 years ago

0.2.83

4 years ago

0.2.82

4 years ago

0.2.81

4 years ago

0.2.80

4 years ago

0.2.79

4 years ago

0.2.78

4 years ago

0.2.77

4 years ago

0.2.76

4 years ago

0.2.75

4 years ago

0.2.74

4 years ago

0.2.73

4 years ago

0.2.72

4 years ago

0.2.71

4 years ago

0.2.69

4 years ago

0.2.70

4 years ago

0.2.68

4 years ago

0.2.67

4 years ago

0.2.66

4 years ago

0.2.65

4 years ago

0.2.64

4 years ago

0.2.63

4 years ago

0.2.62

4 years ago

0.2.61

4 years ago

0.2.60

4 years ago

0.2.59

4 years ago

0.2.58

4 years ago

0.2.57

4 years ago

0.2.56

4 years ago

0.2.55

4 years ago

0.2.54

4 years ago

0.2.53

4 years ago

0.2.52

4 years ago

0.2.51

4 years ago

0.2.50

4 years ago

0.2.49

5 years ago

0.2.48

5 years ago

0.2.47

5 years ago

0.2.45

5 years ago

0.2.44

5 years ago

0.2.43

5 years ago

0.2.42

5 years ago

0.2.41

5 years ago

0.2.40

5 years ago

0.2.39

5 years ago

0.2.38

5 years ago

0.2.37

5 years ago

0.2.36

5 years ago

0.2.35

5 years ago

0.2.34

5 years ago

0.2.33

5 years ago

0.2.32

6 years ago

0.2.31

6 years ago

0.2.30

6 years ago

0.2.28

6 years ago

0.2.27

6 years ago

0.2.26

6 years ago

0.2.25

6 years ago

0.2.24

6 years ago

0.2.23

6 years ago

0.2.22

7 years ago

0.2.20

7 years ago

0.2.19

7 years ago

0.2.18

7 years ago

0.2.17

7 years ago

0.2.16

7 years ago

0.2.14

7 years ago

0.2.13

7 years ago

0.2.12

7 years ago

0.2.11

7 years ago

0.2.10

8 years ago

0.2.9

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

9 years ago