PMCR

MrPLC Admin
  • Content count

    687
  • Joined

  • Last visited

Everything posted by PMCR

  1. CX_Luigi   Can you post screen shots of your global variables and the CIPUCMMWrite instructions?
  2. This should be similar to what you need. http://forums.mrplc.com/index.php?/files/file/1155-nx-nj-moving-variable-data-with-removable-media-on-na-hmi/
  3. NX NJ Moving Variable Data with removable media on NA HMI View File This document, and the accompanying Sysmac Studio sample project, are intended to provide a method of moving the values of a variable (typically a structured variable, built using a custom data type) from one machine to another machine with the same variable and data type.  Machine setup parameters, initial factory default values, or similar parameters would be typical examples when this type of function would be used.  This is accomplished using removable media (USB Drive or SD Card) attached to an NA HMI.  The variable data is saved on the removable media on ‘Machine A’.  The media is ejected from ‘Machine A’ and moved to the NA HMI on ‘Machine B’.  The data is then loaded into the variable on ‘Machine B’, completing the process.  An externally mounted USB extension cable / jack allows this operation to be performed without the need to open any control cabinets. Submitter PMCR Submitted 10/24/19 Category HMI Sample Code
  4. Version 1.0.0

    3 downloads

    This document, and the accompanying Sysmac Studio sample project, are intended to provide a method of moving the values of a variable (typically a structured variable, built using a custom data type) from one machine to another machine with the same variable and data type.  Machine setup parameters, initial factory default values, or similar parameters would be typical examples when this type of function would be used.  This is accomplished using removable media (USB Drive or SD Card) attached to an NA HMI.  The variable data is saved on the removable media on ‘Machine A’.  The media is ejected from ‘Machine A’ and moved to the NA HMI on ‘Machine B’.  The data is then loaded into the variable on ‘Machine B’, completing the process.  An externally mounted USB extension cable / jack allows this operation to be performed without the need to open any control cabinets.
  5. CP1 Modbus TCP Peer to Peer View File This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules Submitter PMCR Submitted 10/24/19 Category PLC Sample Code
  6. Version 1.0.0

    9 downloads

    This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules
  7. 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.
  8. 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
  9. 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/
  10. 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
  11. Version 1.0.0

    32 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.
  12. NX or NJ Data Logging Function Block View File This function block allows users to log data to a .csv file on the SD card of an NX or NJ CPU Submitter PMCR Submitted 09/06/19 Category Omron
  13. 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/  
  14. Version 1.0.0

    39 downloads

    This function block allows users to log data to a .csv file on the SD card of an NX or NJ CPU
  15. 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
  16. NX or NJ Variable Historian

    Version 1.0.0

    35 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.
  17. 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.
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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.
  25. 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.