oobretenov Posted November 2, 2017 Report Share Posted November 2, 2017 Hi everyone I have very strange problem We are trying to change the analog output like that in loop: 50milisec value1 and 50milisec value2 But we have not good result I have use USP-07-B10 and UIS-WCB1 I attach the picture of the code and the scope of result I got. Thank you for any Ideas pic_15_2.bmp code.bmp Link to comment Share on other sites More sharing options...
oobretenov Posted November 7, 2017 Author Report Share Posted November 7, 2017 Hi everyone I need urgent HELP. Has anyone tried to write to analog output every 50ms values and has he received good signal from analog output? I have tried the simple project from picture (code.bmp) and received very bad results. Link to comment Share on other sites More sharing options...
hotwires Posted November 8, 2017 Report Share Posted November 8, 2017 oo, I don't have time tonight to load this into my Unistream with UIA-0006, drag the scope out, and live test this. Going from your results here is what I would try: 1- Change the frequency.frequency100mS contact in Rung one to a PTC "-[P]-" contact 2- Change the frequency.frequency100mS contact in Rung two to a NTC "-[N]-" contact 3-Tag the B side of the two STORE blocks directly to the AO register. UniL will allow it, I tried. Unless you have a reason you need to intermediate the values. 4- disable rung 3 5-Download and test Should work as follows: ON rising edge of 50% duty cycle 100mS time base #7000 will load in the AO's register, on the falling edge #700 will load to AO reg. You're over doing it by reloading the same value every scan for each 50 mS, It's a retentive register not a charge pump. Rung 3 seems redundant in the context of the rungs displayed. I'm not seeing your entire program. Please share the results of this simple logical alteration. IF this still gives erratic results as seen on scope THEN post and I'll try to recreate. Have you contacted Unitronics support team yet? Hopefully this post will get some more exposure and suggestions soon. dB Link to comment Share on other sites More sharing options...
oobretenov Posted November 9, 2017 Author Report Share Posted November 9, 2017 Hi thank you for the replay. By the way we have checked with UIA-0402N and it works perfect may be the problem is hardware issue with UIS-WCB1 Link to comment Share on other sites More sharing options...
hotwires Posted November 9, 2017 Report Share Posted November 9, 2017 5 hours ago, oobretenov said: Hi thank you for the replay. By the way we have checked with UIA-0402N and it works perfect may be the problem is hardware issue with UIS-WCB1 Report your findings to Unitronics support. Success with 0402N would prove it's not a coding problem. i don't have a WBC1 to try with. Link to comment Share on other sites More sharing options...
oobretenov Posted November 10, 2017 Author Report Share Posted November 10, 2017 I had ask support before to write here , but too slow response Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted November 11, 2017 MVP 2023 Report Share Posted November 11, 2017 My response from Unitronics Support has always been within 24 hrs and most often within the same day. Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted November 11, 2017 MVP 2023 Report Share Posted November 11, 2017 Did you actually forward your code and question to support@unitronics.com? The Unitronics home office is closed on Friday and Saturday. Joe T. Link to comment Share on other sites More sharing options...
oobretenov Posted November 14, 2017 Author Report Share Posted November 14, 2017 Yes - I have sent - and yesterday I have received msg that they found that there is a problem with WCB1. 1 Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted November 15, 2017 MVP 2023 Report Share Posted November 15, 2017 Not the answer you wanted to hear, but I'm glad they reported back that there is problem with the module. At least you know you're not crazy. That way, anyway. 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