I am having trouble with a MODBUS write between controllers the value of Z1SET in the following screen shot is 77.00. I would expect the value of the network points 8108 and 8109 to the same as
var23 and var23 only multiplied by 1000
I did another test between 2 tstat10s on at ID 21 another at ID 30. In the one at ID 30 I wrote a 2 line program:
10 21VAR6 = 1234
20 21VAR7 = VAR7
I set the value of var7 in the unit at ID 30 to 556.
Neither value is transferred to the unit at ID 21
Here is a code fragment that better describes (and provides a workaround) for the problem.
I setup 2 tstat10w’s with a rs485 link. The first is panel 1 ID 20 MODBUS master. The second is panel 1 ID 21 MODBUS slave.
This is the code running in the MODBUS master (20):
10 TEMPVAL1 = VAR4 / 65536
20 TEMPVAL2 = VAR4 * 1000 % 65536 / 1000
30 VAR5 = TEMPVAL1
40 VAR6 = TEMPVAL2
50 VAR7 = TEMPVAL1 * 1000
60 VAR8 = TEMPVAL2 * 1000
70 1.21.MB_REG8110 = VAR4 / 65536
80 1.21.MB_REG8111 = VAR4 * 1000 % 65536 / 1000
90 1.21.MB_REG8112 = TEMPVAL1
100 1.21.MB_REG8113 = TEMPVAL2
110 1.21.MB_REG8114 = VAR7
120 1.21.MB_REG8115 = VAR8
The manually entered into VAR4 of the master is repeated correctly in VAR12 of the slave