AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS/E3D Forum
  • AVEVA World
PDMS/E3D Forum
Macros & Tools $R6 and $R
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 12 replies
  • Subscribers 14 subscribers
  • Views 196 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

$R6 and $R

nils boquin
nils boquin over 14 years ago
 
  • Sign in to reply
  • Cancel
  • nils boquin
    nils boquin over 14 years ago
    with '$R6 and $R' you can understand what's happen in the command line window when you start a macro.
    the pb is that you can see 'only' 1000 lines maximum in the command line window.

    Anybody know a command for show the macro line by line or increase the number of visible lines in the command line window?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • john pitchers
    john pitchers over 14 years ago
    Use ALPHA LOG to record it in a file
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Orlando de Oliveira Amaral dos Santos
    Orlando de Oliveira Amaral dos Santos over 14 years ago
    don´t forget to use alpha log end in the end.

    :D
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Nguyễn Đình Tri
    Nguyễn Đình Tri over 11 years ago
    thanks so much, i have been save all in command line after run $r6 by alpha log /c:\... :), thanks a lot
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Alan Gregory
    Alan Gregory over 11 years ago
    Don't forget the similar $r110 that can often be of more use IMO.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Han_BFY
    Han_BFY over 9 years ago
    Don't forget the similar $r110 that can often be of more use IMO.


    what is 'IMO' and the use of $r110?? explain please..
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Chad Shupe
    Chad Shupe over 9 years ago
    what is 'IMO' and the use of $r110?? explain please..


    IMO = In My Opinion

    as for the $R if you type in $HR on command window you will get an explanation of the PML Tracing.


    $HR

    $Rn or $Rn filename switches on tracing
    $R or $R0 switches it off
    $QR lists the tracing options currently enabled

    (By default trace output is sent to Shell window
     and variables preceded by $ are expanded)

    Specify 'n' by adding together the selected options:
    Add 1  for tracing to file (give the filename)
    Add 2  for tracing to the Requests Window
    Add 4  for tracing only the PML lines executed
    Add 8  for tracing all PML input lines
    Add 16 for tracing without $ expansion
    Add 32 for including line numbers in trace
    Add 64 for tracing changes of macro / function name

    EXAMPLES:
    $R4 traces executed lines only to Shell window
    $R6 traces executed lines only to alpha window
    $R65 filename traces macro/function changes to file
    $R100 full trace of executed lines to Shell window
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Terry Franklin
    Terry Franklin over 9 years ago
     

    https://aveva.dev-verintcommunity.com/cfs-file/__key/communityserver-discussions-components-files/1598/199718debug.pmlfrm

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ilgiz Kalimullin
    Ilgiz Kalimullin over 8 years ago
    $rR7 C:\aveva.log.txt

    this command output tracelog into the log.txt file
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Harender Singh
    Harender Singh over 3 years ago
     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>