EDH0162En1040 – 06/99
3.98
PT — Calculate necessary time for axis displacement
Usage
IMM
PGM
MIP
Syntax
xxPTnn
Parameters
Description
xx
[int]
— Axis number.
nn
— Distance of displacement.
Range
xx
—
0
to
4.
nn
— Float.
Units
xx
— None.
nn
— Actual unit.
Defaults
xx
Missing: Error B.
Out of range: Error B.
nn
Missing: Error C.
Out of range: Error C.
Description
This command calculates the necessary time for the displacement of axis
#
xx
of distance
nn
.
Returns
The necessary time (seconds) for displacement of axis #
xx
of distance
nn
.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
C
—
Parameter out of limits.
D
—
Unauthorized execution.
Rel. Commands
None.
Example 1PT20
|
Calculate the time for axis #1 displacement of 20 units.
1PT1.25
|
Controller returns value in seconds.
MM4005
PS — Allow generation of pulses on motion
(cont.)
Rel. Commands
PB
—Set start position of generation of pulses of synchronisation.
PE
—
Set end position of generation of pulses of synchronisation.
PI
—
Set step of generation of pulses.
Example
1PB-20
|Set start position for axis #1 to -20 units.
1PE0
|
Set end position for axis #1 to 0 units.
1PI2
|
Set step to 2 units.
1PA-50
|
Displacement without generation of pulses.
1PS
|
Allow generation of pulses.
1PA50
|
Displacement with generation of pulses.
1PB10
|
New PB.
1PE30
|
New PE.
1PI1
|
New PI.
1WP5
|
Wait the axis #1 for 5 units.
1PS3
|
Update PB, PE, PI.
TT
|
Read data.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com