Mc_Setposition - Delta Electronics DVP15MC11T Operation Manual

Table of Contents

Advertisement

11.3.11 MC_SetPosition

FB/FC
MC_SetPosition is used to set the position of the axis to a given value and
FB
no actual axis motion is brought accordingly.
Input Parameters
Parameter name
Specify the number of
Axis
the axis which is to be
controlled
The instruction is
executed when
Execute
Execute changes from
FALSE to TRUE.
Specify the target
Position.
Position
(Unit: Unit)
Specify the relative
mode or absolute
Relative
mode for the target
position and current
position.
Specify the position
ReferenceType
type for reference.
ExecutionMode
Reserved
Output Parameters
Parameter
name
Done
TRUE when the instruction is completed.
Busy
TRUE while the instruction is being executed.
Error
TRUE while there is an error.
Contains error codes when an error occurs. Please refer
ErrorID
to section 12.2 for the corresponding error code.
Explanation
MC_S etPosition_instance
MC_SetP osition
Axis
Execut e
Position
Relative
ReferenceType
Execut ionMode
Function
Data type
USINT
BOOL
LREAL
BOOL
MC_
ReferenceType
Function
Chapter 12 Troubleshooting
Done
Busy
Erro r
ErrorID
Valid range
(Default)
1~32
(The variable value
must be set)
TRUE or FALSE
(FALSE)
Negative number,
positive number or 0
(0)
TRUE or FALSE
(FALSE)
0: mcCommand
Position
1: mcActual Position
(0)
Data type
BOOL
BOOL
BOOL
WORD
Applicable model
DVP15MC11T
Validation timing
When Execute
changes from
FALSE to TRUE
-
When Execute
changes from
FALSE to TRUE
When Execute
changes from
FALSE to TRUE
When Execute
changes from
FALSE to TRUE
Valid range
TRUE / FALSE
TRUE / FALSE
TRUE / FALSE
11-73
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents