Marcelo Posted February 13 Report Share Posted February 13 Hi, I´m trying to read the preset and current value of TD10 from a VISION 350-35-TR34 using a UNISTREAM US5-B10-B1. From the address table I got that the address are 6910 (preset value) and 7310(current value) To read those values I did as follow: Where EQUIP1.t EST PRESET and EQUIP1.t EST CURRENT are INT32 variables. All other register reading works fine but cant make timer reading work, always get 0 value. Any advice or help you could give me I will appreciate. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted February 13 MVP 2022 Report Share Posted February 13 https://support.unitronics.com/index.php?/selfhelp/view-article/vision-and-modbus-communication Please use Vision enhanced Slave addressing (hexadecimal) table. Now you try to use Standard Vision table. Quote Link to comment Share on other sites More sharing options...
Marcelo Posted February 13 Author Report Share Posted February 13 Ok, thanks. To read TD10 preset I have to use the address C010h (49168), and to read TD10 current I need to use the address D010h (53264). Right? Doing that still dosn´t work. I am missing something else? Also, I am reading seconds? Or in wich format i am getting those timers values? Thanks Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted February 13 MVP 2022 Report Share Posted February 13 Maybe this topic can be useful also read some info in slave section for vision PLC http://support.elmark.com.pl/unitronics/materialy/dodatkowe/MODBUS.pdf Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted February 14 MVP 2022 Report Share Posted February 14 And perhaps have a look through the modbus area in this manual, which says similar stuff but in a different way at times : VisiLogic - Function_Blocks.pdf 1 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted February 16 MVP 2022 Report Share Posted February 16 On 2/13/2023 at 1:58 PM, Marcelo said: Also, I am reading seconds? Or in wich format i am getting those timers values? Under the hood all Unitronics timers are 32 bit values of 0.01 second resolution. Also, in hex TD 10 preset will be at C00Ah (49162) and current will be at D00Ah (53,258). Joe T. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.