Jump to content

Recommended Posts

Posted
Hello, im new to this forum. I've been messing around with OMRON plcs for 5 or 6 years, but never fully made a program from scratch. I'm using a CP1H-XA-40 (relay input/output). I cant quite seem to figure out what the actual input addresses are. I figured out that the outputs are Q100.00 and so on, but that's all ive gotten so far. I am trying to use a NB5W HMI screen to communicate when to program is finished but I never used NB designer at all, and frankly I dont know what im doing there either. I've been tasked to use the plc mentioned above to operate a hydraulic test stand. I have all the wiring completed. As far as the analog to digital, I have two inputs both 0-10vdc. I dont know what bit to use for these. Same for the outputs. Any help is greatly appreciated! Thor
Posted
You could scale it using this function block: http://forums.mrplc.com/index.php?app=downloads&showfile=996 The input resolution for the built in analog input on the CP1H is 1/6000 or 1/12000.
Posted
It depends upon what format you want the scaled result in. If you want an INT format, use the INT, if you want BCD, use Word. Not likely that you want BCD, so use INT. The other option is real format (or floating point) which can provide decimal values like 2.734 after the scaling.
Posted
that FB really helped, thanks! New question. I finally got my servo valve to work (long story short, motor was wired backwards and no pressure). My Input to my FB and servo card reads 0-10 volts, but the servo card output needs a + and - to drive in different directions. So far I can drive it down, but have to shut it down and reverse signal wires to drive back up again. Is there a function block or parameter i can change that will give me a negative voltage output? Thor
Posted
The CP1H analog outputs do have a +/-10v setting. You should be able to use that, but I don't know if the function block will support a negative output value. That setting will change the range from 0-6000 to +/-3000 (or 0-12000 to +/-6000).

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

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