BITS N BYTES

MrPLC Member
  • Content count

    911
  • Joined

  • Last visited

Posts posted by BITS N BYTES


  1. For your application and small amount of data you could use Serial PLC Link to exchange data via the serial ports of each PLC.

    Very simple, reliable and easy to setup. Requires NO PROGRAMMING in the PLC.

    It is setup/configured in the PLC settings.


  2. I hope your CP1E PLC model suffix is type CP1E-N.

    Only this model type will allow high speed pulse outputs.

    To configure the outputs you also use the PLC settings to configure either or both Pulse Output 1 and Pulse Output 2.

     

    Again don't forget to download these new setting to the PLC and POWER CYCLE to accept new settings.

     

    Pulse Output Settings.jpg


  3. The DMPX instruction control word C specifies how conversion occurs.

    Setting third digit of the C word to 0 specifies 16-to-4bits conversion. Between 1 and 4 words can be processed based the setting of digit 1 by setting it between 0-3.

    Setting digit of the C word to 1 specifies 256-to-8 bits conversion. In this case a block of contiguous block of 16 or 32 words is searched by setting digit to 0 or 1.

     

    For a full explanation and sample code for this instruction in Omron Manual W340.

    Here is link:-

    http://www.edata.omron.com.au/eData/PLCs/CJ1/W340-E1-17.pdf

     

     

    1 person likes this

  4. You could try using the BACKUP/RESTORE procedure using a CF card.

    BACKUP exiting PLC program to CF Card.

    RESTORE program to other PLC using CF Card.

    Depending on how the program was originally protected this should work.

    BUT if the other PLC is a different Version # this may cause a problem.

    CJ1 CF card backup & restore guide.pdf

    1 person likes this

  5. 18 hours ago, Corvo said:

    Hi all,

    I'm not shure if I saw it once, a Spanish site with a rugged I/O shield for an arduino plus a software package to build an Arduino-PLC packet. It was pretty much $$$ raised... (on my oppinion, for my application, not to dispretiate their value).

    Has anyone thought of it or knows of such an ensemble: A general Arduino board, a general kind of "plc-shield" (some inputs, some outputs,...) and finally, a (preferably open-source) software package to make an off-the-shelf Arduino-PLC ish?

    Maybe it all exists with some name changes, or this question is of a huge ammount of ignorance.

    Thanks.

    Corvo (means Raven) 

    Does this suit your requirements?

    https://www.automationdirect.com/adc/overview/catalog/programmable_controllers/productivity_open_(arduino-compatible)


  6. There ARE some restrictions on the CP2E series PLC's relating to Function Blocks and Structured Text.

    See manual W614.

    Attached is extract from manual for ST.

    This MAY be causing your issue.

    W614-E1-01.pdf

     

    Apologies, original attachment was not working

    W614-E1-01-Extract.pdf


  7. YES ModBus slave will work and is covered in Section 14-7 in OMRON manual W614.

    In general a function block is not needed in the slave as it is up to the MASTER in a ModBus network to define which data it wants to read.


  8. This article may also help you. Though written for a CJ1M processor the principles apply just as well to a CP1E

    ALSO remember that if you change PLC settings for motion these MUST be downloaded to the PLC AND most importantly the PLC power must be cycled OFF->ON for the new settings to take effect.

     


  9. 1 hour ago, photovoltaic said:

    What PLC are you using?

    If your controller and IO support the PWM instruction then this would be an easy and versatile way to achieve this. If not you'll need to bit-bang with the higher accuracy timers.

    You don't want to use a PWM output with a mechanical relay! It will quickly wear out and fail!