Mc_Moveabsolute (Absolute Value Positioning) - Mitsubishi Electric MELSEC-Q-MR-JE-C Reference Manual

Plcopen motion control function block for melsec-q series
Table of Contents

Advertisement

MC_MoveAbsolute (Absolute Value Positioning)

Name
MC_MoveAbsolute_JEC
Overview
Item
Function overview
Symbol
[Structured Ladder]
Symbol
[Structured Text]
Labels
■I/O label
No.
Variable name
(1)
Axis
■Input labels (Load: П: Always, : Only at start)
No.
Variable name
(2)
Execute
(3)
Position
(4)
Velocity
(5)
Acceleration
(6)
Deceleration
(7)
Direction
■Output labels
No.
Variable name
(8)
Done
(9)
Busy
(10)
CommandAborted
(11)
Error
(12)
ErrorID
3 FB LIBRARY
32
3.2 Details of the FB Library
Description
Specifies the commanded absolute position of the specified axis and executes positioning.
(1)
DUT: Axis
(2)
B: Execute
(3)
L: Position
(4)
L: Velocity
(5)
D: Acceleration
(6)
D: Deceleration
(7)
W: Direction
MC_MoveAbsolute_JEC (Axis, Execute, Position, Velocity, Acceleration, Deceleration, Direction, Done, Busy,
CommnadAborted, Error, ErrorID)
Name
Data type
Axis information
AXIS_REF_JEC
Name
Data type
Execution command
Bit
Commanded
Double-precision
position
real number
Velocity
Double-precision
real number
Acceleration time
Double word
[signed]
Deceleration time
Double word
[signed]
Rotation direction
Word [signed]
Name
Data type
Execution
Bit
completion
Executing
Bit
Abortion of
Bit
execution
Error
Bit
Error code
Word [unsigned]
MC_MoveAbsolute_JEC
CommandAborted :B
Setting range
Import
Setting
range
ON, OFF
Positioning
range on
"Page 21 Unit"
 Velocity
command on
"Page 21 Unit"
0 to 20000
(ms)
0 to 20000
(ms)
1, 2, 3, 4
Default value
OFF
OFF
OFF
OFF
0
Axis :DUT
(1)
Done :B
(8)
Busy :B
(9)
(10)
Error :B
(11)
ErrorID :UW
(12)
Description
Page 59 AXIS_REF_JEC (Axis information)
Description
ON: The FB is executed.
The commanded absolute position is set.
The velocity command value is set.
The time taken for the servo motor to reach the rated
speed is set.
The time taken for the servo motor to stop from the
rated speed is set.
Page 60 MC_DIRECTION (Direction Selection)
Description
It indicates that the axis has reached the
commanded position.
It indicates that the FB is in execution.
It indicates that another FB has aborted the
execution of the FB.
When ON, it indicates that an error has occurred in
the FB.
The error code generated in the FB is returned.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents