As part of my student project I'm trying to establish a communication between the DataTaker DT85 and Swegon modbus gateway connected to CASA
ventilation unit (this is the first time I'm working both with modbus protocol and DataTaker). The aim is to have the values measured by the sensors in the unit also logged by the data logger. However, I receive the error E124.
The slave device is powered, I've previously checked the cabling and the communication between two units is done by RS485 connection, not TCP/IP. Below is the modbus code used while programming the data logger:
' User defined
'Sets up the DT85 serial sensor post
PROFILE "SERSEN_PORT" "MODE"="RS485"
PROFILE "SERSEN_PORT" "FUNCTION"="MODBUS_MASTER"
PROFILE "MODBUS_SERVER" "SERSEN_ADDRESS"="13"
PROFILE "SERSEN_PORT" "BPS"="19200"
PROFILE "SERSEN_PORT" "DATA_BITS"="8"
PROFILE "SERSEN_PORT" "STOP_BITS"="1"
PROFILE "SERSEN_PORT" "PARITY"="NONE"
PROFILE "SERSEN_PORT" "FLOW"="NONE"
RA1S 'Sample once per second
'Temperatures
1MODBUS(AD13,R3:0333,0.1)'Temp. 1 with scaling, deg C
1MODBUS(AD13,R3:0334,0.1)'Temp. 2 with scaling, deg C
1MODBUS(AD13,R3:0335,0.1)'Temp. 3 with scaling, deg C
1MODBUS(AD13,R3:0336,0.1)'Temp. 4 with scaling, deg C
1MODBUS(AD13,R3:0337,0.1)'Temp. 5 with scaling, deg C
1MODBUS(AD13,R3:0338,0.1)'Temp. 6 with scaling, deg C
1MODBUS(AD13,R3:0339,0.1)'Temp. 7 with scaling, deg C
1MODBUS(AD13,R3:0340,0.1)'Temp. 8 with scaling, deg C
'Measurements
1MODBUS(AD13,R3:0342,0.1)'CO2, ppm
1MODBUS(AD13,R3:0342,0.1)'RH%, %
1MODBUS(AD13,R3:0342,0.1)'Pressure 1, Pa
1MODBUS(AD13,R3:0342,0.1)'Pressure 2, Pa
1MODBUS(AD13,R3:0342,0.1)'Fan control input, 1-5
What may be the possible reason the transaction fails?
As part of my student project I'm trying to establish a communication between the DataTaker DT85 and Swegon modbus gateway connected to CASA
ventilation unit (this is the first time I'm working both with modbus protocol and DataTaker). The aim is to have the values measured by the sensors in the unit also logged by the data logger. However, I receive the error E124.
The slave device is powered, I've previously checked the cabling and the communication between two units is done by RS485 connection, not TCP/IP. Below is the modbus code used while programming the data logger:
' User defined
'Sets up the DT85 serial sensor post
PROFILE "SERSEN_PORT" "MODE"="RS485"
PROFILE "SERSEN_PORT" "FUNCTION"="MODBUS_MASTER"
PROFILE "MODBUS_SERVER" "SERSEN_ADDRESS"="13"
PROFILE "SERSEN_PORT" "BPS"="19200"
PROFILE "SERSEN_PORT" "DATA_BITS"="8"
PROFILE "SERSEN_PORT" "STOP_BITS"="1"
PROFILE "SERSEN_PORT" "PARITY"="NONE"
PROFILE "SERSEN_PORT" "FLOW"="NONE"
RA1S 'Sample once per second
'Temperatures
1MODBUS(AD13,R3:0333,0.1)'Temp. 1 with scaling, deg C
1MODBUS(AD13,R3:0334,0.1)'Temp. 2 with scaling, deg C
1MODBUS(AD13,R3:0335,0.1)'Temp. 3 with scaling, deg C
1MODBUS(AD13,R3:0336,0.1)'Temp. 4 with scaling, deg C
1MODBUS(AD13,R3:0337,0.1)'Temp. 5 with scaling, deg C
1MODBUS(AD13,R3:0338,0.1)'Temp. 6 with scaling, deg C
1MODBUS(AD13,R3:0339,0.1)'Temp. 7 with scaling, deg C
1MODBUS(AD13,R3:0340,0.1)'Temp. 8 with scaling, deg C
'Measurements
1MODBUS(AD13,R3:0342,0.1)'CO2, ppm
1MODBUS(AD13,R3:0342,0.1)'RH%, %
1MODBUS(AD13,R3:0342,0.1)'Pressure 1, Pa
1MODBUS(AD13,R3:0342,0.1)'Pressure 2, Pa
1MODBUS(AD13,R3:0342,0.1)'Fan control input, 1-5
What may be the possible reason the transaction fails?