Search the Community

Showing results for tags 'cx-programmer'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 129 results

  1. Hi, I'm new to the Omron PLC, we have a job that require we change the balluff master port from IO link to Stander IO output, i read some resource online saying that it has to be done though the cx configurator, i followed the instruction and tried to remove the module connection from the cx configurator and change the parameter and add it again. during this sequence i encounter some problem, the IO size for balluff master module is 392byte input and 262byte output, i've tried to add input though D17350 and output though D17550, i was only able to add one of them successfully, when going to the other one the softerware came  up with a error saying the it exceed the total tag size that the device supported, i tried to decrease the tag size but it would now match the device IO size when i tried to register it. all i need is to change the module's function from IO link to stander IO, hope someone has experience in these area can provide me some help Thanks     
  2. Hello, I am trying to use a PID loop to correct a concentration reading that can be too high or too low. I want to add or subtract my MV from my current device set point and that will correct the concentration. I have never used a PID loop in this way and it is not working like I had hoped, currently I am flipping the PID direction between forward and reverse depending on the direction I need it to go and then subtracting or adding the MV from the current set point. Has anyone achieved similar PID control and if so could you please offer me some tips on the best way to do this? Thank you!!          
  3. Hi everyone,  I recently started in the automation industry and am currently working on an Omron project.    So I have two programs, one on Sysmac Studio (which has the HMI) and the other on CX-Programmer. I am trying to simulate both simultaneously using the Sysmac Studio HMI. Is there any way I can do that where for example I can toggle stuff on and off from the Sysmac HMI and get feedback from the CX-Programmer ladder?    Thank you in advance. 
  4. Salutations! So recently I'm very confused with my CX-Programmer. Everytime I tried to run the Simulator from CX-Programmer, I always got a notice that a certain program called KickEngine.exe is about to Run. I look up for this program and found it inside CX-Simulator folder, so I decide to run it anyway. The problem is the simulator always return the error : "The selected port does not exist". In other words I cannot run the simulation. I understand that the simulator uses ControllerLink comm. between CX-Programmer and CX-Simulator, so I tried to run those two separately and build the connection, but also to no avail. Even so, since CX-Programmer 9.0, I believe there is no need to run the programs separately. Before I had a similar problem where the simulator cannot be run, and the error code is "Failed to Start Ladder Engine". This was solved by removing whole Omron software using CX-Remover, then reinstalling again. However, it doesn't solve the current problem. If possible I don't want to resort to reinstalling the whole OS... T_T Anyone has suggestions or ideas? I had lookup on an older thread and tested the measure taken there, and didn't solve this. Thanks!  
  5. problems with CP1H analog input

    i am new to cp1h and have problems with getting analogs signals inn from input 200
  6. Is there an efficient tool to manage and validate CX-Programmer addressing. Requirements: - Highlight Duplicate Address allocation - Compact/Defrag address range to avoid wasting memory space. Note: - Any FINS addressing will have to be reconfigured - This approach assumes symbol use rather than direct addressing in the logic.
  7. I am trying to use Reusable files, but it is greyed out. Is there a setting that needs to be enabled to activate it? I am using CX-Programmer v 9.74 Update 1: Apparently, when you create a data structure this gets greyed out  
  8. Array A INT[32] Array Index B INT Destination C INT I am trying to move an Array (A) Element (A[2]) using a symbol (B) in ladder into a destination symbol (C) C = A [ B ] Result: ERROR: Array Index of Operand 1 out of range at rung 1 ( 6, 0 ).  The documentation suggests that it is possible, but I am unsure if there is something I am doing incorrectly. Note* Fixed indexing works with no errors Is there another method to accomplish this?   PLC : CJ2M CPU31 CX- Programmer: Verion 9.74 Update 1: If I go online to the PLC It does look like the array look up is working. Is the issue with the mov block? Update 2: I changed the memory locations which has caused a different error to appear. This error is clearer but does not explain the manual excerpt I posted further up ERROR: Only the constant can be specified for the index of the array.  at rung 5 ( 6, 0 ).  Update 3: Solution 1 I managed to hack together a proof of concept using pointers and indirect offsets  Update 4: Solution 2 For some strange reason things work as expected inside of the function blocks so I made one where the array is In-Out and with an input and output respectively. Note* External reference to pointers inside of the function block produced an error. Function block Logic     Update 5: Solution 3 Now I feel like I am going crazy, I tried just the original code again and it works... I have no idea why and if it was not for all the documentation I would be lost as to why it works now... Update 6: Conclusion It seems to have array indexing work the array index must exist in the D Memory Block. The reason it did not work above is because I somehow had a MOVR block when I tested after moving all the variables to the D Memory Block. I hope this journey helps someone else :)
  9. "PLC No Response" NB HMI Omron

    Hello Everybody, I continued to work on project this morning but I seem to be plagued with the "PLC No Response" error. This error will only come up when I assign a PLC address to a particular object.  I have followed the steps in the post(https://forums.mrplc.com/index.php?/topic/39885-nb-designer-hmi-plc-no-response-error-solved/) to try and clear the error but am having no luck. In the screenshot I have assigned the large "Start Process" as a bit button with the write address being W50.00. When the button is pressed it should trigger a bit in the PLC but this is when the error appears. During this test I am connected to the PLC and in run mode with the PLC and HMI address assigned correctly. I have read and followed the section in the manual regarding "PLC No Response" but still no positive results.  I just want to check that there is nothing I have done at a programmer end that could cause these issues. I am happy to provide files. Thanks, Ryan  
  10. Foreign Comments

    I have a program that was pulled from process that came from China,i believe. the comments are complete gibberish. are there more than one version of cx programmer for different countries, i thought we were past that with the commentor, however these look like some of the old double character stuff i saw back in the old nt tools.   Thanks Joe Meyer
  11. Hi all,  I am having trouble with Cx-programmer when trying to remotely connect to a Omron plc (cj2m cpu34) using Tosibox vpn. Set up is that the Omron plc is located in customers facility and is connected to a Tosibox "lock box ", and i have the "key". From the Tosibox key side application i can see that the PLC is connected to the Tosibox lock and is available. The problem is that in CX-programmer, when i try to search for available devices (by using the PLC->Auto online-> Ethernet/IP node online)  i cant find the PLC i am looking for, or any other device connected to the tosibox network. Just gives a empty list. Before searching the cx-programmer ask's me to choose interface card, showing my Ethernet and Wlan - connections, i have used Ethernet one. I have tried matching the IP addresses in network connections settings for the Ethernet connection but for no avail. And apparently this connection has worked before, i just have no idea how it was done or what were the settings or methods they were using.  I'm not sure but i have a gut feeling that somehow the cx-programmer cant recognize (or connect to) the Tosibox vpn connection and proceeds to search without it and then of course finding nothing. Could it have something to do with the network interfaces? That when i use the Ethernet to connect, it doesn't go trough the vpn? I am not really familiar with these system so any kind of help would be much appreciated. So my question: has any one of you ever encountered something similar when dealing with cx-programmer, tosibox or vpn's in general?   Thanks in advance.      
  12. Please Help me, I want to connect aczet brand weighing machine CG203L to PLC CP1L-M. But several times I tried it didn't work, I've tried repeatedly in the settings section to adjust the baud rate and mode and have tried one by one but to no avail. Can any of your friends help? thank you
  13. Hi all, I'm new here and need an opinion from you guys on how to set the Gateway for PLC CP2E in CX Programmer ? From my discussion with supplier (OMRON), they mentioned it was unable to set any gateway for CP2E model but I found on some sources that for previous model for CP1L is able to set the gateway. Supposed to be the Gateway function can be supported by latest model, am I right ? Need an explanation on this, Thank You
  14. Hello every one in this video, you will learn about Omron PLC PID Control (CX-Programmer) you could see it for free by using the below referral link for 5 days. https://www.udemy.com/course/omron-plc-training-course-fa/?couponCode=0384FB604CD8E26CDD09 I hope it will be useful for you.   Regards Mehdi
  15. How to upgrade CX Programmer Version 9.54 running in widows XP to widows 10 or higher? Really appreciate your response. Thank you in advance.
  16. Hello everbody i need a little bit of help with my counter. So basically i have a counter that shows numbers on a hmi screen and when the counter counts down from 10 000 to 1000 i need to create a function that make that my right numbers picks up the numbers from the middle counter and countinues to count down. any tips on how to program this in cs/cj
  17. Adding time

    Hello im working on CS/CJ I basically need tips on how to add time(1 year) to my instruction block which is a "=(300)" block. my seq is that after the whole sequence is done its going to add one extra year to the hex numbers and its going after the RTC
  18. Hello everybody Im going to have function were a pop up screen is going to come on a hmi screen every time you push the start button and its going to be like this 14 days then its going to go back to normal (no pop up page) im wondering if anyone knows a good way to program this in a CS/CJ Environment ?
  19. day counterdown

    Hello i need to make a program something that counts down 365 days from a set date. and i cant really find a instructions for it, does anyone know a way to program something like this thanks for any help
  20. need some help in writing a programm

    HI Everyone, i m quite new at PLC programming. I have to wite a programm for long product rejection. Now i have used a sensor to detect the hight of the product. As soon as the long product is detected it sets a bit and this bit works as input for a counter now for counting i have used another sensor signal which is the chain pulse signal.For blowing the product off i have used a pneumatic solenoid valve. after the long can is detected the counter reads 3 pulses of the chain pulse sensor and as it gets third pulse it generates an output. after the out put is on with that output a off delay timer is on which holds the solenoid valve on for 5 ms and as soon as the timer preset value is reached it resets the sequence. Hope i could explain the purpose and process i m going through. Now the issue is if there are continuous long products on the conveyor after the first product is detected After that till the time the counter is reached and that product is blown off all the other long products get through how can i drop all the consecutive long products. u can find the program in attached file  Thank u model.cxp
  21. Hi, I need help with my program. How do I include the fractional part of the position I set for encoder? I have an Omron PLC and using cx programmer.  I need to command my servo (from HMI number input) to move to a certain position. Now using a manual computation, my servo is supposed to move 95.65mm, however, using my plc program, the resulting position doesn't include the 0.65. I used the FIXL instruction to convert my result from float to 32 bit and it removed the fractional part of the value.   Thank you!
  22. Wait Command

    Hi, I'm quite new to the PLC programming, I saw this delay input in one of the videos, that automatically switched to 1 after a set time, it wasn't a timer, just an contact input with time delay
  23. Hello, I wonder who can help me out here. I am new to the CX programmer. I want to communicate to selema drive through CX programmer. The drive is IPS plus Selema. The company was gone in 2017. There is no manuals regards to the drive. Here is the issue, in the program. The SPED block show port specifier is 10, the INI blcok show Port specifier is 0. Refer to the PLC picture, my first questions which one is port 10? I think port 0 is the left bottom cable from the second picture. So port 10 is the last module?  Second, Do anyone have manual or knowledge with the selema drive? Is there another one to communicate with the drive not using CX programmer?   thanks
  24. MOV multiple data

    Hello, Making program on CP1L-E, is it any better idea, then MOV DXXX to DYYY if i need to transfer more then one simultaneously   (at this sample i change speed on transporters (16 of them) according product is on) Dxxx.bmp
  25. Good Afternoon, I am wanting to do two things with and ORMON PLC and HMI with CX-Programmer and NB-Designer. 1. I want to display the current time from PLC on HMI with the real time clock. 2. I want to be able to enter a time on the HMI which will be compared to the PLC time and will stop a process when when the entered time is equal to the actual PLC time.  If I can have some help with this that would be a great help. Thanks,