PMCR

MrPLC Admin
  • Content count

    701
  • Joined

  • Last visited

Everything posted by PMCR

  1. EtherNet/IP Error Code Decoder View File EtherNet/IP Error codes definition Troubleshooting steps for Sysmac Studio and the Network Configurator for EtherNet/IP Submitter PMCR Submitted 03/14/16 Category Tech and Application Notes
  2. Version 2.50

    85 downloads

    EtherNet/IP Error codes definition Troubleshooting steps for Sysmac Studio and the Network Configurator for EtherNet/IP
  3. Omron E5CN & Labview

    The actual Modbus protocol does not use the absolute address in the protocol, but the relative address within the memory area. The Holding registers are 40,001 and higher. Modbus Function Code 03 (Read Holding Register) is used to read the holding registers.  Then in the address part of the Modbus message, you specify which holding register to read. From the Modbus spec, relative address 0000 (when using Function Code 03) is absolute address 40,001. It sounds to me like the Siemens PLC is allowing you to specify the absolute address. The E5CN uses function code 03 to read variables. So I believe all you need to do is add 40,001 to the addresses in the E5CN manual, and the Siemens PLC will correctly address the E5CN.
  4. Connect PLC CP1L-EM to other devices

    The link below provides sample Modbus RTU master code. This uses the PLCs Easy Modbus comms mode for the serial port. http://forums.mrplc.com/index.php?/files/file/867-easy-to-use-modbus-rtu-master-for-cp1l-cp1h-cj1-cj2-cs1/
  5. That I have. The only difference between this document (written for a CJ2) is that you will use addresses instead of Tag Names for Omron, as the CJ1 does not support Tag Name communications.   CJ2 to CompactLogix Implicit Messaging Quickstart.pdf
  6. The code can be modified to support different ranges in the N and F ranges. I thought I had done B, but I did not, and unfortunately I don't have a NET-ENI adapter any more to test with. The Excel file shows the File Number and Element.  For example, in reading F21, File Number 15 (HEX) is 21 Decimal.  Element Number 0 is the first register. Can you work in the N file, using higher registers, and working with bits in the N files? This is really Rockwell PCCC protocol wrapped up inside EtherNet/IP, and is much more complicated (for me) than EtherNet/IP implementations on CompactLogix / ControlLogix processors.
  7. I do have code to read data from a SLC500 through a NET-ENI adapter. It is explicit Messaging based. It will read memory areas like B, I, F, but not specifically error data, unless you can get the error data into SLC500 memory. As AB does not support FINS, a common protocol like EIP is the only option. SLC500 Explicit Message 105.zip
  8. File Name: Omron Generic EtherNet/IP EDS file File Submitter: PMCR File Submitted: 30 Sep 2015 File Category: Utilities The Generic EDS file allows Omron CJ, CS, NJ PLCs / MACs to connect to 3rd party EtherNet/IP devices when the manufacturer is unable to provide an .eds file. Click here to download this file Link to File: https://forums.mrplc.com/index.php?/files/file/1036-omron-generic-ethernetip-eds-file/
  9. Thank you for the information. I am going to upgrade to version 27 and see if that resolves the issues.
  10. For years I have successfully used modular eds files for devices with assembly sizes that can change. Recently I upgraded to Studio 5000 version 24, and I have run into a snag. When I try to change the size of the assembly (as shown below) I cannot leave the data entry field (circled in red) without hitting <ESC>, and the size change is lost. A colleague of mine does not have this problem in version 27 of Studio 5000. Is this a known issue with version 24? In this particular case, I am trying to use the attached eds file. NX-EIC202 1 2.zip
  11. Version 2.0

    696 downloads

    The Generic EDS file allows Omron CJ, CS, NJ PLCs / MACs to connect to 3rd party EtherNet/IP devices when the manufacturer is unable to provide an .eds file.
  12. Omron CP1L-E connecting to a Omron NB7W-TW01B

    A few key things to have setup. See the attached images. In the Ethernet settings of the NB, make sure that the Station number for the PLC and the NB match the last octet of the IP address. Make certain the correct protocol is selected. In the setup of the CP1L-E, make certain the node number matches the last octet of the IP address.
  13. CP1L with CP1W-CIF01 will work for Modbus/RTU. When using a CP1W-CIF01, the cable is : Pin 2 = TXD Pin 3 = RXD Pin 4 and Pin 5 must be connected together (RTS and CTS) or connected to the MicroLogix RTS and CTS. Pin 9 = Signal Ground. DIP Switch 4 must be OFF if you are using Socket 1, and DIP Switch 5 must be OFF if you are using Socket 2. We can help if you can provide the following information: 1. Which socket are you using in the CP1L (socket 1 or socket 2). If it is a smaller CP1L, there is only 1 socket. 2. Provide an example of the command you are sending in Modbuscan. What I suggest is the following: We can help with sample code in the CP1L. Connect a PC to the CP1L using the pinout above and let the CP1L send into HyperTerminal, Supermon, Multiway, etc. That way you can see that the command is correct.
  14. plc-plc via internet

    You can do this with FINS SEND and RECEIVE instructions. Socket services could work, but complicate the matter. Use FINS. The routers would need to have static IP Addresses on the Internet. You need to use manual FINS to IP conversion tables and list the routers in the tables. You need port forwarding in both routers. I have done exactly what you are asking about. If you want more information, I can give a detailed example.
  15. Try the attached .eds file. I modified it from a generic Fanuc eds file to work with an NJ last week. I don't know the specific model of the Fanuc robot. Fanuc Robot Omron.zip
  16. Omron FINS Serial vs Hostlink

    Host Link has 2 formats C Mode Host Link, which is the most common. This was created for C Series PLCs like C28K, C28H, C200H, etc. CV Mode Host Link is basically FINS commands wrapped up in a Host Link frame. This was designed for CV PLCs. Current generation PLCs such as CJ1, CJ2, CS1, CP1L, CP1H, and CP1L-E support both protocol formats at the same time.
  17. In the destination net, node, and unit, you are sending to Node 10. Your CP1W-CIF41 setup shows that it is node 2, so you should have node 2 in your Destination Node. Also, do you have a FINS Routing Table in the CP1L? You will need one.
  18. BAR Code Sensor SICK Lector 620 with CP1H

    No, this is not possible. The CP1W-CIF41 is a FINS (Omron protocol) slave device for programming, HMI, and SCADA access. To receive ASCII data on Ethernet would require a CJ1W-ETN21 + CP1W-EXT01. This would get you the function that Omron calls Socket Sevices, which is what you would need. Newer CPUs like the CP1L-E series (with built in Ethernet) as well as the NJ series have Socket Services functionality built into their Ethernet ports.
  19. The easiest way to do this is to send a whole word, with either a 1 or 0. There is plenty of room in the memory of the CP PLC, so you are not giving up anything, and it is no faster to send a whole word of data than a bit, because of how FINS works.
  20. compoway/F communication

    I would use PMCR. PMCR2 is more complicated, and is not needed unless you need more than 8 PMCrs running at the same time. Try this code. I assumed Unit # 0 for your SCU. Panel Meter Read.cxp
  21. Questions about CJ2M EIP

    I am very happy to hear that it worked for you. Yes, you can connect multiple (4 or 5 is no problem) cameras to a single CJ2M or CJ2H by EtherNet/IP Tag Datalink. Each connection is independent, and there will not be any speed issues.
  22. Questions about CJ2M EIP

    See the sample code here. http://forums.mrplc.com/index.php?app=downloads&showfile=934 This is written from the Omron PLC side, using Rockwell PCCC protocol. I have never tried Rockwell CIP messaging to Omron PLCs. The Omron PLC reads and writes the data.
  23. Report Omron NJ501-1500 (Sysmac Studio)

    The NJ is a PLC and motion controller. To do reports, you will need an external device, such as a PC running InduSoft Web Studio, or an HMI capable of creating reports.
  24. CP1H using CP1W-MODTCP01-US

    You can use the Modbus RTU code here when using CP1H and MODTCP61 as a master (client). http://forums.mrplc.com/index.php?app=downloads&showfile=867 The MODTCP61 is sent Modbus RTU commands from the PLC. It turns the Modbus RTU Node Number into the last octet of the target devices IP Address. As far as your specific energy meter, I have no experience.
  25. A 16#0114 is a Vendor Code or Product Code Mismatch, per the ODVA specification. Since you don't use an eds file with a Vendor Code or Product Code with the Generic Ethernet module, I suspect there must be a way to disable electronic keying. I know that in some versions of Logix5000 there is a check box to do so. I would check with Rockwell to see how they suggest solving the problem.