AngHs

MrPLC Member
  • Content count

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

About AngHs

  • Rank
    Hi, I am New!

Profile Information

  • Country Singapore
  1. Dear,

    For Below,

    Can I have your sample program? Indirect_FB.cxp .

    Thank you and appreciated.

    感恩.

     

     

    f I understand what you are wanting to do, you want to point at different memory areas from a FB, without having to specify that variable as an AT address? I have done something identical to this, using index registers inside the FB. I have declared some tags as UINTS, Type_CIO, Type_D at 0 & D0 respectively. These tags are inputs to the FB, but instead of having a memory area, I set the index position of the data area that I want to look at. I have attached a sample of what I have done, maybe this will help? Indirect_FB.cxp It is pretty self-explanatory, you will need to know how the IR registers work to understand it I guess... Edited 8 Mar 2008 by scottmurphy