Hello,
The device I need to read from has holding registers (code:h) and input register (code: i).
h12: MB holding register13
i12: MB input register13.
How do I read the value of i12 and write value to h12? If I can’t access both, I prioritize reading the value of i12.
I use T3-TB-11i
Thanks!
The T3-TB itself does not use input registers internally. If you want to refer to input 12 in your program you just go
10 IF IN12 > 20 THEN START FAN101
If you have filled in the 8char label for IN12 then you can go:
10 IF TEMP101 > 20 THEN START FAN101.
If you need to read an input register from a downstream modbus device you can do it in your PROGRAM like so:
140 VAR109 = 1.2.MB_INPUTREG7
Thanks Lijun,
I’ll test it when I receive the device.