Search the Community

Showing results for tags 'cx programmer language'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 141 results

  1. Ethernet/IP bandwidth

    Hello, A while ago I modernised a magazine gathering / filmwrapping machine. This was a fairly big project for which I used an Omron CJ2M as the main PLC, 10 Wago Ethernet/IP fieldbus couplers, a Keyence CV-X420 vision camera and an Omron NS12 HMI.  All of these components run on the same network which contains an unmanaged switch where the HMI, PLC and the first Wago are connected. The Wago’s act as a two port switch since they are all daisy chained. At the end of the Wago chain there is also the vision cam which is connected at the last Wago coupler. At the time I was advised against using Broadcasting instead of Multicasting with a managed switch, but I tried anyway since my networking knowlege is lacking. Also, the only ‘bandwidth demanding data’ comes from the vision system. The Wago couplers contain only digital I/O and high speed encoder inputs run directly to the CJ2M. I haven’t run into any trouble so far and the machine is already producing for over a year. Now , a new project is on the way and it will need even more Ethernet couplers, 15 to be precise.  This brings me to my question; is there a limit to the number of nodes in an Ethernet/IP network and will I possibly run in to bandwidth problems by adding more remote I/O and not using a mannaged switch? Also, I would like to get high speed input out of one of the Wago couplers. Thanks in advance for any feedback! Greetings from Holland Andy 
  2. Cannot get Online - CPM2C

    Hello Ladies and Gents, Im quite new to working with Omron. I am struggling very much to get online with an Omron CPM2C-S110C. It has a CIF01 card also. I hear this PLC is quite an old one. I have referenced the manual on 'connecting a computer running support software' and double checked I have the correct cables. The ones I am using and the way I am connecting is:-   PLC Peripheral slot >> CS1W-CN118 >> XW2Z-200S-CV >> serial to USB >> Laptop Checking on Device Manager, I have all the drivers installed, the comms ports are correctly numbered yet I still cannot connect. There are 4 dip switches on the top right hand side of the CPU and all are swiched off. I have called Omron Tech Support and they said to ignore them in this instance. The RS232C port on the CIF01 is used by a barcode scanner so there is no means to connect through that (I have been told) I feel that I have been through setting and checked in CX-Programmer and nothing looks obscure. Please offer me any ideas you may have. I would greatly appreciate it. Thank you.
  3. Hello,   Was extracting PLC program from a Chinese machine and the comments was shown incorrectly as symbols instead of Chinese characters. The Laptop used does support Chinese Language so why does the PLC program pulled from the machine does not show the comments correctly?
  4. Combination Input

    Hi.. I'm new into PLC programming so I dont really know much how to program.. So hopefully there is someone out there that can help me with this or give me some ideas.. Here is the problem; I got 2 inputs signal, A & B.. from this 2 input signal, there will be variable combination of 4 inputs and it will produce different output let say in condition; 1. AAAB - Output 1 2. AABA - Output 2 3. AABB - Output 3 4. ABAA - Output 4 . . . n. BBBB - Output n   I'm open to any suggestion and ideas for this.. Btw I'm using OMRON CP1H for this one..  Thank you
  5. Hello,      I make a project where I should control temperature for thermoplastic extruder. I read for this type of process a two position controller is enough but I want to use a PID controller. I have values for P,I,D,Tf and I applied Z-transform and I have a numeric controller which is implemented through structured list.  I want to control heating element with this PID but my problem is I don't have an analogue output module just a digital output module(OD 212) and now my question is : How I can( if it is possible) to control duty of PWM with output from pid?  (I have a CJ2M processor)
  6. Hello      I have a cj2m processor and md211 module and I want to read position from rotary encoders who are put on the stepper motors. I use high speed counters to count the number of(I made settings like in documentation) but every time I read velocity.   In first two picture I have 3 blocks for PRV function , I set port specifier [#0, #1 and #3] because on this ports I command 3 axis. Please help me!              
  7. High speed counter

    Hello!       I wrote a ladder program where I use PRV function for reading current position from rotary encoder. My issue is I received data on PRV only when Oringin_Search is on, I want to read value without Origin_Search active. I tried with High speed counter but  I don't receive  values. I used port's 0,1, 3 because I have three servomotors with encoders. I have CJ2M CPU and MD211 Module.
  8. Hello,      I want to make an application to control a heater element . I have a thermocouple(k) , I read value from it with ad04u module and with od212 module I want to control the heater element with PWM. Now that's my problem , I don't know how to configure in cx-programmer to put on output from od212 pwm signal. I read in documentation about Pwm but is a poor explication about this problem. (I use CJ2M processor). What else conditions must to check for I can work with pwm signal?
  9. Hello people, I hope someone can help me with this. The system is connected with 8 PLC's. I want to transfer the data memory of a PLC to another like this: D850 from PLC2 to D900 PLC1 D850 from PLC3 to D901 PLC1 D850 from PLC4 to D902 PLC1 D850 from PLC5 to D903 PLC1 D850 from PLC6 to D904 PLC1 D850 from PLC7 to D905 PLC1 D850 from PLC8 to D906 PLC1 The data memory is an integer.
  10. Lets say I worked in a factory that made multiple models of parts. I need to run data tracing on the off shift due to certain models only running on 2nd and 3rd shift. I want one data trace to capture one group of bits at Model 1, Then reset the Data Points and run again for Model 2, Model 3 and so on. So the Bits that I am mapping with the trace need to change.  I can change the trigger easy enough with my program. I see in the manual the CPU has a "separate memory area" for trace settings. Can this area be accessed from the Program so I can set my bit addresses to monitor to a word or E_?   See attached pic for clarification of what I aim to change through the program.   
  11. hello.   I've been trying to communicate this omron plc CP1L-EM30DT1-D, with a yaskawa inverter cimr-vu4a0004faa. but i can't figure out how to make de correct mov or configuration in de DM. i need to run/stop, change frequency.    some help, please. :) 485PRUEBA.cxp 485PRUEBA.opt
  12. I have the following for sale. I would prefer to sell as a lot. I can send pics if there is any interest. EX40 + 20 IO Extension with 2 Unused output PCB for ext unit. 2 EX40 Plus PLC. Timer Counter access unit Operational. With 2 PCB with errors showing. Handheld Programmer (Squeekbox) excellent condition. CutlerHammer Original software with hardware dongle. Some spare parts, they were operational before I used for testing various functions. PM ME IF ANY INTEREST.
  13. Dear All,  I am new for OMRON and my project is need to control VSD on PID function and I using Omron CP1E-N30S1DR connected CP1W-MAD44 (AI/AO is 0-12000) for AI/AO..  My programming did followed PIDAT instruction.. and MV output still inactive.. I am not really sure that my programming is correct or not..? Could every one help me to check my program in attached .. please  I using D400 as SV & PID parameter , D500 as MV.. and I do not move D500 to analog output word yet coz D500 still inactive..  Looking for every one reply ASAP..   MMI_2018_v1.cxp
  14. I can't simulate the cx-programmer application, before it could work. My CX-ONE has been licensed.   What Should I Do?
  15. Hi, is it possible to communicate between the Sysmac studio simulator and the CX-Programmer simulator? I want to test the exchange of data between a NX1P2 and a CJ2H, but I don't have the controllers with me. Thanks and have a great day!
  16. Hi, I have some trouble with a CJ2M-CPU33. My client did a backup to memory card earlier today, and after this we did some changes through remote link. Now the client wanted to restore the previous backup to the PLC and has done so, but the system would not function correctly. After going online on the PLC it seems like the PLC is stuck in "Stop/Programming Mode". When trying to change to "Monitor" or "Run" mode a dialog comes up containing the following message: "Failed to change the operating mode. The operating mode may be still changing in the PLC."  - All the dip switches are set to off after restoring backup - The PLC has been rebooted  - I have downloaded the application again through CX-programmer  - Verified that the PLC is set to start up in "Monitor mode" But nothing helps. The same message comes up when trying to change the operating mode.  Hoping anyone can help to resolve this issue as it is very critical for us and the client. In advance, thanks for any tips or help received. Best regards Stian
  17. Help! PLC program removed

    Hi, Anyone knows how to retain PLC program for CQM1 PLC model in the EEPROM? Everytime I power off the PLC, when power on the PLC Program lost and the PLC status is in ERROR(No END Instruction error). Already tried downloading with AR1400 turn on from the CX Programmer software but still no luck. Hope someone out there guide me step by step. I'm new to CX Programmer. Thanks lot! marky  
  18. So I did this simple Function Block, pretty simple, and yet it keeps giving me this error, after a bunch of failed combinations the error persists, without telling me whats wrong. And therefore won't even allow me to download the program to the PLC (CJ2M CPU31) or even simulate.   I heard it's a simple thing to fix but I really dont know how to, since I'm quite new to this. Here's the function block  itself in the picture and the programming inside it, although since it gives me no errors, i don't think that would be the problem
  19. Hello, I need to Synchronize two 4kW motors connected to their own individual AltiVar VSDs. To put it simply the two motors are pulling cables on a pulley and when loaded the motor's slip and the speed varies. I have an Omron CP1L-EM PLC and 2x Omron Rotary Encoders ( E6C2-CWZ5B encoders - 360 PPR) - connected to each motor,   What is the best way to read the pulses from the two rotary encoders then convert to RPM? 1) Using  PRV or PRV2(883) instruction,  - this would be the best option as it would convert the value to RPM - however, can I use this instruction on both Counter 0 & Counter 1? 2) Or read the raw value from  Counter 0:  A270 (connected to motor one's encoder) Counter 1: A272 (connected to motor two's encoder) Convert the pulses to RPM - then compare and adjust? 3) Or using CTBL. - is this a useful instruction for this application?   Once I get the RPM speed from each motor - I can then do a compare instruction - see if there is a mismatch and if so send a scaled analogue output to the VSDs to correct the speed if required. (10-50Hz) What would be your recommendations? any help would be most helpful. Thank you.
  20. Hi..  someone please help me.. i'm working in omron CS1H-H CPU67 PLC. My struggle is I/O in one particular rung is not getting updated.  Note: the rung is consist of a P_On flag followed by a FB ; all I/O to the FB were correctly assigned. but the inputs inside the FB instance are not getting updated so that the output not updated. can anyone please help me....????   sorry for my poor english... thanks in advance.
  21. I am trying to use FINS/UDP network to communicate with a Siemens device (at a customers site over seas from my home office), today I attempted to set up a SEND command based on information my customer received from a local Omron representative but had no luck.  I feel like I am missing something in a setting somewhere, does anyone have experience doing this?  I am using a CJ2M-CPU35's built in Ethernet IP port which is also communicating to 5 other Omron devices over Ethernet IP, so I am wondering if there is an issue having both networks. Thank you!
  22. PID regulation PT

    Hello   Does someone have a good way to control pressure using PID in cx-programmer? I got two pumps and one PT(4-20mA) Half the year only one pump need`s to run (about 3bar)  but in the season (i work in a fabric) two pumps need to be running (about 4bar needed) except in the night. I`m going to use HMI for adjusting the setpoint so there is no need for any clock/date for this to change itself. The question is how to get one of the pumps to shut down when the need for pressure is not so high. And get the pumps to change "main" pump sometimes so one pump is not running all the time.   Hope this was understandable    
  23. Hello guys, I need help. I have an OMRON PLC; CJ2M series which I am not very familiar with. I need to do comparisons, but I see that do that I can't just compare with a value. It looks to me that I have to store the value I need to use to compare in a memory address and reference to the memory address for my comparison.  Is it possible for me to compare using a value and not have to first go through a memory address? Is there a way to use the instruction to store the value in a memory location ? Or do I specifically have to use CX-Designer for me to wrote the value to a memory location? Thanks in advance.
  24. Omron CJ2M - Wago remote I/O

    Hi there, I’m not sure how familiar most of you are with Wago remote I/O, but I hope you may have some solution for the following connection problem I’m having. I’m working on a project to modernise an old folder collecting machine for which I’m using an Omron CJ2M Cpu33 together with 8 Wago 750-352 remote I/O units over ethernet/ip. These Wago units all contain two 8DI digital input cards and two 8DO digital output cards alongside a 750-610 bus power supply card. Adding them to my network in CX network manager is no problem and all seems to work fine. That is, as long as I don’t physically add the bus power supply card, which I need to, well.. power the Wago bus. Soon as I add this card (which was in place while making all the necessary settings to the Wago and Omron units) it just won’t connect. Remove it and it connects like it should. As far as I know the power supply card has no I/O addresses or other communication functions whatsoever, so I can’t get my head around it. Even stranger is that when instead of it I add an analog input card, with bus power connections build in, it connects without a problem. The .eds file only contains info about the main Wago unit, after installing it I should be able to add any kind of I/O card and address them in the Omron software. Also, the supply card is added and visible as a fifth card in the Wago I/O settings and the I/O status led is green during this error. Therefore I would say the problem is at the Omron side. Any sugestions?   Thanks in advance Andy - The Netherlands  
  25. Programming Analog Outputs - Problems

    Hi All, I've been perusing this forum and I've seen this topic covered before, but I still can't make heads or tails of how to do it still. I'm trying to vary an analog output 10v signal to talk to a VFD according to how much time a certain input bit is energized. Currently I have it set up as a totalising timer, trying to move the PV into a word so I can use it to scale an appropriate output. The trouble is, I'm not having any luck getting the output to do much of anything. No errors show up. For reference, I'm using a CJ2M CPU 12 PLC and the output I'm trying to program is a DA042V, its in slot 05 of the main rack. I'm trying to scale a 0-20 time to a 0-10V signal out. I used to have a problem and I was getting ~-.5V out of output 1, but I enabled a bit and now it's hanging out at 0V. Clearly I did something right. Any help would be much appreciated. I'm sure it's something silly, and I'm new at OMRON PLCs.