Skip to content
Search…
Search
Quick links
Unanswered topics
Active topics
Search
Forum
FAQ
Produkte
Success Stories
Forum
Support
Unternehmen
Shop
Quick links
Unanswered topics
Active topics
Search
Forum
FAQ
Register
Login
Remember me
Search…
Search
Home
English
3rd party software
RevPi Nodes for Node-RED
Search
Unanswered topics
|
Active topics
Read the input status of virtual ModbusRTU in Node Red
Post Reply
Print view
hikaru2001
Topic Author
Posts:
38
Joined:
18 Feb 2019, 04:13
Read the input status of virtual ModbusRTU in Node Red
Quote
#1
06 Apr 2021, 10:42
Hello friend,
I want to read out the input words of virtual ModbusRTU Master module in Node Red. However I have no good solution. Do you have some idea? Thank you!
Top
->Johannes<-
Re: Read the input status of virtual ModbusRTU in Node Red
Quote
#2
08 Apr 2021, 08:54
Hi hikaru,
have look at
Help Read Data Gateway Profinet Please!
At the last post you should replace "RevPiLED" with your word variable, e.g. "Input_Word_1"
Best regards
Johannes
Top
hikaru2001
Topic Author
Posts:
38
Joined:
18 Feb 2019, 04:13
Re: Read the input status of virtual ModbusRTU in Node Red
Quote
#3
09 Apr 2021, 04:33
Hi Johannes,
Thank you!
Your method works, but the return type is string in Node-red. Additionally I use function node(msg.payload = Number(msg.payload); return msg;) to convert the string value into number value, then the value can be calculated later.
Top
jgerlach-erminas
Official 3rd Party Support Erminas
Posts:
33
Joined:
22 Jan 2020, 14:31
Re: Read the input status of virtual ModbusRTU in Node Red
Quote
#4
13 Apr 2021, 10:18
Hello hikaru,
custom/manual return types is a already feature request, you can follow future progress here
https://github.com/erminas/node-red-con ... /issues/13
Greetings,
Jonas
Top
Display posts from previous:
All posts
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by
Author
Post time
Subject
Ascending
Descending
Post Reply
Print view
Who is online
Users browsing this forum: No registered users and 1 guest
×