0.0.41 • Published 1 year ago

node-red-contrib-siemens-sentron v0.0.41

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

node-red-contrib-siemens-sentron

Node-RED nodes to read electrical measures from Siemens SENTRON series over Modbus TCP/IP.

Table of Contents


Install

You can install these nodes directly from the Manage Palette menu in the Node-RED interface.

Alternatively, run the following command in your Node-RED user directory - typically ~/.node-red on Linux or %HOMEPATH%\.nodered on Windows

    npm install node-red-contrib-siemens-sentron
    

You must also install node-red-contrib-modbus directly from the Manage Palette menu in the Node-RED interface or run the following command in your Node-RED user directory

    npm install node-red-contrib-modbus
             

How to use

measure node

Use the measure node to configure which information you want to request from the device.

Wire the output of the measure to the input of the Modbus Flex Getter from 'node-red-contrib-modbus' modules.

Enable check box Keep Msg Properties in the Modbus Flex Getter properties.

getter node

Use the getter node to convert the values from the modbus response into human readable numbers.

Wire the second output of the Modbus Flex Getter to the input of the getter.

Supported devices

Measuring devices

  • PAC1200
  • PAC1600
  • PAC2200
  • PAC3100
  • PAC3120
  • PAC3200
  • PAC3220
  • PAC3200T
  • PAC4200
  • PAC5200
  • SEM3

Transfer controller

  • ATC6300

Molded case circuit breakers

  • 3VA

Dataserver

  • 7KN Powercenter 1000

RF devices

  • 5SL6 COM
  • 5SV6 COM
  • 5ST3 COM
  • 3NA COM

Usage

Example flow

[{"id":"ac42dc3cfc737a41","type":"tab","label":"Siemens SENTRON","disabled":false,"info":"","env":[]},{"id":"ba83206eb52d59f2","type":"inject","z":"ac42dc3cfc737a41","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"10","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":190,"y":180,"wires":[["9edbc9242d918b94","209122aaf081e90d"]]},{"id":"9edbc9242d918b94","type":"measure","z":"ac42dc3cfc737a41","name":"","unitId":"1","device":"pac2200","deviceProtection":"5st3com","data":"voltageLL-avg","x":400,"y":140,"wires":[["0a2ba7e6c1721f97"]]},{"id":"56cf05bc9733a65f","type":"getter","z":"ac42dc3cfc737a41","name":"","unitId":"","data":"","x":790,"y":140,"wires":[["be3da888d87fa30f"]]},{"id":"0a2ba7e6c1721f97","type":"modbus-flex-getter","z":"ac42dc3cfc737a41","name":"","showStatusActivities":false,"showErrors":false,"logIOActivities":false,"server":"50fc5c2a64d40a1e","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":true,"x":590,"y":140,"wires":[[],["56cf05bc9733a65f"]]},{"id":"be3da888d87fa30f","type":"debug","z":"ac42dc3cfc737a41","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":950,"y":140,"wires":[]},{"id":"209122aaf081e90d","type":"measure","z":"ac42dc3cfc737a41","name":"","unitId":"1","device":"pac2200","deviceProtection":"5st3com","data":"current-avg","x":400,"y":220,"wires":[["e1621552b6017614"]]},{"id":"b1dcc45732697c41","type":"getter","z":"ac42dc3cfc737a41","name":"","unitId":"","data":"","x":790,"y":220,"wires":[["3ece6051729284e5"]]},{"id":"e1621552b6017614","type":"modbus-flex-getter","z":"ac42dc3cfc737a41","name":"","showStatusActivities":false,"showErrors":false,"logIOActivities":false,"server":"50fc5c2a64d40a1e","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":true,"x":590,"y":220,"wires":[[],["b1dcc45732697c41"]]},{"id":"3ece6051729284e5","type":"debug","z":"ac42dc3cfc737a41","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":950,"y":220,"wires":[]},{"id":"358e4fca54d8b667","type":"comment","z":"ac42dc3cfc737a41","name":"PAC2200","info":"","x":400,"y":100,"wires":[]},{"id":"50fc5c2a64d40a1e","type":"modbus-client","name":"","clienttype":"tcp","bufferCommands":true,"stateLogEnabled":false,"queueLogEnabled":false,"tcpHost":"192.168.1.113","tcpPort":"502","tcpType":"DEFAULT","serialPort":"/dev/ttyUSB","serialType":"RTU-BUFFERD","serialBaudrate":"9600","serialDatabits":"8","serialStopbits":"1","serialParity":"none","serialConnectionDelay":"100","serialAsciiResponseStartDelimiter":"0x3A","unit_id":"1","commandDelay":"1","clientTimeout":"1000","reconnectOnTimeout":true,"reconnectTimeout":"2000","parallelUnitIdsAllowed":true}]

Device type

device-config

Meter data

data-config

Circuit protection device

circuit-protection-device

Circuit protection data

circuit-protection-device

Message object

message-format

Sample flow

sample-flow

Application examples

SENTRON 7KN Powercenter 1000 push messages with Node-RED

Meters data

List of PAC2200 meter data:

MeasureUnitsType
Voltage L1-NVFloat 32
Voltage L2-NVFloat 32
Voltage L3-NVFloat 32
Voltage L1-L2VFloat 32
Voltage L2-L3VFloat 32
Voltage L3-L1VFloat 32
Current L1AFloat 32
Current L2AFloat 32
Current L3AFloat 32
Apparent power L1VAFloat 32
Apparent power L2VAFloat 32
Apparent power L3VAFloat 32
Active power L1WFloat 32
Active power L2WFloat 32
Active power L3WFloat 32
Reactive power L1varFloat 32
Reactive power L2varFloat 32
Reactive power L3varFloat 32
Power factor L1-Float 32
Power factor L2-Float 32
Power factor L3-Float 32
FrequencyHzFloat 32
Average voltage L-NVFloat 32
Average voltage L-LVFloat 32
Average currentAFloat 32
Total apparent powerVAFloat 32
Total active powerWFloat 32
Total reactive powervarFloat 32
Total power factor-Float 32
Neutral currentAFloat 32
Active energy importWhFloat 32
Reactive energy importvarhFloat 32
Active energy exportWhFloat 32
Reactive energy exportvarhFloat 32
Active energy import tariff 1kWhDouble
Active energy import tariff 2kWhDouble
Active energy export tariff 1kWhDouble
Active energy export tariff 2kWhDouble
Reactive energy import tariff 1kvarhDouble
Reactive energy import tariff 2kvarhDouble
Reactive energy export tariff 1kvarhDouble
Reactive energy export tariff 2kvarhDouble
Apparent energy tariff 1kVAhDouble
Apparent energy tariff 2kVAhDouble

List of 7KN Powercenter 1000 meter data:

MeasureUnitsType
Current temperature°CFloat 32
Average temperature°CFloat 32
Actual current LAFloat 32
Average current LAFloat 32
Maximum current LAFloat 32
L-N voltageVFloat 32
Line frequencyHzFloat 32
Active power LWFloat 32
Apparent power LVAFloat 32
Reactive power LvarFloat 32
Power factor L-Float 32
Imported active energykWhFloat 64
Exported actie energykWhFloat 64
Imported reactive energykvarhFloat 64
Exported reactive energykvarhFloat 64
Protection device status-Unsigned int 16
Alarms status-Unsigned int 32
Mechanical operating cycles-Float 32
Tripping operations-Float 32
Short-circuit trips-Float 32

Set unit IDs (1 .. 24) for paired circuit protection devices.

Equipment compatibility

Compare the values obtained with the measures on the installed device and report any bugs such as:

  • measured value error
  • measured value format
  • unit of measure

These modules have been developed and tested on:

  • SENTRON PAC2200
  • 7KN Powercenter 1000 with 5SL6 COM
0.0.40

1 year ago

0.0.41

1 year ago

0.0.38

1 year ago

0.0.39

1 year ago

0.0.37

2 years ago

0.0.35

2 years ago

0.0.36

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.32

2 years ago

0.0.33

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.29

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.15

2 years ago

0.0.9

2 years ago

0.0.16

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago