gclshortt

MrPLC Member
  • Content count

    347
  • Joined

  • Last visited

Everything posted by gclshortt

  1. Here is a post that we recently completed on the Automation Direct USB to RS485 Adapter.  The USB-485M is a 2-wire USB to RS-485 serial communication adapter for RS485 use. It does not require an external power supply or complicated configuration. It has a Type A (plug) USB connector for the computer side and a universal female RJ45/RJ12 modular connector. This will accept RJ12 and RJ45 plugs.  The USB-485M supports multiple baud rates and is USB V2.0 Compliant. Read the rest of the post... YouTube Video on the installation and communication to a Solo Process Temperature Controller via Modbus RTU. https://www.youtube.com/watch?v=aWE05ZNZNXw Let me know what you think, Garry www.accautomation.ca  
  2. Here is a step by step tutorial... Utilizing the CX Server DDE Manager will allow us to provide a link to the information in the Omron PLC. This link can be placed on an Excel spreadsheet. Charts, graphs, etc. can be made from the data. We will create links on an excel spread sheet from a CQM1H and a CP1L PLC. The information will then be displayed as a bar graph comparing the first ten memory areas. Here is a step by step tutorial... Watch on YouTube : Implementing the Omron CX Server DDE and Excel Let me know what you think. Regards, Garry
  3. CJ2m Time as millis()

    w473_cj2_cpu_units_software_users_manual_en.pdf Section "10-2-3 Monitoring the Cycle Time" of the above manual will show you the maximum, current scan time in 0.1 ms, current scan time in 0.01 ms. These settings are in the "Auxiliary Area Flags and Words" area. Regards, Garry
  4. Omron IoT

    Hi Anne, Omron has an MQTT application library. This will connect you to a broker. Links currently do not work in this forum. Please do an internet search. If your controller is not capable of MQTT but has Modbus, you can use a Stride MQTT Gateway device. This will convert MQTT / Mobus RTU and Modbus TCP back and forth to the broker. Regards, Garry
  5. Stepper/Servo Pulse Latching

    Hi Abdul, Please look at the SPED instruction in the operation manual. This will allow you to stop and then continue. Regards, Garry
  6. making preset settings in cx programmer

    Thank you for following through and posting the answer. This benefits everyone. Regards, Garry
  7. Using Word to perform calculation

    Can you post a picture of what you are trying to do? Regards, Garry
  8. Hi saruans, Bits of words (example: %MWx:X where X is the offset of the bit)  Try %MX100:0 Regards, Garry
  9. Real to 3 decimal points

    +1 OkiePC Divide by 10 and then multiply by 10. This will ensure that the fourth decimal place is always 0.  Regards, Garry
  10. https://accautomation.ca/omron-cp1h-advancedhmi-communication/ The above post may help you out.  AdvancedHMI can communicate to many devices. The Omron PLCs can communicate Host Link (C Mode Commands) Serial – RS232, RS485, RS422. It can also communicate Ethernet FINS. AdvancedHMI is written in VB.net and runs on visual studio. Here is a link to show you how to then communicate to an excel spreadsheet. https://www.tutorialspoint.com/vb.net/vb.net_excel_sheet.htm Regards, Garry
  11. CP1E USB protocol

    Hi Jorge, The built-in peripheral USB port is for connecting support software only. The protocol is not published.  Regards, Garry
  12. Quick Way to Find Data Type Definition

    Hi Steve, In the Omron controller, the data types are dependant on the address in the model. I would refer to the manual of the PLC model you are programming. Here is a quick start guide that I find helpful for CX-Programmer. https://assets.omron.eu/downloads/manual/en/v2/r132_cx-programmer_fb_library_getting_started_guide_en.pdf I hope this may help. Regards, Garry  
  13. CQM1H-CPU21 communication with NT21

    Hi Chris, How are you connecting to the PLC to the PT unit? • Connect to the CPU Unit’s built-in RS-232C port. • Connect to the peripheral port through a CS1W-CN118 Connecting Cable. • Connect to the RS-232C port (port 1) on a Serial Communications Board. It sounds like the  PLC Settings are not set in the PLC. See the following manual on Page 45. " PC Setup Settings " http://www.farnell.com/datasheets/1697015.pdf Have you tried lowing the baud rate in order to see if communication errors still exist?  What are your communication settings? Regards, Garry
  14. encoder to fx plc

    Hi lizard, Yes, your 0V would go to the common on the PLC input. This would be NPN. http://www.plctalk.net/qanda/showthread.php?t=27796 " The S/S terminal is used to configure the unit inputs for sinking or sourcing signals (all at once).The inputs themselves are polarity-insensitive and S/S is their common.When the S/S is connected to the logic ground, the inputs react on sourcing signals (PNP sensors).When it is connected to the logic power (typically +24VDC) the inputs react on sinking signals (NPN sensors). " Here is the hardware manual: https://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy992d66301/jy992d66301s.pdf I hope this helps you out. Regards, Garry  
  15. Durapulse GS3

    Hi Akhan, I would give automation direct a call and see if you can get a board for your unit. https://www.directautomation.com.au/media/catalog-pdf/DR-Drives.pdf Regards, Garry
  16. PLC Simulator Online

    Thanks Simon, This makes sense once I looked at the app on my phone.  The simulator is looking good. Can you include a save option sooner? This would greatly increase the usability of the simulator especially if you want to promote working samples. The save can be to a unique web address so the program can be viewed and modified. This would allow individuals time to work out the program and show the work. Keep up the good work! Garry  
  17. PLC Simulator Online

    Hi Simon, I like what you have developed so far. The timers and counter work well. When I am monitoring variables when running the program, it would be nice to be able to arrange them in the order for the logic I'm testing. It would also be nice to have the choice where the variable section is on the screen. (I would prefer the variables on the left or right side of the screen.) Looking good! Thanks, Simon Garry   
  18. +1 Joe E. Parts are unknown (default bad) until inspected to be good.  Regards, Garry
  19. PLC Simulator Online

    Wow that sounds great.  What time frame are you expecting for all of these stages? How are you making your money if you are offering this for free? Would you mind me promoting this free programming tool once you have it further developed? Thanks, Garry https://accautomation.ca/  
  20. PLC Simulator Online

    Hi Mag, Your plc simulator looks good so far. What are your plans for additional instructions? How about your plans for rung comments? Will you be able to save your logic?  I have been using PLC Fiddle. https://www.plcfiddle.com/ https://accautomation.ca/plc-fiddle-online-editor-and-simulator-in-your-browser/ https://accautomation.ca/series/plc-fiddle-online-plc-editor-and-simulator-in-your-browser/ Good work so far. Thank you, Garry
  21. EA3 Micro Panel

    You would have to read the time and date from the connected PLC. Using the Numeric Display Indicator on the screen you would point to the Hours, Minutes, Seconds, Day, Month or Year variables in the PLC. https://accautomation.ca/c-more-micro-hmi-object-buttons-and-indicators/ Here is a series on the EA3 HMI https://accautomation.ca/series/c-more-micro-hmi/ Regards, Garry
  22. Here is another HMI headless unit that would be able to send out Emails. https://www.automationdirect.com/c-more/headless-hmi Here is how the email will be programmed in the C-More unit. https://accautomation.ca/c-more-ea9-hmi-series-panel-sending-email/ I hope this helps you out. Regards, Garry
  23. Beginner Support Required

    https://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy997d16701/jy997d16701r.pdf http://www.plctalk.net/qanda/showthread.php?t=47307 In the above manual look at "4. Analog Input" this will give you a description and sample program. You will find the unit number for addressing is based on position. I hope this helps you out. Regards, Garry
  24. FX3G-Create SCADA system from existing PLC

    You will need to be a little more specific on what you want to achieve. I would start by looking at the communication protocols that your PLC is capable of handling. I believe that it can communicate Modbus RTU (Serial) via RS232 or RS485. https://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy997d16601/jy997d16601q.pdf Take a look at AdvancedHMI. This is a software package that is written in VB.net and runs on Visual Studio. It has the drivers already programmed for both Modbus RTU and TCP. Once you collect the data into the computer then you can save it to a database. Sharing the data online can be done in several different ways. We really need to know what you need to accomplish. I hope this helps you out. Regards, Garry  
  25. hmi nt600m-dt211

    NT20M/NT2000M/NT600M Support Tool Version 4.0 Connecting cable: CV500-CN228, 2 m cable https://www.myomron.com/downloads/1.Manuals/HMI/Nt/v015e1-1%20Host%20Interface%20Unit%20Direct%20Connection.pdf Operation Manual for the Support Tool https://www.myomron.com/downloads/1.Manuals/HMI/Nt/V004-E1-2%20NT20M-NT600M%20Operation%20Manual.pdf I hope this helps you out. Regards, Garry