Search the Community

Showing results for tags 'ethernet/ip'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 220 results

  1. 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
  2. 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          
  3. 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?
  4. 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?
  5. 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?
  6. Has anyone have any experience getting a Wieland Safety plc (SP-COP1-ENI) communicate with an Omron Plc (NX102) via Ethernet/IP? EDS file installed, connection is set as per the documentation yet  I cannot get it connected.  
  7. Error **03 Special Parameter Error

    Hello I have a problem whit PLC mitsubishi FX3U thernet communication, we have a module  FX3u-ENET-ADP. and we have the error "**03 Special Parameter Error".  
  8. NB to CP1L-EM

    Has anyone connected a NB HMI to a CP1L-EM via ETHERNET NB = Node 2 IP 192.168.1.152 PLC = Node 1 IP 192.168.151 Using my Network Switch/HUB NB works fine when setup to com 1 on the PLC (Wrote the PRG using serial) NB says no response from PLC Is there a secret setting in the PLC i need ? ? Rob  
  9. Hello All, I would like to control Powerflex 525 drive with Omron NJ301-1200 PLC via Ethernet/IP (Set speed, start, stop). I've gotten until the part where I downloaded the necessary .eds files of the drive and imported into my Sysmac studio. However, I'm stuck after this point while assigning target variables and Originator variables and eventually setting speed and controlling the vfd. I've attached images for your reference.
  10. I'm trying to understand the basics of using a serial to ethernet converter such as this Comtrol DM-EIP-2101, with Studio5000 code. Basically I have a weighing machine that only outputs data via RS-232 and I need to send that data to a PC that will process it through a Studio5000 program and have the data displayed on an HMI using FTview SE. Is it as simple as just connecting the serial and ethernet to the converter and it does all the work? Obviously checking ip addresses and firmware will need to be verified. The main thing I am unsure of is the process of passing the individual data packets from the machine to the Logix code on the PC,  things like what the weight of the item was, was it over weight or under, etc....  Would there be an AOI or tags built into the software for a machine like this Checkweigher? I've worked with much smaller items like Cognex Dataman cameras and I know you can just use their AOI that allows you to simply call a tag if you want to display information like if a scanned barcode was correct or whatever. If anyone has done something similar I'd appreciate any guidance. It can be difficult getting the information from the manufactures so I'm looking for answers anywhere I can. EDIT: I guess I should also clarify that only using one or the other (serial or E/IP) is not an option. It will be a serial connection from the Weighing machine to the converter and then Ethernet to the PC.
  11. I'm trying to set up an Ethernet/IP communication with a CIP block between a Micro850 and a SMC EX600-sen3 pneumatic Module. I can read the inputs of the module with the configuration below, but I CANT write to SET or RESET the digital outputs. There are NO errors showing communications issues in the CIP Generic Block I am using... I read that for some reason, it seems that there are problems with writing thru Ethernet/IP protocol between Micro family and other devices not from Rockwell... Does anyone know if there is a way to make it work? Configuration that is working to READ: CIP Service Code:     14 CIP Class ID:         4 CIP Instance ID:     100 CIP Attribute:         3 CIP Member ID:         0 Configuration that is NOT working to WRITE: CIP Service Code:     16 CIP Class ID:         4 CIP Instance ID:     150 CIP Attribute:         3 CIP Member ID:         0
  12. Hmi modbus TCP/IP device communication

    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 ?  
  13. 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.
  14. Hi! I would like to ask your help. I want to know more about the communcation systems what allen bradley use. Most important for me, is Ethernet IP communication, Controlnet communication, Sercos (servo) communication, maybe devicenet communication.  I know I can find some manulas on the web, but I thought I ask it here too, maybe you guys have some more documents which is contain more information. Every information is highly appreciated. Thank you very much guys.  
  15. Hi I am looking for a way to read and write data from PLC omron words, bits via FINS or EtherNet/IP protocol using python programming lang. Does anyone have any results in this? I really want to see your work, because all my attempts have failed. Thanks.
  16. 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
  17. Hey all, I am having some issues with a Keyence IV2 camera which has Ethernet/IP functionality.  To summarize briefly, it has been configured and reading the data into my PLC (NJ501) into a structure data type.  The issue I'm having is that I cannot control this on a bit level for triggering the camera, etc.  I was reading that a Union type is the way to go, but unfortunately, I stopped getting data into the PLC when setting it up that way.  According to the configuration guide for Rockwell and setting it up in the Network Configurator, I needed to go with the SINT type.  When registering the device, the 8-bit option was necessary since the Input/Output sizes needed to match.  This was predetermined by the EDS file for the IV2. I am stumped as to how to get the data to read into the Union Type, and any suggestions would be greatly appreciated. Thanks, -K  
  18. 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.
  19. 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.
  20. I want to establish Ethernet IP communication between the following PLC CPUs. Schneider Electric - BMEP582040 Honeywell - ControlEdge UOC CPU900-CP1. Where the Schneider must be master and Honeywell must ne adapter. Let me know if anyone have done this or can help me to do so.
  21. QCPU to 2x kyence iv2

    Hello all, we are using Q03UDECPU and via built-in ethernet port its connected to two IV2-G30. (through unmanaged switch) to establish connection we are using FB LQnUDEEthActive (hereinafter referred to as  FBLQ) two instances of FBLQ in two instaces of our FB which is responsible for creating messages that are then send via FBLQ Both keyence devices have different IPs, ports and connection number. Problem is that it is working flawlessly, except the time its not working :/ from time to time it simply doesnt trigger Keyence device. It looks so far like its independt of turning machine OFF/ON, also both keyence devices are used in different times (about 10-20seconds of difference) Im currently working on sime kind of internal diagnosis to see whats happening when its not working, but im just curious if there is something obvious we are missing? any help will be apreciated Thanks  
  22. Fatek Ethernet PLC Module online

    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
  23. hello Every one,    I am using a CP1-L PLC and want to communicate to domino ax350i printer over TCP/IP socket programming. For socket programming, I used Omron Function Block CPU012_SendCommand.  I defined network ID and node address. However, I am getting 0502 error which means routing table is not set yes. So, how can I set routing table for both devices?. my PLC on 192.168.250.1 and Printer is on 192.168.250.123 node 7000.    Can any one suggest me best way to do.  Thank you   attached file is for what I did in setting and program for the communication.      
  24. Monitouch HMI slow screen

    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!