3.97
EDH0162En1040 – 06/99
MM4005
PS — Allow generation of pulses on motion
Usage
IMM
PGM
MIP
Syntax
xxPSpp
Parameters
Description
xx
[int]
— Axis number.
pp
[int]
— Auxiliary parameter.
Range
xx
—
0
to
4.
pp
—
0
to
3.
Units
xx
— None.
pp
— None.
Defaults
xx
Missing: Error B.
Out of range: Error B.
Floating point: Error A.
pp
Missing: 0.
Description
This command verifies the correctness of data enterred by PB, PE and PI
before allow generation of pulses for an axis. If a condition is not satisfied,
the generation of pulses is disabled and the command returns an error. If
nof, pulses are generated in the course of axis displacement.
At every moment where a pulse is generated:
• If
pp
= 0 or missing: actual position of
xx
axis is stocked in the axis trace
buffer and can be reread by TT command.
• If
pp
= 1: actual positions of all axis are stocked in the global trace buffer
and can be reread by TQ command.
• If
pp
= 2: actual positions are not stocked.
• If
pp
= 3 this command is used on-line (axis in mouvement) to update
PB, PE or PI commands that are newly entered.
The pulses are generated on pin 11 of the 25-pin auxiliary connector with a
pulse width of about 5 µsec.
NOTE
This command, if successful, erases the effect of trace mode precedently
defined by TM command if pp = 0 or missing, or the effect of trace mode
precedently defined by GQ command if pp = 1.
NOTE
This command, if used with pp
≠
3, must precede immediately PA, PR or
SE command.
NOTE
The starting and ending axis motion must be out of the interval defined
by PB and PE commands.
Returns
None.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
D
—
Unauthorized execution.
f
—
Synchronization pulses generation impossible.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com