Jump to content
OMRON Forums

How to Watch a local variable of subprogram in Powerpmac IDE?


Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

You will need to identify the “L-variable” defined in the subroutine and then monitor the proper “Ldata.Stack[m].L[i]” element. This element contains the value of local stack variable Li in the program or subprogram m levels deep (m = 0 for the top-level program or thread). This element provides a method for “external” access to the local variable stack. It is intended mainly for diagnostics and debugging. It is possible to write to this element.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...