Search the Community

Showing results for tags 'ethernet/ip'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 239 results

  1. 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?
  2. NX-EIC202

    Hello my question is off you can change the ethernet/ip adres else than 192.168.250.xxx  or 192.168.1.xxx. We need for our instalation 192.168.0.xxxx Thanks
  3. NX-EIC202

    Hello, The question is whether it is possible to use a different IP address than what is stated in the manual 192.168.250.xxx or 192.168.1.xxx We need for out installation the 192.168.0.xxx Thanks
  4. Hello  We are developing our own EtherNet/IP device (Relay). We have the stack running and all Implicit and Explicit messages work well. My question is on the EDS file and the data types: I’m trying to get the input and output tags of Class 1 messages (Allen Bradley 1769-L16ER-BB1B in Studio 5000) to match the data type, stipulated in the EDS file. Seems like I can't paste images here, I will try to explain from my EDS and Studio 5000. In my EDS, Connection Manager - Exclusive Owner D, T->O Format refers to Assembly4. Assembly 4 refers to Parameter 1. Parameter 1 has a Data Type of UINT (0 - 65535).   Then I Imported this EDS into Studio 5000. I select Connection Manager - Exclusive owner D. Then I can choose between SINT and INT, both of these data types are signed. How do I change the EDS file so that Studio 5000 will ONLY give me UNIT as an option? Help will be appreciated. (EDS attached) marinus           NE_MA_BBRTU_EthIP-Ver1.7.eds
  5. Ethernet IP setting from HMI

    Please suggest, if the IP address of the PLC shall be set from the HMI.
  6. I am starting up equipment at a customer site, we sell sets of equipment, there are 4 pieces in each set with 4 separate controllers, each with a CJ1W-EIP21 card.  The 4 systems communicate with each other over Ethernet/IP to control our process. The customer at this site has also requested to monitor our equipment using FINS via the same Ethernet card, but when I changed the settings in my card for their network it seems I lost my Ethernet/IP communications. The only changes I made were to set the Conversion to IP address table on the FINS/UDP tab and to add two nodes to the IP address table, I also created a routing table with CX-Integrator...could this have broken my Ethernet/IP communications and is there a way to get it back?   Thank you!!!!    
  7. I need some help and advice communicating between an Omron PLC and a Keyence KV-5500. My system typically uses an Omron CJ2M-CPU34 which comes equipped with the built in Ethernet IP port.  My customer is insisting that we change the CPU in our system to a CJ2H-CPU66-EIP in order to communicate with the Keyence KV-5500.  They have not been able to detail why their communications require the CJ2H, they just say they will be using Ethernet TAG communication and for this they need us to change the CPU. Has anyone successfully established communicated between the Omron PLCs and the Keyence?  If so how did you do it and which CPU did you use?  Is there an .eds file available for the Keyence CPU? Please help!!! They will be visiting from halfway around the globe to test communications in January so I want to be prepared!
  8. 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).        
  9. Hello, I am new to this forum. I have been finding great information here and elsewhere, but so far not exactly what I am looking for. Has anyone used a Micrologix PLC to read messages from a large number of other micrologix PLCs? I have used this instruction successfully with serial and Ethernet communication but only with up to 4 or 5 other controllers.  One constraint I have already run into is the max size for data words in this processor of 10k. I was able to reduce the number of words I was reading and at this point am using about 2k for the interger files to be populated. There are 24 integer files with 80 elements each. The other issue is with the amount of data each RI file uses of 24 elements.  The idea in this application - which is a water utility - is to have all data exist at all sites. I was originally going to use the Maple Systems CMT3261Xv2 HMI which is installed at each, to poll all the sites, but I don't have a high degree of confidence in its ability to do this based on bench testing I have done. I will keep working with Maple tech support to figure that out. But I also need some of the data traded between PLCs for other reasons, so having all the data in the PLC registers is a bette solution if I can make it work.  Since each PLC needs to have data from each of the other PLCs, having a master read and write to all the sites would overwhelm the processor in terms of data used (24sites x 24 MSG instructions per site x 24 words per MSG instruction = 14k words). Also, I don't want to write all that code, since with the ML1400 I don't believe there is a way to use indexing on the MSG instruction. (I could use a Compactlogix as the Master, but presently don't have that in the budget. Also, by using another ML1400, if the master PLC goes down for some reason, any other PLC could become the master.  So my solution is to have the master read the 80 words from all 24 slaves into each apointed integer file and then have each "slave" read data from the master for each of those integer files. That will use 80x24 words for the integer files and 24x24 words for the MSG instructions for a total of 3k words used. The rest of the application uses little data at each site. But by having each slave read 24 data files from the master, I can just copy and paste the routine into each slave. I have already created a template for these sites, so I would just need to include the proper messaging routine.  I have 10 ML1400 PLCs for bench testing, but I am worried that having all 24 in action might create problems I am not forseeing. For example, is it possible that having 24 processors read from one processor in an unregulated manner would cause data collisions? I know it is Ethernet and that is less of an issue, but I just don't know. I also don't know how I would regulate it. In the past I've used timers, but I don't want to slow things down since there are so many messages.  I also don't know the best logic to use for the messaging. In the past, I have used cascading logic in serial communication where after one message is done or errors it triggers the next message and the last message triggers the first. Then I had a watchdog timer to restart the routine if it got hung up for some reason. I have seen many examples where one rung has the MSG instruction and the next rung has an unlatch instruction triggered by DN or ER from the MSG instruction. Presumably when the first 4 buffers fill all the rest would be put in the que, but again, I am not sure what unexpeted consequences would occur with that many messages. I don't know what is the best practice. I have yet to find examples of this online or with Rockwell.  The physical layer is high-speed internet using a dedicated LAN for the application. We are using fiber for about half the connections and Cambium gigabit radios or 900mHz radios for the others where the lowest throughput is probably 1mbs, but most connections are over 100mbs. The plan is to be able to monitor and program each PLC and HMI remotely once the system is operational.  Thank you in advance for your consideration and expertise.   
  10. I am a newbie when it comes to Ethernet/IP communication and Allen Bradley PLC setup. I have written a program in PLC to communicate with my device over Ethernet/IP communication. Communication is work fine for 1-2 hours, but later class 3 communication stops.  I captured wireshark log to debug the error. But on wireshark, I see the communication between IP address of PLC and PC port only. There is no device IP captured in wireshark.  My first question is - Is there any setting in PLC and wiresahrk to capture class 3 packets? Also, in wireshark, I see error packets "Embedded service error" when I connect two devices in line topology. When checked on Studio5000, Module shows ring fault status.  I am not sure why it took as ring topology, while my device is connected in line topology. I am not able to change it from ring to any other topology.  Can someone guide me here, how can I remove this ring fault? and what does this "Embedded service error" means? Thanks in advance!!!  
  11. NX1P2 conection a CJ2M

    I made an Ethernet connection between an NX1P2 and a CJ2M using network configurator and I already have a real-time data input and output connection in the memory of both plcs. I need to send a 20-byte word and when the NX1P2 is modified in the CJ2M using Sysmac Studio, it receives that string of bits, decompresses each bit to be able to activate the NX1P2 outputs.
  12. I have a setup the contains the following components that are locally connected through an Ethernet switch: FX5U PLC ------------------------ IP: 192.168.10.10 GOT GS2107 -------------------- IP: 192.168.10.18 2x DAQ LabJack T7 pro ------ IP: 192.168.10.13     and      192.168.10.15 My laptop ------------------------- IP: 192.168.10.11 I am using the DAQs to be able to read many Analog signals. The DAQs working as servers, while the PLC is the client. They are connected through Simple CPU Communication function in Gx Works3. The PLC is reading the holding registers in the DAQs at a specific timing rate (100ms default). I tested the communication and it is working good. Here is the problem: If the laptop is directly connected to the network through the Ethernet switch, the communication times out after some time (few minutes up to like 30 minutes). I checked this through the Simple CPU Communication Diagnostics as shown in the photo. I don't know why this happening. I tried many things including: 1. Reduce the communication execution interval. Instead of 100ms, I changed it to be 200ms. Still have the same issue. 2. I tried to avoid connecting the laptop to the Ethernet network by connecting the PLC through the GOT which has a USB port. The connects the PC to the GOT USB port. It is working without timeout. I mean I can program, monitor, and watch the PLC by the laptop through the USB connection to the GOT. However, I want to log some data using the CPU Module Configuration Tool software, which supports only Ethernet connection to the PLC. Also, I want to use the real time monitoring through the GX Logviewer software, which also supports Ethernet connection only. 3. I have setup the External Device configuration to have MELSOFT Connection module and two active connection module, but still have the same issue. Another annoying point is that I cannot detect the status of the connection. I have to keep watching the Simple CPU Communication diagnostics. Could you please help me to solve this issue. Regards, HZ Image.jfif
  13. 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
  14. 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.
  15. 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
  16. 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!
  17. 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.
  18. 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. 
  19. 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 !!!
  20. 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 !!!
  21. 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? 
  22. 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
  23. 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          
  24. 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?
  25. 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?