chelton

MrPLC Member
  • Content count

    379
  • Joined

  • Last visited

Everything posted by chelton

  1. @DonNH You shouldn't use timers within a FOR loop. In your case your timer will never timeout. The loop will iterate the 5 times instantly then finish. You need to monitor the status of the FB after you have executed, then if you don't get the desired result after xxx time/counts then re-execute the FB.
  2. Do you really need to loop within the same scan cycle? If it's comm's responses your wanting to see if it succeed or not i don't think a "for" loop is the correct solution.
  3. You are correct that you can't create an input condition to the "FOR" loop using the "FOR" instruction, so it runs every time the task is scanned. However you can easily just use inline ST (structured text) and have input conditions before the inline ST block.
  4. The Add on profile may not be compatible with the older controller, however there should be nothing stopping you from using a generic module and using the module this way.  
  5. Should i Use MOV or COP

    Not sure how an AOI will help.  Make an array of STRING[] data type and populate them with the  ASCII data you require, then just copy the data from the array to the register you want.
  6. Should i Use MOV or COP

    You can copy strings from one string to another. 'Literals' or 'constants' were only available in last few years.
  7. Should i Use MOV or COP

    Support for literal strings is relatively new. My guess is the older compact logix cpu doesn't support them.
  8. Should i Use MOV or COP

    Are both machines running same firmware?
  9. NS Recovery

    Thanks for following up.Glad you got it working again.
  10. You also have the luxury of not having a "hard to deal with" IT dept. Approach your local IT/PC companies, tell them what your needs and requirements are and maybe work with them. Networks become very messy and hard to control/maintain when there is no structure. Just adding a VPN is not a difficult task, controlling who has access to what is when things become more important.
  11. NS Recovery

    File has been sent. Steps. Copy file to your linux machine Extract the file - tar -xzvf NS10.gz will create a file called NS10.img Install your CF card to write the image to sudo lsblk command will show your block devices. Maybe /dev/sdb  Write the image to the CF card - sudo dd if=./NS10.img of=/dev/sdb When you run lsblk /dev/sdb you should now have 2 x partitions.  Install the CF back into the NS and you should be able to recover the system.
  12. NS Recovery

    @S1090 check you PM.
  13. NS Recovery

    For anyone following this thread. I was able to create a replacement internal CF card by creating a sector copy of the original. The original CF card is 128Mb partitioned into 2 x AIX partitions of 61.1Mb. After copying the file to a new CF card (32Gb) and starting the NS it must detect the system has changed, and require the recovery process. However it boots and runs fine. 
  14. Not sure why you would want the fan and pump speeds to match? It's not uncommon for cooling tower fans to be just idling over moving enough air to maintain temp. A centrifugal pump running this slow wouldn't be operating within its operating range.
  15. NS Recovery

    @S1090 I will be able to get NS10 image later this week. Please PM your email. The image will be a sector copy and as such file will end up file size of the CF card capacity (approx 128Mb). You will need to use linux to write back to CF card. I will send instructions. 
  16. Cx-Programmer Remote Ethernet Rack

    If only omron would release some more communication modules like profibus/devicenet for the NX range. Retrofit's would be so much simpler. 
  17. Cx-Programmer Remote Ethernet Rack

    Hopefully a similar unit is released for the NX1 series. Being limited to only the builtin ethernet ports is a pain. 
  18. Cx designer and ns runtime

    Yes as per the doc @IO_Rack provided you will need to modify the routing table on the plc, and put the ethernet port onto network 1. Default is 0.
  19. Cx designer and ns runtime

    Not sure if its a problem my end but can't see any images on your post.
  20. NS Recovery

    I have an NS10 that i can create an image file. Assuming it would be the same OS as an NS12
  21. yep lots of XML. Ugly and slow. Unfortunately this is the way a lot of IDE's are going.
  22. DH_xxx returned 217

    Bob,  How are you connected on the RSlinx end? 1784-PCMK card? 1785-KA5? PKTXD? or using rslinx gateway through a dh/rio card?  Have you connected to this device previously? Tried changing the local node address? Most issues i've come across is duplicate node address/baud rate issues.  
  23. NS Recovery

    By formatting the internal CF card you will have wiped the boot loader, and operating system. The internal CF card is internal for a reason. The recovery and update files that omron provide are read in to the system via external CF card.  What is the capacity of the internal CF card you formatted?   
  24. NS Recovery

    Any chance you have another NS screen that you can clone the CF card? Linux "dd" command could do a byte for byte copy of a working internal CF card.
  25. NS Recovery

    MyOmron>Downloads>Products>HMI>NS Firmware has all the firmware dowloads.