Example flow on how to read out Modbus TCP/IP and connect it to the Blockbax nodes
-
-
Save Lynckx/6a102a93b4e1a429f687ec5fc6ef0197 to your computer and use it in GitHub Desktop.
Modbus TCP/IP to Blockbax
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
[{"id":"f9eeea9.93a5018","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"77929dc7.36b884","type":"modbus-read","z":"f9eeea9.93a5018","name":"","topic":"","showStatusActivities":false,"logIOActivities":false,"showErrors":false,"unitid":"","dataType":"HoldingRegister","adr":"1","quantity":"2","rate":"10","rateUnit":"s","delayOnStart":true,"startDelayTime":"10","server":"196e8579.f6cc9b","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"x":230,"y":320,"wires":[["73c93b72.a2da54","2904d996.a41e06"],["bc3c990a.ad29c8"]]},{"id":"bc3c990a.ad29c8","type":"modbus-response","z":"f9eeea9.93a5018","name":"","registerShowMax":20,"x":410,"y":360,"wires":[]},{"id":"73c93b72.a2da54","type":"Parse","z":"f9eeea9.93a5018","name":"","useIngestionId":true,"ingestionIdType":"str","ingestionId":"ingestionId1","metricExternalIdType":"str","metricExternalId":"metricExternalId","value":"payload[0]","dateType":"GEN","date":"true","x":430,"y":260,"wires":[["ff06d558.20ff98"]]},{"id":"2904d996.a41e06","type":"Parse","z":"f9eeea9.93a5018","name":"","useIngestionId":true,"ingestionIdType":"str","ingestionId":"ingestionId2","metricExternalIdType":"str","metricExternalId":"metricExternalId","value":"payload[1]","dateType":"GEN","date":"true","x":430,"y":300,"wires":[["ff06d558.20ff98"]]},{"id":"ff06d558.20ff98","type":"Send","z":"f9eeea9.93a5018","name":"","project":"cea5f4ed.12d2e8","senderType":"MQTT","batchPeriod":0,"batchPeriodUnit":"S","x":620,"y":300,"wires":[]},{"id":"196e8579.f6cc9b","type":"modbus-client","z":"","name":"test-server","clienttype":"tcp","bufferCommands":false,"stateLogEnabled":false,"queueLogEnabled":false,"tcpHost":"172.19.0.2","tcpPort":"5020","tcpType":"DEFAULT","serialPort":"/dev/ttyUSB","serialType":"RTU-BUFFERD","serialBaudrate":"9600","serialDatabits":"8","serialStopbits":"1","serialParity":"none","serialConnectionDelay":"100","unit_id":"1","commandDelay":"1","clientTimeout":"1000","reconnectOnTimeout":true,"reconnectTimeout":"2000","parallelUnitIdsAllowed":true},{"id":"cea5f4ed.12d2e8","type":"Project","z":"","name":"Test Project","useEnvVar":false,"projectId":"","accessTokenPublicId":"","accessTokenSecret":""}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment