I have an Wireless RS485 PR55-34 module and a Wireless USB model PR55-17A. I am having issues trying to send and receive data from the RS485 module. As I understand it, when the RS485 module is powered on, it send a "READY’ message.
I have a simple flow (Wireless Gateway → Debug). When I restart Node-Red, and then power cycle the RS485 module, I get a message displayed in the debug panel.
{“mac”:“00:13:a2:00:41:f6:8f:7a”,“type”:19968,“nodeId”:82,“mode”:“”,“lastHeard”:1666564795430}
If I power cycle the RS485 module again, I don’t see additional messages. However, if I restart Node-Red again, then power cycle the RS485 module, I get another single message.
Is this normal behaviour? I was expecting a message every time I power cycle the RS485 module.
Once I know this is normal I will connect a Modbus power meter to it and attempt to send a “READ” instruction and receive a response. I have already put together the data to send for the “READ” instruction.
msg.payload = { data: [0x01, 0x03, 0x40, 0x00, 0x00, 0x06, 0xD2, 0x98], address: “00:13:a2:00:41:f6:8f:7a”};
Data – device address 01, instruction 03 (Read), start register 4000, read 6 registers, 0xD2 & 0x98 are the checksums
Address – the mac address of the RS485 module
Any help would be appreciated.