Search the Community

Showing results for tags 'ModbusRTU RTU modbus Serial'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 304 results

  1. connection to omron CJ1M PLC

    I have an omron PLC (CJ1M type) at home which I would like to connect to, however, lately, I can't anymore.  I'm trying on two different PC's a newer and an older one, both running on windows 10. 1 is just mentioning a DLL error and I can't even start cx-programmer, the other one seems to work, however, when I try to go online it always fails I'm using a usb to serial device and after some searching on the net, I thought the issue was with the prolific driver.  I tried all kind of fixes, but nothing seemed to work.  I have now purchased another device, the XS8801 from usconverters and installed the latest driver.  I have checked if cx programmer is set to work with the correct port and this is the case. My knowledge is very limited but I would really want to connect to that PLC again, so hoping someone out here is able to help me. Thanks a lot    
  2. 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
  3. 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
  4. 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
  5. From DM:   Hi; my name is Metin , I live in turkey. unfortunately I have a problem that I could not reach a conclusion here. I hope you can help. I need to communicate with CJ1W-ETN21 with a device via modbus tcp and read information. I downloaded ready-made protocols on omron site, connection is established but I cannot read. I tried the attached protocols. the device I am trying to communicate with :  https://www.gmweighing.com/products/weighing-indicator-m02  I will get the weight information from the weighing device. Thank you in advance for your help. MTCP_ETN_Client.zip
  6. Hi there, Im having issues controlling ATV 320 VSDs over Modbus RTU with a M221 plc, does anyone have any pointers for me to look at? I believe I Have set everything up correctly but when I run the program on the plc the atv's just stay in 'NST' state I have included screenshots if they are any use   My speed reference in this example is taken from the memory word %MW0 which I am inputting via a HMI   I have addressed all my ATVs accordingly in there setting with the correct Modbus parameters and selected Modbus under the FR1 configuration, am I missing anything?? Any help is appreciated as I am really struggling   Tom
  7. Hi everyone I'm new bie, I try to control VDF-M via fx1n-485-db. please help!! Thanks.
  8. Hi everyone I'm new bie, I try to control VDF-M via fx1n-485-db. please help!! Thanks.
  9. hello expert i want ask some help So i tried to communicate my Omron PLC (cj2m cpu31) with SCADA from Schneider (power logic) on my omron side the comunnication on PLC already take to communication to NB so i add communication module CJ1W-SCU41-v1 I want asking how to open the communication if i want the scada become a master and my plc become slave i got this from omron website is that program compete for my case? i need configuration for scu41 module also to communicate or if you have suggestion i really open i just need to open port RS232c from scu41 so scada can read the data from my plc  tahnkyou for your help MRTU_CPU_Slave.zip
  10. Hi! I would like to ask how could I send data from PC to CJ1M PLC, by SCU-41 module and RS232 cable, in order to activate an actuator (LED)? In my environment, I have a sensor that sends data from PLC to PC (I'm checking data, "HelloWrld" with Putty), with this configuration: And I have another section where I want to read the data from the PC in ordr to activate a LED I would like when I send for example a letter 'a' trough Putty, the LED activates. How could I do that? Thank you very much!
  11. Hi All need to convert a Decimal Value into Ascii code to send out on serial 485. eg. Weight comes in as Int 12345 i need to send it out in Ascii as 23 32 20 31 32 33 34 35. I have created an array 0 of 8 (Word) DB. Is there an easy way split the int into Digits convet in into HEX and slot the value into the various array positions? Array 0 of 8 = 23 means # Array 1 of 8 = 32 means 2 (Station ID) Array 2 of 8 = 20 means Space Array 3 of 8 = 31 means 1 Array 4 of 8  = 32 means 2 Array 5 of 8 = 33 means 3 Array 6 of 8 = 34 means 4 Array 7 of 8 = 35 means 5 Array 8 of 8 = D means CR    this sends the value of 12345 to Display ID 2 . need help to convert the decimal number in ascii. the decimal number will be max of 5 digits and less than 32000   any help will be greatly appreciated.
  12. Hey everyone, I have a CJ1M PLC with a CJ1W-SCU21-V1 serial card. It is unit 6 and I am using port 1. I have bit 1659.06 ((1500 + 25 * Unit #) +9, bit 6) as "characters in buffer" but it never comes on (data is being received through the port successfully). It is on No-Protocol mode. Does anyone have any ideas as to how I can detect data in the buffer?
  13. CP1H Modbus issues

    From @Janaka Angampitiya: Hello, I have Three CP1H PLC with Cj1w scu31-v1. I need to send a Modbus command SCU unit through Modbus RTU compatible power meter. I use instruction TXDU and CMND but it's not working. My PLC Arrangement CP1H PLC  - CP1H-X40DT1-D    ver. 1.3 Option Board 1 mounted Cp1w-CI41   to NB HMI its work Option Board 2 Mounted CP1W-CIF12-V1 to PLC 1, PLC 2 and PLC 3 between communication Serial gateway mode it is work. CJ1W SCU31-V1  (ver.1.3) and Modbus compatible Power meter it's not working. Please help to how to connected and what is the use of instructions for this case. 
  14. Serial comm with FX1N PLC

    I need to communicate with a Mitsubishi PLC using Matlab. To do that, I open a serial communication with the appropiate parameters (7,e,1,9600), and write an ASCII message based on the manual I have (attached). I have tried examples as the one in the attached image. The response starts with a 6, that is, the ASCII number for ACK, so something must be working. But the rest of the response is junk (149, 149, 149...), although its length depends on the input length (if I add terminator, the response is longer, and so on). I am completely stuck. Some information that might be helpful: I am using a Serial to USB converter that I have used successfully with other PLC (which used Modbus, so everything was easier) There's a VB application (of which I don't have the code) that is able to connect to the PLC (I need to connect directly without using this intermediate app). I have decompiled it trying to get some info, but was just able to confirm the 7,e,1,9600 parameters, since the rest of the code is too mangled to analyze The attached manual was sent to me by the guy who designed the PLC and its ladder code, so I guess it is the correct one I have tried the echo mode (TT) to no avail, response is always the same I have some doubts regarding the reading of a value (see attached image). Why is there a second message from the PC? Shouldn't I just need to read the response? GX Developer tells me that the address D8120 (which is supposed to define the comm format and protocol) contains a 0, which seems weird. Any help or hint would be greatly appreciated. Thanks jy992d69901e.pdf
  15. Hello! I have one Controlllogix project that communicates with a modbus slave through modbus TCP, using a Prosoft module model MVI56-MNETR. Does anyone know what happens to the data polled in case the network fails? Do all variables go to zero or do they freeze in their last value (or something else entirely)? I couldn't find anything in the Prosoft manual. Thanks for any help!
  16. Hello There I need to set up communication PLC to PLC ( R08CPU to Fx5CPU) but i dont have the modbus library for  the R08  Does anyone have the library? or where can i get it? thank you.
  17. NX1P2 Modbus RTU Code and Write Up. View File This code is designed to implement Modbus RTU on an NX1P2 Controller using the NX1W-CIF11, NX1W-CIF12 or NX-CIF105 module (mounted to controller or EtherCAT coupler).  Created by an Omron Engineer. Submitter Michael Walsh Submitted 05/22/20 Category Tutorials and Quickstarts
  18. Version 2.12

    797 downloads

    This code is designed to implement Modbus RTU on an NX1P2 Controller using the NX1W-CIF11, NX1W-CIF12 or NX-CIF105 module (mounted to controller or EtherCAT coupler).  Created by an Omron Engineer.
  19. i am trying to communication my weintek HMI with Siemens Energy Meter PAC3200. I am using MODBUS TCP/IP Protocol but i am unable to read the data register of my energy meter. Somehow i got to read the 32bit data register but still unable to read the 64bit data register of my total KWHr Energy consumption. I have also attached the manual of my energy meter. Please guide how to read all the data registers of that energy meter. Please see the page 40 onwards for reference. The manual the about 7MB so i cannot attach the file. https://support.industry.siemens.com/cs/attachments/26504150/A5E01168664B-04_EN-US_122016_201612221316360495.pdf  
  20. Mitsubishi Fx5uc

    hello everyone, Im new with mitsubishi and  ive got a project with a Fx5uc but im stucked in communication protocol to communicate with a weintek HMI ive already tested easybuilder simulation with a modbus tcp ip symulator and it works but im completlely lost about mitsubishi, is there a way to communicate via Modbus TCP/IP? or which protocol would u recommend as i have to connect 2 drives as well. thank you in advance
  21. Hello guys, I am very new at this. I am trying to make a Schneider PLC (TM251MESE) to send some serial commands (485)  to a integrated stepper motor from Automation Direct (STR-MTRD-17030RE, but I am lost. The driver has been program to receive the SCL commands. But not quite sure how to send those from the plc. Im using SoMachine V 4.2 Have any of you done anything similar? Any example will be greatly appreciated.  Thanks 
  22. Modbus fonction block error

    Hi everyone, first time posting here. I've got a problem with the Modbus MTCP-CP1L-Server fonction block. it worked fine for a good amount of time until i try to change an ethernet switch (not managed) on my network. at this moment the fonction block started to give me an error code (2211 ''unit is busy, can't execute''). So i put the old switch back again and I called Omron and they tell me to download Etherway and try to send some data to it but they can't do more. I did and BAM, it worked again. everything was fine for about a week and i was like, okay if etherway can ''solve my problem with the fonction block, i can put the new switch again, No I can't. It give me the same error, I try'd so many thing( put the old switch, everything that was possible in Etherway, change IP address, ethernet setting, reboot everything, connecting the unit direct to my PC. nothing can erase that error.  Unit is an CP1L-EM with built-in Ethernet port did someone had have the same problem, or have any idea that can help me ? thank. Sorry for my poor English, its not my first language.     
  23. FX3U as Modbus slave

    Hi I want to use FX3U as Modbus slave. I am using 485-ADP MB and successfully communicated as slave device. Now my master is able to access all my registers. But I want my Master to access only D1000 to D1100 registers. How can I do this? Please help me out. Thank You Joshua
  24. Modbus TCP

    Hi Dears I have 2 control systems. I want to connect to DCS with Modbus TCP ( as Slave ) first system is CP1H, with MODTC61 i can connect to DCS? second system is CS1D, which module can i use for modbus tcp slave? I have CS1D-ETN21D for connect to HMI, can i use this module for modbus tcp or I must use another module?   Best Regards  
  25. Delta DVP12SE Modbus TCP Help

    I requested support on getting my DVP to talk to Factory IO for some cost-effective programming experience but the DVP is really poorly documented. The below wording and 2 pictures were all the support I got as I am not a business. The M codes are not listed in the ISPSoft help file and hard to track down, combined with things like "After the reception of the command is complete, bit8 in D1395 is ON" and then if I am reading input registers and holding coils but saving to a D word register how the heck do I convert the data into a useable boolean format for logic use??!! I have no been able to even get the DVP to read or write ANYTHING but I can use a modbus program to turn on the DVP's bits no problem so I know communication works. eg: F05 H500 will toggle coil Y0. The issue is when I try and use the DVP as the modbus client. From my laptop I can use these commands to modify Factory IO which is running as modbus server Slave ID 1: F02 H0000 H0009 (Read inputs 0 to 9) Tx: 00 02 00 00 00 06 01 02 00 00 00 0A, Rx: 00 02 00 00 00 05 01 02 02 C0 00 (In put 6 & 7 are on) F15 H0000 H0009 (force coils 0 to 9) Tx: 00 0F 00 00 00 09 01 0F 00 00 00 0A 02 00 00, Rx: 00 0F 00 00 00 06 01 0F 00 00 00 0A   But how the heck do I format the LD program to actually do those commands? IA PLC Modbus address_20160707.pdf SE-T001 Application Note Data Exchange SE PLC.pdf