Michael Walsh

MrPLC Admin
  • Content count

    1801
  • Joined

  • Last visited

Everything posted by Michael Walsh

  1. Change Subnet On CP1L PLC

    Is this a CP1L (with an adapter) or CP1L-E with a built in port? It sounds like a CP1L-E, but I just want to make sure.
  2. Send and Recv function

    Yes, it does.
  3. Average value

    Yes it did mention INT, but being that this is a Sysmac controller, it would be very easy to move the INT to Float, do the math and then convert back to INT if desired.
  4. Send and Recv function

    Yes, that is correct.  I think they misnamed these instructions.  SEND is really like a WRITE instruction  and RECV would have been better named READ.  You only need to do one command on one end.  
  5. CX Programmer (CJ1M CPU12-ETN)

    The date and time values are kept in the following registers: Unfortunately, Hours and minutes are not stored in a way that are easy to use, so you need to manipulate the information into a more useful arrangement.  I use the MOVD instruction to do this in the code below.  If I put hours in the upper two bytes of a word (bits 8-15) and minutes in the lower two bytes (bits 0-7), I can use two comparison instructions.  In my example below, I turn on the output between 7:30 am and 5:15 pm.  The time on my system was 11:51 am when I captured the image below.
  6. cx programmer

    His comparison constant is input using hex (#0).  The code is working exactly as intended and is done correctly.  The only issue is that D896 is being displayed as an Unsigned Integer (that is what & means).  To force it to show BCD (HEX), just click the button in the toolbar that has a pair of eyeglasses and the number 16.
  7. NX1P2 Fins

    This was answered in the other post.  You are using an NX102, not an NX1P2, right?  Only port 2 supports FINS on the NX102.
  8. Connecting NB Series HMI to CP1L Series PLC

    If you could attach your programs, it would be helpful.  
  9. CP1L autoonline

    I believe that he is saying that he did both (on and off) and it did not work either way.  I would suggest unchecking the box and connecting directly to the PLC with a cable (no switch) as photovoltaic was suggesting.
  10. Motion Control

    I imagine that this is done with pulse train control.  A change in scaling will likely need to be done on either the PLC or the drive side.  It would probably be easier to do it on the drive side.  But yes, more info would be helpful.  
  11. NS5 HMI Connection Problem

    As was requested earlier in the thread, post your PLC and HMI code.  You can take all of the actual code out of each (CX-Programmer and CX-Designer files), but be sure to leave the settings.  Make sure to get the folder that is the same name as the .ipp file for your HMI program and zip them in a file together. For instance: If your file name is NewProject.IPP, make sure to also include the folder located in the same directory called NewProject.   For CX-Programmer, only the .cxp file is needed.
  12. CP1E won't connect or run program

    Solution is to buy new hardware.
  13. NX1P2 FTP Data Sending Process

    You also need to configure the PC to be an FTP Server.  The attached document describes how to do that with Win10 and also shows sample code on how to do the FTPPutFile function block. Configuring Windows 10 As A FTP Server Quick Start Guide.docx
  14. 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.  
  15. 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:
  16. Implementing the Omron CX Server DDE and Excel

    @Rahul_Punk_ I have fixed the link in Jay's post.
  17. 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.
  18. OMRON NJ/NX PLC to PLC Over Internet

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

    @NootNoot I fixed the links in PMCR's post.
  20. EJ1N-TC4 Temperature Controller stop Output on Alarm

    It looks like this ought to do it:
  21. Cant´t download program to NS8

    This has been resolved.  See third post in this thread.
  22. 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.
  23. File Copy for NX/NJ

    The MOVE instruction now does indeed convert data types (only certain combinations where you don't lose resolution however).  
  24. 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:  
  25. From a DM: Hello Michael , I'm new here , i have doubt with the display of a timer , my boss request a count down display in the HMI but how we can display the real value? I mean i need to put  Countdown display of 5min but the TIM is in miliseconds 6000 = 5min and in the display only put 6000. i hope you can help me.  Regards. Ivan  @Ivan Fajardo