Search the Community

Showing results for tags 'ethernet communication'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 391 results

  1. 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  
  2. 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.
  3. Serial communication with KINCO PLC

    Hello to everyone. Nice to meet you all. I am programming a KINCO PLC model HP043-20DT using ladder on KINCO BUILDER. I need to establish a serial communication with my PC. The PLC has a RS485 port which I adapted it to USB to connect with my PC. The PLC allows, at least, two ways to establish serial communication: MODBUS or free-protocol. I've read the software manual and tried to reproduce the examples it provides using the instruction blocks for MODBUS (MBUSR and MBUSW) and free-protocol (XMT and RCV) communications. However, I could not receive the data on the PLC. I could effectively transmit data with XMT from the PLC to the PC and I could verify through a tool called Access Port. In relation to MODBUS, I am using a simulation tool called Multiway from OMRON, however, I get no response from the PLC. If any of you have some experience with this software or this device, I would like to ask you how could I solve the problem. Thank you for your attention. Kind regards.
  4. Memory registers on KINCO PLC

    Hello to everyone. I hope you are doing well. I have a KINCO PLC HP043-20DT. I'm communicating through free-protocol instructions XMT and RCV. The manual states that memory registers SMB86, SMB186 and SMB286 contain information about the state of the reception instruction. I would like to ask if any of you know of the existence of an analog register but with respect to the transmission instruction, instead of the reception. The manual does not indicate it and I could not find any information online. I've sended an email to the manufacturer but, until now, I have not receive any answer. Otherwise, how could I search for this information? I tried through the manual providede by the manufacturer, but maybe there is other way. I would appreciate any information. Thank you so much. Kind regards.
  5. 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.
  6. 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.
  7. 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  
  8. Hi Guys, I need to send temperature data from PLC to LED Display through RS-485 communication, so How can I proceed further in this. Please guide me Thanks in advance
  9. Fatek PLC Communication Problem

    hy all. i am having an error while communicating with fatek plc. when i communicate it gives an error. " Com port open fail, plz check if this port is used by other programme when we online the PLC (Fatek/ WinProLadder). kindly Guide me   as it looks like port is already used by another program . and i dont know how to kill that program ..       
  10. 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
  11. Hello, I'm trying to read data from a PLC using TCP/FINS protocol. I am able to read the data in the memory area from a supervisor PC (using command 01 01) but I do not know how to read the information specific to this machine. Extract from the machine manufacturer's document: Name Data type Address/Value Usage comment Loc_in1 BOOL 1.00 In Local Input 1 Loc_in2 BOOL 1.01 In Local Input 2 Loc_in3 BOOL 1.02 In Local Input 3 UPS BOOL 3.00 Work UPS Input Int1 BOOL 3.01 Work Interlock 1 Int2 BOOL 3.02 Work Interlock 2 T1_LSB CHANNEL D20 Work UPS Hold time LSB T1_MSB CHANNEL D21 Work UPS Hold time MSB REM_1 BOOL H0.00 Work Remote input 1 REM_2 BOOL H0.01 Work Remote input 2 REM_3 BOOL H0.02 Work Remote input 3   This is the document I've written to understand the protocol: 1st frame to send: 46,49,4E,53 : ‘FINS’ 00,00,00,1A : Length(8 de l’entête + 18 de la chaine qui suit) 00,00,00,02 : Cmd (2) 00,00,00,00 : Error code (0)   Second frame to send 80,00,02,00 : ICF + RSV + GCT + DNA 0F : DA1-FINS node address of Ethernet unit (Server node=15) 00 : DA2-Destination machine address (0=PLC Main unit-CPU) 00 : SNA-Source FINS network address (0) FB : SA1-FINS node address on the PC side (Client node=251) 00 : SA2-Source FINS network address 01 : SID-any data from the source process identifier 01,01 : MRC,SRC-FINS command code 0101: Read memory areas 82 : Memeory area=Variable type: DM (Dxxxxx) 00,14,00 : Read start address (20) 00,01 : count (1) This shoud send the UPS hold time but everything is at  zero. Who could help me ? What is wrong ? Thanks  
  12. Delta plc AS228R

    hi i have a as228r delta plc and i want to connect it to two endress & hauser D400 flow meters over ethernet can anyone please give me sample code for ispsoft. the flow meters do have ethernet connections.  i want to read flow rate and flow total on the flow meters  please thanks
  13. 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.      
  14. 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!
  15. FX3U to FX3U via wifi

    Good day fellow PLC ninjas! I have a question/ concern which I would love your opinions on. We have 3 FX3U PLC’s+ENET cards. Two of the 3 PLC’s move around in an EMS trolley. The other is a ‘base station’ with a GOT2000 connected via Ethernet. Base PLC IP = 192.168.1.11 HMI IP = 192.168.1.31 Carrier 1 IP = 192.168.1.61 Carrier 2 IP = 192.168.1.62 I have programmed the base PLC to use Active communication; we are using fixed buffer communication to send and receive data to/ from the Carriers. The carriers are set up as Fullpassive ‘slaves’. This part works well and the update time changes (using a counter in the base station) from 1s to 100ms (because it enters a different work station).  My issue is the following: using a network sniffer (WireShark), I pick up plenty of re-transmits and sequence number errors coming from the base PLC’s ENET card. This is troublesome and causes delays when the update time is required to be fast (100ms). I am sending and receiving 10 words of data. The wifi seems stable, and there is minimal noise in the area. The power has been turned down and the antennas used are suited well for the application. The antennas are at a similar height to minimize possible loss of signal. I have LOS (line-of-sight) to the carriers at all times; to at least one of the antennas (I am using 802.11n). Has anyone picked up issues or found settings which can be used for comms over wifi? I can easily do this using a S7-1200 Siemens PLC and have done so using 12x S7-1200 clients and 2 AP’s with 1 base PLC. I have also successfully done this using 8xFX3U client with a System Q base PLC. My suspicion is that the delay in reading and writing to/ from the BFM in the ENET card is causing this. I am not sure that if I change to a FX5U will help. The communication cards on the Mitsubishi PLC’s seem very limited. Does anyone have any technical details on the access times between the CPU and communications cards’ BFM? Help is as always, appreciated.
  16. 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.  
  17. Hey! Is there any possibility to acces the PLC variables in GXWorks from another program? Like I want to read and write the I/O-s or Merkes in the Mitsubishi PLC from another program Could someone help me with this? Thank you!
  18. Hi all, First i apologise for my english, but it's not my main language. I am very new at this world so sorry if my question is too newbie but i have been for several hours trying to get some data from an Omrom NPX1P2 DT-100 using Ethernet/IP and now i am a bit desperate. I am trying to connect this PLC using a C# Library provided by steffan rossman and it seems to be very easy,  i can manage to connect it but every try i do to request data it fails. As i can see there are several ways to get the data, for example: In this example the function GetAttributeSinglec(ClassID, instanceID, attributeID) i need the ClassID, wich i don't know what is, the instanceID, i think in my case is 100, and the attributeID wich i don't know what is or where to define. If someone could help me about how to request data it will be very appreciated. Thx in advance    
  19. My HP laptop will lose communication with Mitsubishi PLC occasionally after removing ethernet cable to download from WiFi. Our company limits the ability to use the wi-fi when I have an ethernet cord connected to my laptop, it has to do with security. If I am connected to the Mitsubishi PLC, then want to download another file from our autosave, which we connect through the wifi, I have to remove the ethernet cord from my HP laptop to enable the ability to go wireless, however sometimes when I attempt to go online with the PLC after I re-connect my ethernet cable, GX developer will not allow it. I can ping the plc and even go online with other PLCs on the network, but for some reason, the one I was connected to will not connect. I restart my computer and even re-download the file again from autosave but no joy. Its not until an unknown amount of time that it will allow me to re- connect, its as if I lose the socket connection on the plc and it needs time to reopen. I talked to our IT department and they have no ideas. Thank you in advance for any help on this matter.
  20. Digital sealing

    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.
  21. How to scan Ethernet/IP network?

    Scenario: You show up on site and the only knowns are Omron PLC and EtherNet/IP network. You have a laptop loaded with CX-One, an ethernet cable, and the ethernet port that is connected to a known EtherNet/IP Omron network (you can not see the PLC). I have previously worked with Siemens systems and used Primary Setup Tool and Proneta with wonderful results. Do similar tools exist for an Omron environment?  Question: How to (relatively quickly) scan an EtherNet/IP network for connected devices without knowing their ip addresses?  
  22. Have been able to exchange data types of BOOL, INT,  DINT & REAL between Omron NJ/NX CPU with Allen Bradley Logix CPU's with Ethernet/IP using the CIPUCMMRead & CIPUCMMWrite instructions. I now have a need to exchange "STRING" variable types. Have tried varions string lengths in the NJ without sucsess. AB default string length is 82 & Omron 256 but I think the difference is the length headder that AB has with within their String Tag type. I know I could convert my strings to an array of bytes & sent them this way, but was looking for a solution to sent them as native strings. Hope someone out there has done this & can share their leg work? 
  23. I am working on project where I need to program delta PLC to receive ASCII code from scanner. I anyone know how to program it helpls me alot.
  24. Hi all,   Is it possible to simulate LMC058 PLC with ethernet in soMachine software. I want to test the logic written in PLC which uses tcpudp library.