Reference Manual
PMAC 2 Software Reference
PMAC On-Line Command Specification 205
CLEARFAULT
Function
Clear Geo PMAC fault display
Scope
Global
Syntax
CLEARFAULT
CLRF
Remarks
This command clears the seven-segment fault display on the Geo PMAC controller/amplifier
package. After this command is issued, the fault display will show a “0”. However, if the
fault-causing condition is still present, the fault display will immediately show that fault
number again.
CLOSE
Function
Close the currently opened buffer.
Scope
Global
Syntax
CLOSE
CLS
Remarks
This closes the currently OPENed buffer. This should be used immediate after the entry of a
motion, PLC, rotary, etc. buffer. If the buffer is left open, subsequent statements that are
intended as on-line commands (e.g. P1=0) will get entered into the buffer instead. It is good
practice to have CLOSE at the beginning and end of any file to be downloaded to PMAC.
When PMAC receives a CLOSE command, it automatically appends a RETURN statement to
the end of the open program buffer.
If any PROGRAM or PLC in PMAC is improperly structured (e.g. no ENDIF or ENDWHILE
to match an IF or WHILE), PMAC will report an ERR003 at the CLOSE command for any
buffer until the problem is fixed.
Example
CLOSE ............... ; This makes sure all buffers are closed
OPEN PROG 1. ; Open motion program buffer 1
CLEAR ............... ; Clear out this buffer
F1000 ............... ; Program actually starts here!...
X2500 ...... ;...and ends on this line!
CLOSE .............. ; This closes the program buffer
LIST PROG 1. ; Request listing of closed program
F1000 ............... ; PMAC starts listing
X2500 ...............
RETURN ; This was appended by the CLOSE command
See Also
Program Buffers (Talking to PMAC)
On-line commands OPEN, CLEAR, <CTRL-L>, <CTRL-U>
{constant}
Function
Assign value to variable P0, or to table entry.
Scope
Global
Syntax
{constant}
where:
• {constant} is a floating point value