-
Content count
911 -
Joined
-
Last visited
Posts posted by BITS N BYTES
-
-
-
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.
-
-
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 -
-
Good luck. Let us know if this works out for you!
Regards
-
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.
1 person likes this -
-
Well how about sharing with this forum what the fault was and how you resolved it?
1 person likes this -
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?
-
-
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.
Apologies, original attachment was not working
-
Whenever you need help with Serial communications my go to spot is:-
Good prices and excellent tech support.
And NO! I am not affiliated with them.
-
YUP not the ONLY individual!
Burnt me a few times.
-
-
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.
-
Maximum 3.
BUT if you purchase two PLC's and a serial option board for each one, you can use Serial PLC Links function to transfer data between each PLC.
In effect you have two PLC's each with max expansion of 3 units.
-
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.
-
You might be better off using Indirect Addressing for your application.
https://forums.mrplc.com/index.php?/files/file/195-indirect-addressingzip/
1 person likes this -
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!
-
Canterbury, thanks for response when problem is resolved.Feedback on this site is always appreciated and helps EVERYONE.
2 people like this -
Subindex should be 05 bit 7 set to 0?
-
The VFD's are just an additional Ethercat device and are NOT counted as an axis. So you should be good to go per your previous posts.
This also applies to other Ethercat devices provided they are NOT an Axis. i.e. NX I/O/ IO Link, Ethernet IP etc...
-
Dependent on PLC model.
Don't see the PLC model in any of your prior posts?
Sending data from CJ2M to CJ1M
in CX-Programmer
Posted
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.