jianping.zhou
FB Variable Table:
[203128%2F9641948%2Fmceclip0]
 
Resource / Global Variables
[203128%2F9641949%2Fmceclip0]

In FB, ambertimereg and greentimereg are only used as input.
gcount is used as an output of CTUx.Q, I can see it is counted up in the debugger.

My problem is that I can use python ModbusTcpClient to write/read the value of ambertimereg and greentimereg,
but the read result of gcount is always 0, event I used ModbusTcpClient to write no-zero data into it.
I have confirmed that gcount is used only once as the output of CTUx.Q, and debugger shows that it has a no-zero value.

Could please help me what's wrong with the setting.



Reply 0 0
thiagoralves
Can you share your program? What is your Modbus server configuration? How many Modbus registers are you defining? Is your logic rewriting the output somewhere else?
Reply 0 0
jianping.zhou
This problem disappeared after installed runtime version 4.0.3.
Reply 1 0
thiagoralves
Great, I’m happy to know it is working fine now!
Reply 0 0
Write a reply...
Reply