Delta Tau GEO BRICK LV Reference Manual

Page of 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC On-line Command Specification 
 396 
Example: 
IDNUMBER 
374A256E9014D101 
SIZE 
Function: 
Report the amount of unused buffer memory in Turbo PMAC. 
Scope: 
Global 
Syntax: 
SIZE 
This command causes Turbo PMAC to report to the host the amount of unused long words of memory 
available for buffers.  If no program buffer (motion, PLC or rotary buffer) is open, this value is reported 
as a positive number.  If a buffer is currently open, the value is reported as a negative number. 
Example: 
DEFINE GATHER 
; Reserve all remaining memory for gathering 
SIZE 
; Ask for amount of open memory 
; PMAC reports none available 
DELETE GATHER 
; Free up memory from gathering buffer 
SIZE 
; Ask for amount of open memory 
25232 
; PMAC reports number of words available 
OPEN PROG 10 
; Open a motion program buffer 
SIZE 
; Ask for amount of open memory 
-25232 
; The negative sign shows a buffer is open 
See Also: 
I-Variable I18 
On-line commands DELETE GATHER 
STN 
Function: 
Report MACRO station order number  
Scope: 
Global 
Syntax: 
STN 
This command causes Turbo PMAC to return its station order number, intended to represent the order of 
the Turbo PMAC in the MACRO ring.  This value is stored in variable I85, and can take a value of 0 to 
254.  When the Turbo PMAC has a station order number of 1 to 254, and receives a 
MACROSTASCII{constant} command whose {constant} value matches the station order 
number, it will respond to the command. 
This station order number is set with the STN={constant} or the I85={constant} command.  If 
no station order number has been assigned to the Turbo PMAC, it will return a value of 0 to this 
command.  The first device in the ring with a station order number of 0 will respond to a 
MACROSTASCII255 command. 
See Also: 
I-variable I85 
Commands STN={constant}MACROSTASCII