Sign in to follow this  
Followers 0
Guest Guest_Urmala

MAD42 analog module

45 posts in this topic

I need help with my MAD42 analog module. My problem is that I cannot get 4-20ma output signal. I am using CJ1M-CPU13 PLC. I do not know, what I am doing wrong. I set my unit number to 1 and I set DM20100 to 00F3, DM20101 to 000A, and my DM20135 to 0003. After that, I use MOV(021) command to write 4000(decimal) in CIO 2012. The interesting sing, I can read analog input signal 0 to 10 V, on CIO 2016, but no matter what I am doing, I cannot set my output singal to 4 to 20 mA. To read my output signal, I use calibrator Promac. I have tested it, and everything is o'k, but I cannot get my signal from PLC. As soon as I turn PLC on and run the program, it gives me reading of 3.2mA and it does not changes.

Share this post


Link to post
Share on other sites
Check your supply power ? I don't have acces on the MAD manual right now so somebody else will have to verify your settings if they are correct.

Share this post


Link to post
Share on other sites
What do you mean? In Allen Bradley I just connect output from PLC to the load. For Omron is different? In the manual, it shows staight connection.

Share this post


Link to post
Share on other sites
Did you set either CIO 2010.0 or CIO 2010.1 ON (or a value of 1)? This enables the output conversion.

Share this post


Link to post
Share on other sites
Good call, Gooch!

Share this post


Link to post
Share on other sites
I am sorry, this morning, when I posted the topic, I forgot to login. It is why I was as a Guest_Urmala. Thanks, Gooch, I will try on Monday. However, how come, I did not find anything about CIO 2010.0/2010.1 set to 1 in the manual? I have studied it very carefully.

Share this post


Link to post
Share on other sites
This is only for the AD081/AD041 units. DM20100 is used for the MAD042 unit. All of your settings seem to be correct. You say you are setting CIO2012. This is actually the second output. The first output is CIO 2011. Which one are you measuring with your meter? Also, can you see the value &4000 in CIO 2012 while you are online monitoring? Another thing to check is the rotary switches for the unit number. Make sure they are set to 01 instead of 10. Good luck....

Share this post


Link to post
Share on other sites
ECSI, it is true, I am measuring second output; to be precise, terminals B3 and B2 on the MAD42 module. I need only one analog input, and I have chosen second (no particular reason). Regarding CIO 2012, if I send number 4000 using MOV(021) instruction, I can see it in the memory table when I monitor different memory areas. My unit number is 1, there is no doubt; otherwise, I wouldn’t have been able to read analog input, which I see perfectly. I am jus thinking that maybe I have problem because I use electronic calibrator? Any ideas?

Share this post


Link to post
Share on other sites
Urmala, sorry for my first suggestion. I had another unit in my mind. But now I've studied the MAD manual, from the download section According to your first post, you say you set D20135 to 3. If I look to page 279 and 375, this setting is correct. But according to the picture on page 331 it looks like 4 bits are assigned to this setting. You could try to set it to A or 5 instead of 3 ? Like I intrepretid it, it looks at the absolute value of bits 00 and 01 or 02 and 03, if it is 0 you set 1-5V, if it is 1 you set 4-20mA. That would explain your 3.2 mA (conversion stopped), as the setting of 3 would be an illegal setting according to this picture. I've never used current outputs on this unit so I never had to set this area. Factory set is voltage. If I'm wrong, can anybody explain how to read this picture ? Edited by PdL

Share this post


Link to post
Share on other sites
0101 5 (4+1) would be the correct setting.

Share this post


Link to post
Share on other sites
PdL, I have tried both 3 and 5 in hexadecimal for word DM20135. I was not sure, which setting is right yours on page 314 or on page 284 of the manual. You know, I might try voltage signal too. I am used to current (4 to 20 mA) signal, but my frequency drive can work with voltage signal (-10 to +10V) too. Maybe it is easier to do.

Share this post


Link to post
Share on other sites
How are you setting this value? Using a MOV function? The syntax would be MOV #0005 D20135.

Share this post


Link to post
Share on other sites
We're not giving up that quick Make sure you cycle CPU power after changing a setting! The best way to play around with the settings is to put all settings adresses in the watch list, there you can easily check and change the values. Make sure if you do that to disable or remove any other references in your ladder. Did you also try the first output ? Same there ? Edited by PdL

Share this post


Link to post
Share on other sites
I set values in the memory table and transfer them to the PLC. Then I monitored them so everything would be right. I think the values are right because once I changed the values to something else and got an error indication on the I/O module until I set them back. I cycled the power to the PLC, but it did not work. I am thinking, maybe the problem is in the calibrator I used. Don’t know. I am going to try again on Monday. I cannot give up, nobody will let me.

Share this post


Link to post
Share on other sites
The reason I asked about the above was that I was concerned that he was using the memory table to set and transfer the DMs. Depending on what data type he sets in the memory table, the values in the PLC may not be identical to what he sees on the screen. When you are using the memory table, be sure to select the "16" button which is a literal setting.

Share this post


Link to post
Share on other sites
On the picture, it is why I used #3 in the word 20135. But I really tried #5. Did not worked. When I set the value of the word 20135 I used “2” (binary) option of the table. But I looked in the hexadecimal mode too. The value was correct. Maybe tomorrow, I will use MOV(021) command to be sure about it.

Share this post


Link to post
Share on other sites
Yes, some of the examples are in contradictory to others what makes it all even more confusing. Also for the D20100 setting at manual page 282, it says F7 but in fact the bit combination makes F3. To resume here are your settings as they should be. Together with monday morning coffee victory is yours

Share this post


Link to post
Share on other sites
The morning coffee is my only hope. Your table is exactly what I did except the last word (20135) I‘ve tried both #3 and #5. Both did not work. Looks like Monday is going to be busy. Thank you, PdL, at least now I know that I am on the right track; otherwise, there is always doubt.

Share this post


Link to post
Share on other sites
PdL, one more question. If I decide to go with voltage output -10V to +10V signal settings, my table has to be set up as on the picture? Just want to be sure.

Share this post


Link to post
Share on other sites
Yes, that's the correct setting for -10 to 10V. You might want to go for 0 to 10V, it's a more common range, and I find it easier when scaling frequencies to have an idea on the frequency with a certain voltage. Depends on what the drive can do. You might want to clear D20100 to D20199 in the PLC memory and try one last time ? Just to be sure ? I really hate to go for another solution when you have no clue whatsoever what is wrong. p.s. don't forget to move B3 to B1 when using voltage output! Edited by PdL

Share this post


Link to post
Share on other sites
ESCI, I still think Gooch was right about starting output conversion by setting CIO 2010.0 and 2010.01 on. I checked a program here at the office where it was also set, and after studying the manual one more time I found the setting. at manual page 313. So Urmala, try it again with following settings ? Edited by PdL

Share this post


Link to post
Share on other sites
Yes PdL, I think you're right. DM20100 is for IO usage, but each output still has to be enabled by 2010.00 and 2010.01. Sorry to mislead you Urmala. Makes me wonder what the actual purpose of DM20100 is though if each output can be turned on/off with CIO2010.

Share this post


Link to post
Share on other sites
PdL, I do not understand. On page 313, there is nothing about CIO memory area, but I will try today. It is strange and confusing manual. ECSI is right, if I have to set up CIO 2010.0 and 2010.1 to 1, what is DM20100 for?

Share this post


Link to post
Share on other sites
D20100 is meant to actually set which in/outputs are going to be used. If you set the inputs for 4-20mA but don't connect sensors, you get an annoying red error light although everything is fine. CIO2010 is meant for starting/stopping I/O conversion during operation, reasons for that are application dependant (alarms, emergency stop, etc). *edit Urmala, I meant actual manual page 313, that's page 332 of the Acrobat document Edited by PdL

Share this post


Link to post
Share on other sites
It is working!!! Thanks everybody for help. You were right, the problem was in energizing 2010.0 and 2010.1 bits. Now it is giving me what I want.

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
Sign in to follow this  
Followers 0