Dan.k Posted July 2, 2021 Report Share Posted July 2, 2021 Hi All, I am new to programming with VisiLogic and Unistream. Here is my little adventure. I have created a program for control of 3 pumps via timers. The idea is to connect a Samba PLC( Slave) to US 5 (Master) and the change of the timer's pre-set value of the Master to be read by the Slave . The communication works but when I set the pre-set value of the Master to 5s the Slave reads it as 50. Does anyone have an idea of where the problem could possibly be . Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted July 2, 2021 MVP 2022 Report Share Posted July 2, 2021 It might just be the way numbers are sent between 2 different types of controllers, in that 5 seconds is automatically resolved into tenths of a second. Can't simple maths fix it? Or allow that seconds coming are 10 x what you based your initial project on and you simply need to change your project a little. cheers, Aus Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted July 3, 2021 MVP 2022 Report Share Posted July 3, 2021 UniStream timers have .001 s resolution, Vision timers are .01 s. Can you give an example of the tag and register values you are using. Even better, upload both programs so we can see them. Joe T. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted July 3, 2021 MVP 2022 Report Share Posted July 3, 2021 Thanks Joe, as a non-Unistream user I didn't know the better resolution. cheers, Aus Quote Link to comment Share on other sites More sharing options...
Dan.k Posted July 4, 2021 Author Report Share Posted July 4, 2021 21 hours ago, Joe Tauser said: UniStream timers have .001 s resolution, Vision timers are .01 s. Can you give an example of the tag and register values you are using. Even better, upload both programs so we can see them. Joe T. Hi Joe , Thanks for your reply Both programs attached Thanks again for your help. Samba Modbus RS 485 Slave 1.vlp US5 Modbus RS485 Master 1.ulpr 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.