Enter forum description here ...
0
Under review

Response timeout with Vallox modbus

Jürgen Jürgenson 6 years ago in Devices / Modbus updated 5 years ago 4

Hey,

We have 2 similar buildings, with same settings and hardware. We use Vallox ventilation and control them with USB modbus dongle. But after tomorrow we started to get response timeouts on one building(other building has no timeouts). The whole modbus line feels slower too(chaning the vent speeds works but it feels slower than before). I know the log used to be clean without any timeouts. Now im trying to debug what is causing it. So far it feels like they are responding but not for all requests. Here is a small screenshot where i get timeouts for ventilation State(4609) and Fan speed(4353)

Image 1554

Is there any other way to know witch ventilation is not responding(we have total of 19 units) The path only show the modbus dongle. I have looked at the times too and compared them to the log monitor, but it seams to me that the response timeouts are random. Sometimes they get awnsers sometimes they don't. Here are my settings for the USB dongle: 

Image 1555

Other building works just fine with the same settings, and changing vent speeds feels faster to me. 

0
Under review

Anybus M-Bus/ModBus TCP 80 Gateway

Jürgen Jürgenson 6 years ago in Devices / Modbus updated 5 years ago 4

Hey!

Has anyone used this gateway with bOS? I'm trying to read out mbus (W.water, C.water and heating) meter values with bOS from the anybus gw, in anybus I can read the meter values and it has no problems with the readout. But in bOS I can't get the correct values to show. Scaling should be correct (0,001 for the water and  0,01 heating), i have tried almost all register numbers but none of them seam to display the correct values. 

 

Settings for the w.water meter, register address should be 130 or 150, but it gives constant 0 for value, with 149 I get a response 16,017 but it's the wrong value.

Image 1448


Modbus GW settings

Image 1449

Anybus meters with register numbers.

Image 1450


Any ideas what am I doing wrong?

0

Modbus integer - scaling value

Davorin Vuga 6 years ago in Devices / Modbus updated 6 years ago 3

Dear,


we try to connect Modbus TCP/IP thermostats with ComfortClick. All works OK.


We want to ask, how we can scale ratio of the holding register?

We have the value of the set temeperature, which needs to be scaled by 0.02 (or divided by 50).

If we use the "calculation" function, it is works for the input register (read), while the holding register is a problem because it is a read/writte.

so please help us.


regards


0

MODBUS WITH PRODUAL HLS 44 Thermostat

Dev Venba 7 years ago in Devices / Modbus 0

I am trying to integrate Modbus Thermostat ( Produal HLS 44 ) with Jigsaw Z wave via RS 485 ( RTU ). The register details are mentioned below :-


Holding Register Address 1 ( 40001 ) = FAN SPEED CONTROL WRITE

Holding Register Address 2 ( 40002 ) = SET POINT WRITE


Input Register Address 18 ( 30018 ) = SET POINT BY USER

Input Register Address 19 ( 30019 ) = FAN CONTROL BY USER




Those Address were verified using MODSCAN 32 and found to be correct.











Now in jigsaw, the scenario is different. The setup was :-




ACTUALLY ADDRESS 18 IS FOR SET POINT BUT  I AM GETTING THE SET POINT IN ADDRESS 17 ( 18 - 1 )

SIMILARLY ADDRESS 19 IS FOR FAN SPEED AND I AM GETTING IN ADDRESS 18 ( 19 - 1)

So what we have seen is for input register, we need to deduct -1 with the address mentioned in datasheet. 







REGARDING THE HOLDING REGISTER 1 AND 2, IT IS NOT WORKING. I AM ABLE TO GET DATA FROM INPUT REGISTER BY DEDUCTING THE ADDRESS BY 1. BUT I AM NOT ABLE TO WRITE ANYTHING IN HOLDING REGISTER. 



ALSO THE VALUE FROM INPUT REGISTER IS LIKE 280, 275, 220. WE NEED THE VALUE LIKE 28, 27.5, 22 ( divided by 10 ). 


CAN YOU PLEASE SUPPORT ?












0

Modbus new function

Marco Magnani 7 years ago in Devices / Modbus updated by Tilen Suhadolnik 7 years ago 2

Dears

I see that in one of the last BOS version in the ModBus device has been introduced two new configuration settings: Read Function Type and Write Function Type.

I want to understand more how those 2 setting work: which address are written or read  at once instead separately (if I select write or read multi)? This is not clear to me… If we suppose to get only 1 modbus device connected with slave address 1 and it contains many address for eg 10, 11, 13, 20, 21, 25 and 110 (all are coils).  Is the Bos software going to write or read once all the address from 10 to 110? From the time point of view instead? If the read interval (in the BOS  Modbus confi g page) is 100 ms, does  it mean that Bos software will read or write all  the previous address data (10, 11, …, 110) in 100 ms (instead taking 100 ms each as was before)?

Regards

Marco

0

Modbus and SDM530-Modbus smart meter

Andrzej Szymkowicz 7 years ago in Devices / Modbus 0

Hi,


Does any one can help how to configure modbus device in order to read meeters (e.g. L1 Voltage)?

I can reed some value but something is wrong with coding.


Here you have information from the manual (mull manual: http://eastrongroupco.hk02.057321.com/data/uploads/Eastron_SDM530-Modbus_protocol_V1_1.pdf)


The format for each byte in RTU mode is:


Coding System: Data Format:

Error Check Field: Framing:


8-bit per byte 4 bytes (2 registers) per parameter.

Floating point format ( to IEEE 754) Most significant register first (Default). The default may be changed if required -See Holding Register "Register Order" parameter. 2 byte Cyclical Redundancy Check (CRC) 1 start bit 8 data bits, least significant bit sent first 1 bit for even/odd parity (or no parity) 1 stop bit if parity is used; 1 or 2 bits if no parity



Data Coding All data values in the SDM530-Modbus smart meter are transferred as 32 bit IEEE754 floating point numbers, (input and output) therefore each SDM530-Modbus meter value is transferred using two Modbus Protocol registers. All register read requests and data write requests must specify an even number of registers. Attempts to read/write an odd number of registers prompt




the SDM530-Modbus smart meter to return a Modbus Protocol exception message. However, for compatibility with some SCADA systems, SDM530-Modbus Smart meter will response to any single input or holding register read with an instrument type specific value.

The SDM530-Modbus can transfer a maximum of 40 values in a single transaction; therefore the maximum number of registers requestable is 80. Exceeding this limit prompts the SDM530-Modbus to generate an exception response.

Data transmission speed is selectable between 2400, 4800, 9600,

1.2 Input register

Input registers are used to indicate the present values of the measured and calculated electrical quantities. Each parameter is held in two consecutive16 bit register.The following table details the 3X register address, and the values of the address bytes within the message. A (*) in the column indicates that the parameter is valid for the particular wiring system. Any parameter with a cross(X) will return the value zero. Each parameter is held in the 3X registers. Modbus Protocol function code 04 is used to access all parameters.


0
Under review

Modbus BOOL holding register

Kristián Vojčík 7 years ago in Devices / Modbus updated 7 years ago 2

Dear Support
I got a problem with the Modbus. I need to read and write BOOL value in holding register. I try some settings that is in Jigsaw but it only work as integer, and I realy like that bool style switches that you have made. So please if it is possible please add that to jigsaw or if it possible to do it now can you tell me how? My PLC can only read and write to holding register, it will be changed but for now it is what it is. Thanks.

0

Modbus Coils

Marco Magnani 7 years ago in Devices / Modbus updated by Tilen Suhadolnik 7 years ago 2

Dear Support

I got a problem with the Modbus. I exchange variables with the PLC (Beckhoff) using Coils… I created some buttons in the Comfort click pages and I used them to turn on and off the lights. As well I have some buttons in the Comfort Click page that show the status of the lights based on the output of the light feedback (light on or off)

When I push the light button from ComfortClick (for e.g. to turn on the light) the Modbus updates the coil status and the I see the new coils status in the PLC immediately (around 100 ms) To read the coils status from Comfort Click I used the modbus function code 01 (loading the status of all coils coming from comfortclick in one array of boolevery PLC scan)

Instead when the PLC software change the status of a coil (to update the status of the light) the comfort click tool takes up to 10 seconds to update the coil status in the ComfortClick (I monitor the Modbus bool tag status time to change from 1 to 0 or vice versa directly on the comfortclick tag value page)

To write the coils for comfortclick I used the modbus function 15 writing every 2 plc scan the status of all the coils directed to the comfortclick in an array of bool

The coils that I used to turn on the light and monitor its status are different (2 different coils with different address)


Can you help me to make the update of the coils to comfort click faster? As it is now is a pain...


Regards

Marco

0
Fixed

Modbus not working

Andy Gill 8 years ago in Devices / Modbus updated by ComfortClick Support 8 years ago 12

Hi There,

I still cannot get my modbus connection working since about 3 updates ago, does not seem to send anything out despite showing connected.

Previously there has been a problem with it constantly disconnecting and reconnecting but this is no longer happening.

I have checked my rs485 converter and it works fine with other software as does the device I'm trying to communicate with.

The log says the command has gone out, but there is no activity on the usb/rs485 converter as I would expect.


Any ideas?

0
Answered

ModBus // Broken Connection

Mosé Marangoni 8 years ago in Devices / Modbus updated by Jure Lahajnar 8 years ago 12

Hi,

I'm using a modbus devices (light,dimmer,ect) with moxa RTUtoTCP converter, the connection is instable and every time give me the message "Error connecting to device", after few second "Device is connected" but if try to change state I get message "Error setting value .... device is not connect ..." After few second the state change anyway but the interaction is very very slow


Any suggestion please?

Thanks a lot

Answer
ComfortClick Support 8 years ago

We are checking the Modbus driver again, possible fixes will be available in next update.