Search the Community

Showing results for tags 'modbus rtu'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 83 results

  1. 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
  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. FX3U-485ADP-MB Problem need help

    I have got a FX3U-16M and -32M PLC and trying to connect with Moxa NPort 5130A serial device server to work with a scada.  It seems that i dont get the modbus to communicate.  I have tried the 110 ohm, 330 ohm and open setting on the device.  I am making use of a 2 wire system. I have configured both the channel 1 and channel 2 of the PLC to work with MODBUS 485. i have written a program like follow M8411    ----------- Move H1087 D8400                  ----------- Move H1 D8401                  ----------- Move K2000 D8409                  ----------- Move K400 D8410                  ----------- Move K10 D8411                  ----------- Move K3 D8412                  ----------- Move H1 D8415                  ----------- Move K100 D8416 I just need to test if there is communication from these cards.  i have got 15 cards to test. Any other help will also be appreciated.

    fx 3g modbus.gxw
  5. 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.
  6. 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
  7. 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.
  8. 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.
  9. 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          
  10. 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.
  11. 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]  

    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.
  13. Panasonic PLC Modbus settling

    Dear all,  I am requite to control a load cell indicator with my Panasonic PLC, FP0R-T32MT Panasonic Modbus setting I need to send out the command code as below: 01 10 04 4C 00 01 02 0B B8 EA DE Currently I am using the function F145 SEND   DT10 : 00001 (hex) DT11: 1001 (hex) DT20: 0BB8 (hex) DT21: 2CBA (hex) DT0: 0 (hex) With these setting my output function code is: 01 06 04 4C 0B B8 4E 6F If i modify DT10: to 00002 (HEX) 01 10 04 4C 00 02 04 0B B8 2C BA DA 78 01 10 04 4C 00 02 81 2F This is slightly near to what is want. But i cant modify the no. of write registers and no. of write data.Does anyone know what can i do to change it? 
  14. Hello,  I have to communicate Trane chiller to CJ2M-CPU34 with CJ1W-SCU31-V1 module via Modbus RTU RS-485. Do you know the best way to do this? Any advices? I attach Modbus registry from slave device.
  15. I need help regarding setting up modbus communication between Allen bradley micrologix 1400 and Schneider altivar312 vfd and rslinx for pc. I am totally stuck with it. 
  16. Mitsubishi iQ-R Series

    Hi Has anyone got any real life experience with the new Mitsubishi iQ-R series?  I have been assigned a major capital project to replace our old ageing DCS system.  Our current PLC backbone is about 40x Q2ASHCPU, 10x Q06UDEHCPU and about 2xA2SCPU all linked up via Melsecnet/10 network with communication links into the DCS system via Modbus RTU utilising the QJ71MB91 modbus card. Due to the nature of my companies process and the limitations on plant downtime it is estimated this project could take up to 5 years to complete, with this in mind I am wanting to install a system that will not be obsolete (or unsupported) in a few years, hence, I am very interested in the new iQ-R series with it being Mitsubishi's latest and greatest.  However, recent communications with my local Mitsi rep is not filling me with confidence that the iQ-R series is not as well supported/developed as the Q series.  A major requirement during the development stages of this project is the new ability of the new processors to be able to talk to the old DCS up until a point where the DCS nodes will be completed removed and replaced with a modern SCADA package.  Hence, the requirement of a Modbus Slave card for the iQ-R (i.e. a QJ71MB91 equivalent) which I am told is in development, but has no fixed timescales.  Previous experience with Mitsubishi developments of cards is normally years not months. Any information anyone can provide on their experience of the iQ-R series would be greatly appreciated and if anyone knows if a Modbus Slave card is in development that would be useful.  I realise i could utilise the Q series extension rack with a iQ-R processor but this is not the route i want to go down. Thanks for any help and apologises for the war and peace. Cheers Matt
  17. delta hmi communication speed

    Hello, i have DOP-07s411 delta hmi and i want to interface it with microcontroller using modbus (RTU) protocol over RS485( 8 bit data,1 stop bit, parity none,19200 baud rate). i have good speed of communication if i do not use macros. But as i place background macro(background macro is only 4 lines ) it slow down and  updates the display at every 3 seconds. i cant able to figure out what is the problem. I want to update display of  HMI very fast.Please help me to troubleshoot the problem.
  18. Hello  I try to connect my load cell via RS232 serial port 2 to PLC (PC1L-EM) but it dose not work could you please let me know what is my mistake  Thanks in advance Ebby Untitled.cxp
  19. Hi,  I'm trying to test the serial communications with my Micro820. I acquired a 2080-SERIALISOL so I could have "someone" to talk to. I want to use RS485, so I figured that I'd have to connect: Modbus pin 1 (D+) to serialisol pin A1 (+485) Modbus pin 2 (D-) to serialisol pin B4 (-485) Modbus pin 3 (GND) to serialisol pin A2 (GND) Now when it comes to CCW, the thing gets a little harder. I know I need to use the MSG_MODBUS block (in fact I need 2, one for the modbus and another one for the serialisol), and I guess I specify the interface I'm using on the TargetCfg field (data type MODBUSTARPARA). But how do I figure out that the Addr (UDINT) and Node (USINT) values are for my Modbus and Serialisol? Or am I doing it wrong? Does anybody know of any place where I can get some more guidance or even a funcional ladder program? Thank you in advance
  20. Dear All   Sorry for my English I have Siemens CM1241 (picture attach) and need to communicate with Intellisys XE 90 via Modbus RTU, period. The problem is, form XE 90 the connector is Phoenix Contact 2-Position Screw Plug Connectors MC 1,5/ 2-ST-3,81 1803578,or in other word, only 2 contacts form P9 COM1 = L1 , L2 (picture attach). How we connect it to DB9 Female in CM1241? What signal go to what Pin? How about the Ground? Do I need Resistor?   Thanks for all your supports   Best Regards
  21. RTU Modbus CJ2M CPU34, SCU31-V1,

    Hello everyone. In my project I have to communicate Omron CJ2M-CPU34 PLC with TRANE chiller via Modbus RTU protocol. Unfortunately, I never use this protocol and I have no idea where should I start. I'm looking for examples and advices. If someone has experience in this topic please help me. I attach TRANE chiller documentation. Especially I want to use function 5,6 and 4.  CGAX-CXAX_Protocole_Datalists.xlsx CG-SVU007C-GB_0915.pdf
  22. FX3U-485ADP-MB

    Hi! I have some concern dealing with the FX3U-485ADP-MB device which will be plan to install and a total of 17 modbus devices(Chinese brand converter 4-20mA to RS485) where going to communicate. I'm new to this feature of FX3U family and I'm using GxWorks2. Is there anyone that can guide me through this device/development? Is there a program block for this like the one I have been use for analog modules(FX3U-4AD)? Looking forward to your help!   Thanks a lot! Marky
  23. I am trying to export the Modbus points lists from a DAServer in Archestra SMC but I am getting an error message shown in the attached image. All options are greyed out and I cannot export the points list from the PLC node. I know there are points configured on the PLC node because data is updating the the InTouch application. Any help you can provide is greatly appreciated!
  24. 8_decimal Data Displays as only 4_Decimals !

    I am Facing Problem Getting Kwh Readings From My Satec MFM(PM130-PLUS), Required for an easy & reliable Monitoring On Energy Consumption . Connected via RTU Slave Interface with SCADA User Interface (GE_Cimplicity). Here's what happening : Actual Kwh Reading has 8_decimal data digits on MFM LED Display but on Cimplicity SCADA User Interface Screen It only able to Display it as 4_Decimals point digit, eg, 63290058 kwh shows as 0058 , and 15299999 kwh shows as 9999 , and then 15300001 kwh shows as 0001 i.e 1 only! Plz Do a Rply , your slight approach to my Query Will be highly Appreciated!! :)  
  25. GE PLC PCM

    The topic is based on "How to configure a PCM module in GE PLC". One new query in PCM. To configure this PCM Module some procedure is to be followed in CMD prompt. Initially once ''READY'' line displayed. Query to this topic is if ''READY'' line repeats below persistently in CMD prompt, then solution is ______????