MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

66 Excellent

About chelton

  • Rank

Profile Information

  • Country Australia

Recent Profile Visitors

6464 profile views
  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.