![]()
#Loxone modbus series#The series of Status Blocks cascades text from one block to the next and adds each Flat data to the preceding text. Place the meter reading for Flat 3 onto the AI2 input. At the top of the Text column, enterįrom the TQ output, connect to AI1 of another Status block. Place the meter reading for Flat 2 onto the AI2 input. Place the meter reading for Flat 1 onto the AI1 input. Get a Status Block (in the General category in the blocks). I don’t have access to the Config for a week, so I’ll have to resort to a description instead. Notwithstanding, there might be an ugly workaround. Unfortunately Loxone doesn’t provide an easy way to consolidate information for emailing. The values between represent T2, T3 and T4. The last two values (69 9F) will be the CRC check. The values returned are repeated again (00 01 DB 13), according with the T1 value in the screenshot. Divided by 100 = 1216.19 kWh for Total value. ![]() That will return a value of Decimal 121619. \4\3\2\1 = the next four bytes arranged from most significant (4) to least significant (1) #Loxone modbus Pc#In the PC screenshot example, the same method is used for the command recognition -Ĭommand Recognition = \x4D\x03\x14\4\3\2\1 The value 00 00 C2 AB is repeated again immediately after the first instance. I assume these are for 4 different Tariff periods. Note that the meter has values for T1, T2, T3, T4. Result = 498.35 kWh for the Total value of the Meter. You will need a formula block to divide this value by 100. That will return a decimal value of 49835. \4\3\2\1 = the next four bytes will be ingested and arranged from most significant (4) to least significant (1) X14 = defines 20 bytes length for this value polled (14hex = 20 decimal) I assume each of the 80 meters has a different Meter ID? It might be a sub-second timeframe to a couple of seconds. This will inform how quickly you can set up the polling. Other helpful information going forward is the time-frame from triggering the Actuator to seeing a response on the Sensor. The Learn function will include the value as well and because the value is changing, it won't be recognised thereafter. This Command Recognition won't work but will give a basis to construct another variation. If either of those options don't work, try the 'Learn' function in the Config and see what Loxone thinks. This format looks for the string \x7C\x03\x02, then takes the next byte (\2) as the more significant portion of the value, followed by the next byte (\1) as the least significant portion of the value. My initial idea for the Command Recognition in the Sensor is as follows. You will create a Sensor that will read the value triggered by the Actuator. Getting the Command Recognition correct can sometimes be a challenge in the Config. If you have success so far, the next step will be to automatically recognise the relevant part of the returned value for volts. Use a hex to decimal converter to check if the value is reasonable for Volts. Look for the two values directly after 7C 03 02. When you manually trigger the Actuator with Lox Config, monitor the RS232/485 tab and see what is returned. Where -Ġ2 = Probably defines 2 bytes length for this value polled In this case the green text, 7C 03 02 5D 4A 6D 29. You should receive a response that returns the Voltage. #Loxone modbus generator#You can trigger the sending of the command by a Pulse Generator block or manually with a Virtual Input push button. In the Loxone Config, you should create an Actuator (not a sensor), then send the following command (Command for ON). If I refer to the following red underline in the picture, I can make out a few details. ![]() Loxone config sensor command learned in from RS485 monitorĪ lot of questions. Loxone config sensor command copied from PC software. Have I correctly inserted the command, am I allowed to use slash and space when typing the commands ? How do I set the sensor input to send this command to the Electricity counter ?Īnd where in the RS485 sensor option do I insert how often it should send the commands. So I Learned in the commands But it does not show the data I need. #Loxone modbus software#When I send command on manufacturer software Loxone Software in RS485 monitor I can see those commands. I have connected counters to the RS485 extension and the other end was connected to the PC via RS485 to usb adapter. I copied the command from Orno Manufacturer software and pasted it In RS485 sensor command. #Loxone modbus how to#The question is how to define the command in Loxone config to get out the information. I connected to the counter directly from the computer to give it the address. ![]() In Our project we are using Loxone Miniserver –> RS485 Extension –> Orno OR-WE 514 Electricity counter (third party) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |