Jump to content

Recommended Posts

Ok guys, first time attempting ladder programming here using a V130-J-R34.  

I am using AN0 to get signal from a 3-wire pressure sensor. Brown/Blue goes to +/- 24Vdc and the black wire is my signal.

I get a 4-20 mA from the sensor and according to the default jumper settings of the V130 the AN0 is set to accept current as input.

I am trying to perform a simple linearization to display how many bars my sensor reads. Since the memory of the analog input is 10-bit this is how I set it up: (see attachment)

The logic is that being a 10-bit memory the max 20mA corresponds to DEC 1023 and min 4mA to DEC 204. Then this is converted to 0-10 bars.

However it does not work. My MI0 reads always zero and the output MI1 is stuck at -25. 

Any ideas here about whats wrong?

Cheers

 

 

CaptureONLINE.PNG

Share this post


Link to post
Share on other sites

Did you assign MI0 to analog input in hardware configuration? I don't see any other possible mistake in the ladder.

It's probably wiring. Could you post a drawing of your wiring? 0 volts from transmitter supply should be connected to PLC input common to get a current loop.

  • Upvote 1

Share this post


Link to post
Share on other sites

This is not a problem with your linearization. Minus 25 is the correct output for an input of 0. If your wiring and other hardware is correct (and you have MI 0 assigned to AN 0) you should always get a minimum value of 204 at MI 0.

Share this post


Link to post
Share on other sites

I agree with Isak and Flex that it simply looks like you haven't assigned the physical input to MI0, or there is a simple wiring issue.

I've posted because, just FYI, you might like to look at this post with my calculator.

cheers,

Aus

Share this post


Link to post
Share on other sites

Thank you all for the replies. I had the MI0 link to AN0 in the hardware configuration.

The problem turn out to be the pressure sensor I was using. I used another LVDT sensor and it worked great, thanks.

Share this post


Link to post
Share on other sites

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.

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