Tinkerman42

MrPLC Member
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Tinkerman42

  • Rank
    Hi, I am New!

Profile Information

  • Country United States
  1. Logo!8 data loging. 5 last values on HMI TDE

    One way to do this is to create 5 arithmetic computation blocks.  Connect the count you want to track to the first item of a computation block (let's call it B101) and leave the other 3 items set to zero. Now connect the output of the block (B101) to an analog flag (lets call it AM1).  Now take AM1 and connect it to the first item of a second computation block (let's call it B102).  Now connect the output of the block (B102) to another analog flag (lets call it AM2).  And so on and so on.  You get the idea, so the last part would be AM4 connected to the first item on B105 and the output of B105 connected to AM5. Now you need a trigger that goes high when your count is ready to be read.  Make sure the trigger is one shotted and attach this to the enable connection on all of the Computation blocks (B101-B105).  Be sure each Computation block is set so that the output maintains last value when disabled.  This way the new count will be read and saved in the first block and the historical readings will move down in the other blocks and then hold until the next count is ready. Your count history will be in both AM1-AM5 and the output of B101-B105. If you find that you are capturing the count too early you can add an M flag between the one shot trigger and the Enables on the Blocks. If you are capturing the count too late add an Analog Flag (AM) between the count and the First Computation Block (B101 in my example). Using this method you do not have any restrictions on what block numbers are used.   You may have to tweak it a bit but this should get you what you want.
  2. If you want a good gateway that will take the Profinet I/O and send it to your AB PLC and vise versa, try Real Time Automations gateways. I have used their Modbus to AB compact logix a couple of times.  A very solid product.  The sweet thing is that it will take the Profinet data and write it directly into a PLC address and also read a PLC address and send it to a Profinet address.  USA built and supported.  Sorry for sounding like a sales guy but I have just been super pleased with their product.