0.2.339 • Published 12 months ago

node-red-contrib-opcua v0.2.339

Weekly downloads
1,048
License
Apache-2.0
Repository
github
Last release
12 months 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.339

12 months ago

0.2.337

1 year ago

0.2.336

1 year ago

0.2.335

1 year ago

0.2.334

1 year ago

0.2.333

1 year ago

0.2.332

1 year ago

0.2.331

1 year ago

0.2.330

1 year ago

0.2.329

2 years ago

0.2.328

2 years ago

0.2.327

2 years ago

0.2.326

2 years ago

0.2.325

2 years ago

0.2.323

2 years ago

0.2.322

2 years ago

0.2.321

2 years ago

0.2.320

2 years ago

0.2.318

2 years ago

0.2.316

2 years ago

0.2.315

2 years ago

0.2.314

2 years ago

0.2.306

2 years ago

0.2.313

2 years ago

0.2.312

2 years ago

0.2.311

2 years ago

0.2.310

2 years ago

0.2.309

2 years ago

0.2.308

2 years ago

0.2.307

2 years ago

0.2.305

3 years ago

0.2.304

3 years ago

0.2.299

3 years ago

0.2.298

3 years ago

0.2.297

3 years ago

0.2.296

3 years ago

0.2.295

3 years ago

0.2.303

3 years ago

0.2.302

3 years ago

0.2.301

3 years ago

0.2.300

3 years ago

0.2.293

3 years ago

0.2.292

3 years ago

0.2.291

3 years ago

0.2.290

3 years ago

0.2.289

3 years ago

0.2.288

3 years ago

0.2.287

3 years ago

0.2.286

3 years ago

0.2.285

3 years ago

0.2.284

3 years ago

0.2.283

3 years ago

0.2.282

3 years ago

0.2.281

3 years ago

0.2.280

3 years ago

0.2.279

3 years ago

0.2.278

3 years ago

0.2.277

3 years ago

0.2.276

3 years ago

0.2.275

4 years ago

0.2.269

4 years ago

0.2.268

4 years ago

0.2.267

4 years ago

0.2.266

4 years ago

0.2.265

4 years ago

0.2.264

4 years ago

0.2.263

4 years ago

0.2.262

4 years ago

0.2.261

4 years ago

0.2.274

4 years ago

0.2.273

4 years ago

0.2.272

4 years ago

0.2.271

4 years ago

0.2.270

4 years ago

0.2.260

4 years ago

0.2.259

4 years ago

0.2.258

4 years ago

0.2.257

4 years ago

0.2.256

4 years ago

0.2.255

4 years ago

0.2.254

4 years ago

0.2.253

4 years ago

0.2.252

4 years ago

0.2.251

4 years ago

0.2.250

4 years ago

0.2.249

4 years ago

0.2.248

4 years ago

0.2.247

4 years ago

0.2.246

4 years ago

0.2.245

4 years ago

0.2.244

4 years ago

0.2.243

4 years ago

0.2.242

4 years ago

0.2.240

4 years ago

0.2.239

4 years ago

0.2.238

4 years ago

0.2.237

4 years ago

0.2.236

4 years ago

0.2.235

4 years ago

0.2.234

4 years ago

0.2.233

4 years ago

0.2.232

4 years ago

0.2.231

4 years ago

0.2.230

4 years ago

0.2.229

4 years ago

0.2.228

4 years ago

0.2.227

4 years ago

0.2.226

4 years ago

0.2.225

4 years ago

0.2.224

4 years ago

0.2.223

4 years ago

0.2.222

4 years ago

0.2.118

5 years ago

0.2.117

5 years ago

0.2.116

5 years ago

0.2.115

5 years ago

0.2.114

5 years ago

0.2.221

5 years ago

0.2.220

5 years ago

0.2.113

5 years ago

0.2.112

5 years ago

0.2.111

5 years ago

0.2.110

5 years ago

0.2.109

5 years ago

0.2.108

5 years ago

0.2.107

5 years ago

0.2.106

5 years ago

0.2.105

5 years ago

0.2.104

5 years ago

0.2.103

5 years ago

0.2.102

5 years ago

0.2.101

5 years ago

0.2.100

5 years ago

0.2.99

5 years ago

0.2.98

5 years ago

0.2.97

5 years ago

0.2.96

5 years ago

0.2.95

5 years ago

0.2.94

5 years ago

0.2.93

5 years ago

0.2.92

5 years ago

0.2.91

5 years ago

0.2.90

5 years ago

0.2.89

5 years ago

0.2.88

5 years ago

0.2.87

5 years ago

0.2.86

5 years ago

0.2.85

5 years ago

0.2.84

5 years ago

0.2.83

5 years ago

0.2.82

5 years ago

0.2.81

5 years ago

0.2.80

5 years ago

0.2.79

5 years ago

0.2.78

5 years ago

0.2.77

5 years ago

0.2.76

5 years ago

0.2.75

5 years ago

0.2.74

5 years ago

0.2.73

5 years ago

0.2.72

5 years ago

0.2.71

5 years ago

0.2.69

5 years ago

0.2.70

5 years ago

0.2.68

5 years ago

0.2.67

5 years ago

0.2.66

5 years ago

0.2.65

5 years ago

0.2.64

5 years ago

0.2.63

5 years ago

0.2.62

5 years ago

0.2.61

5 years ago

0.2.60

5 years ago

0.2.59

5 years ago

0.2.58

6 years ago

0.2.57

6 years ago

0.2.56

6 years ago

0.2.55

6 years ago

0.2.54

6 years ago

0.2.53

6 years ago

0.2.52

6 years ago

0.2.51

6 years ago

0.2.50

6 years ago

0.2.49

6 years ago

0.2.48

6 years ago

0.2.47

6 years ago

0.2.45

7 years ago

0.2.44

7 years ago

0.2.43

7 years ago

0.2.42

7 years ago

0.2.41

7 years ago

0.2.40

7 years ago

0.2.39

7 years ago

0.2.38

7 years ago

0.2.37

7 years ago

0.2.36

7 years ago

0.2.35

7 years ago

0.2.34

7 years ago

0.2.33

7 years ago

0.2.32

7 years ago

0.2.31

7 years ago

0.2.30

7 years ago

0.2.28

8 years ago

0.2.27

8 years ago

0.2.26

8 years ago

0.2.25

8 years ago

0.2.24

8 years ago

0.2.23

8 years ago

0.2.22

8 years ago

0.2.20

8 years ago

0.2.19

8 years ago

0.2.18

8 years ago

0.2.17

8 years ago

0.2.16

9 years ago

0.2.14

9 years ago

0.2.13

9 years ago

0.2.12

9 years ago

0.2.11

9 years ago

0.2.10

9 years ago

0.2.9

9 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago