Reference Manual
PMAC 2 Software Reference
PMAC On-Line Command Specification 227
Example
ENABLE PLCC 1
ENA PLCC 2,7
ENABLE PLCC 3,21
ENABLE PLCC 0..31
See Also
I-variable I5
On-line commands DISABLE PLC, DISABLE PLCC, ENABLE PLC, OPEN PLC,
<CONTROL-D>.
Program commands DISABLE PLC, DISABLE PLCC, ENABLE PLC, ENABLE PLCC
ENDGATHER
Function
Stop data gathering.
Scope
Global
Syntax
ENDGATHER
ENDG
Remarks
This command causes data gathering to cease. Data gathering may start up again (without
overwriting old data) with another GATHER command.
This command is usually used in conjunction with the data gathering and plotting functions
of the PMAC Executive Program.
If a motion or PLC program buffer is open when this command is sent to PMAC, the
command will be entered into that buffer for later execution.
Example
GAT B1R .......... ; Start gathering and run program 1
ENDG.................. Stop gathering – give this command when moves
........................... of interest are done
OPEN PROG2 CLEAR
X10
DWELL1000
CMD”GATHER”. ; Program issues start command here
X20 .................... ; Move of interest
DWELL50
CMD”ENDG”...... ; Program issues stop command here
CLOSE
See Also
Data Gathering Function (Analysis Features)
I-variables I19-I44
On-line commands DEFINE GATHER, GATHER, LIST GATHER, DELETE GATHER
Gathering and Plotting (PMAC Executive Program Manual)
F
Function
Report motor following error
Scope
Motor specific
Syntax
F
Remarks
This command causes PMAC to report the present motor following error (in counts, rounded
to the nearest tenth of a count) to the host. Following error is the difference between motor
desired and measured position at any instant. When the motor is open-loop (killed or
enabled), following error does not exist and PMAC reports a value of 0.
Example
F......................... ; Ask for following error of addressed motor
12 ...................... ; PMAC responds
#3F .................... ; Ask for following error of Motor 3
-6.7 ; PMAC responds