PG_LSpeed Function
Returns the pulse speed at the time when the current PG axis starts accelerating and finishes decelerating.
Syntax
PG_LSpeed [ (paramNumber) ]
Parameters
- paramNumber
- Specify one set value number from the following numbers: If omitted, 1 is used.
- 1: Pulse speed at acceleration starts
- 2: Pulse speed at deceleration finishes
Return Values
Integer value from 1 to 32767 in units of pulse/second.
See Also
PG_LSpeed Statement
PG_LSpeed Function Example
Integer savPGLSpeed
savPGLSpeed = PG_LSpeed(1)