Urmala

MrPLC Member
  • Content count

    20
  • Joined

  • Last visited

Everything posted by Urmala

  1. Square Root Instruction

    Sleepy Wombat, thank you for your help. I have tried, and everything works.
  2. Square Root Instruction

    Based on description of the SQRT (466) instruction (manual W340 page 550) created very simple ladder diagram. Rungs 1, 2, and 3 work O’K. I can see correct numbers in the instructions themselves and in the memory cells. The last rung gives me strange numbers. I tried to change 621 to 620 – no result. Using “Toggle Watch Window,” I set all the numbers to “Real (Floating Point, Double Length)" - no result. I do not need very precise value, integer is good for me, but the numbers I am getting are totally wrong and weird. What am I doing wrong?
  3. Did anybody work with remote analog input modules DRT1-AD04 and DRT1-AD04H? I am using those to read flow and level signals (4 to 20 mA). Omron representative told that the module output for this range is going to be for DRT1-AD04 - from 0 to 6000 in decimal, and for DRT1-04H – from 0 to 30000 in decimal. The program, which is based on these ranges for both modules, did not work. After I tested the modules by applying the input signal 4 to 20 mA found strange ranges. DRT1-AD04 gave me for 4mA input signal value 65535 and for 20 mA input signal 5800 (both in decimals). DRT1-AD04H gave me for 4mA input signal value 32767 and for 20 mA input signal 28900 values (both in decimal). If somebody worked with these modules before, and could confirm that the values are correct or very close to what is supposed to be. Or may be I am doing something wrong. It is good to know. If it is important, I am using CJ1M-CPU13 and CJ1W-DRM21 Master module.
  4. Square Root Instruction

    Sorry for the poor picture. Hopefully, the next one is better.
  5. Strange ranges for analog input modules

    Mine wasn’t a ghost. I have found what was wrong; my transmitters are all messed up. They are more than 10-year old. Now, I am having troubles with square root instruction. CX-Programmer is not simple thing to deal with. May be later, in another topic, I will ask couple questions about it.
  6. Strange ranges for analog input modules

    What bit? Where did it fall? How often does it happen? How to recognize and fix?
  7. Strange ranges for analog input modules

    Strange things are happening with my Omron. Today, using the same equipment, I have got the positive result; everything is working as it is supposed to (I mean ranges). I did not change anything since Saturday. What is going on???
  8. Strange ranges for analog input modules

    After I got these strange ranges, I disconnected my transmitters and applied just 4mA to 20mA signal using a potentiometer and a ammeter. So signal for sure was in this range 4 mA to 20mA.
  9. Strange ranges for analog input modules

    Hi PdL. Yes, I did. I was not sure about my transmitters; they are old. So I decided to apply just 4 mA to 20 mA signal. And I have got the results, I described in my previous post. Yes, the manual tells different, it is why, I am asking people, who have worked with these modules before. I have no idea, why I am getting such strange results.
  10. MAD42 analog module

    Thank you, PdL. To tell the truth, if not your help with CIO 2010.0/1, I would have spent tons of time trying to figure it out. The manual wasn’t very clear (very unclear) about this key moment.
  11. MAD42 analog module

    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.
  12. MAD42 analog module

    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?
  13. MAD42 analog module

    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.
  14. MAD42 analog module

    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.
  15. MAD42 analog module

    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.
  16. MAD42 analog module

    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.
  17. MAD42 analog module

    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.
  18. MAD42 analog module

    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?
  19. MAD42 analog module

    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.
  20. HMI and PC connecting

    Sleepy Wombat thank you for your help (I am or was a guest). But there are strange things with Omron PT or PLC. It worked when I downloaded all the settings from a single computer. Then I used this PLC for another application and then installed the same program again with the same settings for Host Link Port and everything using a computer in the network (there are several computers connected in Ethernet network). And it did not work! I checked several times to be sure that all the setting are the same as they were before, when it worked, and it did not work anyway. Any idias, what is wrong with my system?