Marraud arnaud

Read Analog sensor with CP1W-MAD44 on CP1L E

10 posts in this topic

Hi everyone,

I want to read analog signals of sensors TW2000 and O5D150 (IFM), to read these signals I have a CP1L E with a CP1W-MAD44.

I wired these devices like this : (With pictures attached)

L- à Blue à 0V à COM

L+ à Brown à 24V

OUT1 à Black à I in 1 à V in 1

And I made the program attached like the doc omron say.

But I don't have any signal.

I don't know what I forget, I'm a beginner in the CX programming.

Thanks in advance.

Arnaud

Doc omron.PNG

No results.PNG

Prog PB.PNG

Wiring CP1W-MAD44.jpg

Wiring TW2000.jpg

Share this post


Link to post
Share on other sites

Do you have any other cards next to the PLC?

Share this post


Link to post
Share on other sites
17 minutes ago, Marraud arnaud said:

No I just have this card

What about the controller itself? What is the full part number?

The logic looks right, but all of this will effect the CIO registers you use.

Share this post


Link to post
Share on other sites

Your configuration Words (written at first scan) should reside at 102, 103, 104, and 105 (only). 

The configuration value you are writing to 103 is invalid. This may be disabling the card.

What is the desired configuration of all the inputs and outputs?

You said the 44 is the only card but you have logic for the 42 as well. Do you have both and if so what is the order?

Share this post


Link to post
Share on other sites

The page attached (With comments) is the OMRON documentation.

My program is on the second page with green lines.

In the configuration words I write :

in 104 : #80EE (10000000 1110 1110) 4-20mA average.

in 105 : #8000 (10000000 0000 0000) Not use.

in 106 : #8000 (10000000 0000 0000) Not use.

in 107 : #8000 (10000000 0000 0000) Not use.

And after to recover data I move 6, 7, 8 and 9 in variables.

The desired configuration is to use just the 2 inputs for 2 sensors 4-20mA and don't use the other I/O.

And if I do like you say, if I change configuration words  102, 103, 104 and 105 it's the same result.

It may be my wiring, but it is nevertheless simple.

How can I check If the MAD44 works, or if the there is a link between the MAD44 and the CP1L ?

 

Doc omron.PNG

Data receive.PNG

Set up.PNG

Solution 102.PNG

Wiring diagram.PNG

Share this post


Link to post
Share on other sites

I found the error, as you said, I had to use the configuration words 102, 103, 104, 105 and with the recovery words 2, 3, 4, 5 because it is the first card after the CPU.

And now it works.

Thank you it was a rookie mistake, Sorry for the inconvenience.

Share this post


Link to post
Share on other sites
1 hour ago, Marraud arnaud said:

I found the error, as you said, I had to use the configuration words 102, 103, 104, 105 and with the recovery words 2, 3, 4, 5 because it is the first card after the CPU.

And now it works.

Thank you it was a rookie mistake, Sorry for the inconvenience.

I wouldn't call it a rookie mistake. These cards are a bit strange in the way they are setup. I recently had a friend call me for help on the same issue with the MAD44 and he has been using Omron for 15 years.

Glad you got it sorted out.

Share this post


Link to post
Share on other sites

Hi,

I have the same problem, i'm using CP2E with a expansion unit CP1W-MAD44, and i can't read the analog input. I'm doing exactly in the pictures on this post but my plc have the same value always and this is -32768 and this value don't change. I mesured in input of PLC if have the correct input in range 4-20 mA and in the input of PLC I have the correct signal of 4-20 mA.

 

Thanks

Guillem

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now