gclshortt

MrPLC Member
  • Content count

    347
  • Joined

  • Last visited

Posts posted by gclshortt


  1. You can do this with additional software.
    http://accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/
    Using VBA you can get the data into an excel spread sheet.

    You can use AdvancedHMI that runs on Visual Studio. This package utilizes VB.Net. Creating a CSV file is straight forward.
    http://accautomation.ca/omron-cp1h-advancedhmi-communication/
    Creating the CSV file:
    https://stackoverflow.com/questions/25994972/how-to-create-a-csv-file-from-string-variable-using-streamwriter-in-vb-net

    Hope this helps you out.
    Regards,
    Garry


  2. What are the exact model numbers of the C1JM PLCs?
    What kind of ports do you have available?

    You have two basic choices, serial (RS485 / RS422 ) or Ethernet (RJ45).
    Serial communications:
    The unit number of the PLC serial will determine the address on the network. (Make sure that they are all different numbers. Default is 00)
    This is a master / slave communication only. Only one device can be communicating on the network at a time.

    Ethernet Communications:
    The IP address will determine the address on the network.
    Multiple communications can happen at the same time. Information can be shared between the controllers.

    http://www.ia.omron.com/products/category/automation-systems/programmable-controllers/cj1/cpu-bus-units/index.html

    Start off by connecting one of the units up and testing communication using cx-programmer. You will then see if your converters will work or not. 

    Regards,
    Garry


  3. I would look at Factory IO for some projects.
    https://factoryio.com/
    There is a free evaluation period. This works well with the free Do-More designer software which has a simulator.
    Here are some examples:
    https://www.youtube.com/playlist?list=PL3y71jAPOdZCbC-2roZpqqBIJkcEI_s1n

    Here are some other sample programs:
    http://accautomation.ca/building-a-plc-program-that-you-can-be-proud-of-part-1/
    This series takes you through using discrete inputs and outputs to control traffic lights and cylinders. As we progress we introduce additional methods to solve logic. We look at sequencers in a new way and learn how to write programs to allow users to teach the new sequence.

    Hope this helps you out.
    Regards,
    Garry

     


  4. https://sourceforge.net/projects/advancedhmi/

    AdvancedHMI is free. It is written in VB.net and runs on visual studio. 

    Turn Visual Studio into a powerful HMI/SCADA development package by simply dragging and dropping, no coding required. DF1, Ethernet/IP for Allen Bradley PLC controllers, and many more drivers. Free

    Features

    • Allen Bradley DF1 RS232 Driver
    • Allen Bradley Ethernet/IP Driver for SLC,MicroLogix, PLC5, ControlLogix, and CompactLogix
    • Beckhof TwinCAT Driver, ModbusTCP and ModbusRTU drivers
    • Omron Drivers
    • Drivers are accessible via VB or C# code
    • Build an HMI in Visual Studio 2013-2017 Community (free) without writing any code
    • Works with Visual Studio Community Edition
    • Tested on Mono on Linux (except OPC and serial drivers)
    • Even Works on the Raspberry Pi
    • SCADA capable

    Regards,
    Garry

    1 person likes this

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


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