Search the Community

Showing results for tags 'OMRON MODBUS'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 708 results

  1. 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
  2. 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!    
  3. Hello, I'm trying to connect a CJ1M-ETN21 as slave Modbus TCP with a Modbus/Dali Gateway. I download from Omron website some FB with ones should be possible.   https://www.myomron.com/index.php?action=kb&article=1245 The FB only can be used with the direction unit 0, but we can change some directions inside the FB and can be adjusted to other units. In the download I found this FB: MTCP_ETN_Connect, MTCP_ETN_Fn01, MTCP_ETN_Fn02, MTCP_ETN_Fn03 .... Supposed with connect we can establish the connection with the master, but the FB never make nothing. Should I make some special configurations to use this FB? I appreciate any help. Thanks
  4. Indusoft Web Studio

    i am using indusoft web studio for the modbus logging. program runs successfully but after a half day or a day it shows error " error initializing the driver modbu 10.10: invalid serial port "any suggestion will be appreciated.RegardsZubair Ahmed
  5. 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.
  6. 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
  7. Modbus with CJ1W SCU31-V1

    Hi every one, I want communication Inverter mitsubishi D700 with module CJ1W SCU31-V1,  any one give me a correct solution and send any sample program. Thanks
  8. I'm trying to communicate with INVT PLC and DGM8002(grain moisture analyzer) via mobus RTU.   Can anyone explain about these Modbus address ? Please kindly see in picture . example working mode address K0 (0-stop ,1-manual,  2-Auto) Actual Moisture Address K6 What is meaning of K0,K1,K3,K6.  https://drive.google.com/file/d/1-mGzpEvw4UlewWhR9k3wOd1mO-uhsklL/view?usp=drivesdk Is that K0= 0000 K2 = 2000. K3=3000 ? Any suggestion please. I'm really appreciated your comments.❤️  
  9. 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?
  10. 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  
  11. 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 
  12. 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)  
  13. 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
  14. 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.
  15. - i'm from VietNam, Who can help me?? - I cannot communicate the RFID card reader with the FX3U PLC using the FX3U-485ADP-MB module; - register error D8438 = 3821; D8423 = 1025; D8422 = 212. - Here is the connection picture and my PLC code thanks !!!!
  16. 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?  
  17. 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   www.mrplc.com-omron-download-utilite-Omron_Control. 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 : ab.ryss@yandex.ru  
  18. 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?
  19. 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
  20. 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
  21. Q03UDVCPU Modbus Setup

    Hi Guys, I need help to set up modbus tcp/ip parameter for Q03UDVCPU, i want to use the predifined protocol and built in ethernet port. do you guys have some usefull references how to setup modbus tcp/ip, or is there any example program from mitsubishi? Thanks
  22. 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.
  23. Dear Engineerds,   My Master (non siemens) doesn't see the Holding Registers of the Slave (S7-1200) plc. However the Q coils are fine and all Diagnostics don't show errors. The Hardware: S7-1200 – CPU 1215C CM PtP – CB1241 RS485 (6ES7 241-1CH30-1XB0) - Half Duplex RS584   Firmware: Modbus_Comm_Load (V3.1) Modbus_Slave (V4.0)   I've tried with various DB, UDTs and manipulating HR_Start_offset parameter with no success. Could you advise what am I possibly missing? Modbus_Comm_Load_DB_Snapshot.xlsx Modbus_Slave_DB_Snapshot.xlsx
  24. HI all i was wondering if it might be possible to edit the name of a word switches state. I'm creating blank presets for a machine lets say 1-10, i would like to use the drop down word switch which would display preset 1-10. is it then possible to edit preset 1's name to something like "8mm diameter" by using the notepad function on nb designer and directing that to some location on the plc? any idea or different methods would be great, or even if its not possible. thanks
  25. FINS Communication with C++

    Hi, I'm having a little trouble connecting to a PLC from my program. I thought my previous post a few months ago fixed it, but apparently it did not do much. Here is my code: And here is the resulting reply from the PLC after converting it to hexadecimal So far, I've narrowed it down to the issue that my program is sending 64 instead of the 18 that was specified by the FINS command. I assume that the received error is due to the fact that the PLC did not receive the correct instructions from my program. The "End" is not sent by the PLC, it is a personal note for me to know where the received message ends. My goal is to simply receive signals from D00 to D68. I imagine that the received string should be in the form of: 00 C0 00 02 01 01 00 01 00 00 01 01 [Response Code] [Data] Can someone help point out where I can start looking for why my program is sending 64 instead of 18? I do think I am messing up something simple here, but I'm not sure where to start. EDIT: To clarify the models, I am connecting over Ethernet to an Omron CP1L-M40EDT with CP1W-CIF41 Thank you in advance!