Mc_Setposition; Variables - Omron NY532-1500 Reference Manual

Ny-series industrial pc platform
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

MC_SetPosition

The MC_SetPosition instruction changes the command current position or the actual current position of
an axis as required.
Instruction
Name
MC_SetPosition
Set Position

Variables

Input Variables
Name
Meaning
Execute
Execute
Position
Target Posi-
tion
ReferecneType
Position Type
Selection
Relative
Relative Posi-
(Reserved)
tion Selection
MC_Execution
Execution
Mode
Mode
(Reserved)
*1 Refer to Unit Conversion Settings in the NJ/NX-series CPU Unit Motion Control User's Manual (Cat. No. W507) or NY-
series Industrial Panel PC / Industrial Box PC Motion Control User's Manual (Cat. No. W559) for information on command
units.
*2 The default value for an enumeration variable is actually not the number, but the enumerator.
NY-series Motion Control Instructions Reference Manual (W561)
FB/FUN
Graphic expression
FB
MC_SetPosition_instance
Axis
Execute
Position
ReferenceType
Relative
ExecutionMode
Data type
BOOL
TRUE or FALSE
LREAL
Negative number,
positive number, or
0
_eMC_REFERENCE_
0: _mcCommand
TYPE
1: _mcFeedback
BOOL
TRUE or FALSE
_eMC_EXECUTION_
0: _mcImmediately
MODE
3 Axis Command Instructions
MC_SetPosition
Axis
Done
Busy
CommandAborted
Error
ErrorID
Valid range
Default
FALSE
0
*2
0
FALSE
*2
0
ST expression
MC_SetPosition_instance (
Axis :=parameter,
Execute :=parameter,
Position :=parameter,
ReferenceType
:=parameter,
Relative :=parameter,
ExcutionMode :=parameter,
Done =>parameter,
Busy =>parameter,
CommandAborted
=>parameter,
Error =>parameter,
ErrorID =>parameter
);
Description
The instruction is executed
when Execute changes to
TRUE.
Specify the absolute target
position. The unit is com-
*1
mand units.
Specifies the position type.
0: Command position (servo
axis or virtual servo axis)
1: Actual position (encoder
axis or virtual encoder
axis)
(Reserved)
(Reserved)
3-147
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ny512-1500Ny532-1400Ny512-1400Ny512-1300Ny532-1300

Table of Contents