gclshortt

MrPLC Member
  • Content count

    347
  • Joined

  • Last visited

Posts posted by gclshortt


  1. 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


  2. 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


  3. 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


  4. 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


  5. 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

     


  6. 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

     


  7. 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 

     


  8. 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

    1 person likes this

  9. 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

     


  10. https://support.industry.siemens.com/tf//WW/en/posts/send-real-floating-values-to-client-with-modbus-tcp/144597?page=0&pageSize=10

    " Note also that Modbus only works with 16-bit registers, so transferring a REAL value (32-bit IEEE format) will require you to send 2 contiguous Modbus registers and reassemble them as REAL values in your partner "

    In the PLC are you putting together the two 16 bit registers and then interpreting them as a float?
    I would look at inputting the integer number and decimal number separately on the HMI. Then use the PLC to interpret the data.

    Just a thought.
    Regards,
    Garry