Download User Manual - OEM International AB

Transcript
3.6.9
TS_SetPT
Symbol:
TS_SetPT
EN
Done
Execute
CommandAborted
PTCounterValue
Busy
LowLevelValue
Error
PTPOS0
ErrorID
ControlWord
AxisID
ENO
Parameter description:
Input
Output
Parameters
EN
Execute
PTCounterValue
LowLevelValue
PTPOS0
ControlWord
AxisID
ENO
Done
Data type
BOOL
BOOL
INT
INT
REAL
WORD
INT
BOOL
BOOL
CommandAborted
BOOL
Busy
BOOL
Error
BOOL
ErrorID
WORD
Description
Enable function execution
At rising edge the command is sent
The new counter value for the first PT point
The new value for low buffer signaling
The initial position for absolute PT mode
Selects the block options
Axis ID of the drive/motor where the commands are sent
Status of function block execution
Signal that PT motion mode programmed successfully
The motion command is aborted by another motion
command
The function block is processing the command
Signal if an error has occurred in the execution of the
function block or an error message was received from the
drive
Information about the error occurred
Description: The function block programs a drive/motor to work in PT motion mode. In PT motion
mode the drive/motor performs a positioning path described through a series of points. Each point
specifies the desired Position and Time, i.e. contains a PT data. Between the points the built-in
reference generator performs a linear interpolation.
Remarks: The function block just programs the drive/motor for PT mode, the motion mode is
activated from function block TS_PTPoint, and therefore the TS_PTPoint must follow TS_SetPT
call. Also, the function block TS_PTPoint sends the PT points to the drive/motor.
The PT motion mode can be started only when the previous motion is complete. However, you
can switch at any moment to another motion mode by calling a different function block with
The PT mode can be relative (ControlWord.0 = 0) or absolute (ControlWord.0 = 1). In the
absolute mode, each PT point specifies the position to reach. The initial position may be either the
© Technosoft 2007
47
TML_LIB_CJ1 – User Manual