PMCR

MrPLC Admin
  • Content count

    701
  • Joined

  • Last visited

Everything posted by PMCR

  1. Version 1.0.0

    230 downloads

    This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules
  2. Allen Bradley FLL command in Omron?

    The ladder code (3 rungs) or the ST (1 block) will do what you are looking for. Edit:  I mixed and matched the starting position of the FOR in the ladder and ST.  They would start at the same position. You can also make your own Function to do this, using the ladder or ST shown.
  3. If you want to PM the program to me, I can open it an tell you what version it is. 1.25.1 is the latest iso image. Anything above 1.25.1 is done through the update tool. Sysmac Studio 1.25.1 supported up through version 1.18 of the NX1P2. Sysmac Studio 1.18 supported the next firmware version of the NX1P2, which is 1.21. The link below shows the entire update history for Sysmac Studio.   https://www.fa.omron.co.jp/product/tool/454/sysmac-studio/e1_doc.html
  4. Explicit MSG - CP1H - CompactLogix/Micro850

    Writing to assemblies is an optional part of the EtherNet/IP specification. Omron PLCs generally do not permit this. This prevents one PLC from overwriting the data from another PLCs Implicit Message connection. The document in the link below shows the steps to setup the implicit message connection.   http://forums.mrplc.com/index.php?/files/file/1153-cj-to-compactlogix-implicit-messaging/
  5. CJ to CompactLogix Implicit Messaging View File This document shows the steps to create an Implicit Message connection between a CompactLogix or ControlLogix processor, and an Omron PLC on Ethernet/IP. Submitter PMCR Submitted 09/06/19 Category PLC Sample Code
  6. Version 1.0.0

    197 downloads

    This document shows the steps to create an Implicit Message connection between a CompactLogix or ControlLogix processor, and an Omron PLC on Ethernet/IP.
  7. Data from an NX102 to Excel

    2 other options to write to the SD card. http://forums.mrplc.com/index.php?/files/file/1152-nx-or-nj-data-logging-function-block/ http://forums.mrplc.com/index.php?/files/file/1151-nx-or-nj-variable-historian/  
  8. Version 1.0.0

    659 downloads

    This function block allows users to log data to a .csv file on the SD card of an NX or NJ CPU
  9. NX or NJ Variable Historian View File This sample code creates a variable historian. It was originally created for a customer who wanted to log data at different intervals for different variables, and in some cases, only on change of state. It essentially can be used to write event data to a .csv file. Submitter PMCR Submitted 09/06/19 Category Omron
  10. NX or NJ Variable Historian

    Version 1.0.0

    360 downloads

    This sample code creates a variable historian. It was originally created for a customer who wanted to log data at different intervals for different variables, and in some cases, only on change of state. It essentially can be used to write event data to a .csv file.
  11. What model is the controller, and what firmware version is set in the project? On you previous installation of Windows, had you used the Omron Automation Software Autoupdate tool to perform the free update to a newer version of Sysmac Studio? The current version is 1.29.1.
  12. NE1A EtherNet/IP Communications

    IO Rack Attached are the .eds file for both an NE1A-SCPU02 and an NE1A-SCPU02-V1. Sorry. I don't know how to use this with Keyence software / hardware. NE1A-SCPU02.zip
  13. Omron Ethernet communication

    See the attached document. Your router configuration may be different, but the concept will be the same. Internet based access to Omron PLCs.pdf
  14. Help INDEX REGISTORS

    Attached is a doc that I wrote that explains all 3 indirect types of addressing available in Omron PLCs. Using IR and DR for Indirect Addressing.pdf Also, below is a link to a forward / reverse IR calculator (in VB) that I wrote before the manuals spelled out the memory areas. Using IR and DR for Indirect Addressing.pdf
  15. Should I Use Function Blocks?

    poovs This sounds like security / detention industry. Function Blocks are one way to make your job easier. Another way to do this that I use is to take a function like a door unlock, and create a single instance of ladder code using indirect addressing (using IR pointers). Then wrap a for / next loop around the code and step through many instances of the code in 1 scan. This cuts down troubleshooting, as you are changing 1 instance of your code. Here is an example. Door release buttons for 400 doors at 50.00 - 74.15 Individual timers for each door T100 - T499 Door outputs at 100.00 - 124.15 Press and hold a button for 1/2 second before opening a door. This takes some work up front to line up the data in contiguious blocks, but makes for some very efficient code. Simple_For_Next_Loop_Example.cxp
  16. File Name: FINS Ethernet Master / Slave Solution File Submitter: PMCR File Submitted: 26 Jul 2013 File Category: PLC Sample Code Drop in code for Single Master and up to 30 Slave PLCs on FINS Ethernet. The Master PLC can be a CP1L-E, CJ2M, CJ2H, CS1, or any PLC capable of sending FINS commands. Originally designed to share data across a network of CP1L-E PLCs. Each PLC shares 100 words in each direction with the master PLC. The reads can be setup to read as fast as possible, or at a given interval. The writes can be change of state (COS) driven, as fast as possible, or at a given interval. .pdf manual included. Click here to download this file
  17. f3dps2 I agree that not having a help reference for send / receive makes them a little tricky. Once you understand the variables that you need to pass in, I think the NJ makes this easier than the CJ PLCs, and I have done SEND / RECV in CJs for many years. Attached is a screen shot of a working SEND instruction. I do have network 1 defined as the built in EtherNet/IP port. I have defined the Net, Node, and Unit using the Initial Value setting. CommPort is not used, so set this to _NONE. You define the destination memory area using a variable of _eArea type, and you can put _DM, _CIO, etc as the value. Just use the _ character, followed by the memory area. You will see a drop down list once you start to build it. If this does not help keep you moving forward, let me know. NJFINSSend.bmp NJRoutingTable.bmp
  18. I believe the answer may be more in depth. Microsoft has released 9 versions of Windows 10 so far.  These are build versions (1507, 1703), not Enterprise, Home, etc. Newer versions of 10 do require updated USB drivers, which can be obtained using the Omron Automation Software Updater included in CX One and SYSMAC Studio. I believe the change in the driver is because Microsoft has started to require drivers to be digitally signed, and some of the drivers in SYSMAC Studio were not signed.
  19. Omron FH-L550 Camera controller

    Which Field Output tool are you using? I am going to assume it is PLC Link - Mitsubishi. If so, there is a Command / Response area outlined in manual Z342-E1-07 which is how you transfer data to the FHL. Commands to Write Data has a command 0050 1000 which is Set Unit Data. Each tool has an External Reference Table, which shows the numerical value for each item in a given tool. The External Reference Table is in manual Z341-E1-08.  
  20. RTU Modbus With CJ2M PLC and 3G3RX Drives on RS485

    Using a CJ1W-SCU31, CJ1W-SCU41, CJ1W-SCU32, or CJ1W-SCU42 on the PLC (CJ1 or CJ2) would be supported by the following code using the RS485 port on the SCU. http://forums.mrplc.com/index.php?app=downloads&showfile=867
  21. Using the latest Kepware OPC server is the best choice. Using CJ style addresses in the AT column works, but string data types would be a problem. The NJ stores strings internally in high / low byte order differently than a CJ.  A string of ABCD stored in an NJ read using a CJ address based driver would show up as BADC in the client software. This is the reason that devices such as the NB HMI have an NJ/NX driver selection when using the FINS protocol.  The driver knows that strings are stored differently.  I don't remember if any other data types are affected, but the Kepware OPC server that supports the NJ by tag name some solves the issue.
  22. File Name: Omron to AB EtherNetIP Explicit Messaging File Submitter: PMCR File Submitted: 8 Jun 2010 File Category: PLC Sample Code Example code to read and write integer and floating point data to and from CompactLogix, ControlLogix, and MicroLogix 1400 using EtherNet/IP. This works with Omron PLCs using CJ1W-EIP21 or CS1W-EIP21 EtherNet/IP modules, or CJ2H-xxx-EIP or CJ2M-CPU3x PLCs with built in EtherNet/IP. Click here to download this file
  23. Supermon

    Version 5.5

    143 downloads

    Omron Serial Snooping Software
  24. Communication with Cognex Insight camera

    I have helped a few customers through this configuration. On the Cognex side, you need firmware 4.1 or higher on the Insight. There is an eds file specifically for 4.1. In the included ZIP file is an example that an Omron distributor did for a Cognex to Omron CJ2 connection. View the .ppt file as the slide show, as he overlaps window. Eip.zip
  25. Communication with Cognex Insight camera

    I have attached 3 files. These files are loaded into the Color Coded FINS Messaging Tool, located here. http://forums.mrplc.com/index.php?app=downloads&showfile=948 These files do 3 things: Take the Cognex system Offline, put it Online, and change the program (by number). Here is how this works. 1. Get the messaging working from your PC using the Color Coded FINS messaging tool. Send the commands to the PLC by Ethernet. Make certain the Unit(BCD) of the Destination IP Address and FINS Routing Information is 16 + the Unit Number of the Ethernet/IP card in the PLC. So, 16 for unit 0, 17 for unit 1, etc. 2. Change the IP Address in the message (highlighted in pink) to match your Cognex system. The one I was working with was 10.102.145.13. You will see that as 30 31 30 2E('.') 31 30 32 2E('.') 31 32 34 2E('.') 30 31 33. 3. Once you have the message working from the tool, click 'Build CS/CJ CMND', and let the tool build the ladder for you. Copy the text, and paste it into a rung in CX Programmer, set to 'Show as Statement List'. Then change the view back to 'Show as Ladder' to display as normal ladder. Cognex SO1 Works.zip