MarkoTica+1 Posted March 3, 2020 Report Share Posted March 3, 2020 Hello, Can somebody help me with ladder for Jazz. I have an application with weight measuring. I have 2 AI 0-10V, and one scale. I have to type 3 different values(weight) on display. It is not a problem about linearization , it is a problem how to add one value to another because of measurement. The scale is only one, so it have to add values one to another. For example Type to display, first value 50 grams second 35 grams third 40 grams in total 125grams Plc have to open first valve for 50 grams, then second for 35 grams, and then third valve.(output) Please help about ladder and display programming Best wishes Marko Tiola Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted March 3, 2020 MVP 2023 Report Share Posted March 3, 2020 You're going to have to put a small sequence together. I've posted several times about a programming process called a "State Machine" that makes this easier. Here's a post in the Visilogic forum that talks about it. http://forum.unitronics.com/topic/5609-advice-on-main-routine-structure/?tab=comments#comment-21891 If you can post your code we can have a look and help get it working. Joe T. Link to comment Share on other sites More sharing options...
MarkoTica+1 Posted March 3, 2020 Author Report Share Posted March 3, 2020 3 hours ago, MarkoTica+1 said: Hello, Can somebody help me with ladder for Jazz. I have an application with weight measuring. I have 2 AI 0-10V, and one scale. I have to type 3 different values(weight) on display. It is not a problem about linearization , it is a problem how to add one value to another because of measurement. The scale is only one, so it have to add values one to another. For example Type to display, first value 50 grams second 35 grams third 40 grams in total 125grams Plc have to open first valve for 50 grams, then second for 35 grams, and then third valve.(output) Please help about ladder and display programming Best wishesMarko Tiola This is one part of ladder code where I try to resolve the problem mentioned above. In tutorial is written that only variable which is links to si85 can use in other operation in code. It bothers me... Please help M.Tiola 1 Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted March 4, 2020 MVP 2023 Report Share Posted March 4, 2020 You can use the Linear function as many times as you like - you just need to load and unload each variable's data before you call it. When I said post your code I meant upload your program. 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