-
Content count
701 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by PMCR
-
[Tech and Application Notes] - EtherNet/IP Error Code Decoder
PMCR posted a topic in Download Comments
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 -
-
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.
-
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/
-
PLC-5 and Omron Ethernet/IP
PMCR replied to kaiser_will's topic in Allen Bradley / Rockwell Automation
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 -
PLC-5 and Omron Ethernet/IP
PMCR replied to kaiser_will's topic in Allen Bradley / Rockwell Automation
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. -
PLC-5 and Omron Ethernet/IP
PMCR replied to kaiser_will's topic in Allen Bradley / Rockwell Automation
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 -
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/
-
Modular .eds file in Logix Designer 24.00
PMCR replied to PMCR's topic in Allen Bradley / Rockwell Automation
Thank you for the information. I am going to upgrade to version 27 and see if that resolves the issues. -
Modular .eds file in Logix Designer 24.00
PMCR posted a topic in Allen Bradley / Rockwell Automation
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 -
-
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.
-
Helping whith modbus CP1L and Micrologix 1500 whith Rs232
PMCR replied to jqleandro's topic in Omron
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. -
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.
-
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
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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.
-
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.
-
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.
-
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.