MacSparky

MrPLC Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MacSparky

  • Rank
    Newbie

Profile Information

  • Country United Kingdom
  1. Analog filter code

    Thanks for all the advice, I'm sure I'll have fun trying out your suggestions! Here is hoping I don't crash the thing!
  2. Analog filter code

    Hi Peter, It is a slow moving process so an update time of maybe 10-20 seconds might work. As for accuracy, it doesn't need to be pin point. Id settle for consistency! Thanks for the ideas so far, but I'm afraid writing code for it would be beyond my capabilities. Cheers, Colin
  3. Hi I'm looking for some help on a bit of code for a PLC 5 analogue input. The application will be a laser distance sensor measuring the amount of product in a bunker as per picture. The picture is very basic, but gives the general idea of the application. The only problem that I can see would be some stray product floating about the bunker occasionally breaking the lasers beam. Is there a filter that would average the input over a set number of scans, we used a similar system in my last place, but it was Siemens and I don't have access to the code. Any help would be appreciated. Cheers, Colin
  4. Well that kind of sucks.......looks like I'm in for some fun fault finding then, bring back Siemens, all is forgiven!
  5. I worked it out going backwards. PLC J Bit B203/403 Read as B203:25/5 PLC K In as B403:29/5 out as B203:25/5 PLC Hydro In list as B203/469 It was more down to luck than skill though! The words were transferred PLC to PLC by MSG functions Now for another question! Using the above MSG as an example, say that I was on the ladder for the target device and I'm looking for where B403:29/1 is being written from, Can I find this out on the existing project or do I need to go through all the MSG functions on each PLC in the network till I find it or is there a more scientific(easier!) way? Thanks for your help so far, Colin
  6. Hi, the way it handles the B's and N's isn't that much different from Siemens, it's just what happens after which confuses me! On Siemens I would be able to trace it through the network settings. Is there a bit in RSlogix where you set up the communications? I've trailed over the program and I did find a block with lots of MSG functions in it, but none that mentioned N20:12. Could it be sent out in some other format? Regards, Colin I had to change user name to get email up dates, for some reason it kept telling me that my email was in use when I tried to change it!