Michael Walsh

MrPLC Admin
  • Content count

    1763
  • Joined

  • Last visited

Community Reputation

257 Excellent

About Michael Walsh

  • Rank
    Omron Expert
  • Birthday 07/22/73

Contact Methods

  • Website URL http://

Profile Information

  • Gender Male
  • Location Charlotte, NC
  • Country United States

Recent Profile Visitors

20136 profile views
  1. how to set up timer in st

    I wanted to point out some misleading info / mistakes in my comments above.  The first bit in the TIMX structured text instruction is the enable bit (highlighted yellow).  To access the done bit, you need to look at the TimerNumber.CF flag (Complete Flag - Highlighted green) and to access the present value of the timer, you would use the TimerNumber.PV (Present Value - Highlighted blue)  UINT variable.  See my example below.  
  2. Hi Michael, 

    Hope you have a good day.

    I need your help regarding on to assign the Array value from the Array variable in my controller NX1P into HMI NA5.

    This is the idea, I have created 3 Array Variables in my controller. Each of the Array Variables have 10 index size from  [0..9]. Here I attached the images of Array Variable that was created.

    61a040fe59c1e_Globalvariablefromcontroll

    The Array Variables Name that I want to display in my NA5 HMI is :

    - Total_Shot Array of [0..9]

    -DateTime Array of [0..9]

    -Total_Final_Cycle Array of [0..9]

    I have created the HMI page that has 3 column and consist of 10 row of Data Display.

    Each of the row actually I want to display the value of  the array from index [0] to index[9] in downwards, refer to the images below. 

    61a0428e71036_OutputData.PNG.2facf580c2a

    1st column - I want to display the value from Array of Total_Shot[0] .....Total Shot[9] in downwards.

    2nd column - I want to display the value from Array of DateTime[0].....DateTime[10] in downwards.

    3rd column - I want to display the value from Array of Total_Final_Cycle[0] ... Total_Final_Cycle[9] in downwards.

    I provide the images with explanation for better understanding. 

    Idea.PNG.069d1d2a5bf590d069dc599dc22b1b3

    The question is, how to assign the each of array variable that I created from my controller into the DataDisplay Expression for each of Array [index]? I have tried many ways but still failed. 

  3. unable to address Arrays in NX1P2

    To add to @photovoltaic's comment, you actually have to go into the Memory Settings under Controller Setup (Multiview Explorer option) and enable the areas you want to use.  Unlike the NJ processors, the NX1P2 and NX102 processors do not have the memory areas enabled by default. NX1P2 has 4 options: The NX102 has more options:
  4. Implementing the Omron CX Server DDE and Excel

    @Rahul_Punk_ I have fixed the link in Jay's post.
  5. Cycle Time and Accurate Positioning

    I would expect that this issue is mechanical in nature.  0.02 mm variance in a mechanical system is not that much unless you have specialized actuators.  If you observe the command and the feedback from the encoder using CX-Drive and the numbers are repeatable, then you have an issue with your actuators.
  6. Hello,

    can you check :  

    NX1P

    Started by Molvik, Friday at 7:55 PM

    Please.

    Thahks for link.

    We have two machines  main drive  AC motors: 7,5 KW and 15 KW.

    production line is made 1980 whit resolver for positionig and speed control.

    So, i need to control speed and position. Plan is to drive 3 phase AC motrors with VFD and use two encoder.

    On OMRON site i found https://www.myomron.com/index.php?action=kb&article=1490

    Now i looking for someting similar for NX1P2 because i have NX1P2 + EC0222 + E6C3-CVZ 5Gh (2x) encoder

    I think we need also pulse output unit to send  pulse train to the inputs of VFD.

    Output conveyor on firist machine and input conveyor on secod machine must running the same speed and positionig 

    how would product from first conveyor fell on providet for that positionig. The speed of conveyors is 1 - 2 potation per second.

    best regards.

     

     

    IMG_20210913_101219.jpg

  7. HI MICHAEL WALSH
    THIS IS HARSHAL PATEL. I AM NEW IN OMRON PLC PROGRAMMING. I WANT TO COMMUNICATE TWO OMRON PLC CP1L. BUT I CLOULD NOT OPEN SOCKET FROM A PLC. I HAVE ATTACHED MY PROGRAM WITH IT. CAN YOU LOOK INTO AND UPDATE ME WHAT CAN I DO FOR IT?

    THANK YOU

     

    THE ERROR IS COMMING FROM A567.14 IS REMAIN ON. 
     

    tcp socket.cxp

  8. hi mr michael,can you help me,ebout ethernet ip connection nx1p2 and etrcat.thanks 

  9. OMRON NJ/NX PLC to PLC Over Internet

    @NootNoot @IO_Rack I have fixed the links in the other thread.
  10. plc-plc via internet

    @NootNoot I fixed the links in PMCR's post.
  11. Cant´t download program to NS8

    This has been resolved.  See third post in this thread.
  12. Kepware to Omron via Remote Server - No Comms

    Can you provide a picture of what you are trying to do?  Complete with IP addresses.  Please show the PLC, the router and the remote PC.  Perhaps help can be provided with that information.  Also include the node # on the switches on the front of the CJ2M.
  13. File Copy for NX/NJ

    The MOVE instruction now does indeed convert data types (only certain combinations where you don't lose resolution however).  
  14. Sysmac Studio Improvement Request

    The variable discussion made me think of this tip.  It does not address your online edit issue, but is useful for programming offline.  There is a setting that allows you to select whether a variable will be created as a global or a local variable when you add it in the ladder editor.  To do so, go to the Tools Pulldown menu and choose options.  Then check the box as shown below: Then the following dialog will shown when creating a variable as you add elements:  
  15. sample logic

    There really is not much logic to it.  The temperature shows up in a register for each of the 4 inputs: Input 1 is in word n+1 Input 2 is in word n+2 Input 3 is in word n+3 Input 4 is in word n+4 n = 2000 + 10 x unit number. So if the unit number dialed in on the front of the card is 3 and you are looking for the current value of input 2, then you would look in address 2032. Explaining - n = 2000 + 10 * 3  = 2030.  Input 2 is word n+2, 2030 + 2 = 2032. then you use that number for whatever purpose that you need.   Here is the manual:  https://www.fa.omron.com.cn/data_pdf/mnu/w368-e1-10_cs1w-p____cj1w-p___.pdf?id=1644 Look in section 3-3.