SpaceLogic KNX Forum
Schneider Electric SpaceLogic KNX forum to get support and share knowledge including selection, installation and troubleshooting for spaceLYnk, Wiser for KNX, eConfigure KNX, SpaceLogic KNX Hybrid module and other topics.
Posted: 2018-02-25 12:39 AM . Last Modified: 2024-07-14 11:50 PM
Link copied. Please paste this link to share this article on your social media post.
Dear all,
In a project with Wiser for KNX (Home Lynk) and we want an integrate between Caseti fan coil (RS232 port) and WFK (RS232), All settings are done according to the guide, The commands are sent as a Hex code to turn on the fan coil to the port, But fan coil has no reaction. The codes sent by WFK are displayed as ASCII code when read by Hercules software. Hex codes are displayed in Hex when they are in the range of 0x00 to 0x1f in the format {}. Hex codes are displayed in Hercules, when they are in the range of 0x00 to 0x1f in this format {} and codes above 0x1f as an ASCII code, This means that they are displayed without {}.
The code for the fan coil is above 0x1f, So there is no reaction. But to turn off the fan coil, because the code is 0x00, it's easy to turn off the command and run. Also, information sent from the side of the fan coil is Hex code which is read by WFK. But the codes read in WFK and in the Alert part are displayed as ASCII characters and there is no way of detecting the information.
Find the attached files.
Best Regards
Posted: 2018-02-26 04:28 AM
Link copied. Please paste this link to share this article on your social media post.
Hi, instead of your port:write use:
data = string.char(0x01, 0x10, 0x00, 0x01, ................ )
port:flush()
port:write(data)
Link copied. Please paste this link to share this article on your social media post.
Hi Pawel,
As you can find in the attached files, I try to use both commands, once we use port: write (first picture) and then we use the second command string.char (second picture) but the result was same.
When the Hex code is greater than 0x1f, it is represented as an ASCII (We see this in the Hercules software).Pawel MICHALOWSKI
Link copied. Please paste this link to share this article on your social media post.
Hello Danial,
Can I ask why are you using RS232 instead of Modbus communication?
In documents you attach they are refer to Modbus communication and Modbus registres.
Thank you for clarification
David
Link copied. Please paste this link to share this article on your social media post.
Hello David,
Please kindly see in CASSETTE FCU mod-bus manual.pdf attached. On page 5 says: "The Protocol is similar to "Modbus Application Protocol V1.1B", not equal to Modbus."
Best Regards
Link copied. Please paste this link to share this article on your social media post.
Hello Danial,
So far I do not find any mistakes in your code. I am in testing, please be patient.
I will update you asap.
BR
David
Link copied. Please paste this link to share this article on your social media post.
Thank you David.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.