# Weight measurement

## Recommended Posts

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)

Best wishes

Marko Tiola

##### Share on other sites

• MVP 2023

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.

If you can post your code we can have a look and help get it working.

Joe T.

##### Share on other sites

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)

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...

M.Tiola

##### Share on other sites

• MVP 2023

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.

Joe T.

## 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.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×