Справочник для Delta Tau GEO BRICK LV

Скачать
Страница из 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC On-line Command Specification 
 390 
Q{constant}..{constant}={constant} 
where: 
 
the first {constant} is an integer from 0 to 8190 representing the number of the first Q-variable; 
 
the second {constant} is an integer from 1 to 8191 representing the number of the last Q-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 Q-variables 
Q{constant},{constant},{constant}={constant} 
where: 
 
the first {constant} is an integer from 0 to 8190 representing the number of the first Q-variable; 
 
the second {constant} is an integer from 1 to 8191 representing the number Q-variables whose 
value is to be set;  
 
the third {constant} is an integer from 1 to 8191 representing the numerical spacing between each 
Q-variable whose value is to be set; 
 
the final {constant} contains the value to be given to the specified set of Q-variables 
This command causes Turbo PMAC to assign the value of the expression to the specified Q-variable or 
range of Q-variables for the addressed coordinate system.   
If a motion or PLC program buffer is open when the single-variable form of this command is sent to 
Turbo PMAC, the command will be entered into the buffer for later execution.  If a motion or PLC 
program buffer is open when the multiple-variable form of this command is sent, Turbo PMAC will reject 
the command with an error, reporting ERR003 if I6 is 1 or 3. 
Example: 
Q100=2.5 
Q20= Q18*SIN(Q19) 
Q(P1+P2)=2.71828 
Q(200+Q1)=P1*LN(7.5)
 
Q1..10=0 
Q20,5,10=7.5 
; Sets Q20, Q40, Q60, Q80, & Q100 to 7.5 
See Also: 
Q-Variables (Computational Features) 
On-line commands I{data}={expression}M{data}={expression}
P{data}={expression}Q{constant} 
Program command Q{data}={expression}