Closed Kortenbach closed 2 years ago
Some example files are to find in the extras folder.
The flaq for the payload changes the output of the node:
I try to create more docs soon ...
This issue is stale because it has been open 60 days with no activity. It will be closed in 30 days, but can be saved by removing the stale label or commenting.
I'm submitting a ... (check one with "x")
Support/Advice
Feature
( ) feature request
What is the motivation / use case for changing the behavior?
Simple question to get some hint
Problem
( ) unexpected behavior => please visit the Wiki before
Current behavior I have looked at the CODESYS-CSV-To-IO example. It has some errors in the "filter named register" function (I changed the example documentation Wiki to include a few changes to the code) I'm able now to generate the sdm630.json file but in another folder than in the example (I'm running a docker image). This is where I get stuck. How does Modbus read refer to this JSON file. There is no documentation and the example code doesn't work. Can you give me a few hints on how to proceed?
Expected behavior I expected a working example on how to map Modbus IO to named IO's
Minimal reproduction of the problem with instructions
Your Environment
Running Node-RED from a docker container under Windows 10.
(x) I am using just the Node-RED package and got modbus-serial package installed with it
( ) I have installed modbus-serial package global from source (using git clone)
( ) I have installed modbus-serial as a global package (using npm i -g)
Yes, modbus-serial is the name but it does all, TCP and Serial. The node-modbus package is just for the Modbus Server node.
Device :
( ) macOS: v
( ) Linux: v
(x) Windows: v
( ) Raspbian: v
( ) Other:
Description of the connecting Modbus system:
node-red-contrib-modbus version: latest
Node: (latest)
node --version
= vX.X.X