Search the Community

Showing results for tags 'rs485 connection'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 104 results

  1. Is it possible to connect an old Beijer E300 terminal to a Mitsubishi FX5U base unit via a serial interface (RS422 or RS485)? And which protocols do I need to select?
  2. Hello! I have TIA portal V19 version installed and I have a project with CPU 1513 PN and KTP900 panel. Connection between panel and CPU is not working. With older version, V18 it is working fine. Any ideas?
  3. Fx3 communication RS485

    Hi, I have a problem with communication of FX3 (Le3u) with the PT100 extension (pta8d08) via RS485. I use IVRD function. Can you check my project and give me some advice on what might be wrong? I connected to the board using a PC and read the first register.    Best Regards 
  4. Hello, I'm a little experienced, a little new with (I hope) a fairly beginner question. I've got a customer that has a pre-existing HMI running a Factorytalk View SE - Network program.  The customer would like to make some changes to the HMI, and I feel pretty confident that I could do this; the only problem is I'm having difficulty connecting to their system and downloading a version of the program that I can edit. Almost every How to video and instructional PDF that I can find appears to start from the premise that I created the program and have an existing copy on my computer or am starting from scratch, but that is not the case.  I know the IP address of the Networked PC that is running the HMI and can ping it etc, but I do not know how to connect to it.  I even have a copy of almost all of the files that the PC is running from the customer, but do not have a file that I can open in FTView to edit or change then download; I think I'm missing the .cli file or somesuch? Do I have to be directly logged on to the PC or can I be on my programming laptop and connect via Ethernet->switch->PC (I think I need FactoryTalk Linx for that, which I have a licensed copy of)?  I know that Machine Edition requires a .mer file to be able to open and edit an HMI program, is the network edition the same? Any help would be greatly appreciated!
  5. Greetings I'm new in RS-485 protocol and I need to communicate a motor driver from Roboteq which is "FBL2360" whit a FX5U-32MR.   I'm confused of how to get the proper connection and how to transfer data from the PLC to the driver
  6. Hello! I'm currently using NB designer v1.531 (Build 210511) and I'm having compilation errors. It states: Connecting... Connection Error PT HMI0 Compilation error! Cannot create pkg files! I'm have trouble understanding, what does this error mean? I'm not connecting to any HMI, I just want to compile the program and test it offline. The weirdest thing is that if i click "Compile" enough times, it will eventually compile, but this is really interrupting the workflow. Does anybody else have this issue?  
  7. S7 300

    Hallo, I have two operational S7 PLC's : 1 x  S7-300 and 1 x S7-1200. Both PLC's I want access in our internal netwerk, but S7-300 have only a MPI-connection and not a RJ45-connection (profibus) What can I do to access both in the same network ?
  8. CP1L Serial TXD Data Error

    Hi, I have a problem with serial communication (no protocol) using rs485 module, the received data is error. I'm using CP1L CPU, CP1W-CIF11 module as transmitter, and USB to RS485 converter as receiver. When I check the received data on PC, it's incorrect (bit error?). I just send 2 bytes data, 0x61 ('a') and 0x62 ('b'). My configuration: DIP switch CPU 4 = off, DIP switch CIF11 1 to 6 = on,on,on,off,off,off, 2 wire RS485. (I also attached the program and settings) https://postimg.cc/gallery/pr293Jc   Could you help me to solve this problem? Thanks   Program and Settings:     Result:   
  9. Hello everyone, I want to use my own computer as plc. I have a molex brand SST-PB3-PCU SST card. I will connect my I/O modules to the profibus adapter, then I will connect the adapter to the SST card. Can Codesys see this SST card and if so how do I make the connection. I can connect this type of connection in the InControl (an old software) program that I used before.  Please Help Me!! The Board I use to connect the I/Os to the computer: SST-PB3-PCU  Profibus Adapter to which I connect I/Os: 1794-APB | Allen Bradley PROFIBUS Adapter Module My I/O Modules: Allen Bradley 1794-IB16 and 1794-OB16 My OS: Win10 64 bit Codesys Version: CODESYS V3.5 SP18 Patch 3
  10. Dear all, I'd like to get your support on the issue with OPC UA certificate. My OPC UA server has been built with Node.js. The PLC S7-1500 (firmware v2.9) acts as OPC UA client. It's working well without certificate but when I use certificate, there are 2 situations: 1. When connecting using "Online access" (as attachment) in the "OPCUA Communication >> Client interfaces", I can connect with certificate (after I export and copy the PLC's certificate to the trusted folder of the server). --> server is ok. 2. When coding and running with real PLC: can't connect, there is even no PLC's certificate on the rejected folder of the server and there is no any error, the Status of block "OPC UA Connect DB" is still 16#0000_0000. So, what I did with certificate in TIA Portal (V17) are: - Enable the Global security setting for certificate manager - Created (and tested) with both self-signed certificate and CA certificate for PLC - Added server's certificate to trusted list in "Certificate manager" of TIA Portal (also added to the "Certificate of the partner devices" in  Device config) - In "OPCUA Communication >> Client interfaces", chose the Security Mode/Policy and PLC's certificate (already tried with and without this setting) In my point of view, the problem is that the PLC received the certificate but somehow it didn't read correctly or didn't compare with the certificate in the trusted list because if the PLC does this step, it should send its certificate to (the rejected folder of) server. Could anyone help me to solve this issue? Thank you in advance.   [Update] 1.The PLC throw the error code 16#8016_0000 (BadCertificateHostNameInvalid/The HostName used to connect to a Server does not match a HostName in the Certificate - as I searched in google) but it's very quick so I could not see this behavior at the beginning. 2. I have tested with UA Expert, I can connect without any problem/warning. So, the high confidence that problem comes from PLC. ----------  Best regards, Danh Vo
  11. I would like to get some feedback or alternate suggestions in terms of monitoring a database connection. The attachment here shows the current programming for the DB_Connect function block which requires the Execute input to constantly be ON.  From what I can tell, if the connection is dropped - let's just say the Ethernet cable is unplugged - this input will still be on, and according to the function block, still connected. The Get1minClk is in place to continuously try establish this connection once powered on, but I cannot find any way to periodically check this connection without dropping it and reestablishing it.  My understanding is the _DBC_Status.Run only checks that the PLC service is running properly, but is there a way to monitor a heartbeat of the connection TO the database?  The only way I've found thus far is to drop the connection and reconnect.  But this would be detrimental to the system as it would possibly be reconnecting to the database while trying to write to out to it and hold up the show.  As it stands in the second image, the Ethernet cable is unplugged, but the connection shows no errors. Thanks and happy Friday! -K  
  12. Hi, So I have a problem, that BootP DHCP server doesn't find my 1734 AENTR series B and so I can't assign IP address to it. Been trying many things. Any advice? I'm new to AB and I guess it may be a really easy thing but so far I didn't find a solution. 
  13. Hello, I am rather unexperienced with PLC's but have some experience. I Currently have 2 Lexium ILS1 motors which we want connected over RS485.  I have read a couple of manuals. I have found which format they want to receive their data and what the pinout of their pre assmbled cable is (which hasn't been delivered yet).  I am currently unsure about a couple of things. The wiring the formatting of my data i'm sending, and the program.   The pictured below show my motor (which runs when i connect it to the PC and run it using the software provided so it is in working order) and the PLC with option port (which i used to transmit data to another PLC, so again i can't blame the hardware for being at fault here). However when i connect the cable and try to communicated I Don't see the LED light up. I followed Lexiums guide on which pins to use. But i figured for good form i might include these pictures to be certain hardware is correct.      Finally here is my program. I followed Omrons quick start instructions. But: my send ready flags never become high and the way data has to be formatted for these lexiums seems very labour intensive. But this is how i understood it needed to be done. Am i doing something (or a lot) wrong here?      I hope someone can help me out here! If any further information is needed i'll do my best to provide it.   Kind regards.
  14. Hello, I have noticed that a frequent product here is the I-7561U. I'd like to know your reviews. What are you using it for?
  15. Here is a post that we recently completed on the Automation Direct USB to RS485 Adapter.  The USB-485M is a 2-wire USB to RS-485 serial communication adapter for RS485 use. It does not require an external power supply or complicated configuration. It has a Type A (plug) USB connector for the computer side and a universal female RJ45/RJ12 modular connector. This will accept RJ12 and RJ45 plugs.  The USB-485M supports multiple baud rates and is USB V2.0 Compliant. Read the rest of the post... YouTube Video on the installation and communication to a Solo Process Temperature Controller via Modbus RTU. https://www.youtube.com/watch?v=aWE05ZNZNXw Let me know what you think, Garry www.accautomation.ca  
  16. RS485 COmmunication

    Hi all, i am looking for a solution to connect 7 plc with a single scada. is it possible according to my topology diagram ?   Kindly make me suggestion and if you have any information regarding the solution then share .   Thanks in advance. 
  17. We have an SLC 5/05 on our automation network, one of several SLC 5/05 processors on site.  It functions perfectly well and no ethernet messaging issues or SCADA drop outs.  The difficulty I am experiencing with it is when I am required to fault diagnose it takes a very long time to get online to it with our laptop running RSLogix500.  It sometimes takes as long as 10 minutes.  It makes no difference whether I use the Ethernet devices or the EtherNet/IP Driver in RSLinx, it nearly always takes an age which is frustrating in a breakdown situation.  I don't ever experience these long wait times connecting to any other of the SLC 5/05 controllers or any other controllers for that matter.  Once I am connected to the problematic controller I don't experience any issues, it's just the initial time getting online.  I try to leave the laptop permanently connected to it to avoid the long wait time to connect.  When I open RSLogix500, select Comms, Who Active Go Online, Ethernet devices driver, I can see that the problematic 5/05 has Active as its Status whereas the other 5/05 processors have Remote Run as their status.  Please can anyone advise as to any possible program parameters, RSLinx settings or hardware faults I should be looking for?  I have considered it could be a network problem but I'm unsure about this given how the processor performs well in every other regard. Neil
  18. Mitsubishi Fx2n Modbus rtu vfd

    Hello everyone, may you all bless with the best. Can anyone please help me on connecting and programming In Modbus rtu INVT CHF-100A vfd with FX2n having rs485-bd module. I want to connect 11 vfd and one fx2n plc also .
  19. Mitsubishi Fx2n Modbus rtu vfd

    Hello everyone, may you all bless with the best. Can anyone please help me on connecting and programming In Modbus rtu INVT CHF-100A vfd with FX2n having rs485-bd module. I want to connect 11 vfd and one fx2n plc also 
  20. Hello, I've been using Mitsubishi and Omron systems separately (in their own environment), and I am fairly new when it comes to connecting these two brands together(plc and hmi). I've been scouring the net for wiring diagrams for the cable connections and also the parameters to be set for a successful communication between those two components. can anyone point me at the right direction as everything I've tried so far has been a failed attempt of making these two communicate. here are the parts and my current settings if this helps: FX3U-64M FX3U-232-BD NB5Q-TW00B or better yet, is there a proper cable that I need to buy for this to work?
  21. Hi all, New to the forum. I've been pretty much able to do the things I wanted with Beckhoff, but now I'm finally running into a problem I can't seem to solve alone. I'm trying to set-up Modbus RTU RS485 communication in Twincat3, using an EL6021. I've implemented a sample program from the Beckhoff website, but can't get it to work. I've got the feeling I need to properly set up the EL6021 but most information on the Beckhoff website is about the KL-series IO. Does anybody have experience with this? The strange thing is that, when I enable the function to read some slave's registers, BUSY is set and remains set. No timeout is triggered. I don't have a slave connected yet but I would at least expect to see something on the output of the terminal, and then a timeout. I've bridged TxD+ and RxD+, and TxD- and RxD- and set 8000:06 of the EL6021 TRUE, half duplex mode enabled). A scope connected to TxD+ and TxD- shows nothing. Code added below. I've added a GVL called 'Variable_Configuration' with the following: VAR_CONFIG     Main.MB.InData AT %IB0 : MB_KL6inData5B;     Main.MB.OutData AT %QB0 : MB_KL6outData5B; END_VAR And then the MAIN: PROGRAM MAIN VAR     bIoSyncMaster AT %I* : BOOL;     MB : ModbusRTUmaster_KL6x5B;     MBLedDriver : ARRAY[1..10] OF WORD;     tmpExecute : BOOL;     bError : BOOL;     bBusy : BOOL;     iErrorId: MODBUS_ERRORS;     iNoDatByteRead: UINT;     count: INT;     freebyte: INT;     TxError: INT;     TxBlocked: BOOL; END_VAR MB(     UnitID:= 41,     Quantity:= 4,     MBAddr:= 16#0020,     cbLength:= SIZEOF(MBLedDriver),     pMemoryAddr:= ADR(MBLedDriver),     Execute:= tmpExecute,     Timeout:= T#5S ,     BUSY=> bBusy,     Error=> bError,     ErrorId=> iErrorId,     cbRead=> iNoDatByteRead);      MB.ReadRegs(); count := MB.MBMaster.com.Buffer.Tx.count; freebyte := MB.MBMaster.com.Buffer.Tx.FreeByte; TxError := MB.MBMaster.com.Buffer.Tx.Error; TxBlocked := MB.MBMaster.com.Buffer.Tx.Blocked; tmpExecute:=FALSE;    
  22. RS485 with CX7080

    Hello i'm newbie. I have a problem with RS485 on CX7080. Busy always True and data=0. I don't know the reason. Please help me! Thank you!
  23. Hi all, currently I'm using NX1P2 PLC for my project. So I'm just using it to transfer data from PLC to my PC but I faced 1 major problem right now which is the connection. I have few experience working on PLC but this time I faced an issue which I don't know how to solve it. So the problem here is, my NX1P2 can't connect stable to my my PLC, initially I thought it was the cable problem, after I changed several cable it's still the same, so I thought it was my ethernet port problem but I can connect it to the internet and also Delta PLC, at last I thought it was PLC problem so I connected it to my colleague PC, they got a stable connection and able to program it. My ethernet keep on displaying "Enabled > Identifying > Unplugged", I check my Ethernet port, it using Intel(R) Ethernet Connection (6) I219-V. Tried to solve it for few days already, anyone faced this problem before? 
  24. CP1L Unknown IP

    Hello. I have CP1L EM30 with unknown IP. I have tried to use "Direct Ethernet Connection" with "Network Browser" but with no success. I have manually set the ethernet IP4 address to 192.168.20.20 / 255.255.255.0 I've got error: "The OMRON Ethernet Direct Connection Manager service is starting in Safe Mode because Windows APIPA is enabled. (0x82020003)Omron.Cxmw.Modules.SystemLibrary.SysLibException" The PLC does NOT have default ip 192.168.250.1. What Can I do? Please help. Thanks. BR, Andrej.  
  25. Greetings everyone, I have a TIA V16 project in which I set up 7 drives to communicate with an S7 1500 controller via RS485 using USS protocol. The drives are Simatic V20s daisychained to the bus and are properly terminated with resistors. I use the USS DRIVE CONTROL 31 function block for each drive all located in a single FC and all using the same single instance DB as recommended by Siemens. I then call this FC containing the FBs every 120ms from the MAIN OB. I then call the USS PORT SCAN 31 function in a cyclic OB set at 70ms cycle time. In each V20 i use PZD word length of 2 and a PKW of 4. Both setpoint and commands are sent through USS. What I have observed is every time take out incoming power to any one of the VFDs, the rest of them get F72 comms error and fail to communicate with the PLC. Is this behaviour normal? What causes it? I use an RS485/ 422 PtP BA module sending data at 19200bps. Strangely enough it doesn't show any fault even though the diagnostics interupt setting is enabled on it. What I noticed is that as I was setting up the VFDs one by one, the F72 fault on the BOPs only pop up on an already configured drives. So, the VFDs that hadn't been commissioned yet for RS485, but were already physicaly terminated/ connected to the PLC, didn't fault the bus when they were powered down. They only faulted the bus upon switching them off only after RS485 activation (post commissioning).