Search the Community

Showing results for tags 'direct ethernet connection'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 281 results

  1. Hi, has anyone tried to get a Mitsubishi iQ-R to communicate with the Keyence IV3 series cameras over Ethernet/IP?  There are videos about how to use the IV3 with Allen-Bradley (Rockwell) PLCs but Rockwell's implementation of EIP is completely different from Mitsubishi's implementation. I am using an existing system with the RJ71EIP91, I have the IV3 EDS file added to the Ethernet/IP Configuration Toll for RJ71EIP91 software, I know I need to add the IV3, set the IP address and connection number. But how do I access the data, and send the trigger for the IV3? The instruction videos for Allen-Bradley uses the I/O tree to create tags and pre-made AOI's to create the logic to do all of the communication work in the PLC code, which is a process that I am familiar with. However, none of that is relevant to the Mitsubishi PLCs.  I figure I have to use somethning like Uxx\Gxxxxxxx in my logic to access the data for the IV3 from the RJ71EIP91 module but not sure how to get that to and from the actual IV3. Does anyone have any ideas? (sorry my initial post was blank, accidentally prematurely posted).        
  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. Pilz & FX5U communication

    Hello, I am relatively new to gxworks and I am struggling to find any help online regarding communicating between a pilz and fx5u. I am trying to communicate between a pilz m b0 & m ES Eth to a FX5U PLC. I am not having any luck with them communicating with each other. On the ethernet configuration on GX works 3 I am getting a constant ‘connecting’ in the TCP status section. I have function blocks setup in the code. The ip address is correctly set on the pilz unit. The PLC and pilz are connected to each other with an ethernet switch, when I am connected to the switch from my laptop I can go online with them both at the same time. If you require anymore information please ask, I understand I am may be missing something. Any help would be very much appreciated
  4. Hi everyone , I need your help !!! I am currently working on a project where I have to control a stepper motor (oriental motor AZD CEP) with a proface HMI. To do this I use implicit Ethernet IP messaging. The problem is this: when I change screens, I lose the connection between the two devices. After 20-30 seconds, the connection is reestablished. I've already spent two days on it and I can't figure out where the problem is coming from. Does anyone have any idea what's wrong? If you need additional information or screenshots to understand, let me know. Thank you in advance for your help.
  5. Hi all , I have been using MELSEC - Q series plc for the past two project i dont find any issue with that but for the third project  used same PLC same model but there is issue which I found unable to resolve  The issue is when i try to communicate PLC using LAN cable by direct ethernet connection it works normally but by communicating using HUB network I cannot communicate, I checked all the parameters setting, I dont know what is the issue even contacted mitshubshi service to troubleshoot but they are not responding  So here i am for your guidence to solve this issue   see the images below to analyse this issue This connection is direct ethernet connection which works normally    The parameters are set and writed to PLC The IP is set to my PC for communication  When i try to find the cpu in the network it shows the cpu IP  After that I checked for connection Test it show error I have also attached the Network route which i used to communicate  Network Drawing.pdf I hope someone will help me to solve this issue Thank you , madhan ravichandran
  6. Hi there! I've been looking for some fault codes table for the 1734-AENTR adapters, since I'd like to show a message in HMI with some information when there is a faulty adapter, but I haven't found anything on the internet. So my question is, is there any type of table like this for these adapters? Right now I have a PLC with some AENTR adapters in the program for testing, and since there is actually no adapter connected to it, I can see a 16#2024 error in the module properties, but can't seem to find that info in the module variables.   Do you guys have any clue on how to find this information in order to show it?   Thanks in advance!
  7. Good afternoon, I've done a bit of research in regards to running a Zebra printer via ethernet from an Omron PLC but there's not much info out there. Has anyone had much success printing barcodes to a Zebra printer from PLC via ethernet? I'm using an Omron NA5 (HMI) which I've designed to displays 12 different buttons indicating different barcodes, but I'm unsure how to link these buttons to the specific barcode files that I've created in Zebra Designer.. Would anyone know how I might be able to accomplish this?
  8. Hi All, I am working on a project using and NJ101 to communicate via CIP Ethernet to a PC based vision system. The vendor that makes the vision software has previously only worked with Allan Bradley PLC's and only knows how to setup communication using the Generic Ethernet Bridge. From what I can see this Generic Ethernet Bridge is essentially a generic EDS file that you are adding some parameters to (Input Instance, Output Instance, Configuration Instance) and it takes care of the setup. Is there any way to do this with Omron Sysmac Studio or Network Configurator? I have had some success CIPOpen, CIPSend, CIPClose function blocks but it is pretty clunky, I would prefer to have something more cyclic running in the background more like a standard Ethernet IP device.
  9. Hello, I was wondering if it would be possible to get a click PLC to communicate with a Fanuc robot over ethernet/IP when the robot has the ethernet/IP adapter package.  I am a little new to this, but I am worried that I might have to have a scanner / master in order to be able to communicate over ethernet/IP.  Thanks in advance for the assistance. 
  10. Remote reset R08 PLC from HMI

    Hi , I would like to perform remote reset the R08 PLC from the HMI in order to reset the communication. Please let me know, if there is a way to reset the Modbus port as well. Thanks in advance !!!
  11. Remote reset R08 PLC from HMI

    Hi , I would like to perform remote reset the R08 PLC from the HMI in order to reset the communication. Please let me know, if there is a way to reset the Modbus port as well. Thanks in advance !!!
  12. 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!
  13. 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?  
  14. I currently have two NX1P2 PLCs communicating back and forth over ethernet IP. However, I am looking to expand this project across multiple PLCs and I need a way for one PLC to see all other PLCs that are connected to the LAN network via Ethernet IP. I can use the _EIP_EstbTargetSta[255] function which is a boolean value that returns true if there is an established connection  to a device where the last octet of the IP is specified in the array [255].  This function works well but my PLCs are configured with the subnet 255.255.0.0. And I need to see the connection status based on the third octet. Is there an existing function that I can use, or is there a way to view the full structured text for the _EIP_EstbTargetSta[255] function and modify it to suite my specific application? 
  15. Hi everyone! I am attempting to read EIP tags from an Allen-Bradley ControlLogix from an Omron NX1P2 using the Sysmac Studio function block "CIPUCMMRead." I have been successful in reading arrays and single variables no problem. However, when I want to read arrays from a structure in the Allen-Bradley PLC, I always get an error code in the CIPUCMMRead ErrorID of either 0400 or 1C00 for ErrorID and ErrorIDEx is FF00 2105 depending on what I enter in for Size on the function block (attaching screenshots with both error codes).   The errors show on multiple "read" function blocks at once but it only affects data coming out of the function block where I try to read in a BOOL array from a structure in the ControlLogix PLC. If I enter a UINT#1 for the Size, I get ErrorID 0400. If I enter UINT#2, 3, or 4, I get ErrorID 1C00 with ErrorIDEx being FF00 2105. I've been digging for a while and can't find that specific combo of codes, but it looks like it's a size issue. From what I can tell, the Size is in Bytes. So if I have 32 Bools it should be a Size of UINT#4 max, right? Any help would be greatly appreciated! The function block having issues is setup the exact same as the other two that read from the same structure; I even copied and pasted them from each other and just changed the FB name and the postfix in the SrcDat string (from MyBools to MyDints/MyReals). Here are the screenshot: 1. Allen-Bradley Structure 2. CIPUCMMRead Function Block with size 4 3. CIPUCMMRead Function Block with size 1
  16. 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 ?
  17. Omron FINS/TCP Reconnecting

    Hey I'm trying to implement reconnecting for FINS/TCP protocol, according to W421 Omron documentation (link: https://assets.omron.eu/downloads/manual/en/v4/w421_cj1w-etn21_cs1w-etn21_ethernet_units_-_construction_of_applications_operation_manual_en.pdf ), but it not working. According to diagram in 7-4 section at 183 page, after connection lost and restore connection to the Internet, Client(PC) should again connect with PLC using the same Client(PC) FINS Node Id. PLC should detect connection error and response with error code 00000021 hexadecimal: Specified node is already connected. It works. After this should I close socket (created after restore connection) or this socket should be closed automatically by PLC? Then I should create new socket (third) and connect with the same Client(PC) FINS Node Id should be possible. But i've got "Specified node is already connected" error again. PLC dosn't forget before connection. Why? What I'am doing wrong?   // Client FINS Node id = 50, Server FINS Node id = 10. Standard communication works public void TestReconnect() { // connect on TCP Layer this.tcpClient.Connect(base.ipEndpoint); // NADS Frame - finsClientNode = 0 - autoallocation this.SendNodeAddressDataSend(); // Power interruption!!! // creating new socket, old socket is unavailable this.tcpClient = new TcpClient(); // connect on TCP Layer this.tcpClient.Connect(base.ipEndpoint); // NADS Frame - use finsClientNode autoallocated before // should return error "The specified node is already connected." this.SendNodeAddressDataSend(); // disconnect on TCP Layer, should i do this? this.tcpClient.Close(); // creating new socket, old socket was closed this.tcpClient = new TcpClient(); // connect on TCP Layer this.tcpClient.Connect(base.ipEndpoint); // NADS Frame - use finsClientNode autoallocated before // shouldn't return error "The specified node is already connected." // because connection with this node was closed before this.SendNodeAddressDataSend(); } private NodeAddressDataSendResponse SendNodeAddressDataSend() { /* byte clientNodeId = finsRequestDataProvider.GetClientNodeId(); byte[] header = new byte[] { F, I, N, S, // 'F' 'I' 'N' 'S' 0x00, 0x00, 0x00, 0x0C, // 12 Bytes expected 0x00, 0x00, 0x00, 0x00, // NADS Command (0 Client to server, 1 server to client) 0x00, 0x00, 0x00, 0x00, // Error code (Not used) 0x00, 0x00, 0x00, clientNodeId // Client node address, 0 = auto assigned };*/ var nodeAddressDataSendRequest = this.finsRequestFactory.CreateNodeAddressDataSendRequest(); var nodeAddressDataSendResponse = this.Execute(nodeAddressDataSendRequest); this.finsRequestDataProvider.StoreAutoallocatedNodeId(nodeAddressDataSendResponse.ClientNodeId, nodeAddressDataSendResponse.ServerNodeId); return nodeAddressDataSendResponse; }   Thanks for any help          
  18. Hi gentlemen, I have I bottle capping machine and I'm reading the torque value from one of the Sureservo2 drives. As the bottles pass through the machine, I need to display the peak torque value and hold it until the next bottle passes through. This machine could run up to 100 bottles a minute. I would also like to display a 10 bottle peak torque average. Does anyone know of a good way to do this? Any help would be appreciated.  
  19. 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
  20. 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
  21.  We have been tasked with saving money on equipment within our 4 plants here in the USA. I would like to investigate using low cost HMI's, I've had great success using C-more in the past. Has anyone had any of the several low cost HMI's attached to Emerson PAC (AKA GE Prophecy) PLC's? has there been any connectivity issues? I'd like to try one to replace the Emerson HMI's which are hard to source, and expensive. I believe any time setting up a low cost option would offset the cost of the Emerson, and open up our choices of HMI's and not be boxed in to one brand. We also use Profinet along with Ethernet connection, I believe the Emerson HMI only uses Ethernet (for us) but if there is a Profinet version that is easy to set up, that would make it an easy sale for me.   This HMI would also have to work with the older 90-30 series PLC's, but i'm pretty sure the communications have not changed much from the to the stand alone RSTi-EP and RX3i PLC's. Any advice would be appreciated.  Have a great week. 
  22. Hi. what i've gathered, i need an EDS-file for the siemens s7-1200-system to be able to specify an ethernet connection in sysmac from the omron plc side to connect to the siemens ethernet/ip server. Anyone know where or how to get an EDS file for the siemens plc so i can import it into EIPprofiles in sysmac?
  23. GOT2000 <-> Omron CJ PLC

    I have an application where I'm using GOT2000 to read data from the weighing unit using RS232 and I send this value to Omron CJ2M through Ethernet/IP. Some variables from that PLC are connected to the elements of the HMI. The problem is when writing the weight value to the PLC through script or Data Transfer is disabled, the RS232 reading works fine, it's fast, etc. However, when I enable the script which writes data to the PLC, the RS232 slows down by a lot, like it refreshes every 2-3 seconds. If i set the script to execute like every 1-2 seconds, it is working better (still slower compared to when the script is disabled) but I cannot leave it like this, because the weight is used to control some valves, pumps, etc. Enabling script doesn't slow down normal communication with PLC, because I tried to test it by displaying the value of seconds from PLC on the HMI and it refreshes every second. Does anyone have idea why such tiny script causes so many problems with RS232?
  24. I'm trying to exchange some data between two controllers. I've used a manual which describes Tag Datalink communication. Everything works fine on the Bradley side, which means I can read values from Omron without problems. However, on the CJ it isn't working. In the Network Configurator I get error every 10 sec (Tag data ling error, code 03D5) and cannot read any data from AB. When I open Connection Structure Tree I see that the input tagset from AB has 'Broken path (0000000000000)' and Unknown Device right next to IP address. I've tried using EDS from the Rockwell as well as uploading it from AB PLC directly - I don't know if it might be EDS issue. The only thing I noticed that inside CJ2M-EIP21 EDS it says that Ethernet/IP is Class 1 connection, however in the 1769-L35E EDS Ethernet/IP is Class 2 connection. Have anyone ever had such a problem?
  25. Hello all,   I am working on a batch computer for a concrete mixer, and the computer that was running the plant before has stopped functioning. It was an old PC running MS DOS. The code is encrypted and replacing it is not a cost effective option.   I therefore am looking into using a PLC to control this batch plant. I have a setup that was in progress by another employee who no longer works for us, it is a CLICK PLC from Automation Direct, and it is supposed to be paired with a EA9 T8CL touch screen HMI from the same company. I would like some advice on just some basics, I would greatly appreciate some input.   I essentially only have one input, and that is an analog scale, 0-20mA input. I have digital outputs for sand, gravel, cement powder, and a water meter for adding water to the mixture. I have one final output, an additive for reducing the required water in the concrete.   What I would like to create is a program that when it is told to start, looks at the scale, and if the scale is less than say 100 pounds, opens sand until it hits 1700 pounds (as an example), then turns it off. Then it turns on the gravel and adds that for another 1700 (again for example, all these are variable), turning the gravel off after. Next the cement, and so on. I don’t need someone to write the program for me, but can someone point me in the right direction on using an analog input to turn digital outputs on and off? Again, your help would be greatly appreciated.   Thanks for taking the time to read this long post.