Search the Community

Showing results for tags 'hmi with modbus communication'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 171 results

  1. 1 slave to multiple masters

    Hello everyone. I got the project where plc Q00UJCPU with the module QJ71MB91 connected to the slave device via 485 channel . This plc takes some values (like current/voltage etc). i dont have access to this plc cause he is on guarantee on another service company. So question is... How to connect to this device as a other plc FX3U via 485ADP-MB (and i think RS command) module in parralel to QPLC already working link? Is this possible without harm QPLC and all the data which he takes?
  2. RS485 Async

    Hey guys I don't have much experience in PLC serial communication and I'm tasked to integrate 6 OP-905 scales with our EATON based control system. The scales are rs485 asynchronous serial communication, my concern is that if the device is not designed to be an RTU then I cannot use modbus. And if that is the case how do I talk to multiple scales using the async protocol. Has anyone done this in a similar platform? 
  3. Operation error

    I am developing an application with fx5u with inverter d700, it fails to send a command to the inverter, only running the application and monitoring the clp does not appear to fail, only when it sends a command. Attached photo of plc configuration and error. Do you have any secrets to doing communication, can I do it with a normal network cable? I'm doing with just one inverter, as the terminator should be at 110 or 330 ohm.    
  4. I'm looking at project with an OMRON NJ-101.  I was planning on using Modbus TCP/IP from the PLC to talk to a MOXA gateway (MB3170) which would then talk to about 7 different slaves over RS-485.  Looking at detail at the blocks that are supplied by OMRON (MTCP_NJ V1.3, available from, I noticed that it doesn't send the slave ID, which will mean that it won't be able to talk to different slave ids through the one IP Address. I had a look through the actual code and it sends "FF" in place of the slave id.  In particular I was looking at the "MTCP_Client_Fn03" block. Is there another way to get the NJ101 to talk the full MODBUS TCP/IP protocol? Is it possible to edit the blocks provided by OMRON?  It seems to me that they are locked down. If I could edit it I could just add the functionality Thanks for your help in advance.
  5. Hello to all, I am new here, and I have a project with FX3U plc and CR 2DA 700 robot controller. Does anyone have some experience in establishing communication over FX 3U enet module and robot controller, I need to send and receive 5- 10 M registers and D integers. Thanks
  6. Greetings everyone, I have a Proface HMI(LT-4201TM Modular type DIO) connected to a siemens flow transmitter(MAG6000). Communication between these two devices is using modbus. The modbus register that im using to get the data/reading of a totalizer from siemens transmitter are 403022 and 403023. I managed to display the exact totalizer value from siemens transmitter on the Proface HMI screen. But I couldnt get the exact totalizer value at the ladder logic side, the value that i get at the ladder logic side seems like a raw value. For an example, the totalizer's value is 147083(real value), but at the ladder logic side the value for 403022=15598 and 403023=17316.   Can anyone guide me to solve this issue.   Thanks in advance.
  7. Hello everybody, I have network from : PC - PLC - I change this option in FX5U PLC in GX Works3 for Network Ethernet port --> Application Setting -> Security -Disable Direct connect with MELSOFT : Enable/disable -DO not respond CPU module search : Respond / not respond and I upload program to PLC. After upload program to PLC and restart it was impossible to connect again. I Have ping between PLC and PC, but could't write program. Always writes me Error <ES:0180840b> So to disable Security Option you should to do : 1. Open Works3 2. New Project (Choose your PLC - FX5U) 3. Online menu 4. Specify Destination Communication 5. Click twice in PLC module 6. Set Connect via hub (In my case i connect PC and PLC directly !) 7. Choose IP Address ( in my project : , PC must be in same network 192.168.3.X) 8. Give OK 9. Connect Test. With steps I disable security options and it was enable to connect to PLC and Write data on it. I Hope that will help to other with same problem. Special thanks to : Piotr Tynor(Mitsubishi, Poland ) , Adam Syrek (Mitsubish, Poland ) , I. Ayvazova (Bulgaria) , K. Raykov (Bulgaria)
  8. Hi All, Networking guy here, looking for network experts on a AB PLC (1756-EN3TR/B v217021900) which seems to STOP ARPing for a device after 10 ARP's. The device is purposefully powered down, but when powered up, it can take minutes before the PLC sees it again. The PLC team says only changes in the PLC's logic are made. When an older backup is restored though, I do NOT see the issue somehow. 1) The devices that are powered down are back on the network and reachable within 10 seconds or so (ping). The initial thought was that they were not even on the network, but they are. Just that PLC shows a comms loss. 2) With the 'good code', the PLC, once the device is offine, keeps sending ARPs to find the device. The first one is a directed one, the subsequent ones are broadcasts. These broadcasts keep happening till the device is back online and is able to talk to the PLC again. 1st ARP after comms is lost: 474.423859     Rockwell_cf:a7:6c     Hilscher_2e:ea:08     ARP      60     Who has Tell Next and subsequent ARPs after the first one: 475.423471     Rockwell_cf:a7:6c     Broadcast             ARP      60     Who has Tell These ARPs keep happening every 1 second, till the device is online again. 3) With the bad code, the PLC, once the device is offline, sends only 10 ARP messages total and then stops sending ARPs altogethe . Then it takes 10 minutes* before it sends another one. If the device is backup online by that time, the PLC finds it right away. SO with these 2 different code bases, how is that a low level L2 protocol like ARP is impacted so much. The PLC team tells me that they have no idea and not set anything related to it. My question is where is the ARP network behaviour governed and how to change it? How can older code which supposedly only has changes in logic have different ARP behavior? * The 10 minutes interval might lead people to think it's a ARP timer and most likely it is, but then people usually ask about gratuious ARPS (garp) and I've verified that they make it through from the device to the PLC OK. If the device is offline for say a minute, the PLC mirrored port does indeed see the garps, yet at that point the PLC is no longer ARPing and regardless of that garp, it has to sit out the time till it sends a next ARP till it connects. Thus, I suspect the coming back to life process is governed by the PLC ARPing for it, and not by the detection of a garps. Thanks everyone!  
  9. Hello everyone. I have Omron CJ2M-31 PLC with SCU32 communication unit, and 34 3G3MX2 drives with repeater. I use "Easy to use Modbus RTU Master for CP1L CP1H CJ1 CJ2 CS1" written by our member PMCR (thank you PMCR for sharing your experience). I need to reed VFD status, reset fault, and write the speed. I tried the sample code version 2.12 with a single VFD, but in my test application it works inconsistent. I had got communication in the first place, I could control the drive, but I lost it after program modification and downloading (I did not touch communication part). I was able fix communication only once, and lost it again. I didn't find any correlation between my action and communication presence ( I tested dual port program version). If the communication is present, SCU unit blinks fast, otherwise slow. I have cleaned PLC memory and initialized PLC without any luck. Unfortunately, PMCR is offline. If anyone is proficient with mentioned above program, please advise where to look. Thank you in advance. 
  10. I'm using Controllogix L61 redundancy system as a slave with DCS using ethernet tcp/ip socket programming. The communication between master and slave will fail after a switchover. Kindly give solution for this. Thanks and regards, Rasu
  11. CX Supervisor Modbus RTU

    Can CX Supervisor be used as modbus RTU master using RS232/RS485 or USB/RS485 converter to connect it to PLC or panelmeter or other modbus slave units and how? Any example? Thanks in advance Goran
  12. Cimplicity 7,5

    Good Day There is a SCADA Cimplicity and controller Control logix 5561 AB. Communication between them is organized via Ethernet IP. It is necessary to transfer some tags from the Cimplicity to the controller Control Logix. How to do it better? Through Rslinx DDE OPC or write scripts in the Cimplicity? 
  13. 1.Can anyone say how can i communicate control logix plc with ethernet to serial converter. here i am not having any eds file.
  14. RSLINX help

    I am using rslinx in my configuration with 2 devices: windows xp computer and an SLC 5/05 CPU.  The XP PC is running a program that relies on a file that is automatically dropped in a shared folder from a separate networked PC.  The file is deleted immediately from the shared folder.  The program on the XP PC uses rslinx to control the SLC 5/05 CPU to complete the operation.  The original XP PC hard drive failed and a new PC was installed with all the necessary software and services.  Ounce I completed the  setup, the process worked for 48 hours, then stuck in one operation (one file).  Now, I can restart rslinx and the software and the process will function normally, but stall, then get stuck on one file.  There are no files in the shared folder, rslinks has not lost connection.  The original router was replaced at the same time as the PC.  I am leaning towards rslinx storing the files somewhere and stalling/stopping the operation.  I can not find files anywhere.  Does the SLC 5/05 CPU store the files?  I'm lost.  Do you have any troubleshooting suggestions?  
  15. Is it possible to communicate from a PC program to PLC program for reading inputs and setting outputs? How can it be made ? is it possible to do from TER connector or AUX connector , without special comm module?
  16. Hi.I would like to tell you about a modbus library I have made and recently released, for Siemens S7-1200 PLC's. I made concept that called Station block which is mapping of registers for one specific modbus rtu device. Station blocks can be made very quickly and can be easily be reused and combined with other station blocks. The library is free under the MIT-license and can be downloaded at github (link bellow). Please check it out, I would like to get some feedback on my work. An modbus rtu example: #mb_master_ctrl(hardware_id := "Local~CB_1241_(RS485)",                                 baud := 19200, // bps                                                mb_query := #mb_query );  #mb_query(mb_addr := #mb_addr,                                         mode :=,                       data_addr := 13,                                            data_ptr := #resault_data_1);   #mb_query(mb_addr := #mb_addr,                                       mode := #mb_query.c.write.holding_reg,                       data_addr := 55,                                                  data_ptr := #resault_data_2); // - The library will take care of execute each query, one by one.  //    Add as many queries as need. (There no need of a state machine) // - Queries belonging to one device can be placed inside one FB, //   this FB can later easily be reused.      
  17.   A new free Modbus RTU/TCP slave simulator tool - Unslave - has been released. It is focused on simplicity, usability and ease of setup. Instead of a GUI it supports flexible JSON-based configuration, where you setup slaves like this: "slaves": {     "1": {         "isOnline": true,         "registers": {             "HR0": 1,             "HR10": "0x0A",             "C0": true,             "C999": {exception: 3}         }     } } This type of configuration has great benefits - you can easily switch between different setups by specifying a different configuration file: unslave.exe newConfig.json You can put the configuration under source control and track changes. Unslave lets you configure any number of slaves, setup values of every Modbus register, setup Modbus exceptions. In addition, Unslave displays and write to a file the logs of all communications on the link. This is very useful for debugging: 2017/06/06 17:21:54.310 - TRACE: Byte received: 1. Total: 1 2017/06/06 17:21:54.310 - TRACE: Byte received: 3. Total: 2 2017/06/06 17:21:54.310 - TRACE: Byte received: 0. Total: 3 2017/06/06 17:21:54.326 - TRACE: Byte received: 60. Total: 4 2017/06/06 17:21:54.326 - TRACE: Byte received: 0. Total: 5 2017/06/06 17:21:54.326 - TRACE: Byte received: 1. Total: 6 2017/06/06 17:21:54.342 - TRACE: Byte received: 68. Total: 7 2017/06/06 17:21:54.358 - TRACE: Byte received: 6. Total: 8 2017/06/06 17:21:54.363 - INFO: Modbus frame received: [1 3 0 60 0 1 68 6] 2017/06/06 17:21:54.363 - INFO: Reading value: 1HR60 = 14119 2017/06/06 17:21:54.363 - INFO: Modbus frame sent: [1 3 2 55 39 238 110] Updated Sep 17, 2017: Since version 3.0 it's possible to update slave configuration at runtime via an HTTP API, for example: PUT http://localhost:9000/slaves/1/registers/HR0 content-type: application/json { "value": 1234 }  
  18. Factory IO provides a 3D simulation of the process. Testing of the program is important and should be done in a variety of ways. Factory IO provides a straight forward method of seeing your program in action before you wire your application. The above URL link will take you to our example process mixer. We use Factory IO to simulate the application. Factory IO will communicate Modbus TCP to the PLC. Factory IO Website is at the following URL: Documentation is well done. Start at the ‘Getting Started’ at the following URL: You can get a free 30 day trial at the above address. Regards, Garry
  19. FX3U and FX5U Modbus RTU comparison

    Hello. I have tested different type of communication between by rs485 fx3u and fx5u. On fx3u side used fx3u-485-adp-mb. In case of N:N and Parallel Link fx5u is more comfortable than fx3u. But, modbus rtu not so good. I made 3 tests: 1)FX3u master with ADPRW function; ADPRW in fx3u supports wider count of modbus functions, most usefull for me is H17 (Read/Write multipleregisters). But when i send telegram to Fx5u with this function, fx5u fall in error (recieved unsupports serial com functions). i have checked instruction manual on ADPRW - FX5u doesn't support H17, only H03 and H10. For read/write from fx5u need to use 2 instructions on FX3u side. 2)FX5u master with ADPRW function; In this test ofcourse i tried use H17, but result was expected - error. 3)FX5u master with predifined protocol. In this test using H17 function on Fx5u side was successful. Conclusion: FX5u better use as master for modbus rtu communications via predifined protocols, and if it used as slave need remember that it doesn't support H17. I hope this information will usefull for sombody.
  20. Hello everyone, Is there any way to communicate with Mitsubishi Servo amplifier MR-J2S-350CP through RS232 ,I prefer to use 224XP because i already have it... thank you 
  21. Newbie Screwed up AB 5/04

    Greetings everyone, I am using a VERY OLD laptop, Windows 98, the correct AB cable....and only used to download programs into equipment to restore in emergencies into AB 5/04.  I was able to connect to SLC 5/04 using RSLinx (used Auto-Config, all worked correctly) , and wanted to install a program from earlier version using RSLogix500.  It seemed to download correctly, the pop-up asked if I was sure I wanted to install new program, hit YES...then said it would change channel, pop up buttons were "ALLOW" or "DENY" (something like that). I hit "ALLOW". All seemed good until I plugged HMI back in....had a bunch of codes it didn't like, so I went to install back to original version.  When I went through the same procedure (mentioned above)....5/04 and laptop no longer wanted to communicate.  I assume it has something with allowing the channel change.  As you can tell, I know Jack Squat...I'm not a programmer (duh), but was handed a computer with instructions....and now the machine is down.  Any help with getting me in right direction is highly appreciated in advance.  I searched the forum, and wasn't able to find a solution... I suppose it has to do with an in-experienced, well intending human messing with stuff he shouldn't be messing with !!

    Hi can anyone help me to undestand more about modbus RTU between fx3u with optidrive e3 ?? I'm using rj45 with fx3u 485adp-Mb for the connection. Then specially in making the ladder program in Gx Works 2. I'm stuck understand the command code there. I'm first time using this. Please help me. Thank you.
  23. Hello  i have a versamax plc icu200udr064 which is connected to a modbus rtu network.  i want to send some coils states on the modbus network with a specific data address, so can this be done by proficy machine and if yes can you help with that? thank you 
  24. Hello  i have a versamax plc icu200udr064 which is connected to a modbus rtu network.  i want to send some coils states on the modbus network with a specific data address, so can this be done by proficy machine and if yes can you help with that? thank you 
  25. Hello   i have a versamax icu200udr064 and i want to connect it with simatic basic panel ktp 1200 dp  both support modbus rut but the problem is that i cant find GE communication driver on the tia portal by whom i program the HMI.  One more thing is that i found a communication driver for modbus rtu but the tags addresses are in the standard form for modbus, so is there any solution for this?  thanks a lot .