Search the Community
Showing results for tags 'ethernet'.
-
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?
-
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.
-
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.
-
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
-
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
-
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
- 28 replies
-
- mitshubshi
- plc
- (and 9 more)
-
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!
- 2 replies
-
- allen bradley
- aentr
-
(and 7 more)
Tagged with:
-
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.
-
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.
-
Connecting Multiple PLCs over Ethernet/IP
MatthewDuhamel posted a topic in NJ Series / Sysmac Studio
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? -
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
-
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?
-
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?
- 3 replies
-
- cj2m
- allen bradley
-
(and 2 more)
Tagged with:
-
Hi all; I have Delta DOP110 IS hmi and i have a modbus tcp device. I want to communicate hmi and device with modbus tcp/ip but i didnt understand device's register address. For example, input bytes 0,1 analogue control word, What is the register address? 40.000 or 40.001 can you help me ?
- 6 replies
-
- ethernet
- modbus tcp
-
(and 2 more)
Tagged with:
-
I have a bit of an issue with communication between GOT1000 HMI (I think the exact model is GOT1675V) and Q03UDE PLC over Ethernet. The GOT is set to 192.168.1.4 and PLC is set to 192.168.1.2 but I get the error "Communication Error. Refer to System Alarm in Utility Menu". Now how do I access the utility menu? I have tried to tap and hold on the upper corners of the HMI but nothing happens. I also can not switch between screens when I press buttons even though they are directly linked via screen #. Almost like the HMI froze up. Wonder if anyone had similar issue and what the solution might be. Thanks for your help.
-
I am new to automation systems and devices and I just want to know how to connect two HMI's (each one would control different things) to one PLC using Sysmac Studio and NB-Designer via Ethernet. The model of the PLC is NX1029020 and the HMI's are one NB10W-TW01B and an NB7W-TW01B. I searched for info about this topic online but I couldn't find anything that worked for me, I saw an article from OMRON where they connect two NB's to the CP series, but in my case, NB designer doesn't allow me to insert more than one HMI in the same project, I also found something similar on a youtube video that gave me an idea about how to connect multiple HMIs exporting the pks file and importing it to another HMI project but I still can´t figure out how to add both to my PLC. I would thank you a lot if you could help me with this because I know it's not a rare implementation, just I haven´t found the right way to do it. I also leave the links to the Omron article and the youtube video I found. https://www.myomron.com/index.php?action=kb&article=1554 https://www.youtube.com/watch?v=rXx5lut7G9I
-
Hello, I have to make communication using Ethernet between omron CP1H and siemens s7-1500 plc. I was thinking about Modbus TCP or Ethernet IP using theese adapters: Modbus TCP - CP1W-MODTCP61 Ethernet IP: CP1W-EIP61 But I am quite new in Omron, and I am looking for some exapmple codes, FB. Do you anyone have experience with that? Thanks for all responses.
-
Good day everyone, First post here so hopefully I'm not violating community guidelines in anyway. I've got a system that has some 50 odd Micrologix 1100 and 1400 in use and I'm currently working on setting up an auto timesync for all of them using just 1 of the PLCs that will be my master time PLC. So far I've put together the logic for all the message instructions with the corresponding IP of the slave devices. I'm running. Into an issue with not being able to terminate/break the message connection on a PLC that I have already synced. Is this even possible to do on the ML1100. Once I get to 16-17 messages DN it starts to ER and will not complete any further messages. What I have is a message instruction ladder with a timed trigger to activate a MSG and write the RTC data then time down and connect and write to the next and so on. When it triggers the message instruction of one PLC it also fires an OTE to trigger the BK of the previous message instruction. However it doesn't seem to be actually cutting the message connection and holds it persistent until a power cycle/download event.
- 10 replies
-
- micrologix
- allen bradley
-
(and 4 more)
Tagged with:
-
Dear All, Anybody can help me in communication between Fatek 20MAR2 & CBEH2A. The jumpers setting are JP1 is on left two pins (No password protected) & JP3 is on right two pins (forced boot operation mode). The Ethernet cable i used is type b T568. Fatek Ethernet module config software detecting module successfully (shown in attached pic) but on online PLC via ethernet cable its showing connection failed. please help thanks in advance
-
Hi there! I'm having some issues with a FUJI MONITOUCH V9100iSD HMI that communicates with a CJ2 PLC via Ethernet. This HMI is a migration from a previous V810iSD model. The thing is that the previous model worked correctly, but when using the new one, the HMI seems to be pretty slow when switching screens, for example. All parameters are the same, and after reading Fuji's FAQ, I've run out of ideas. Have you faced the same problem? Thanks in advance!
-
Hi, I'm trying to figure out a way to make an automatic digital sealing for a NX-controller. Functionality: Each time I do a remote connect and/or change to the program on the PLC via VPN/Tosibox I want a counter to automatically increment. This counter is the digital sealing (checked by the authorities from time to time), and is displayed on a HMI. When the sealing breaks, the new value of the counter has to be reported. I've been thinking about incrementing the counter each time the Ethernet port on the PLC registers a rising edge on online establishment. But this will not work if there is a power failure (then the counter will increment unitented), or someone by mistake unplugs and replug the Ethernet cable. Antoher idea was to ping a specified IP-address, but there seems to be no PING-functionality. I've also been thinking about using some program data (i.e. last modified), but it seems there's no system variables on the PLC that contains this kind of information. Any ideas how to solve this in the PLC? Basically I want to know if the PLC program has been changed or if there a specified IP-address has been connected to the PLC-network.
-
I have a 2 CompactLogix PLCs running right now, communicating CIP Safety and Standard data over Ethernet I/P. For reasons I can't explain right now, the IP address of the second one HAS TO change semi-randomly (the 1st PLC is static). Setting the 2nd PLC's IP to static or assigning it a static DHCP address is the obvious solution, but for the purpose of this question, that cannot be done. Is there a way to programmatically change its IP address on the 1st PLC's program? (There is an HMI attached to the 1st PLC and adding a screen to enter in the new address would be trivial.) The only bit I'm still missing is how do I change the IP address on the module in the 1st PLC so that it's pointed at the right IP address of the 2nd one when it changes. I found instructions on how to use msg instructions, but that hasn't worked yet. Any help would be appreciated. Thanks!
- 7 replies
-
- plc
- ethernet i/p
-
(and 3 more)
Tagged with:
-
Hi! I was doing an project using function block, but at one point it became too complex to use FBD so I would like to use ladder. I'm using an ihm and that's why some inputs are of the network type, in FBD, it's easy to use the network i/o, but in ladder, the network inputs, where I receive data from the ihm, don't have outputs for me carry out the logic. How can i do this? USING FBD USING LADDER As you can see, theres no output on network analog input, on the digital to!
-
Hi there! I've been working with NB HMIs with good result. But today I loaded a project to a NB7-TW01B and it feels slow, both offline and online. Switching screens and reading/writing take around 1sec or more. It first had some bmp images created with .bmp and .png files, so I tried using vector graphics instead, but didn't get any better. I don't have another NB to try it right now so I'd like to ask you if you've been in this same situation before or what could be causing this. PLC is CP1L and communication it's via Ethernet. Both devices are actually pretty close (cable is less than 3m) and the previous HMI (Pro-face GP) felt a lot faster. Thanks in advance!