beatriz Posted January 20 Report Posted January 20 hello! recently i had some problems with cp1w-mad 11 configurantion . i have some doubts: i have 2 outputs 4-20 mA from a flowmeter and i need to read the values from it. in the code i have 8000 value on both inputs. and what is the range for two 4-20 mA analog inputs?
Moggie Posted January 20 Report Posted January 20 7 hours ago, beatriz said: hello! recently i had some problems with cp1w-mad 11 configurantion . i have some doubts: i have 2 outputs 4-20 mA from a flowmeter and i need to read the values from it. in the code i have 8000 value on both inputs. and what is the range for two 4-20 mA analog inputs? Is this a new installation? Have you set the parameters for the analog card?
beatriz Posted January 20 Author Report Posted January 20 yes, is new! i follow the document, but im not sure if it is right
Moggie Posted January 20 Report Posted January 20 Can you post your code for the set up of the card parameters?
Moggie Posted January 21 Report Posted January 21 (edited) This is from the manual for CP1L. You have to use the "First Scan" flag to set the card parameter, for 4 to 20mA you would use the Range Code 010. The above example shows the value for the entire 16bits. #800A = 1000 0000 0000 1010 It sets the card for 1x 0 to 10v & 1 x 4-20mA (or 1-5V) analog inputs and 1x -10 to +10V analog output. For 2 x 4 - 20mA inputs the bit pattern would be 1000 0000 0001 0010 Edited January 26 by Moggie
Moggie Posted January 21 Report Posted January 21 Manual can be found here https://www.omron-ap.com/products/family/1916/download/manual.html
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