Jump to content

Analog input to Digital output

Recommended Posts

Hi to all,

I have one question. I made simple program linearization for analog input 4-20mA to read pressure sensor 0-250bar.

I can read pressure from display without a problem.

Now I would like to add if pressure is 180bar or higher it has to activate digital output O 0.

I add this function but its not working.

Did I use wrong function?


Link to comment
Share on other sites

Hi kikitron,


You used linearization for display.

The linearized value created in this way is used only for display purposes and cannot be used for ladder operations.

You have to use SI 80 - 85 to set the (x,y) range and energize SB 80 to activate the linearization function in ladder.


Or simply leave it as it is and use non-linearized value for the compare function (#794 instead of #180).

Link to comment
Share on other sites

Now I wrote linearization with program and its working perfect :rolleyes:

Now I have second question:

What happens if I use 2 or more analog inputs (sensors) and I can write linearizaion program only for the one.

Because if I use for first sensor SI 80 - 85 to set the (x,y), what  SI xx can I use for secon one or third ... ?




Link to comment
Share on other sites

  • 4 months later...

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

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

  • Create New...