Marcelo Posted February 13, 2023 Report Share Posted February 13, 2023 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. Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted February 13, 2023 MVP 2023 Report Share Posted February 13, 2023 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. Link to comment Share on other sites More sharing options...
Marcelo Posted February 13, 2023 Author Report Share Posted February 13, 2023 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 Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted February 13, 2023 MVP 2023 Report Share Posted February 13, 2023 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 Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 14, 2023 MVP 2023 Report Share Posted February 14, 2023 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 Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted February 16, 2023 MVP 2023 Report Share Posted February 16, 2023 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now