Delta Tau GEO BRICK LV Reference Manual

Page of 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC On-line Command Specification 
 383 
 
the optional second{constant} must be at least as great as the first {constant} – it represents 
the number of the end of the range; 
P{constant},{constant},{constant} 
where: 
 
the first {constant} is an integer from 0 to 8190 representing the number of the first P-variable; 
 
the second {constant} is an integer from 1 to 8191 representing the number P-variables whose 
value is to be reported;  
 
the third {constant} is an integer from 1 to 8191 representing the numerical spacing between each 
P-variable whose value is to be reported; 
This command causes Turbo PMAC to report the current value of the specified P-variable, or range or set 
of P-variables. 
Example: 
P1 
; Host asks for value 
25 
; Turbo PMAC responds 
P1005 
3.444444444 
P100..102 
17.5 
-373 
0.0005 
P100,3,100 
; Request for value of P100, P200, P300 
33.7 
92.13 
8.05 
See Also: 
P-Variables (Computational Features) 
On-line commands I{constant}M{constant}Q{constant}P{data}={expression} 
P{data}={expression}  
Function: 
Assign a value to a P-variable. 
Scope: 
Global 
Syntax: 
P{data}={expression} 
where: 
 
{data} is a constant, or an expression in parentheses, for an integer value from 0 to 8191 
representing the P-variable number; 
 
{expression} contains the value to be given to the specified P-variable 
P{constant}..{constant}={constant} 
where: 
 
the first {constant} is an integer from 0 to 8190 representing the number of the first P-variable; 
 
the second {constant} is an integer from 1 to 8191 representing the number of the last P-variable; 
it must be at least as great as the first {constant} 
 
the final {constant} contains the value to be given to the specified range of P-variables 
P{constant},{constant},{constant}={constant} 
where: 
 
the first {constant} is an integer from 0 to 8190 representing the number of the first P-variable; 
 
the second {constant} is an integer from 1 to 8191 representing the number P-variables whose 
value is to be set;  
 
the third {constant} is an integer from 1 to 8191 representing the numerical spacing between each 
P-variable whose value is to be set;