Search the Community

Showing results for tags 'iot omron'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 384 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. 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.  
  4. 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?  
  5. 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.
  6. 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!
  7. 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  

    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.
  9. 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
  10. 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!    
  11. 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.
  12. String shift register

    Hello all thanks to bits n bytes's date and time to string converter here 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
  13. 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 CLIENT PLC IP ADDRESS tcp socket_vms.cxp
  14. 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?
  15. 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 - 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 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 :  

    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 
  17. 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)  
  18. 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
  19. Omron NJ501 - IFM IO-Link - Wenglor U1KT001

    Hi, I am looking at reading an ultrasonic sensor value through IO-Link, using a Omron NJ501-1320 PLC connected through EtherCat to a IFM AL1332 master with a Wenglor U1KT001 Ultrasonic sensor. I have managed to read the 2 outputs of the sensor using this: Output_1 := TestABit(USINT_TO_BYTE(TxPDO_input_byte_1_6000_02),USINT#0); Output_2 := TestABit(USINT_TO_BYTE(TxPDO_input_byte_1_6000_02),USINT#1); But cannot read the ultrasonic sensor distance value, this is what page 2 in the manual says: Measured Value in 1/10 mm 2…15 14 Bit 300…4500 Octet 1 Subindex 3 (LSB) 2 1 Bit Offset 7 6 5 4 3 2 1 0 I tried a couple of conversions but couldn`t get the distance reading. Any ideas? Help appreciated.
  20. Hi all, I am currently having a project of polling data from PLC CJ1M using Advantech ECU-1051 IoT gateway which support rs-232 serial connection (Host Link) to poll data from the PLC for data acquisition and monitoring, I would like to use peripheral port since rs-232c port is used for HMI. However, I am currently stuck at make the connection between those two devices. I did setup same transmission configuration between them (baudrate, Unit number, start/stop bits,...). Is there any configuration that I have missed to make the communication works?  
  21. A new development is proposed - a Server-client for remote control of controllers OMRON (CS1,CJ1,CJ2,. CPL,. NJ...) - Sasha_Server_Dz.exe and Sasha_Client_Dz.exe. The app is designed for the following technologies: - IoT; - Remote control; - Remote diagnostics. - Start-up and adjustment works on the object, when the Adjuster   must be away from the control cabinets of the object; - Issuing technological tasks to different objects (PLC) from the same technological center; - Generating relevant information about the object for   service personnel and company management. The server is implemented on a Central computer that can communicate with client-computers either via a local network or via WI-FI. Client-computers exchange information with the PLC via the following interfaces: - USB; - Ethernet/IP; - Ethernet; - RS232/485; Client-computers also provide information exchange with Android smartphones via the Internet(MQTT) from any point where an Internet connection is made, while client-computers can work both independently (without connecting to the Central server) and together with the Central server. You can connect up to 128 clients to a single server. For a description of an Android program for exchanging information between a client and an Android smartphone, see The development of this software is based on the use of program functions and packages CXServer (OMRON). in the basic version of this program, the Central server, client-computers and Android smartphones can read and write words and bits of the entire PLC memory. In the extended version of the program, you can  implement the following modes:: - Quick adjustment of the value of the variable – word memory   controller, in real time; - Quick adjustment of the variable value-memory bit   controller, in real time; - Installing and working with controller bit objects   (installation is performed once when you first log in to   The program and further may not change); - Work with word bits - read / write graphic   displaying word bits-similar to the SwitchBox program   (OMRON), in real time; - Display of variables accepted in the loop in a separate   Memo in real time, with the ability to record   content of Memo in the file and fetching the contents of a file in   Memo. - Display of 6 variables on the indicator Board with   the ability to generate color signals if the values    variables go beyond the required limits in real time   time scale; - Generating waveforms of 6 variables in real time   time scale. Period time =0.5...1 sec; - Formation of static graphs of 6 variables in   real-time . Period time =0.5...1 sec.   Recording time-up to 4 hours. Obviously, the specified program can be expanded and changed to meet the specific requirements of a particular Customer. If you are interested in using or upgrading the program, you can contact its author, Alexander Ryss, Dr.-eng., by E-mail :  
  22. I want to take data from an AllenBradley SLC 505, and send it to an Omron NX102-9000. Specifically F8: 46 from my SLC 505, which is a temperature sensor. Both PLCs are on the same Ethernet network, each with its own IP address. Have you tried it?
  23. Check serial connection to Omron PLC

    Hello, I am building an application in CitectSCADA and I want to communicate with an Omron Sysmac CS1G. The connection between the plc and the Citect computer is through an ethernet to serial adapter (the computer doesn't have com ports on board). I'm having some difficulty establishing the communication and I want to make sure that I can actually reach the plc. Is there a way to check that the computer can reach the plc over the serial connection without using CX programmer? Maybe using Hyper Terminal, Putty or something similar. Thank you, Liron
  24. Hi all I was being really clever and suggested i add a list of preset settings to a line which every1 seemed thrilled with. however the amount of tedium has just dawned on me. im hoping theres a better way to go about this. the main idea is that we have a line controlled from a cj2m which has around 150 changeable settings including things like conveyor speeds, pump filling times.. waiting times etc.. i have done this in smaller scale before where we had changeable pumps, when pump 1 was connected i used the MOV function to load pump 1's data into the correct words. and in NB designer i had layered multiple number input boxes each displaying only when its own pump was connected. any ideas would be great
  25. Hi; I have a DUPONT brand machine having OMRON PLC CQM1-CPU21-E. I have CX Programmer installed in my Laptop having W1indow10. I want to go online but finding a way forward. I have an interface unit OMRON CPM1-CIF01 but failed to build communication. Please help me out.