You are on page 1of 3

6/16/2019 PML Basic Part 1 | PDMS Macro

PDMS Macro

PDMS LEARNING AND MACRO DOWNLOAD

PML Basic Part 1

10 APR
To start out, I wanted to introduce the Dollar $ symbol and its meanings

$M = Runs a macro in pdms


$! = Evaluate a varieble
$. = Terminates a macro
$S = Defines a synonym
$G = Defines a global synonym
$S- = Turns synonyms off
$S+ = Turns synonyms On
$QS = Queary’s the synonyms
$H = Help
$Q = Another syntax help
$P = Prints a line to your command line
$$ = Adds a $ symbol
$D = Default argument value

To turn the pml trace on and off I use

$R To turn trace Off
$R6 To turn trace On
$R109

When using the Tracking, you might want to use the alpha log command first. Try this.

Alpha log /C:/test.txt over


By adding the over, I am overwriting any file with the name Test.txt

Turn trace on
$R6

Than, using the pull downs


Modify > Name

The modify name form will come up and your command line filled with text.
$R
To turn off the Trace

https://pdmsmacro.wordpress.com/2012/04/10/pml-basic/ 1/3
6/16/2019 PML Basic Part 1 | PDMS Macro

Alpha log end


To end the log

$R<n>

1 = Tracing to shell window (default)


2 = Tracing to requests window
4 = Tracing of only input lines executed
8 = Tracing of all input lines
16 = Tracing without $ expresion (default off)
32 = Tracing includes line numbers
64 = Tracing of macro/function changes
100 = General Debugging
102 = capture trace in ALPHA LOG

Advertisements

2 Comments
Posted by pdmsmacro on April 10, 2012 in PDMS Training and Knowledge

Tags: AVEVA PDMS macro, aveva pdms macro download, aveva pdms training and tutorial, basic pml
programming, dollar symbol, Macro and Tools, pdms administrator tasks, pdms training, pdms tutorial,
PML, pml language, software, technology, virtualization

2 responses to “PML Basic Part 1”

Joyce

March 12, 2014 at 2:09 am

Valuable info. Fortunate mee I found your web site unintentionally, and I’m shocked whhy this
accident
didn’t took place in advance! I bookmarked
it.

Reply

pdmsmacro

July 4, 2014 at 1:28 am

Thanks Joyce

Reply

https://pdmsmacro.wordpress.com/2012/04/10/pml-basic/ 2/3
6/16/2019 PML Basic Part 1 | PDMS Macro

Blog at WordPress.com.

Entries (RSS) and Comments (RSS)

https://pdmsmacro.wordpress.com/2012/04/10/pml-basic/ 3/3

You might also like