modbus rtu and zuno

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
Vitali
Posts: 1
Joined: 04 Feb 2019 16:34

modbus rtu and zuno

Post by Vitali » 12 Jun 2019 21:09

Hey. I try to solve the problem by integrating z-wave and modbus RTU (RS-485) last 1-2 months. Does anyone have any experience with this? I'm trying to send a simple command to read or write the register, but it does not work. What I am sending is not recognized correctly. How to send a command to read and write? :( :?:

Code: Select all

 if (varState > 0) {
		 sendText = '01030200017984';
		}
	 else {
		 sendText = '0103020000b844';
		}
	 digitalWrite(pin_direction_RX_TX, HIGH);
	 delay(5);
	 Serial.print(sendText, HEX);
	 Serial0.print(sendText, HEX);
	 delay(5);
	 digitalWrite(pin_direction_RX_TX, LOW);

brunoap
Posts: 1
Joined: 30 Oct 2019 20:25

Re: modbus rtu and zuno

Post by brunoap » 30 Oct 2019 20:27

Hello,

I'm looking for information about communications between Z-Wave and Modbus, could you get it to work? Would you mind sharing the information?

Thank you very much and best regards, Bruno

User avatar
PoltoS
Posts: 5053
Joined: 26 Jan 2011 19:36

Re: modbus rtu and zuno

Post by PoltoS » 31 Oct 2019 13:02

Modbus is based on RS485. Check this https://z-uno.z-wave.me/examples/rs-485/

Z-Uno Shield has a built in RS485 hardware.

Post Reply