-
Content count
911 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by BITS N BYTES
-
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.
-
Final notes. IF you have the correct model CP1E-N type PLC have you selected the correct DEVICE TYPE and CPU TYPE in CX_Programmer?
-
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.
-
In order to use I/O for high speed tasks/instruction they must be configured in the PLC settings and downloaded to the PLC. After downloading you MUST power cycle the PLC for these new setting to work.
-
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
-
Data Encoder:- DMPX(077) Instruction might be what you are looking for?
-
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. CJ1 CF card backup & restore guide.pdf
-
Really miss the ability to have individual element properties for instructions as available in CX-Programmer. Please, please add this to Sysmac Studio.
-
Using IR and DR for Indirect Addressing.pdf
-
Omron G5 servo problem with NX102 controller
BITS N BYTES replied to MrShar's topic in NJ Series / Sysmac Studio
Well how about sharing with this forum what the fault was and how you resolved it? -
Does this suit your requirements? https://www.automationdirect.com/adc/overview/catalog/programmable_controllers/productivity_open_(arduino-compatible)
-
CP2E ERROR: STRING type or an Input Output variable is not supported by the PLC of this unit version. Check the unit version in program check options.
BITS N BYTES replied to Ralf's topic in CX-Programmer
Note that for the CP2E function block cannot use STRING data types. -
CP2E ERROR: STRING type or an Input Output variable is not supported by the PLC of this unit version. Check the unit version in program check options.
BITS N BYTES replied to Ralf's topic in CX-Programmer
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 -
Looking for a good USB to Serial (RS232) Converter
BITS N BYTES replied to KnuckleDragger's topic in General Topics - The Lounge
Whenever you need help with Serial communications my go to spot is:- https://www.serialcomm.com/USB_adapters/USB_converters/usb_to_rs232_adapter/usb_to_rs232_adapter.product_general_info.aspx Good prices and excellent tech support. And NO! I am not affiliated with them. -
YUP not the ONLY individual! Burnt me a few times.
-
What is the fastest method to clear portion of a large array?
BITS N BYTES replied to skyfox's topic in NJ Series / Sysmac Studio
Just be sure that the elements of the AryOut have the same data type as as In. Made this mistake once before until reading manual. -
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.
-
The AVG[195] function is a really useful BUT it seems that it only works with cycles of the PLC. In other words if I specify the maximum number of cycles as N=64=0040hex the average data becomes valid [R+1 bit 15 turn ON] after 64 cycles of te PLC. If the PLC cycle was 5 mSec I would expect to get a valid average after 320mSeconds. This does indeed work correctly. The data that I am averaging changes about every 3 to 4 seconds and when I try to apply the AVG instruction all data in the AVG data area R+2 to R+[2+64] is the same as the most recent Source value. In other words the S [source Word] always equals the R [Result Word]. I cannot find a way to have the average instruction update with a different timebase other than the PLC scan. Instead I am using a word shift register and averaging the contents, seems crude and more complex than AVG. Any words of wisdom/ideas how to use AVG with a user applied timebase for cycles?
-
You might be better off using Indirect Addressing for your application. https://forums.mrplc.com/index.php?/files/file/195-indirect-addressingzip/
-
You don't want to use a PWM output with a mechanical relay! It will quickly wear out and fail!
-
NA HMI : Display variable value in user alarm message
BITS N BYTES replied to Difool's topic in NJ Series / Sysmac Studio
Canterbury, thanks for response when problem is resolved.Feedback on this site is always appreciated and helps EVERYONE. -
Subindex should be 05 bit 7 set to 0?