Dragino MS48-LR RS485 port as modbus client.

34 views
Skip to first unread message

Halvor

unread,
Mar 7, 2025, 9:04:42 PMMar 7
to Dragino-user
Hello. This is question about MS48-LR gateway. 

Is it it possible to use the inbuilt RS485 port for modbus client functionality?

I know RS485 port is meant for communicating with MS48-LR internal modbus server, but i want to use RS485 port as client. 

I have already tried with modbus-read node in node red, inside of MS48-LR to read modbus registers off external modbus server via rs485 port, but it did not work for me. modbus-read node doesnt seem to communicate with the MS48-LR rs485 serial port.





kilight

unread,
Mar 7, 2025, 10:05:46 PMMar 7
to Halvor, dragino-user
Hi, Halvor

The RS485 port of MS48-LR can be used as a modbus client to forward received lorawan data packets to the modbus server
MS48-LR does not have a modbus server inside,
If modbus rtu mode is enabled on MS48-LR, the rs485 port will be occupied, and node-red on ms48-lr cannot be used to read it.

Best Regards

Kilight
Technical Support Engineer

说明: 说明: DRAGINO-LOGO-签名 

Dragino Technology Co., Limited

Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad

LongCheng Street, LongGang District ; Shenzhen 518101,China

Direct: +86 755 86610829 |Fax: +86 755 86647123


------------------------------------------------------------------
发件人:Halvor <hnr....@gmail.com>
发送时间:2025年3月8日(星期六) 10:04
收件人:"Dragino-user"<dragin...@googlegroups.com>
主 题:Dragino MS48-LR RS485 port as modbus client.
--
You received this message because you are subscribed to the Google Groups "Dragino-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dragino-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dragino-user/d2254dfa-609e-4c87-b868-696acdf5026fn%40googlegroups.com.

temp4cj.png
InsertPic_CD64(04-16-15-32-48)(1).png

Halvor

unread,
Mar 9, 2025, 8:42:57 PMMar 9
to Dragino-user
Thanks for answer. To clarify.  If the built-in Modbus function is disabled (rs485 port is not used) , can the RS485 port be accessed freely by external software like Node-RED for Modbus communication? I want MS48-LR to read data from rs485 energy meters. By using node-red. Best regards Halvor  

kilight

unread,
Mar 9, 2025, 8:59:46 PMMar 9
to Halvor, dragino-user
Hi, Halvor

How to access the RS485 port of ms48-lr can refer to the following link:
On nodered, you can use the serial in node to read the rs485 interface of ms48-lr, and the control command can use the exec node

We do not have more examples of reading external rs485 using nodered

Best Regards

Kilight
Technical Support Engineer

说明: 说明: DRAGINO-LOGO-签名 

Dragino Technology Co., Limited

Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad

LongCheng Street, LongGang District ; Shenzhen 518101,China

Direct: +86 755 86610829 |Fax: +86 755 86647123


------------------------------------------------------------------
发件人:Halvor <hnr....@gmail.com>
发送时间:2025年3月10日(星期一) 08:43
收件人:"Dragino-user"<dragin...@googlegroups.com>
主 题:Re: Dragino MS48-LR RS485 port as modbus client.
temp4cj.png
InsertPic_CD64(04-16-15-32-48)(1).png

Halvor

unread,
Mar 13, 2025, 8:49:42 PMMar 13
to Dragino-user
Ok thank you for help. 
Reply all
Reply to author
Forward
0 new messages