Search the Community

Showing results for tags 'ethernet commands plc programming'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 318 results

  1. 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).        
  2. 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
  3. 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.
  4. 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
  5. 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!
  6. 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?
  7. 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.
  8. Hi all, I'm working on my migration from CJ series to Sysmac (NJ/NX).  I've encountered something I think is  a simple answer but I just can't find anything in the documentation or forums that has gave me a concrete answer. I want to increment a variable by one.  Is it not possible to insert a raw integer into the value field of the function?  (Please ignore the P_Off as this is only for test purposes only) I know I can create a variable and make it a constant of one but that just seems odd to have to go through that many steps to do so.     EDIT:  I should add the variable I'm trying to increment is a UINT (Unsigned Integer) The error I get is:   EDIT2: While I solved my problem with this instance by using the Increment function, my root question still remains.  How do you supply a value of a number to a parameter of a function without creating a symbol for that parameter?   Thank you all for your time,
  9. 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. 
  10. thumb wheel switch

    how to program a thumb wheel switch with delta plc using isp sowftware 
  11. 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 !!!
  12. 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 !!!
  13. 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? 
  14. Emerson 90-30

    I'm working with Emerson 90-30 on proficy machine edition and I'm trying to use a string variable to display words on a graphical panel in target 2 but withing the code itself on target one I cant seem to understand how the reference address works? can some one explain how string variables function and how to use them?
  15. 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
  16. 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          
  17. FINS for Online Edition

    Hi, Does anyone know how to do an online edition using FINS commands? Thank you!
  18. Hi!Are you tired of skimming through menu bar items in TIA Portal in order to finally find that one command that you were looking for?So was I!So I´ve composed a handy one-page list of keyboard shortcuts to execute those commands in no time (FACT - 99% of them are executed using your left pinky and your left/right index finger ). Check out the list of keyboards shortcuts in the PDF attached below.For more practical tips and tricks on TIA Portal PLC programming -> go and have a look at my video course by clicking on the link below:https://lnkd.in/eipFaGm   Keyboard Shortcuts.pdf
  19. As the industry of plc and scada softwares continue to integrate more and more programming languages into their IDE, what is the most common language that should be learned by controls engineers (excluding Ladder Logic)?  I mainly use Python and VB for scripting but I am curious what languages other SCADA and PLC programming environments use. Should I be sticking to a specific language and learning it well or just know a little bit of them all? Let me know your thoughts!!
  20. Nematron DOS software

    We have an older Nematron system we are working on and requires some software. The system uses DOS 6.22 and launches Screen Ware 2 software and the Reliance DCS V1.01 to talk to the Rockwell AutoMax PLC that uses the Programming Executive Version 4.2. We have the Nematron parallel port keys (dongle) needed and are looking for installation media for editing. We also need information on the executables that open the screen files the ULTRA MAIN MENU is not available to us. We are interested in viewing the config for upgrade so even software that is newer and capable of converting and reading the program is fine. Any help is appreciated!!
  21. 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?
  22. 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?
  23. 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?
  24. Hello all,   I am working on a batch computer for a concrete mixer, and the computer that was running the plant before has stopped functioning. It was an old PC running MS DOS. The code is encrypted and replacing it is not a cost effective option.   I therefore am looking into using a PLC to control this batch plant. I have a setup that was in progress by another employee who no longer works for us, it is a CLICK PLC from Automation Direct, and it is supposed to be paired with a EA9 T8CL touch screen HMI from the same company. I would like some advice on just some basics, I would greatly appreciate some input.   I essentially only have one input, and that is an analog scale, 0-20mA input. I have digital outputs for sand, gravel, cement powder, and a water meter for adding water to the mixture. I have one final output, an additive for reducing the required water in the concrete.   What I would like to create is a program that when it is told to start, looks at the scale, and if the scale is less than say 100 pounds, opens sand until it hits 1700 pounds (as an example), then turns it off. Then it turns on the gravel and adds that for another 1700 (again for example, all these are variable), turning the gravel off after. Next the cement, and so on. I don’t need someone to write the program for me, but can someone point me in the right direction on using an analog input to turn digital outputs on and off? Again, your help would be greatly appreciated.   Thanks for taking the time to read this long post.
  25. 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.