Search the Community

Showing results for tags 'omron cx-programmer'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 571 results

  1. NB HMI PGK alarm Help

    Hello,   I have an Omron HMI. When I try to upload the program, I get a PGK alarm. I would appreciate your guidance. Thank you!
  2. NB HMI and CP1L-E PLC RTC Setup

    Hello,   How to SET the RTC of the CP1L-EM40 PLC Using NB7Q-TW01 HMI.   Is it any way to transfer the data of LW10000 to LW10005 (Which is RTC of HMI) to the Auxiliary area of PLC which stores the RTC of PLC ?
  3. Was repairing piece of equipment and first time experiencing NB product. the NB Designer was not part of Omron suite so had to be downloaded separately. It is a free download. USB driver was included. Uploading project from HMI was straight forward, default password worked: 888888 The problem was trying to decompile uploaded file. It kept asking for another password, and then failing. Messages suggested that file was corrupt or password was wrong or wrong length (since it did not work, i did try guessing...). Message was: PKG file error, possible destroyed Turns out file and password were fine. The only thing needed was to change Locale of the computer on which NB Designer was running to a Chinese Traditional (Taiwan) and reboot. After this decompilation was a snap. Maybe this helps someone else too.  Cheers...  
  4. Good afternoon, I've done a bit of research in regards to running a Zebra printer via ethernet from an Omron PLC but there's not much info out there. Has anyone had much success printing barcodes to a Zebra printer from PLC via ethernet? I'm using an Omron NA5 (HMI) which I've designed to displays 12 different buttons indicating different barcodes, but I'm unsure how to link these buttons to the specific barcode files that I've created in Zebra Designer.. Would anyone know how I might be able to accomplish this?
  5. View File NJ/NX Get IP Address A Library containing a function Block that can be run on any Omron NJ or NX PLC. The Function Block will retrieve the host PLC's IP address, Subnet Mask, Gateway, and MAC Address. The Port Details are displayed through 2 structures , 1 per-port. In the event you only have 1 Ethernet port then the structure for the 2nd port will contain all 0s. Data Format: IP Address - USINT[4] Subnet - USINT[4] Gateway - USINT[4] MAC - BYTE[6]  (hex value) Access the retrieved details by the typical parent-child tag structure. ex. Port_1_Detals.IP_Address[0] will get the first octet of Port 1's IP. Tested on: NX1P2, NX102, NX502, NX7, and NJ301 IMPORTANT: This Function Block should not be run immediately after startup. Allow the PLC a few seconds to establish a connection with the Ethernet network. Submitter photovoltaic Submitted 12/12/22 Category PLC Sample Code
  6. MB_CLIENT Error

      Hi there! I'm trying to communicate a S7-1500 CPU via Modbus TCP with an CJ2 PLC using a CP1W-MODTC61 card. I configurated the MB_Client and the CP1W-MODTC61 was also configured as the attached files show. The thing is that I could not read any data from the PLC (the registers are in the correct address and memory area) and I tried different combinations until I started to get data (with the correct values) for a moment, even with a configuration I already tried. After that the block kept writing a 8200 error in the status word and no data was received. According to the manual that reads:     A different Modbus request is currently being processed via the port.     Another instance of MB_CLIENT with the same connection parameters is processing an existing Modbus request. I can confirm that there is no other device doing a Modbus request in either the 1500 or the CJ2, and I only have one MB_CLIENT block in the entire program. So that's where my question comes, is the CPU detecting another "ghost" request, even if there shouldn't be any? Or am I missing something in the CONNECT structure of the block? Thanks in advance for your support!     Click to choose files
  7. I needed to force upper case letters so that when the operator entered data into specific fields, the letters were always upper case. I created a custom popup keyboard window with buttons for letters and numbers and then added "Clear", "Save", and "Close" buttons to do just as they are called. It is working properly but it updates the field I clicked on and, with the popup window I cannot see what is getting entered.  There are multiple different input string fields I am using. How can I see what I am typing on the keyboard screen and link to the appropriate field I am entering the data for. See screen shots. On the "Input Fields" image, the keyboard pops up when I click on the input boxes with the "xxxxxxx".
  8. OMRON SYSMAC CJ2M

    Hi Guys, I need your help to understand the ladder, what is the meaning of &4200, could be with a limitation number?   thanks,charls
  9. I need some help and advice communicating between an Omron PLC and a Keyence KV-5500. My system typically uses an Omron CJ2M-CPU34 which comes equipped with the built in Ethernet IP port.  My customer is insisting that we change the CPU in our system to a CJ2H-CPU66-EIP in order to communicate with the Keyence KV-5500.  They have not been able to detail why their communications require the CJ2H, they just say they will be using Ethernet TAG communication and for this they need us to change the CPU. Has anyone successfully established communicated between the Omron PLCs and the Keyence?  If so how did you do it and which CPU did you use?  Is there an .eds file available for the Keyence CPU? Please help!!! They will be visiting from halfway around the globe to test communications in January so I want to be prepared!
  10. I have an interesting problem here... In my program 'OperatorMessages' I use MOVE logic to receieve an integer, and display the visibility of the bit if its ON/OFF, this is stored on a datalamp which displays a color for whatever bit is triggered via HMI (help2.png).  I have 2 tags here, HMI.MessageLT and HMI.FuncMSG, they are both under the same UDT and are both INTS. You can see that when Machine.Mode.Auto is SET HMI.MessageLT holds the INT value.When Logic to the Left is RESET the INT value is placed back to 0. So my HMI.MessageLT is working perfectly, BUT the HMI.FuncMsg does not reset its bits. (images below) So you can probably image that on my HMI Data lamps, the DataLamp which takes HMI.MessageLT as a variable dissapears and reappears accordingly with the triggered bits, but the DataLamp which takes HMI.FuncMSG is not dissapearing, so when RESET it still displays as if there is an error because the bit is not resetting. Headache.
  11. Currently updating an HMI from CX-Designer to Sysmac Studios. CX-Designer UI has String Display & Input which allows user to input a new value via keypad, and also displays user specified message for confirmation (Yes or No option / or Message String ).  In Sysmac String Display & Input are seperated into 2 different button types. Data Display (Displays Variable Value only, no keypad/input option) & Data Edit (Displays variable value, has keypad/input option). Im looking to click on the DataEdit (or w/e works) , input a value, have a user specified message display. If I click yes, a keypad will show to input the new value, and if I click No it will not input anything. So far I have used a DataEdit button, have my plc tag 'HMI.HMI_Shift1_String' mapped to Global Events to Display my popup message so when I click on the button the keypad first popsup, I enter the value, and press enter, It then displays my popup screen. However when I click "NO" it still submits the value I dont want entered in the DataEdit button. How do I get this "NO" button on my popup to work correctly and not input anything that was registered into the Keypad when pressed and my "YES" Button to register whats in the keypad?  NO is currently not connected to any variables so of course it won't close anything. But wondering how I can go about this to configure correctly.        
  12. PLC Omron CP2E-N ERR/ALM Flashing

    The beginning of the error/alarm event, the red LED flashes on the CP2E-N PLC. The CX-Programmer diagram was created then I transferred it to the PLC along with setting the new IP address, the process went smoothly, after I restarted the PLC indicator, the Run power led was on, Run was also on, err/alm flashing and Ethernet 1 was on. The result is that the PLC cannot connect to the laptop or HMI via Ethernet. Help me please! Omron PLC CP2E-N Error Flashing.mp4 How do I reset the CP2E-N PLC so that the err/alm doesn't flash?
  13. Hi i have to add a servo to an existing setup that uses OMRON NJ series PLC and OMRON servos. But i have an Schneider LXM 32 AC servo derive and servo motor. Is it possible, If yes then how can i go about it.
  14. Hi, I have a screen developed for supervisor access only but I would like to have an area to type in a password, and when the password is typed in correctly I'd like it to open a certain page. I'm not experienced with interactive text boxes or keypads etc. Is someone able to help me out determine what I need to do? Thanks 
  15. NX1P2 conection a CJ2M

    I made an Ethernet connection between an NX1P2 and a CJ2M using network configurator and I already have a real-time data input and output connection in the memory of both plcs. I need to send a 20-byte word and when the NX1P2 is modified in the CJ2M using Sysmac Studio, it receives that string of bits, decompresses each bit to be able to activate the NX1P2 outputs.
  16. Detect CF memory card activity

    Hi! I'm looking for a way to detect if/when a backup has been made to the CF memory card and a way to detect if a backup has been written from the CF memory card to the PLC memory. A counter, a time/date, etc? In short: detect backup and/or restore Application: Trigger an audit log event on a seperate system Any known solutions?
  17. 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     
  18. 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!!          
  19. Lately I have been having a struggle importing tags into JMobile from a CJ2M CPU31, I can enter tags directly and it works OK, but when I try to import tags nothing works, there are the yellow triangles on all the widgets. I tried to import using the "normal" Ethernet protocol by first making a .CXR file from the global symbol list, it seems to create the dictionary, and I can update the taglist and the tags appear to have the correct datatype and address, but no joy. I also tried the EthernetIP protocol by making a cjf file, funny thing is that worked for a while, but stopped communicating after a while. I have successfully used the EthernetIP import on another  CJ2M/Exor eSmart. Any way of troubleshooting this, adding 50+ tags by hand is not very tempting :( Geir
  20. I've setup an Omron NX102 PLC with two CIF105 cards communicating with about 40 MX2 VSD's (20 on each card). Generally it works pretty well. I used the attached document to set up the devices. The links on the document to the examples don't work, so I'm unsure if I missed anything. My problem is that every day, sometimes multiple times a day the communication seems to die. i.e I either loose the output to the VSD and nothing will run. Or it all runs but I loose the feedback, as in I get no running signal even though the drives are running causing a fault in my program. I'm at a bit of a loss as to what might be causing the issue. To resolve it, I put the PLC into program mode and back into run mode and everything is happy again.    Has anyone had a similar issue or offer any advise? MX2_Control_Serial.pdf
  21. hello, anyone. I want to ask about file which is I cant open. I was uploding HMI NB series but the file is only .pkg and when I decompile, it cant be done/ failed.. can anybody help me and explaine how is it can be? I use NB3Q-TW01B. thank you.
  22. Hi there!   I'm trying to communicate a Weintek cMT2128X with a CP2EN via Ethernet. The thing is I'm getting 'No device response' messages every 2-3 seconds. They'are connected at some point because some values are updated, but the connection error keeps showing up. So far I've checked: - Comm. settings are okay in both sides - Wiring is good - Happens the same with a CJ2 CPU. - There are two arrays of 50 UINT each, I don't know if that's slowing things but that would surprise me...   I've worked with Weintek HMIs before (communicating with different CPUs: LOGO!, CP1, CJ2...) and never had this problem. I just set the IP addresses and everything was working fine, so I guess I'm missing something. Hope you can throw some light at this! Thanks in advance
  23. Hi all and good day, I'm working through my workflows with Sysmac studio.  I think I have a grasp on the PLC side, now I'm trying to foucs on the HMI side.  I have setup some data types on the PLC to store booleans, integers, etc. I am trying to pull the data from those data structures into a value display on the HMI however it is being most difficult.  This brought me to two immediate questions. 1. Can you display the value of a local variable on the PLC from the HMI or does it need to be a Global variable?  I'm familiar with Java so I do understand the concept of public versus private variables.  I'm just not sure if that is what is going on here or if I am just not querying the variable correctly.  2. How would you go about setting up a variable display of a variable that is part of a data structure?  I have my structure setup as well as the variable in the table to USE that data type however it is just giving me an error when trying to look at it from the HMI. Any help would be very much appreciated.  My apologies in advance if this is a repetitive question. Thanks, Red
  24. How to count to 120000

    I’m using a Omron CJ plc. I have a press that I need to count the shots up to 120000. I know that the. CNTRX is limited. So does anyone have an example of how to set this up? 
  25. Hello, I have problem with Import and Export data from PLC to USB drivers. I want to write script in Subroutine and I have working script in VB language from the Tia portal, Script is in the attachment but when I want to copy the script to Sysmac it gives many errors. Please give me some advice, how to write such a script.       CsvToDB.txt DbToCsv.txt