access modbus register in hmi
im using pm554 plc and cp415 hmi .here im in need of entering the timer values(PT) to plc through hmi and read counter values(CV) from plc via hmi.in my case the timer values(PT) should retain.i have declared the time value variable and used WORD_TO_TIME convertor for entering from hmi.what modbus address should i declare for that? i tried with %mw0.0.but failed....!
Voted best answer
Timers use TIME (which is a DWORD) and is equivalent to miliseconds.
It depends where you want your HMI to read the values from, i.e.:
TMR0_PT AT %MD0.0: TIME; (* 40001 *)
TMR0_ET AT %MD0.1: TIME; (* 40005 *)
Hope this helps.
Add new comment