Search the Community

Showing results for tags 'modbus-rtu easy master function'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 312 results

  1. Weintek HMI and PLC Logo

    Hi dear friends, i'm working with a Siemens PLC LOGO 8 (OBA8) that connected to a Wientek HMI model MT7081IE via Network. and my Problem: i'm trying to get the PLC LOGO time for displaying and editing on the HMI panel, i know that the Time address in the plc logo8 is VM988 and VM989 and VM990 (Hour:Minute:Second) but in easy boilder when i selected an Numerical object there is only VD and VW variables available to select and there is not VM selection (Please see the attached picture). thats way i select VW pisition with the same position Number (for example VW988) for get the Hour value and it's displays a big binary number that contains Hour and minute value in binary, also i can find that witch characters are for hour value and witch one are for minutes value. Please help me that how can i separates the characters and dispalys them into another numerical objects? or another ways to get time values from the OBA8 and displaying on the HMI.   Thanks and Regards Saber
  2. 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. 
  3. 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
  4. 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
  5. Profibus Function Blocks for Q2ASCPU for Melsec ST Lite RIO inter-connection. Please assist in advising the attainment of such blocks - if any existing. Thanks
  6. 1.Can anyone say how can i communicate control logix plc with ethernet to serial converter. here i am not having any eds file.
  7. 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. https://github.com/olab84/rexhip/ 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 := #mb_query.c.read.input_reg,                       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.      
  8.   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 }  
  9. http://accautomation.ca/plc-programming-example-process-mixer/ 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: https://factoryio.com/ Documentation is well done. Start at the ‘Getting Started’ at the following URL: https://factoryio.com/docs/ You can get a free 30 day trial at the above address. Regards, Garry
  10. 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.
  11. FX3U PLC WITH OPTIDRIVE E3

    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.
  12. 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 
  13. 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 
  14. Hi Everyone! Where are my experts? I am undertaking a project at work. The project contains analog style motor positioning circuits (operational amplifiers, integrators, and other PI elements). Not that this is relevant to the post yet ;) .It's my first PLC project ever! I am using the Schneider M258 with SoMachine 4.1 The PLC is talking to SoMachine via Ethernet (obviously I have a router between the PLC and my pc).I can Login and run the first POU I created. It's a simple And logic circuit for now. I have a co worker (c programmer) agreeing to help me pass data from my PLC to a browser screen. Although he's not familiar with PLC he's quite skilled writing code. He has wrote a Modbus protocol which allows him to interpret Modbus commands on his desktop.   1) Do I Need any special hardware to pass the data out of the PLC into the Router then into his browser. 2) As a trial can I send him MODBUS commands regarding my AND circuit? 3) How do I create such a command? 4) Is it possible for him to send me Modbus commands to change variables inside my program? 5) Are there web browser "plug-ins" for this idea? Thanks for reading and hopefully all of you can help me answer some of these questions.        
  15. Rx3i to Balluff IO Master

    Wanting to write to Balluff Smart Lights via IO Link Master IP #BNI EIP-502-105-Z015.  I can find lots of literature on setting up the communication via E/IP in RSLogix 5000 but haven't located anything with Machine edition for writing the data over IP.  I am utilizing an Rx3i platform with IC695CPU315 and IC695ETM001 for network access
  16. CJ2 to V680S (ETN version) using Socket Service function blocks View File This is a short bit of sample code using Socket Service function blocks to read and write data from / to a V680S RFID tag using the Modbus TCP (-ETN) version of the V680S. Submitter Michael Walsh Submitted 04/09/16 Category PLC Sample Code
  17. Hi All, I'm still quite new to Unity and Modicon PLCs. I have a PLC program running in simulation mode for development/test and I'd like to follow the logic inside a running block. I can't seem to just double click the function block while online to see it's 'inside' logic. Is there a way to inspect the inside of a running function block? How can I check and diagnose the logic a running function block? Thanks!
  18. FX-3G MODBUS

    fx 3g modbus.gxw
  19. Hi all,   currently as part of a project I am trying to communicate between a Schneider M340 plc and an Allen Bradley micrologix processor. I am programming the M340 and the micrologix has been installed by another supplier. they have mapped the Modbus registers on their side and given me a spreadsheet with these.  I am able to read values with no issue but I cannot write values back.   i've included a screenshot or the read_var and write_var instructions I am using. I would really appreciate any help if anyone has any insight on this   Mark
  20. I am trying to get the communication going between EZ3 EZAutomation Panel HMI and Omron NJ501-1300 PLC. I am currently using Modbus TCP/IP as a protocol. Has anybody figured out a way to do that? Or is there a better way to do this communication between HMI and PLC ? Right now I am using MTCP_Client_Connect function block to connect with HMI but it dont seem to be working. The IP address is correct along with Port no. I am still fuzzy about the Station address of NJ and the function code of the NJ for Modbus purposes. If anybody could help me out I would really appreciate it.
  21. ESATR / EGATR Commands

    Good morning folks, I've browsed this forum often enough over the past few years that I think it's time I finally signed up.  Lots of good ideas and advice that I've benefited from and I hope to return the favour some day. So on to my question.... I'm currently knee deep in a project using a CJ2M PLC and I have to send and receive chunks of data over Ethernet/IP.  To do this, I'm using the ESATR and EGATR commands (set / get attribute).  I would like to know if these commands finish execution (ie. the ethernet port completes the transaction) even if the input conditions to the command are no longer true.  Specifically, if I use the "port ready" system flag (A202.00 is an input to my FB in this case) as a condition to trigger the ESATR command, this bit will go low once the port becomes busy (ie. during execution).  So will that interrupt the completion of the ESATR command resulting in an incomplete transaction and data loss?  I've looked through the help files on the command but don't get a clear picture of how it behaves. Perhaps the attached JPEG shows more clearly what I mean. Thanks, PC
  22. Omron MODBus

    I'm attempting to connect a CJ1W-SCU32 modbus card with 2 ports to several modbus sensors. I am only reading from the senors, not sending any commands. I have been told two different ways to do this: 1. CMND block using Modbus RTU code 2804. 2. Using the Protocol Macro ModbusPM_Master with the PMCR function block. I've additionally found an easy modbus configuration tool that unfortunately seems to take up too many registers that I will be using. Does anyone have any examples of code for setting up MODBUS TCP with either of those 2 methods? I am having a hard time finding any. Thanks.
  23. Hi Everyone, I am trying to connect a Toshiba TRSPUX10A plc to a hitech PWS6600 HMI (Beijer electronics). I am using RS485 connection, and trying to get the communication going between the plc and hmi using Modbus RTU protocol. The PLC is slave and and HMI is Master, and I have a Modbus slave tag table for the plc. HMI Software: ADP3 PLC Software: TRPGMS01 Our supplier of the product cannot assist me as he passed away, and the manufacturers of the systems refer me to each other but with no luck. I have asked numerous system integrators however they only work with the systems they supply. I want to read a Modbus slave tag: Holding register 4500001 in the plc and have it displayed on the hmi. Please advise if anyone could assist. Kind Regards Quintin          
  24. Hi everybody. I have 1 QJ71C24n-R4 with 2 channels CH1 & CH2 and I want to use Modbus RTU for both of channels to read data from electric meter. Now I can do it well with CH2 but cannot with CH1. The reason is echo back setting, my GX work 2 only able to prohibit echo back on CH2, not able on CH1. Does anyone know about this problem? Please give me some advise. Thank you so much.
  25. HELP WITH WPLSOFT DELTA PLC

    Hello , I'm using DVP12SE11R Delta PLC . I would like to read data from an external device using RS485 communication. In the WPLSOFT i have informed that i gotta use MODRD command in order to read the data . but i am not sure how to use it properly.  the data is formed as one bit ('1' or '0') i wanna read 10 registers using MODRD although those registers are not ordered one after another and i know MODRD can read 6 registers one after another. Then i would like to use that bit as a Normally Open contact in the WPLSOFT and turn on a coil. i would like to get some help with it. thanks.