Search the Community

Showing results for tags 'OMRON CJ2M'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 409 results

  1. Hi there,  I am considerably new with setting up E/IP on OMRON's NX1P2 PLC. I have been trying to connect a Keyence IV-G to my PLC with E/IP connection (because there's no analog I/O available) and struggling with getting a connection going between PLC and camera. I connect these two through an unmanaged network switch, which I believe doesn't need any further configuration. I have set tags on Built-in E/IP inside SYSMAC Studio, and when I monitor them it says "normally resolved". Unfortunately, it still has red dot which means connection is cannot be established. The error I'm getting is "Tag data link connection timeout". Maybe built-in E/Ip just doesnt work for this case? I have yet to try getting connected with Network Configurator, but have the feeling that it will just accomplish the same thing that I did with Built-in E/IP inside Sysmac Studio.
  2. Hi,     I'm trying to communicate Omron CP1E unit with PC via serial port using hostlink protocol.  I need to read the Timer/Counter SV value and write the timer/counter SV values to the PLC.  I'm able to use other C mode commands (like RC (timer/counter PV read), WC (timer/counter PV write) etc.) but when I give the command for Timer/Counter SV Read 1 which is R#, I get the response as IC (Undefined Command).   How do I write or read the timer SV Values?  Example command and response : @00R#TIMH001028*  (TIMH is the high speed timer, 0010 is the timer number and 28 is the FCS) Response: @00IC4A* Is is that CP1E doesn't support these commands? If so what is the equivalent command that I should send inorder to perform this? Please help.  
  3. Hello! I am working on a quote for a new project that will use EtherCAT but also requires DeviceNet for some legacy components.  Has anyone successfully used the Beckhoff EtherCAT coupler (EK1100) with the DeviceNet Master Terminal (EL6752) and an Omron PLC as the EtherCAT master? My concern is that the coupler will only communicate with the Beckhoff EtherCAT master, but since it is so much more expensive to get the new Omron parts to communicate DeviceNET i am hoping this could be an option.  The equipment is extremely simple and price is a major consideration.   Thank you!!!
  4. Hello Guys, I would like to know if someone in here has made a VB script, there can delete files from the SD card in HMI? the reason why I ask, is I have some data logging on the HMI for our customer, but I would like the data logging to go in a loop so if the  SD-card is full, it will delete the oldest file instead of stop data logging. who is there somebody there can show me an example on a VB for this :)?
  5. Plants with many PLCs OMRON

    Hi colleagues, I would like to ask you about companies in whose plants have many OMRON PLCs, such as NISSAN. Thanks
  6. NB Data log

    Hi there!  I need to implement a data logging that saves the log in a USB storage for a machine and just started searching for some info about data logging in NB HMIs. Up to now I'm clear about using the Data History function and the sampling method I'll be using but I still have some unclarified doubts about this. 1.- The data log should sample the value of, let's say, a couple of words, each second for an entire day (6:00 am to 6:00 am). NB's manual doesn't say a lot about Storage Type and Buffer Storage in "Save Data History" tab. Does "daily file" mean It deletes the .CSV file daily and it generates a new one? If is it, at what time does this occur? Does "single file" mean it generates a file and won't get deleted? Does this mean the sampling stops when completing the first one? Is "storage period" used to keep the file after the next log begins? 2.- Is it necessary to display the element in order to make the log work? Or can it be placed in a random screen you only enter once a day? 3.- In the "Channel Properties" tab. If I need to get the binary value of a word, do I need to set the max. limit to 65535? 4.- I asume that "Sample points" value doesn't matter when selecting Continue sample mode. Am I right? Thanks in advance, any help is appreciated.  
  7. Hello, I have a problem when communicating between PLC NX102 and ethercat slave module. ethercat slave still Safe-Operation state. and i get error  • Slave State Transition Failed • Slave AL Status Error Detected does anyone know how to deal with it?  
  8. Hello guys I am a beginner in FINS UDP communication and I am trying to do a FINS UDP communication between an omron PLC CP1L-E in client mode to communicate with my PC that is in server mode, I am using the SocketTest v3.0.0 program that is in listening mode and still was unable to receive any information from the CLP, can you help me? The program and some images of the simulation are attached Thanks for reading SERVER PC IP ADDRESS 192.168.15.160 CLIENT PLC IP ADDRESS 192.168.15.10   tcp socket (1).cxp
  9. Good day everyone, I recently got NB HMI and program it together with my NX1P2 PLC. I got 2 questions I would like to ask. What I'm trying to achieve is to lock all the button after I start my system or during the pop up screen for confirmation. I tried different methods and it doesn't work. Currently I'm using a direct window Pop-Up screen to cover all the button behind it, but I noticed if I drag the pop up screen, it'll move together. So I wonder, is there any correct methods of doing it? Also, the function key for change screen, I use it for Pop up screen but why it only spawn on the top left of the screen instead of the center? Thanks in advance guys!
  10. Hi, I have an Omron NSJ5-SQ00B-M3D Programmable Terminal (HMI) that I am trying to get to communicate with an Omron CJ2H PLC through a DeviceNet module (DRM21) in the main PLC rack.  I don't see how to configure CX-Designer to communicate via DeviceNet.  How is this done?  Many thanks for any help.
  11. NT20 touchscreen broken

    Hi, I have an Omron Nt20S touchscreen and the screen is broken.  The only way I know how to get the program off of the screen is to push two corners at the same time and then go into transmit mode. Does anyone know how to upload a program from this screen without changing it to transmit mode?  I already attempted to replace the screen, but I think the program is stored on the circuit board the screen is attached to. Thanks in advance!
  12. setting date cp1l

    Hi all im currently using the DATE instruction to set the PLC's date and time via the HMI which is an NB7W which i have working but i am currently setting each byte of the words being used in DATE by using numerical inputs in NB designer and entering integer and decimal to set these bits in DATE and its a bit ugly to say the least. is there a way on nb designer to only modify bytes or am i going to have to used full words on nb designer and use MOVD in cx programmer to assign them to their correct byte CURRENT SETUP always on DATE using d50=d53  
  13. ROTARY AXIS POSITION ERROR

    Our C axis which is a rotary axis doesn't perform commanded postion, for eg if we give command of 360 deg, then it will only rotate 359 deg and for next time it will rotate 358 and so on for every rotation. i.e for every rotation its complete degree is reduced by 1 deg.  And system doesnt show any error.  By providing command of 360 deg, if we rotate or axis for 15 times then the last position at which it will stop will he 345 deg.    Please share valuable inputs to resolve that problem.
  14. Hi there! I've been working with NB HMIs with good result. But today I loaded a project to a NB7-TW01B and it feels slow, both offline and online. Switching screens and reading/writing take around 1sec or more. It first had some bmp images created with .bmp and .png files, so I tried using vector graphics instead, but didn't get any better. I don't have another NB to try it right now so I'd like to ask you if you've been in this same situation before or what could be causing this. PLC is CP1L and communication it's via Ethernet. Both devices are actually pretty close (cable is less than 3m) and the previous HMI (Pro-face GP) felt a lot faster. Thanks in advance!
  15. Need help please

    Hi, I am in need of help to fix a software for positioning system on a sawmill. The PLC I use is a CP1E, positioning is done with a E6C2 - 600 pulse incremental encoder. Controlled by weintek HMI. I am having trouble getting my positioning to be exact and sometimes it can vary by as much as +-1/8".  I put the code in attachment, if you look at the "auto_down" section, that would probably be the simplest place to start looking.  I would much appreciate any feedback on possible flaws in my coding or the way I put it together. Thank you, Stephane 4221 V2.4 (2020).cxp
  16. Hi there! I recently discovered this forum and I find it pretty useful for sharing and learning about PLCs. The thing is I'm trying to make a Stack using the SSET(630) instruction in a CJ2M PLC. Reading Omron's W340 manual I saw that PLC memory address for the different stack channels is represented as "00010000" to "0001000F". So, in order to set the last stack word address as well as the pointer's address, how do you know those values? Or am I just misunderstanding something? Thanks in advance!   Edit: Solved, the definition of the stack was wrong!    
  17. Hello, I am trying to have single press and double press etc. functionality in my PLC program where for example, single press will turn on the motor whereas double press will turn on the motor for 5 seconds. Is it possible to achieve using ladder logic in sysmac studio, if yes, how? Thank you in advance.
  18. String shift register

    Hello all thanks to bits n bytes's date and time to string converter here https://forums.mrplc.com/index.php?/topic/31786-write-plc-time-as-text-to-memory-card/#comment-149418 i have made a nice string output function block for the PLC date and time that i will attach. I'm now wandering how to shift this into a memory card as well as display it on a NB screen. for the NB screen i think i can just used a text box to display the code using 8 words, i sadly dont have a CJ2M plc with me at the moment so i cannot test. for the memory card i have not used these at all yet, is there a special shift register for strings? i cant seem to find it. i will be using this simply for a checklist on the HMI where an operator goes through the list of tasks to perform and ticks them off on the HMI which then logs the time and date they were completed at. do i need to create a shift register using MOV$ with a @destination and increase the count of the destination witch each input? Thanks in advance Date_and_time_string_convert.cxf
  19. Hi I am looking for a way to read and write data from PLC omron words, bits via FINS or EtherNet/IP protocol using python programming lang. Does anyone have any results in this? I really want to see your work, because all my attempts have failed. Thanks.
  20. Hello guys I am a beginner in FINS TCP communication and I am trying to do a FINS TCP communication between an omron PLC CP1L-E in client mode to communicate with my PC that is in server mode, I am using the SocketTest v3.0.0 program that is in listening mode and still was unable to receive any information from the CLP, can you help me? The program and some images of the simulation are attached Thanks for reading SERVER PC IP ADDRESS 192.168.15.160 CLIENT PLC IP ADDRESS 192.168.15.10 tcp socket_vms.cxp
  21. HI everyone i was wondering if i could connect a cp1l-el to 2 different NB screens running 2 different programs. we have a main line HMI which displays the health of the entire line with its own cj2m plc, we also have a machine which is part of the line that has its own plc(CP1l-EL) and HMI. is it possible for me to include the cp1l in the main lines HMI so that it can display the status of that machine? or will it cause issues because it already has a program attached to it. i dont know exactly how the NB program works does it just read the bits of data it needs to or is it constantly looking at the whole plc data list?
  22. A new development is proposed - Sasha_Local_MQTT_Client.exe for remote management OMRON controllers (CS1, CJ1, CJ2, CPL, NJ...) and Yaskawa controllers (MP2300, MP3000,...). This development is based on the use of LOCAL freeware MQTT Broker - Mosquitto.org installed on the user's computer or on the organization's service computer, depending on the purpose and goals set during use. The app is designed for technologies : - IoT; - Remote control; - Remote diagnostics. - Start-up and adjustment works on the site, when the Adjuster   must be located away from the object's control cabinets; - Issuing technological tasks to different objects (PLC) from the same technological center; - Generating relevant information about the object for   service personnel and company management. MQTT Broker is implemented on a separate computer, and client computers communicate with the broker-computer either via a local network or via WI-FI. Client-computers exchange information with OMRON PLC via interfaces: - USB; - Ethernet/IP; - Ethernet; - RS232/485; Client computers exchange information with the Yaskawa PLC via an interface: - Modbus/TCP; Client-computers can exchange with PLC both independently (without connecting to MQTT broker) and together with a Central MQTT broker. You can connect up to 256 (or more) clients to a single MQTT broker. Additionally, for each client, the mode of information exchange with the PLC is  implemented by means of Android smartphone connected to the Internet. The exchange can be  carried out by a smartphone from anywhere in the world where Internet connection is implemented. For a description of an Android program for exchanging information between a client and an Android smartphone, see www.mrplc.com-omron-download-utilite-Omron_Control. The software package is written in Delphi XE 10.3.3 (Embarcadero) using several components from other developers. Note. For OMRON controllers, the development of the exchange interface is based on the use of: - or functions and packages of the CXServer program (OMRON); - or using a special DLL - Ethernets.dll; The basic version of this program includes a Central broker, client computers,  and Android smartphones can read and write words and bits of the entire PLC memory. The extended version of the program allows for many additional modes, and information can be exchanged between controllers from different manufacturers connected to the client-computer via different interfaces. If you are interested in using or upgrading the specified program you can contact its author, Dr.-eng., Alexander Ryss by E-mail : ab.ryss@yandex.ru  
  23. OMRON SYSMAC STUDIO

    In omron Sysmac Under configuration tab --- axis setting----- Operation Setting  Under Monitor Heading there is a term " In-Position Range" and " Zero Position Range " what does these term means and what happen if we increase or decrease value under these term.  Image was not attached, as it was failed due to some reason 
  24. Cx-p Rung error

    Hello. I'm using the CQM1H-CPU21 and I've uploaded program by the 2 ways both CX-P and SYSWIN. But there is errors which is using the only KEEP(11) function related 22.XX 23.XX latching relay. my cx-p and syswin version is up to date and there was no problems till now. and after all, I cannot be transferred to dialog. PS. The error of the SYSWIN program and the CX-P is different area.(same program file)  
  25. Good Morning I am a beginner in PLC programming using the Sysmac Studio software and please help me if you can  I'm trying to make an omron NX1P2 PLC read some message via Socket UDP to my PC through the Socket Test program, do you have or know any program with an example application in ladder? thank you