gclshortt

MrPLC Member
  • Content count

    347
  • Joined

  • Last visited

Everything posted by gclshortt

  1. Another PLC Trainer Thread

    I agree with Joe E on building the trainer based on what you're going to support. Every manufacturer has good and bad points. Suiting the PLC to the job and company can be challenging sometimes. Let me first say that the PLC equipment of every manufacture works. If it does not then lawsuits would be common. I would look at the Do-More Designer Software from Automation Direct. This software has a built in simulator that includes digital inputs and outputs and slider controls. (Analog) The simulator will also utilize the Ethernet and serial ports on your computer so communication can be established to other equipment. This is a fully free product. It can be downloaded here: http://support.automationdirect.com/products/domore.html AdvancedHMI is a free HMI package that was written in VB.Net. It runs on visual studio. This all can be downloaded at no cost. Providing a HMI for the above simulator is easy to do with Modbus TCP (Ethernet) drivers. https://sourceforge.net/projects/advancedhmi/ http://accautomation.ca/create-a-plc-with-hmi-training-and-learning-environment-free/ Factory IO is a 3D simulator that will allow you to design, build and control automation projects on your desktop. It has a 30 day free download to try the product. (This again will communicate Modbus TCP to the simulator above.) https://factoryio.com/  http://accautomation.ca/plc-programming-example-sorting-station-shift-register/ http://accautomation.ca/plc-programming-example-pick-and-place/ These are just a few thing that can be done with little or no investment. Regards, Garry
  2. Internal Counter Holding

    You can also use a regular CNT instruction with the set value (SV) as a HR or DM register. The present value (PV) will be memory retentive.  Use the bits of the HR register for bit latching. Instructions like KEEP, Set, Reset can be used to create a memory retentive bit. Regards, Garry
  3. Here is the same jog circuit as yours simplified. http://www.plcfiddle.com/#71143b2c-d9c7-11e7-bb06-c38f058d07a0 Here is another problem: Question:I have 7 motors. When the user activates any first motor of the seven, no matter which one it starts right away. If the user starts any more than one motor there will be delay of 5 seconds between every motor start. The system must remember the starting sequence that was asked. I only can use ladder for that project. Any ideas how to solve this problem? Here is the solution: http://accautomation.ca/plc-programming-example-delay-starting-of-7-motors/   Regards, Garry
  4. Internal Counter Holding

    https://industrial.omron.ca/en/media/W473-E1-08_tcm824-110490.pdf Depending on what PLC model you have you can use Holding Registers. These are memory retentive. So if the contents were on when power is cycled they will remain on  when power is restored. See Section  6-11 Holding Area  of the above manual. So you have two inputs for each of the parts: One input to tell presence and the other to determine if it is good? Regards, Garry
  5. Your E-Stop trick is very good. I like the fact that if start conditions are still active the E-Stop condition will not reset. You could quickly use this on a HMI to display the conditions  that are not allowing it to reset. Your jog circuit is not correct. If the motor is already started and you hit the jog, the motor will continue to run. If you turn off the jog the motor still continues to run. Do you want the answer or another shot at it? Thanks, Garry
  6. Link PLC with computer - can anyone advise please?

    https://us.mitsubishielectric.com/fa/en/products/controllers/programmable-controllers-melsec/melsec_f-series/network-communication/network-communication Both of your PLC's that you have mentioned will communicate Modbus. (Serial or Ethernet) I would suggest to look at the following free software package: AdvancedHMI. It was written in VB.Net and runs on Visual Studio. AdvancedHMI will take care of the communication to the PLCs. Communication to any database is straight forward with some simple program statements. https://sourceforge.net/projects/advancedhmi/ Regards, Garry
  7. It is fun. Showing simple circuits is very easy.  To save the information - go to the 'Other' tab and hit 'Save' This will give you a unique URL address for the circuit that you have just made. Here is a link for the Timer one that I just made: http://www.plcfiddle.com/#520f2068-d822-11e7-bc96-c973e37c2949 See the picture below. PLC On-Shot Circuit: http://www.plcfiddle.com/#df746e56-ca30-11e7-ae5d-0773c0040942 Here is a challenge: Take the basic circuit and add a jog function to it. When the jog is on the motor will be on. When the the jog is off the motor shuts off. If the motor is running and the jog is hit, it will keep running until the jog is off. Note: PLCs solve from left to right, top to bottom. The status of the previous rung is available for the next rung to use. Regards, Garry  
  8. Download problem for OP-320 A HMI

    I would jumper out 7 to 8 on each side 9 pin connection. This is the RTS and CTS signals. Give this a try. Note: Not all converters (USB to serial) will work. I have had success with the ugreen converters.  http://www.ugreen.com.cn/product-681-en.html Regards, Garry
  9. DOWNLOADING PROGRAMS TROUBLES ON PLC CECC X M1 FESTO

    I have not used this Festo PLC. I would contact the manufacturer for any known issues with your windows version and thier software version.  Regards, Garry
  10. KINCO HMI MTT4414T Password

    I believe that you already have an answer from plctalk.net. " Contact the vendor and get the password from them. This forum does not condone discussions about circumventing password protection. "   Regards, Garry
  11. Immediate Refresh

    Immediate refresh means usually to refresh the physical I/O point. (!)  Instead of waiting for the end of the scan to update the physical inputs and outputs, you can do this during the scan. http://accautomation.ca/understanding-the-plc-program-scan/ The above link is an explanation of the program scan. Hope this helps you out. Regards, Garry
  12. Logix 5000, Array filling

    What part of the program are you having problems with? Can you show what you have so far? Regards, Garry
  13. CP1L-M60 PID VFD control

    http://accautomation.ca/omron-cp1h-data-control-instructions/ What do you have so far as a program? Did you try the auto tune? Regards, Garry
  14. RS485 Async

    https://docs.wixstatic.com/ugd/78eff6_fd68e6587fcb4427808896cd19946b91.pdf The above is the manual for the OP-905 scale. What you want to do is set the scales up for a 'command and request' mode of operation.  Look at  'Commanding Format' on page 24 of the above manual. Each of the scales will have a different address. You will then send a command and get a response from each of the units. This is ASCII code out of the serial port. It will not use Modbus RTU. Hope this helps you out. Regards, Garry
  15. Q64TCTTN Temperature Controller

    http://dl.mitsubishielectric.com/dl/fa/document/manual/plc/sh080989eng/sh080989engd.pdf What have you got so far? Regards, Garry
  16. OMRON PLC with Modbus TCP/IP

    https://www.myomron.com/index.php?action=kb&article=1243 The above link will list modbus RTU (Serial) and modbus TCP (Ethernet) communications and sample programming. Your NX1P2 model is only available with modbus RTU. Regards, Garry
  17. Simple Click For Loop

    This logic looks like it would accomplish what you are looking to do. Regards, Garry  
  18. Detect wire break on omron absolute encoder

    You are correct. I would determine the maximum time to make one complete revolution.  I would turn on 10 bits in a register. As each wired input turns on, I would reset the corresponding bit in register. After the time for one revolution, compare the register to 0. If equal then the wires are good. Note: This will work as long as the inputs can be read each scan. Regards, Garry
  19. CX-Simulator

    The above threads may help you out. Regards, Garry
  20. methodology to structure the plc

    http://accautomation.ca/programming/plc-beginners-guide/ I believe this questions has been answered before.  The above link will help you out. Always split your program in smaller segments when programming. Regards, Garry 
  21. Need help with RS485 comm for CP1L

    https://www.myomron.com/index.php?action=kb&article=1243 https://www.myomron.com/index.php?action=kb&article=1475 Here are some examples of using modbus from the Omron website. The above links may help you out. Regards, Garry
  22. Program lost after power cycle

    What are DM6645 to DM6649 registers set to? This will tell you how the PLC is set up to communicate to the HMI.   Regards, Garry
  23. ASCII over Ethernet

    http://www.plctalk.net/qanda/showthread.php?t=111075 http://www.plctalk.net/qanda/showthread.php?t=71404 The above links may help you out. Regards, Garry
  24. FX2N & Inverter iG5A on RS485

    You have indicated that you want to connect the drives using RS485 serial communication. What protocol are you going to use? FX Series Communication Modules (RS232C, RS485, RS422) Manual Regards, Garry
  25. GOT 2000 and GT Designer 3

    https://eu3a.mitsubishielectric.com/fa/en/products/hmi/got/items/got2000/local The Mitsubishi website is where you can download the  GT Designer3 (GOT2000) Screen Design manual. Section 4 - Communicating with GOT  http://dl.mitsubishielectric.com/dl/fa/document/catalog/got/l08311eng/l08311enga.pdf This quick start guide may also help you out. Regards, Garry