gclshortt

MrPLC Member
  • Content count

    347
  • Joined

  • Last visited

Everything posted by gclshortt

  1. SIMPLE SCADA

    https://sourceforge.net/projects/advancedhmi/ AdvancedHMI is free. It is written in VB.net and runs on visual studio.  Here is some information on the driver for  Allen Bradley Controlllogi. http://advancedhmi.com/documentation/index.php?title=EthernetIPforCLXCom Regards, Garry
  2. Closed loop

    Hi Tim, Is the position where you want it? If so then I would zero the current counter postilion.  (MODE CONTROL: INI(880))  If the error will be accumulative then I would use the PLS2(887) instruction with a specified target with the error built in.  Another way to look at it would be to zero the origin on a signal into the PLC. Regards, Garry
  3. Closed loop

    Hi Tim, I would try that suggestion to see if the unit runs.  Usually I use the  PLS2(887)  instruction. It will output the number of pulses that are required with the acceleration and deceleration rates. Regards, Garry
  4. Closed loop

    https://www.myomron.com/index.php?article=1474&action=kb The above article may help you out and show you the steps involved in getting your application going. Here is some general information on programming the CP1H. http://accautomation.ca/omron-cp1h-system-hardware/ https://www.youtube.com/playlist?list=PL3y71jAPOdZD6WfrdjilDKMWXTStphw2Y Hope this helps you out. Regards, Garry
  5. Connect FX1N-60MR to SCADA

    The above thread will show you how to use modbus on your PLC. Regards, Garry
  6. You might want to look at AdvancedHMI to get information out of your PLC. This is a free software that can downloaded at the following URL: https://sourceforge.net/projects/advancedhmi/ It already has the Allen Bradley Ethernet/IP Driver written for SLC,MicroLogix, PLC5, ControlLogix, and CompactLogix. AdvancedHMI was written in VB.Net and runs on Visual Studio. This means you can use your C programming within visual studio. Here is some more information on AdvancedHMI and the AB Ethernet IP driver: http://www.plctalk.net/qanda/showthread.php?t=51758 Hope this helps you out. Regards, Garry
  7. Connect FX1N-60MR to SCADA

    If you can get a Ethernet or Serial port on the unit then you can communicate Modbus TCP (Ethernet) or Modbus RTU (Serial). A computer running software such as AdvancedHMI has drivers already written that can get the information out of the PLC using the Modbus protocol.  AdvancedHMI is a free download that was written in VB.Net and runs on Visual Studio. This makes it an ideal way to communicate to databases. https://sourceforge.net/projects/advancedhmi/ Regards, Garry
  8. CP1E RS232 communication to my weighing

    http://www.plctalk.net/qanda/showthread.php?t=98820 You are simply receiving ASCII characters on the RS232 port. This is similar to a barcode scanner input. See the above thread. Hope this helps you out. Regards, Garry 
  9. http://www.advancedhmi.com/index.php?main_page=page&id=1 This link will take you to the FAQ of the AdvancedHMI website. Here is the answer to the licensing. Q: How is AdvancedHMI licensed? A: In summary, the freely available version can be used and distributed without fees. The project is under GPL which means projects you develop and distribute to end users must make source code available to them. The graphics are copyrighted and can only be used in AdvancedHMI projects. The DLLs can be distributed with projects, but can not be separated to be used in applications other than AdvancedHMI. We do not allow the use of the base components to be used in any other software packages, however if you are interested in the controls, we develop custom versions to be used in your own software packages. Eventually we will also license the communication drivers to be used outside of AdvancedHMI. You may contact us for information. Regards, Garry
  10. As mentioned before you can use AdvancedHMI. https://sourceforge.net/projects/advancedhmi/ The software has the following AB drivers: - Allen Bradley DF1 RS232 Driver - Allen Bradley Ethernet/IP Driver for SLC,MicroLogix, PLC5, ControlLogix, and CompactLogix Here is a post on how to get information from Excel using AdvancedHMI: http://www.plctalk.net/qanda/showthread.php?t=95614 Hope this helps you out. Regards, Garry
  11. Here is a couple of labs to try... Make the game of Simon with the PLC. https://en.wikipedia.org/wiki/Simon_(game) Make a sequence of cylinders that can be taught. Regards, Garry
  12. http://leanmes.net/rslogix5000randomnumbergenerator.html The above will help you out with a random number generator. Regards, Garry
  13. Write to Omron by USB port in C#

    The CJ1W-PA202 is the power supply.  Is this the CJ1M? If so it has a Built-in peripheral port: Programming Device (including Programming Console) connections, Host Links, NT Links Built-in RS232C port: Programming Device (excluding Programming Console) connections, Host Links, no-protocol communications, NT Links, Serial Gateway (Compoway/F master) Garry
  14. What is the distance that you want to communicate? I have used the following Ubiquity product for point to point communication.  https://www.ubnt.com/airmax/nanostationm/ As per my other responses, you will need the converter from Modbus TCP to Modbus RTU for communication to the K120S. http://www.plctalk.net/qanda/showthread.php?t=113431 Regards, Garry
  15. Urgent need for CX-Supervisor v2.x

    https://industrial.omron.ca/en/products/cx-supervisor This will allow you to download a trial version of the software. If this does not work, then I would suggest contacting Omron for the program file. Regards, Garry
  16. Address incremental copy uses wrong size

    Address Incremental Copy To create the same group of ladder instructions more than once, the address incremental copy function can be used to reuse the instructions simply by inputting an address offset. Also, address offsets can be set individually and I/O comments can be created automatically. What about adding another variable (dummy 4005 address) to your information? Then you will be using three addresses. Regards, Garry
  17. Write to Omron by USB port in C#

    What Omron controller are you using? As IO_Rack has indicated, the USB port on most Omron controllers are for programming only.  Regards, Garry
  18. HMI CONNECT TO NON PLC WITH RS232

    I agree with Archie.  If you want to send ASCII text messages out over your serial port to a weight scale, then you will need to customize your HMI. Barcode is normally ASCII inputs that most HMI's will support. Zebra printers have their own protocol over serial or Ethernet connection.  Look at the AdvancedHMI for the ability to do this withing the Visual Studio environment. https://sourceforge.net/projects/advancedhmi/ Their website will also sell industrial PC's loaded with AdvancedHMI. http://advancedhmi.com/ Regards, Garry
  19. CP1H does not support STRING data type in ST?

    https://www.fa.omron.com.cn/data_pdf/mnu/r144-e1-04_cx-programmer.pdf?id=1605 Try to convert the information before sending. Syntax Source_data_type_TO_STRING (Variable_name) Example: WORD_TO_STRING (SerialBuffer) See page 95 of the above quick reference. This may help you out. Regards, Garry
  20. Programming

    http://www.plctalk.net/qanda/showthread.php?t=42452 http://www.plctalk.net/qanda/showthread.php?t=99754 http://www.plctalk.net/qanda/showthread.php?t=48023   The above are some threads that may help you out. Regards, Garry
  21. bit shift register

    There are allot of examples for bit shifting / shift registers. http://www.thelearningpit.com/lp/doc/bot/bottle.html https://www.mrplc.com/kb/Programming-Application-How-to-use-Bit-Shifts-(BSL)-in-PLCs_71.html http://accautomation.ca/plc-programming-example-shift-register-conveyor-reject/ http://accautomation.ca/click-plc-shift-register-instruction/ http://accautomation.ca/plc-programming-example-sorting-station-shift-register/ I'm sure you may find what you are looking for in the above links. Regards, Garry
  22. cant connect HMI omron to PLC omron [solved]

    https://www.myomron.com/index.php?action=kb&article=1536 The above thread will walk you though connecting your HMI to the PLC.  1. Connecting Method2. Wiring diagram3. HMI Attribute settings4. PLC Attribute and PLC settings5. Example program Make sure that the units are communicating by the indication light on the PLC. Hope this helps you out. Regards, Garry
  23. I have recently come across a free virtual plc simulator called PLC Fiddle. It will enable you to create simple PLC ladder logic code within your browser. This is an ideal way in understanding PLC concepts for industrial automation. All of the basic PLC instructions that come with most plc units have been incorporated in this virtual PLC software.PLC Fiddle is currently in an early stage of development but is functional enough to be helpful to you in learning and understanding PLC concepts.  http://accautomation.ca/plc-fiddle-online-editor-and-simulator-in-your-browser/ YouTube Video: https://youtu.be/G43ZLOwu2dM www.plcfiddle.com Let me know what you think of this for a learning tool. Thanks, Garry
  24. Need Help

    http://www.roboex.com/rv-m1.PDF This robot will just use basic through the serial communication port of your computer. See the attached manual above. You may get more responses by posting on the following forum: https://www.robot-forum.com/robotforum/ Regards, Garry
  25. http://accautomation.ca/five-steps-to-plc-program-development/ The above link will take you to the five steps to PLC program development.  1.Define the task 2.Define the inputs and outputs 3.Develop a logical sequence of operation 4.Develop the PLC program 5.Test the program As Mendonsy has mentioned, you can break the overall project up into smaller tasks.   Regards, Garry