atanas

MrPLC Member
  • Content count

    20
  • Joined

  • Last visited

Everything posted by atanas

  1. Perhaps it has something to do with the program scan time? 1 ms is challenging.
  2. photo eye latch

    Could you use Emitter- receiver or Photo eye- Reflector combination? If they are positioned diagonally across the lumber path with one where the limit switch was and the other close to the hook position that should give you functionality similar to a limit switch with a wand.
  3. Hi Casey, I have never used ML1500 but did similar project with ML1100. Perhaps you could look at my post in the General section: http://forums.mrplc.com/index.php?showtopic=15892 The post was intended as a quick start guide. the PLC is ML1100 and the VFD- Delta, but perhaps the idea is the same and I think AB's PowerFlex VFDs are almost identical. Modbus is Modbus. Regards, Atanas
  4. Findb Limitation In a d4-450

    Hi ModeManuel, Perhaps it has something to do with the numeral systems. 30 octal = 24 decimal. The octal numeral system is native for PLC Direct. Your code looks OK- adjust the constants Regards, Atanas
  5. Hi rkukl, I do not think you could achieve linear motion with this mechanism with ramp up/down. you might look at this site for the speed formula: http://www.wfu.edu/~rollins/piston/ I would suggest using different mechanism (Rack and Pinion). You would have to add adjustable limit switches and perhaps a gearbox and do some programming. Regards, Atanas
  6. For few years this forum has been source of knowledge and inspiration to me. I hope that someone could benefit from the following example. It is my first experience with Modbus. The project involved components from three different manufacturers. As it progressed I realized that the control system is quite flexible and reasonably priced. Also the PLC program came well structured without any effort. Just few ideas: It seems that adding more Modbus devices, more touch screens and expanding the network (perhaps using wireless router, e-mail notifications) is achievable. Also different brands Modbus enabled VFDs could be used. Regards, Atanas DELTA___ML1100___MODBUS_SETUP.zip
  7. Wiring Potentiometers in Series

    Hi Atlascycle, I have used quite successfully similar Baldor drive and motor in similar application. The dancer mechanism was with ultrasonic sensor (as Jak suggested). I do not think you need any additional elements. Look in the drive manual: On the board you have four trimpots. Set the MAX speed a little over the maximum line speed and if needed adjust ACCEL and DECEL trimpots for smoot ramp-up/down the speed.
  8. Off Delay Timer.

    Hi rramirez, I am not familiar with this particular model but look at the logic on the attached picture. The output will be ON as long as the push button is pressed; if released in less than 4 sec. output will still stay ON till the timer kicks off and disconnects it (4sec)
  9. NTST & NT11

    Hi F4r14, I have used it in the past and it worked fine (Copying of a Character-String Memory Table). You have already set the control area to D0030; Now let's say you placed a string control on your screen and associated it with string #1 of the string table. To display string 8 you have to: MOV #1 to DM0032 (copy destination memory table No.) MOV #8 to DM0031 (copy source memory table No.) The order is important. Two more thoughts: Be aware of the numbering systems: MOV &20 will send hexadecimal 14 this way pointing to different string. If that string is empty then you will get empty message on your screen. If you have more than one string control on your screen I think you should wait at least 1/10sec between message change requests as the communication with the HMI is much slower than the PLC scans and the HMI will not see some of the requests.
  10. CX Programmer error

    Hi rogeliososa, I think that the problem is related to the operating system- you do not have write permission for the folder where CX Programmer is trying to create the temporary file. That is why everything is OK on another computer.
  11. Ultra sonic Level Measeurement

    Hi justwhy2003, You do not specify the sensing range. I have used this sensor: RPS- 401A-40 look at http://www.migatron.com/ to sense distance to a metal target. I believe it could be used also for liquid level measurement. It has standard adjustable range and reversible current and voltage analogue outputs. Sensing distance up to 40”, but they have sensor for up to 80” as well.
  12. Using encoders

    Hi Suke, Here is some information from CQM1H series Operation manual (Cat. No. W363-E1-05) CPU Unit built-in inputs (IR 00000 to IR 00003) can be used as high-speed counters without executing interrupt. PVs are stored in SR 244 to SR 247. High-speed pulse input from CPU Unit built-in inputs (IR 00004 to IR 00006) is counted. PVs are stored in SR 230 and SR 231. I haven't done it but possibly the above SR words are used in CMP instruction in your program to operate the inverter output. It's just an idea- see if you could find them in the program. Also look at the SR memory structure- Appendix C in the programming manual- there are other bits to reset PVs, show overflows etc.
  13. I need some advice here. A former employer of mine wants to find an alternative of the touch screens they use now- PanelMate power pro from Cuttler Hammer, model # 1775T PMPP 1700. I am looking at the possibility to use OPC Server from Automatedsolutions + computer and build a HMI. My questions: Has anybody tried to build a HMI with this product? What is the response time in this case? Would the communication speed be comparable with that of a touch screen? Thanks
  14. How to use XOR

    Hi kokiong, My understanding is that XORW operates on WORD, not BIT data. That is why you get error. You do not need special function to realize “Exclusive OR”. For two inputs XOR should give TRUE when one input but not both is TRUE. Make the rung logic as follows: (X1 AND NOT X2) OR (NOT X1 AND X2) = Q1 Where X1, X2 are the inputs Q1 is the output For more than two inputs XOR should give TRUE when odd number of inputs are TRUE. It is doable dough a little more complicated but I believe that is not your case since you tried to use a function that takes two input parameters. Just a tip: for every function if you look in the help there is a list with the acceptable types of the parameters Hope this helps a little
  15. OPC Server + computer to build a HMI

    OK, we’ve been convinced and will stay with the touchscreens. Thank you for your input! Certainly there is a good reason for the industrial HMIs’ existence. It is only that I feel the other option is worth exploring. In terms of reliability the computers went long way. May be juuust one little step furder…
  16. OPC Server + computer to build a HMI

    Thank you for the replies! You answered my questions. The machines are built on Allen Bradley SLC500. The reason we are looking for other solutions is that the touch screens come with considerable prize- a new computer + OPC software would be twice cheaper than one touchscreen. Most of the important controls are doubled with buttons and switches but there are a lot of parameters to set and visualize. I have (though limited) experience with Visual C++ and perhaps if we decide to follow this way I will build on this platform. Once again- thanks! Further suggestions are welcome- alternative touchscreens perhaps?
  17. CS1W-NCF71 Manual?

    I wonder if you still need it. I just completed a project with this PCU and saw your message while looking for the manual. Subsequently I found it from the ONRON site. You could download it- http://www.omron.ca/DocumentLibrary.asp document # W426-E1-02. Contact me if you want me to send it to you.
  18. Absolute encoder to CPM2A & trigo functions

    Instead of using tables you could use the following formula to calculate approximately sine of an angle: sin(x) = (x) - (x^3)/3! + (x^5)/5! - ... where x is in radians Adding more members to the equation will decrease the error. The error increases with the increase of the angle. As well the following formula could come in handy if you want to calculate cosine: sin(PI/2+x) = cos(x)
  19. A Problem With A Dosing Machine.

    Hi Mozfet, I wonder if the following approach could work: 1. Set the weight meters at 50 kg 2. Add “permanent weight” of 0.4 kg on the dozers- it will represent the added weight while the valve closes You will still have 50 kg weighted and reading of 50 kg on the meters
  20. LOVE THE AVG[195] FUNCTION - BUT!?

    If I understand correctly you connected the AVG instruction unconditionally (as through always on bit). But you would like to take one sample every 3- 4 seconds I am relatively new to OMRON PLCs, but here is what I would try: I would setup a timer at 4 seconds and then every time the timer is done execute the AVG instruction and reset the timer. Hope this works