MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

29 Excellent

About chelton

  • Rank

Profile Information

  • Country Australia
  1. NX 120 volt digital inputs

    You could use an ethercat bus coupler from the likes of beckhoff and use I/O from their range. Then you could still utilize the NX102
  2. what does this formula do ?

    I would assume IO_Rmc_Data is an index for a 10 element array of Data. The forrmula is creating a repeating 0-9 output. So if when IO_Rmc_Data = 9 , the next time the CPT is executed (IO_Rmc_Data+1) MOD 10, would equate to 10 MOD 10 which = 0
  3. How would you interpret this CPT

    Using your example JSR(_Fx,2,21,MstrDmd,lbdPosGas) Subrutine _Fx is called with input parameter 21 and MstDmd and returns lbdPosGas. In the Subroutine, Rung 1 will evaluate to 21-1 AND 7 = 4 Rung 4 will then be evaluated because FxNo is between 17-24 so the COP will copy 32 elements from  FX17_24[4,0,0] to FxX0  ...... That's as much as I can explain without knowing the value of MstDmd.    
  4. How would you interpret this CPT

    All the CPT instruction is doing is making the range of FxTblStart from 0-7 from an input FxNo from 1 - 48  
  5. How would you interpret this CPT

    what else is writing to FxTblStart?   How can FxNo-1 AND 7 = 1?    
  6. RsLogix 5 execution times

    You would still need to loop through the entire array to calculate the standard deviation each time the average changes. @Criticore how often are you needing to update these values?
  7. RsLogix 5 execution times

    I would look at using a FAL instruction for your calculations and setting the mode to the number of iterations you want to perform each scan. If for example you set the mode to 50 your calculations could be completed by the 6th scan.
  8. I hope you didn't get the same surprise I got arriving on site unable to fire up your VM. It was fun trying to get cellular reception to download the update lol.
  9. Just a warning for anyone using a mac for their VM's . VMware fusion version 11.5 is not supported by the latest OSX "Big Sur" If you update your OS  you will get no warnings and you will find that fusion no longer works, you will need to upgrade fusion too. 
  10. I agree, thanks for posting the outcome. Out of curiosity did you find if the db module was doing anything?
  11. @spark man even though there is nothing in RAM your program could still be on the ROM. Here's a sample output of "Call 81". It tells me there is 1 program in ROM.   You can then change the console to look at the program by typing ROM 1 then list the program stored. Hope this helps.
  12. From command mode enter "call 81" This will tell you if there are any valid programs stored in the eeprom
  13. I'll rephrase what I said. Judging by the response you receive from db module it appears the memory is corrupt, and therefore not operating. This does not mean the module does nothing, but that something in the plc program may not be functioning correctly, because the db module is not running its program.
  14. You can use the ROM and RAM commands to load the program from the chip. Read the manual first though. 
  15. Definately looks like the db module program is corrupt. Why not disable the btr/btw to the db module and see if there is any effect on the machine. Judging by the output I'm guessing it's doing nothing.