Logic Machine Forum
Systemair RS-485 - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Systemair RS-485 (/showthread.php?tid=1540)



Systemair RS-485 - Evens - 17.08.2018

Hi,
 
I see that many already have integrated their Systemair ventilation system thru RS-485, I’m trying to do the same, but I’m having difficulties connecting. I’m using the RJ45 plug at the top of the ventilation unit connected to the first RS-485 port at the LM. I’m running RTU scan and can’t find anything. In the Modbus manual supplied by Systemair, the drawing shows that A = pin 5 and B = pin 4. I have tried this and switching A and B. Does anyone have an idea what I’m doing wrong?

Manual:
https://www.systemair.com/globalassets/documentation/40903.pdf
 
BR Even Sundgot.


RE: Systemair RS-485 - admin - 17.08.2018

Try using RTU read test. Scan might not work for some devices. Check that baud rate and parity settings are correct. When reading make sure you have valid register address. Some devices silently ignore reads to registers that are not present instead of replying with an error.


RE: Systemair RS-485 - Evens - 17.08.2018

I have set ID to 1. Baud rate to 19200 and parity to Even an the panel of the Systemair. I have connected A to A on LM and B to B on LM.

I have tried to read several address from the manual but only got timeout.

I noticed something in the manual, it looks like the Ventilation system is Modbus Master, am i correct?
On page 4. Chapter 6. Position 4. Modbus Master. How can i read from a master?


RE: Systemair RS-485 - chriscroko - 19.08.2018

The ventilation system is a modbus slave. In the manual the Master is an indication of were the line termination should be. And the master will be your LM.
Your unit is indicated by the RJ45 plugs, Position 2 on page 4.

The setup you have set, has this been setup the same way on the LM? I am reading a Flexit unit from my LM, and have set up Half-Duplex on it and the same parameters as set on the unit.


RE: Systemair RS-485 - Evens - 19.08.2018

Hi,

Ok, thats good. Smile I have set the settings like in the attachment. I'm starting to wounder if the wiring is wrong somehow.


RE: Systemair RS-485 - chriscroko - 19.08.2018

In the field for "port", add /dev/RS485

That works for mine. Unsure if this is different for each version.


RE: Systemair RS-485 - admin - 20.08.2018

Maybe the port got damaged? Have you tried switching to RS485-2?


RE: Systemair RS-485 - Evens - 21.08.2018

Hi,
I will try to switch to RS485-2.
Tried to add text to Port as suggested, but nothing changed.

BR Even Sundgot.


RE: Systemair RS-485 - admin - 21.08.2018

For LMs with 2+ RS-485 ports the naming is /dev/RS485-1, /dev/RS485-2 etc.


RE: Systemair RS-485 - Daniel - 21.08.2018

Correct port naming can be checked in System Config->Status->System status-> Serial ports


RE: Systemair RS-485 - Evens - 22.08.2018

Hi,

I did some testing today, and connected directly to the motherboard of the HVAC. 
i ran a scan with no luck. but when i ran a RTU read test. i got an reply, but not the one i wanted.

Any idea? do i have the connection correct now?

BR Even Sundgot.


RE: Systemair RS-485 - Evens - 06.10.2018

Hi,

Any idea anyone?  Smile

BR Even Sundgot.


RE: Systemair RS-485 - admin - 06.10.2018

See this thread on how to run modbus script with debug enabled and post the results: https://forum.logicmachine.net/showthread.php?tid=1401&pid=8457&highlight=setdebug#pid8457