Programming for Bacnet and Modbus Subnet devices

We’re still having trouble to understand what you mean. The latest firmware for our T3 series controllers is 62.x. Just going from memory we cannot think of any devices that have firmware versions of 5.x

image
See image for T3-22AI, I just bought 4 more and they have Ver 5.6. Another issue is the Device Instance is not retained on power cycle. We are using the T3 for I/O with ALC controllers, not your controller.

I am not sure what the latest & greatest firmware version is but in general the best bet is to go with the latest version which you can automatically download using the T3000 built in firmware update tool. Losing the Bacnet device instance sounds like an issue from a long ways back. While you’re at it you should also update T3000 itself.

image

Once you have done that you can show us a few screen shots from the T3000 user interface and perhaps we can pick something up from that. In particular you can pay attention to the network health on IP and RS485 if applicable. If you are still having issues our goto tool is wireshark, you can send on a capture and we’ll look through it for you.

*Here are some programming examples

10 REM THE FOLLOWING ARE EXAMPLES OF READING A SUBNET DEVICE MODBUS ID=1
20 REM WHICH CONNECTED TO A MASTER CONTROLLER ON THE ETHERNET NETWORK WITH ‘PANEL ID?
30 REM READ THE REGISTER UNDER MODBUS RS485 IN MODBUS FLOATING POINT MODE AND SAVE IT
40 VAR100 = 1.2.MB_REG_FLOAT_ABCD33
50 VAR101 = 1.2.MB_REG_FLOAT_CDAB44
60 VAR102 = 1.2.MB_REG_FLOAT_BADC55
70 VAR103 = 1.2.MB_REG_FLOAT_DCBA66
80 REM HOW TO READ BIT MASK REGISTER.
90 VAR104 = 1.2.MB_REG7
100 VAR105 = 1.2.MB_REG7 & 1
110 VAR106 = 1.2.MB_REG7 | 1
120 VAR107 = 1.2.MB_COIL7
130 VAR108 = 1.2.MB_DISINPUT7
140 VAR109 = 1.2.MB_INPUTREG7
149 REM READ OTHER DEVICE USE BACNET PROTOCAL 123456 IS THE DEVICE ID (INSTANCE NUMBER)
150 VAR110 = 123456AI2048
160 VAR111 = 123456AV3
170 VAR112 = 123456AO4
180 VAR110 = 123456BO5
190 VAR110 = 123456BI6
200 VAR110 = 123456BV7
210 VAR1 = MB_BLOCKWRITE ( 1 , 2 , 3 , 111 , 5 , 6 )
220 VAR10 = MB_BLOCKREAD ( 1 , 2 , 3 , 2 , VAR1 , VAR2 )
228 REM Line 230 writes the high level of VAR1 to register 3
229 REM Line 240 writes the low level of VAR1 to register 4
230 1.2.MB_REG3 = VAR1 / 65536
240 1.2.MB_REG4 = VAR1 * 1000 % 65536 / 1000

2 Likes

A post was split to a new topic: Modbus bitwise operations