Search the Community

Showing results for tags 'ethernet communication'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 338 results

  1. 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  
  2.   Mail me for Help if anyone is stuck during coding and settings.
  3. 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.      
  4. 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!
  5. 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 ..       
  6. 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.
  7. 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.  
  8. 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!
  9. 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    
  10. 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.
  11. 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.
  12. 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.
  13. 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?  
  14. 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? 
  15. 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.
  16. 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.
  17. 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!
  18. I have an Ethernet/IP bus and system including Ethernet/IP devices with CPU 1756-L81ES ControlLogix. PLC is connected to the switch. Bus is built from the switch as a line. Can I connect the last device on the bus back to switch again? In thes case bus will be ring. Do I get problems with connection it this way. Switch is Stratix 2500, which is lightly managed switch. I believe it will increase the traffic in the bus.
  19. Omron PLC Python communication

    Hello All,    I am college graduate student and I know little bit of cx-programmer for modifying existing program. I have master CJ2M CPU34 PLC connected with three CP1L PLC. All 4 PLC are connected via hub through Ethernet cable. I want to read/write some memory data to/from PLC through Python programming. As I am new to PLC and Python I have not much idea regarding omron PLC and python communication. So is it possible to connect python with master/slave PLCs directly? If yes then how can I communicate? I was trying with cpppo library to connect with PLC but I could not connect it.  I have attached the master PLC communication setup for the reference.    Any kind of lead/help is appreciated.    Thank you in advance.    -Yash
  20. HOW CAN I USE NETWORK I/O ON LADDER SOFTCOMFORT?

    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!
  21. QJ71E71 100

    Dear Anyone. Anyone can help me. How to communication two plc Q SERIES MITSUBISHI.With QJ71E71 100.It Can Read/write .Can Show me. example instruction command ladder.or parameter CPU 1.D0 to d300. CPU 2 D400 to D700. Two Plc can Communication  read / write data register. Thanks you for your attention.
  22. Is there any way to monitor ethernet/ip bus, states or faults and to make an alarm to the panel alarmlist. I am using IO-stations (1734-AENTR) and I would like to monitor somehow the system. I feel that reading the slot status of the 1734-AENTR device is not enough, because it is not possible to monitor all the cards in a slot. How to get alarm on a screen if I lose any station on the ethernet/ip bus?
  23. Hi, I have the following configuration where 4 PLC panels, with each having a Q12PH CPU and QJ71E71-100 module. All these QJ71E71-100 are connected to a HUB using straight cable. From the HUB one connection is going to an I-Fix SCADA which is already communicating with all 4 PLCs using MC protocol. I want to send data from 3 of this PLCs to the 4th PLC in the same network using fixed buffer communication. Can anyone provide a sample program for the same. Send and Receive side. I am using GX Works 2 for programming. Your help is very much appreciated.
  24. MPI Connection problem

    Hi there. Recently I've experienced problems when connecting to a S7-300 PLC via MPI/PROFIBUS. I use a PG with CP5711 processor. The thing is that I'm able to connect when I plug the 6ES7901-0BF00-0AA0 cable (male to male) directly to the PLC connector, but when I try to do connect to a PLC that has any device connected to the DP port (let´s say an inverter or HMI) I get 33:17075 error. PG/PC Interface it's correct, in fact another PG with the same configuration is able to connect through the already connected DP device's cable. Station number and transmission rate is all correct.  So I tried the Simatic NET Diagnostics Test and I got error 0x0313 and since the mentioned parameters are correct I refered to this link:  How do Diagnostics and Remedy work in STEP 7 when an online connection with the CP... - ID: 11492532 - Industry Support Siemens Where they say the following:    I've searched for this readme file but can't find it, and there are no useful results when looking for it on internet.  Why am I able to connect directly to the PLC but not when another device is connected and I have to use the female connector of the DP connector itself? Should I try to reinstall CP5711 drivers? According to Windows, I got the last drivers for the CP.    Thanks in advance and I hope you can help me!
  25. Hello,   Any one  have idea how to read and write variable for Schneider tm221 plc with Modbus function codes 3,6,16. I attached file for power supply communicator with registers, I need to adjust power supply from 25% up to 100. Please need help. Best regards,   Chyngyz   Modbus OPERATING INSTRUCTIONS.pdf