Delta Tau GEO BRICK LV Reference Manual

Page of 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC On-line Command Specification 
 296 
See Also: 
On-line commands DATEVERSION 
CID 
Function: 
Report card ID or part number. 
Scope: 
Global 
Syntax: 
CID 
This command causes Turbo PMAC to return the card’s part number.  This can be used to confirm 
exactly which type of Turbo PMAC is being used. 
The currently existing types of Turbo PMAC and the values they return for CID are: 
 
Turbo PMAC PC: 
602191 
 
Turbo PMAC VME: 
602199 
 
Turbo PMAC2 PC: 
602404 
 
Turbo PMAC2 VME: 
602413 
 
Turbo PMAC2 PC Ultralite:  603182 
 
Turbo PMA2 PCI: 
603367 
 
3U Turbo PMAC2: 
603382 
See Also: 
I-Variable I4909 
On-line commands CPUTYPEVERSIONVID 
CLEAR 
Function: 
Erase currently opened buffer. 
Scope:   
Port specific 
Syntax:  
CLEAR 
 
CLR 
This command empties the program buffer (PROGRAM, PLC, ROTARY) that is currently opened on the 
port over which the command is given.  If used to empty an open rotary motion program buffer, it only 
affects the buffer for the addressed coordinate system on that port. 
If there is no open program buffer, or if the program buffer that is open was opened from another 
communications port, the CLEAR command will be rejected with an error, reporting ERR007 if I6=1 or 3. 
Note:  
Prior to V1.936 firmware, an open buffer could be accessed from any port, and the 
CLEAR command could be used on one port to empty a buffer that had been 
opened on another port.  Starting in V1.936, a CLEAR command could only be 
used to empty a buffer opened from the same port. 
Typically, as a buffer file is created in the host computer, start with the OPEN {buffer} and CLEAR 
commands (even though these lines are technically not part of the buffer), and follow with the actual 
contents.  This will allow easy edit of the buffers from the host and repeated downloading of the buffers, 
erasing the old buffer’s contents in the process. 
Example: 
OPEN PROG 1 
; Open motion program buffer 1 
CLEAR 
; Clear out this buffer 
F1000 
; Program really starts here! 
X2500 
;...and ends on this line! 
CLOSE 
; This closes the program buffer 
OPEN PLC 3 CLEAR CLOSE  ; This erases PLC 3