buzzmethru

MrPLC Member
  • Content count

    28
  • Joined

  • Last visited

Community Reputation

0 Neutral

About buzzmethru

  • Rank
    Sparky

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Location NE Scotland UK
  1. MAD01.. how to compare in BCD?

    Hi ... thanks to everyone who helped me out with this... Yes, I made a mistake and missed out the most important part on CD2 of the Compare function... I did in fact wish to compare the BCD value 10 and not Ch 10, doh! (To be honest, I might have spent a long time trying to figure this out). thank-you. I rectified my fault but DM122 still showed as a HEX value (when monitoring)... from the MAD01 A/D module. I could not resolve it. Ok when I assigned a value to it as you have done... In the end I used the value of DM100 as shown on the Compare function (Rung 3 (6,1)) and set my CD2 on all the Compare functions I used as follows: Comp.1 ON @ 5bar - value &71 Comp.2 ON @ 6bar - value &84 Comp.2 OFF @ 3bar - value &43 Comp.1 OFF @ 1bar - value &15 Everything seems to be working fine... I still need to add some more to this program but, hopefuly, it will be straight forward enough, just a few simple switches and indicators (whew!) I have attached a revised copy of my program and would be greatful for some feedback... either way... As I said in my 1st post I'm new to this side of things and will bow to superior knowledge... Thanks again B MRPLC_AD2.cxp
  2. MAD01.. how to compare in BCD?

    PLC: CPM1-30CDR-A A/D Module: CPM1A-MAD01 Hi, I am relativley new to working with the A/D unit and have already run into problems... 1. I am trying to read a pressure thru' a 18bar transducer (4-20mA) and (I think) have managed to set up the A/D module to read this ok. (shows while monitoring) 2. I am loading the HEX values from the A/D unit to DM100 and using the BCD(24) function to convert to BCD and load into DM122, this seems to be fine also. (shows while monitoring) 3.When I compare (cmp(20)) after HEX conversion DM122 has reverted back to a HEX value, making my Comparison impossible (for me anyway). Can some of you guys who know about these things, please have a look at my program and show me where I am going wrong... i've spent quite a while looking in the OMRON manual and noticed the @MLPX function but I could not understand it enough to make it work, however I may be looking at this the wrong way, as usual. Thanks in advance ... mrplc_AD1.cxp
  3. Omron CPM1a Retentitive Timers

    Hi pfort, Thanks very much for taking the time to help me with this... Your program is great, although it behaves the same as ' MRP_4.SWP' ... however it has given me a better understanding into some of the Omron commands available and how to (sucessfully) implement them. I have been running MRP_4.swp with a few tweaks as you quite rightly pointed out. It's almost complete... I'm going to use an external input to move contents of DM0000 and Dm0001 around , to balance out the 'duty' of both elements... thanks a lot Best regards bmt
  4. Omron CPM1a Retentitive Timers

    Hi, Thanks for the reply, here is my answers to your questions.. Thanks for taking the time to reply and your help so far Regards
  5. Omron CPM1a Retentitive Timers

    MRP_4.SWP Hi, Thank you for your help and taking the time to point out my errors. I'm almost there now. I've included my latest attempt at trying to get this right. Below is where I'm struggling... It all seems to center around the run-on (delay off) routine I'm trying to get it right... Problem: If signal at 000.02 is removed then timer1 (TIM001) (Delay Off) doesn't complete. ie. Output 10.02 remains ON. If signal at 000.02 is activated then timer1 (TIM001) starts each time. This needs to happen only once. 000.01 ON: 5 minute delay and 10.00 comes on. (done) 15 minute delay and 10.02 comes on. (done) 000.01 OFF: No change to above conditions. (done) 000.02 ON: 10.00 goes off immediately. (done) <Problems begin below here> 10.02 goes off after 5 minute delay. Even if, say, 000.02 goes OFF the timer must continue to run it's course before 10.02 goes off. This can only happen once only. ie it can happen only once in between an ON signal at 000.01 . As I've said above I am having problems with the delay_off timer routine only now. Regards MRP_4.SWP
  6. Omron CPM1a Retentitive Timers

    MRP_3.SWP Hi Thanks for your reply and help... your program is a much more elegant way of doing things. However, I've already run into some issues trying to implement your suggestions... 1. The input at 000.01 (ON switch) will be on for several hours at a time. If DM0000 (or DM0001) increments above #9999 then the outputs shut off and the sequence starts again. This is not suitable... How can this be overcome? 2. The times need to be 5 minutes on the first 'timer' and 15 minutes on the second 'timer'. 3. The input at 000.02 (OFF switch) will swing from an on condition to a 'no connection' condition several times before making it back to a signal at 000.01. This is causing output relay (10.02) to come on and off through timer 1. What I want to happen is as soon as there is an input at 000.02, have the program do the following: a. Turn off output at 10.01 and begin a delay (5minutes) before turning off output 10.02. b. This can happen only once. Should not happen again until there has been an ON condition (000.01) I hope I have explained myself clearly enough. Thank you again for taking the time to help me. regards MRP_3.SWP
  7. Omron CPM1a Retentitive Timers

    Hi thanks for the reply... I don't think that I explained what I want to achieve clearly, so, I've tidied up the program a little bit. (still doesn't work tho) What I need is: Main SW will Start Timer 1 (5 minutes) IF Main SW drops out then Timer 1 will stop IF say 1 minute remains on Timer 1 THEN next time Main SW closes the remainder of the timer will complete with the remaining time only. END. I cannot seem to get the remainder of Timer 1 to stay in memory... and 'dump' to Timer 3. Hopefully a solution is available, it's getting quite frustrating... PS: I have tried your suggestion of using a pulse to read timer remainder when Main SW drops out. I've been unable to implement it correctly. Thanks. DELAY2.SWP
  8. Omron CPM1a Retentitive Timers

    RETAIN1.SWP Hi, Im wondering if any of you experts would be willing to help me a bit' with the following problems I'm having trying to get this right... I am trying to control two elements (home made desoldering tank) and I need to stop the timers (done via stats) and then then restart them from the point that they stopped... I have tried various instructions and, so far this is the closest I have come to getting it working. Unfortunatley (for me, and maybe you) I cannot seem to get 'timer#3' to retain the remaining value of 'timer#1'. It may be simple... maybe not... I may have it completly wrong... that's why Im here to ask for help from you guys... i have included an image file detailing what Im trying to do along with a very incomplete *.swp file . Hope you can help. Thanks in advance d
  9. Omron CPM1A programming solution request

    Hi, solution found. Probably too 'low-brow' to detail here... Briefly, I designed my program to 'pump-down' half of system then 'rest' that compressor for 30mins... Thanks D
  10. what screen?

    Hi, thanks for the advice ... looks like it will be the NT631 then. sorry for the belated thanks.
  11. what screen?

    Hi ... I have been using a NT620s for the past few months. I now 'have' to source a new Omron touch screen. What new screen would offer similair spec. but more importantly be most similair to program using NTST? PLC would be CPM1A-30 with two CPM1A-MAD01 modules. Thanks.
  12. cpm1a - A/D - hex to decimal

    Hi, Thanks to everyone for their help with this ... problem solved ... easy when you know how .... Cheers
  13. cpm1a - A/D - hex to decimal

    forgot to log in 1st Previous post was in fact from me!
  14. cpm1a - A/D - hex to decimal

    Hi thanks for the help so far ... No, sorry Im not using VB, work with it but not for this purposes ... unfortunatley. Thanks again db
  15. cpm1a - A/D - hex to decimal

    Hi all I've been trying to set up an analog to digital module (CPM1a-mad01) . I have had a pressure transducer and a pt100 / temp. transmitter connected to the module and displaying results on PT screen ... however I cannot seem to stop the screen displaying the module output in HEX numbers. I have alternatly set the pt(620s) to display in decimal and hex. The only work around I have been using is to display the % graph but this is not ideal as I would like to show a greater resolution on the temperature. (although this is ok for the presssure). I seem to remember reading that the D/A - A/D module ' output a hex value ... although I cant seem to find any reference to this now to verify. If this is true ( and it's not me missing the point) could someone tell me if there is an instruction (or routine) to call in order to do a realtime conversion for display on the PT? Either way, if I have got the setup wrong on the plc (cpm1- 30) or the pt then I would be very greatfull for advice and maybe an example if available. Thanks db