You are not logged in.
Pages: 1
hello everyone. i was curious to know how, if possible, to make the logger in 6.1.2 display the name of the subroutine being used as it happens.
for example:
M98P83
logger would display:
Subroutine 83.
this might be one of those issues that im making more difficult than it needs to be, but if someone could clear me up on this subject i would really appreciate it. thanks in advance.
Mike
Hoppe Tool
Offline
In the control > Word/Address, under Register
P * with M98
add Variable 99999 (this will assign the value defined by P)
Add the macro MessageMacro
Override Value = 2 (will output a warning message to the logger)
Override Text = Called Subroutine Number is: {#99999}
---- in the override text, you can pass a numerical value from a variable or a calculation if between { }
If you have in your program, M98P1234, you will get in the Logger, Called Subroutine Number is: 1234
In 6.2, we added Info > Call Stack
This new feature allows you to follow which subroutine is called, which line called it and which level of subroutines are you in.
Offline
thanks serge! youre a great help!
Mike
Hoppe Tool
Offline
Pages: 1