Search the Community

Showing results for tags 'modbus rs232'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 310 results

  1. RS232 converter to RS485

    Hi dears i have one cp340 (340-1AH02) that is modbus RS232 RTU master and one RS485 RTU slave. i want to use RS232 to RS485 converter is it ok? can i do this without any problem?
  2.  Hello, I have been reading some post on this forum about Modbus and omron, but it has been complicated for me communicate an Omron PLC and a computer just to test the Modbus communication. I have a PLC OMRON CJ2M-CPU32 20K  with a CJ1WSCU31-V1 that I want to communicate trough Modbus first with a computer just to test that is everything working ok.     How can I do that? How do I need to configure the units, switch? Nodes?   Im using multiway, and CX programmer, I already downloaded Macro Protocol to the PLC, but by now the only thing that I get is RD1 flashing when Modbus poll software is active on the computer, but this software says timeout, and don’t receive packets… I have used the easymodbus excel file to create the code to communicate the PLC, but as I see isn’t working.   Does somebody in here have got to connect a plc to the computer with this easy modbus file? How is the proper way to use it? Or there is a better way to use Modbus in Omron?   I’m really desperate.   
  3. Hello! I am new at programing PLCs. I am using TM241CE24R PLC with TM3AI4 analog input module. I can successfully read temperature from 4-20 mA sensor. I want to communicate with my PC (SCADA) via Modbus TCP. For testing purposes I am using CAS Modbus Scanner. I can read digital inputs, coils and holding registers successfully. Problem is that I can't read analog inputs (#300001 etc.).  I have nothing defined in GVL list. Is this causing problem? I also don't have any Modbus TCP Slave device in Ethernet_1. But how can be all the other registers read successfully?  Please take a look at screenshots below. Also check Error message from CAS Modbus Scanner. Where is problem? Please help. Thanks in advance!
  4. Hi Im hoping someone can help me out! i have a PLC SLC 5/03 and i want to connect the DB9 port with DH485 protocol to a computer 100 fts from there, is there any problem with the distance? and what kind of cable should i use , i already connected with my laptop with a USB-serial with a null modem cable RS232  (i did the cable by my self) but for the distance i cannot keep using that protocol so what is the recommendation?    
  5. Modbus Addressing In Hmi Weintek

    HI all.  Am in some kind of trouble.. i have a sensor which has modbus RTU 485 . i want to connect it directly on weintek HMI ..    kindly help me out.. 
  6. Dear all; I can`t Write data configuration to CPU Q02HCPU.     
  7. Hi i have Beckhoff (CX5020-0120-M310) (profibus master) with TC3.1 and want communicate with Siemens Profibus ET 200S (IM151) DPV1. All modules works on ET200s except 1SI RS232 (6ES7138-4DF01-0AB0). When i triggered Barcode scaner i have one bit ON on no more data from 1SI module. on Array (0..15) of words 0.#0000000000000000 1.#0000000000000001 <= this bit is ON after trigered pushbutton on scaner 2.#0000000000000000 3.#0000000000000000 ..#0000000000000000 ..#0000000000000000 15#0000000000000000 This Same ET200S with this same configuration i have tested with Siemens S7-300 and it works, i can read data from Barcode scanner on the 0..31 array of byte (no WORD's like on CX5020) Siemens have On Communication => ET200s serial interface => Function block S_RCV i use them and i can communicate with 1SI RS232 via this block. But Twincat 3,1 don't have this block. On ET200s i have: 1. 1SI(rs232) module (rs232 parameter is : Data - 8bit, Stop - 1 bit, Parity - NONE, Data Flow - NONE, Interface type RS232-C ) 2 DO modul 3 RTD modul 4. DI 5. RO modul Any ideas where are problem? why can't read data from 1SI RS232?
  8. 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.
  9. CJ1M serial communication

    Hi! I would like to know how I could send information throw serial RS232 communication. I mean, I have CJ1M-CPU11 connected with ID232 and OC201 modules, and I have an optic sensor (digital input). When the sensor turn on, I would like to be able to read the information (on/off) with an application like Putty (I have the PLC connected by RS232) to develop an application and show the information on another framework. I don't know if I have explained very well. Thank you!
  10. hello I have been forced to replace a TWDLMDA20DRT with a Schneider TM221ME16R. the plc is a slave but I am having trouble getting the Modbus data exchange to work like it did with the old plc. I have setup the serial port to use Modbus etc etc and I played about with the read_var FB but this wasn't required in the old plc so im confused as to why I would need to use it on the replacement. I have come across another FB send receive message but again i'm not too sure if this is required.  the master plc uses the msg2 and exch2 command. I believe I am just missing something very simple here.   Lighting Panel - Old_PLC.twd Lighting Panel1 - Master -.twd Lighting Panel - Pillar5 -.smbp
  11. I'm wanting to get upload the program from a CompactLogix L31 Controller.  I'm using a generic (non Allen Bradley) "C2G brand" usb -->rs232 cable coming directly off of my laptop because I don't have a serial port out.  The rs232 side of the C2G cable is a "pin out" or male end, and as you can see in the picture, the serial port at Channel 1 on the controller is also male.  I'm using a generic (non-Allen Bradley) null modem (female-->female) cable to complete the connection.  Ultimately, I'm not seeing the controller on linx.  But that's a result of me not being able to configure the driver.  When I try to auto configure this driver, Linx gives me an error saying, "Unable to verify settings due to a NAK!" btw, the rs232 cable going into channel 0 is for the HMI on the machine. A pv600 1. How do I get online and upload the program from the controller? 2. What does NAK mean?
  12. CIF11 Modbus Slave

    Hi dears  I have one CP1H CPU and CIF11 option port on it. CP1H will be slave and I want to use modbus slave function. (ABB is Master and CIF11 is slave) I check the logic with modbus poll and i didnt have any Receive from CIF11. I have some questions: 1- which terminal in CIF11 must be used? SDA+,SDA- or RDA+,RDA- ( I use Modbus RS485 two wire ) 2- I mounted CIF11 on port 2 and in setting of port 2 I Choose RS-232C in Mode, Stop bit=1, parity=none , Data bit=8. is there another settings? 3- I set CIF11 DIP switches ( ON,ON,ON,OFF,OFF,ON) is it OK? 4-I change 4,5 DIP Switches to ON in CP1H.   Thanks
  13. Version 1.0.0

    231 downloads

    This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules
  14. CP1 Modbus TCP Peer to Peer View File This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules Submitter PMCR Submitted 10/24/19 Category PLC Sample Code
  15. Modbus TCP with CP1H and CP1L from PM

    From @SamuelT Please, I want to know if you know how to communicate two plcs omron CP1H (master) and one CP1L (slave). The master CP1H will send 10 DM memories to slave CP1L. Now I have this configuration: CP1H MASTER PORT: CP1W-MODTCP61 MASTER IP: 10.150.1.5 SLOCK: 1, DIP SWITCH PLC # 4 = OFF CP1L SLAVE PORT: CP1W-MODTCP61 SLAVE IP: 10.150.1.1 SLOCK: 1, DIP SWITCH PLC # 4 = ON I use the modbus RTU function blocks, but the master PLC does not communicate or send the DM memory values to the slave PLC Thank you very much for your reply if you have any example program it helps me a lot MRTU_CP1L SLAVE.cxp MTCP CP1H_MASTER.cxp
  16. Has anyone connected a Swegon ventilation unit to QJ71MB91. At Swegon, Read Holding Registers is 03 and in GX 0500. 03 is not in GX. I can't make it work. modbuscomp.pdf
  17. Hi,  I have a problem with modbus communication. I set everything as shown in the pictures and I get a error 04. What is wrong ? program.bmp ustawienia.bmp
  18. RJ71C24

    Hi, I want to set communication between ABB CI853 Modbus Master module and Mitsubishi RJ71C24 module. I tried with predefined protocol (you need to set slave address, but ABB is master), also with non-procedural (with G_Output function block), but without success. I tried connect ABB with QJ71MB91, and it worked because you can then set slave address and a station number, and this can't be set with RJ71C24??? If someone had a similar problem, I'll be grateful for sharing a solution. Best regards
  19. OMRON CP1L PC Link over Bluetooth

    Greetings, My application is utilizing two Omron CP1L PLCs connected through an RS232 serial link to achieve PC Link. We're essentially using this setup to message data between the two PLCs. With a hard-wired link, it works great. I can force bits in the master PLC, and see them in the slave PLC. However our application requires this link to be wireless. We got our hands on two SENA Parani SD1000 units. I've worked with these units previously to connect a serial scanner to a Rockwell PLC quite successfully. After reading through datasheets, we figured out the pin-out from Serial Comms unit fitted to the CP1Ls wasn't quite standard. So we adapted our own cables to re-route VCC and SG appropriately. So with a hard-wired link, this setup works, and the comms units on the PLCs have a nice solid lit up comms light. But with the wireless parani connection, the comms light lights up, but it is very dull compared to the wired link, and we get no data transfer. I've verified to the best of my understanding that the comm settings all match, at 9600 Baud, 8 data bits, 1 stop bit, and Even parity. Just curious if anyone has any suggestions to get this working, or if there are any settings that I might have missed that make PC Link a unique form of RS232 that these parani units can't handle? I've identified online alternative units known as the Promi SD205-OA, which has a pin-out to match the OMRON CP1L PLCs. As far as I can tell though, the units themselves function the same as the Parani SD1000 besides this pin out. Anyone know differently? Presently the serial connections made are Tx -> Rx, Rx -> Tx, Vcc -> Vcc, and SG -> SG. Would I require anymore connections? Our wired link seems to work just fine with just those connections.   Any help would be greatly Appreciated!!
  20. Greetings, I'd like to know how I could configure 2 HMI Kinco with reference MT4434T. I have a PLC with modbus485, a PC with USB-RS485 conversor and 2 HMI Kinco. The PLC have 1 on modbus direction, PLC have 1 and I guess that HMIs  would be 3 and 4. When I work with PC +  PLC  + 1 HMI Kinco, everything its ok. When I tried to connect other Kinco HMI, the connection between all devices stuck. I'm tried many combinations on modbus configuration, station number but I cannot make the modbus net works. Thanks.
  21. Hello people, i need some help. I'm Trying to create a simple program that stores some input's such as Temperature,  Production and Velocity (amongst others) in a machine , so that later i can send them to labVIEW via MODBUS RTU, the problem is i can't send anyregister i want, there was an old program we saved from the PLC that does store them, but uses the registers 199, 519 and 999 (the program reads 50 registers and 20 registers respectively from each register. I then tried modyfing the old program due to my problem to communicate the new one, and out even modyfing the registers won't work,  i'm i missing something?, does the HE-XE102 Horner PLC have a specified number of registers that can be read or sent via MODBUS. Appreciate any answer you guys could give me, Thanks for your attention.
  22. CP1E-N30DT with Hyperterminal PC

    Dear Expert, i'm issue to do communication CP1E with PC via RS232. im try to use plc for sending information and receive by hyperterminal pc. after googling some information there have multiway to success. by the way until now cannot settle. please expert share completed setup that's work: 1. communication cable from PLC - PC (my information use pin (2,3,9 jumper 4&5) - (2,3,5 jumper 7&8) 2. sample program that works (im using TXD & RXD with memory D1000 to keep data) 3. connection cable to PC using MOXA Serial to USB converter. 4. plc serial setting (default: 9600,7,N,1,Host link) my target to give instruction to printer to start print. printer need ACSII code. if this communication success i'm will convert all data to ACSII by ACSII convert function.   thanks,
  23. Hi everyone, I'm trying to connect a computer to a SLC 5/04 via the RS232 interface without success. The same module has been running and connecting/programming via the round DH+ connector just fine. So when I start it up now, I can put it into run mode, DH+ LED blinking. The problem is I can't establish the RS232 connection, first time ever I work with a PLC... I've used two different computers with RSLinx and RSLogix500 installed, one with a proper COM port, one with a USB adapter. When I define a new driver in RSLinx the Auto-Configure gives the error message in the attached picture. I'm using a standard COM port cable plus a F/F gender switcher. Both checked with a multimeter, no twisting or switching of contacts going on. One problem is I don't even know if the RS232 LED is supposed to be active as soon the cable connects the PLC and the computer, or only if there is an active data transfer. So I don't know if the actual connection is at fault, or if I'm doing something wrong in the software.   Any tip would be greatly appreciated!   Volker
  24. Omron CQM1H PLC Online

    Hello everyone, I need help for the titled matter. The problem is that i am using CX programmer v 6.1 trial version 30 days. The error i am getting is PLC failed to connect. so the cable in attachment is right one? It is CN226 USB to Peripheral port cable. DIP switches are all off. Should in set them in on off state? if yes so whats the sequence? Replies will be highly appreciated Thanks
  25. MODBUS-RTU slave

    At this moment I was asked to change one CJ2M's program (in Ladder, and the PLC is the slave) in order to make a list of desired variables "readable" by the master (an host computer/ SCADA) wich is using the protocol MODBUS-RTU. I only have to work on the PLC' side and i only know the name of the variables and their corresponding address.I already read the "CS/CJ Serial Communication Unit Operation Manual" but i still have some doubts:- The only way to define my slave address is done by writing a code to put the value of the address on the corresponding bits of DM area? or can i define the address using some feature of CX-Programmer?- (A CJ1W-SCU41-V1 is already implemented in the field) on the slave'side i only have to make sure the variables are allocated on the right place, according to the master's commands and modbus' addresses, right?- I read something related to the frames sended by the slave as responses for each master's command, am I supposed to write some code to do this task or it is done automatically?- Imagine the master is using the "Read coils" command, in OMRON there are 4 memory area associated to this data model "Coil" by default it is associated to CIO area, can i switch in the slave to Holding area without problem?Sorry about my english and this extensive text. Thanks.