Search the Community

Showing results for tags 'modbus rs485'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 282 results

  1. HI, I HAVE FX5UCPU connected to other devices through built in RS485 port , i have gone through ADPRW instruction .To configure Slave devices like other third party controller , is there any special instruction required. i need few sample programs for modbus data transfer. 
  2. Modbus/TCP PN communication

    Hello, I'm trying to make communication between a 315-2 PN/DP and MSA Gasgard XL. I want to read out 40010, and 40020 from GasGard, it works sometimes, but most of time the connection does'nt  build up.  The parameters i using are: Start address: 9 Lenght: 10 Recv_Time: 5s Conn_Time: 5S I did playing with Recv and Conn Time and it effected the rate of succesful connections, but it still drops too often. Also i tried to read only 9 and 19, but then it didn't read 19. Anyone knows how could i optimize the connection? Thanks  
  3. 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 https://www.myomron.com/index.php?action=kb&article=1245), 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.
  4. Hello guys, i want to connect my CP1e-N30DT to modbus device like weighing scale, but i try to searching modbus with RTU but all of them use function block, i dont understand and i think my device cant use a function block.  Can you help me for connect CP1E to modbus device for get a holding register(4xxxx),input register(3xxxx), coil(0xxxx) and input status(1xxxx) with cx programmer? thank you 
  5. 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.
  6. HMI and Weighing Indicator

    hallo, i have problem here. i want to connect HMI OMRON NB7W-TW00B to weighing indicator with Modbus RTU rs485. i use this link https://www.myomron.com/index.php?action=kb&article=1538 for wiring diagram for rs485. and the baudrate, databit, parity check and stop bit is same between HMI and weighing indicator. but the output in HMI is "[2] PLC No Response: 00-01-2" i think the problem is my rs485 connection. can you help me? thank you.
  7. Morning Guys, For my latest project I need to read a gas sensor via 485 from a Momentum PLC. I've been through the help files, but they seem to only raise more questions than they answer, they only seem to reference PLC -> PLC comms. I've had a play with the 'MBP_MSTR' & 'OUT_IN_MBUS' function blocks, but i can't seem to get anywhere, Has anyone got any examples of reading in data via 485, or can anyone lead me in the right direction?
  8. Hello, I wanna be sure before I'll spend some money, will I be able to control Turck devices (ie http://pdb2.turck.de/cz/DE/products/000000170000c8000003003a ), from I've found here on forum and on internet it looks to me like it should be possible, but I'm new in field of automatization.   Thanks in advance EDIT: I'm talking about Modbus
  9. 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?
  10. 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? 
  11. 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.    
  12. QJ71C24N-R4 G.Input command

    I need some help with G.input and g.output commands. I have a Q04UDEHCPU and my slots are as follow: slot 0 - QJ61BT11N cclink slot 1 - QJ61BT11N cclink slot 2 - QJ71C24N-R4  2-channel RS4222/RS485   I need to have 2 separate RS485 stings going to different devices. I cannot find the way of setting up the g.output command. G.Output "Un" (s1) (s2) (d) "Un" says it is the start I/O signal of the module, but I am not sure what that means. What there be a different "Un" number for each channel?   
  13. FX2N & Inverter iG5A on RS485

    Hello everyone, I'm a beginner in RS485 communications and i want to control 2 inverter LS iG5A via RS485 from a PLC Mitsubishi FX2N I really don't understand how i should aproach and start this part of program in Ladder Diagram, to write and read parameters from Inverters.  Please help me with an example    Thanks.
  14. 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. 
  15. 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
  16. 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
  17. 1.Can anyone say how can i communicate control logix plc with ethernet to serial converter. here i am not having any eds file.
  18. 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?
  19. 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.      
  20. Hello all  i'm looking for some software to record a 100 plus channels maybe with an ascii string from a PLC? i want to be able to assign each channel with a unit and a range, flagging feature would be nice.  - selecting the channels i want to view  - auto start recording - save file and start new automatically  -view and create reports  preferably no additional hardware because of the amount of channels. this is to record an operators every move so in events of damage or plant failure we can quickly identify the problem (point the finger)  many thanks dan
  21.   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 }  
  22. 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
  23. 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.
  24. 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.
  25. 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