![Mitsubishi Electric MELSEC-Q-MR-JE-C Reference Manual Download Page 38](http://html.mh-extra.com/html/mitsubishi-electric/melsec-q-mr-je-c/melsec-q-mr-je-c_reference-manual_239167038.webp)
36
3 FB LIBRARY
3.2 Details of the FB Library
MC_MoveAdditive (Commanded Position Change)
Name
MC_MoveAdditive_JEC
Overview
Labels
■
I/O label
■
Input labels (Load:
П
: Always,
: Only at start)
■
Output labels
Item
Description
Function overview
Adds a specified relative position in the previous positioning command of the specified axis and executes positioning.
Symbol
[Structured Ladder]
Symbol
[Structured Text]
MC_MoveAddtive_JEC (Axis, Execute, Distance, Velocity, Acceleration, Deceleration, Done, Busy, CommnadAborted,
Error, ErrorID)
No.
Variable name
Name
Data type
Setting range
Description
(1)
Axis
Axis information
AXIS_REF_JEC
Page 59 AXIS_REF_JEC (Axis information)
No.
Variable name
Name
Data type
Import
Setting
range
Description
(2)
Execute
Execution command
Bit
ON, OFF
ON: The FB is executed.
(3)
Distance
Travel distance
Double-precision
real number
Positioning
range on
The travel distance of the relative position is set.
(4)
Velocity
Commanded
velocity
Double-precision
real number
Velocity
command on
The velocity command value is set.
(5)
Acceleration
Acceleration time
Double word
[signed]
0 to 20000
(ms)
The time taken for the servo motor to reach the rated
speed is set.
(6)
Deceleration
Deceleration time
Double word
[signed]
0 to 20000
(ms)
The time taken for the servo motor to stop from the
rated speed is set.
No.
Variable name
Name
Data type
Default value
Description
(7)
Done
Execution
completion
Bit
OFF
It indicates that the axis has reached the
commanded position.
(8)
Busy
Executing
Bit
OFF
It indicates that the FB is in execution.
(9)
CommandAborted
Abortion of
execution
Bit
OFF
It indicates that another FB has aborted the
execution of the FB.
(10)
Error
Error
Bit
OFF
When ON, it indicates that an error has occurred in
the FB.
(11)
ErrorID
Error code
Word [unsigned]
0
The error code generated in the FB is returned.
DUT: Axis
Axis :DUT
B: Execute
Done :B
Busy :B
CommandAborted :B
Error :B
ErrorID :UW
L: Distance
L: Velocity
D: Acceleration
D: Deceleration
MC_MoveAdditive_JEC
(1)
(1)
(8)
(9)
(10)
(11)
(2)
(3)
(4)
(5)
(6)
(7)
Summary of Contents for MELSEC-Q-MR-JE-C
Page 1: ...PLCopen Motion Control Function Block Reference MR JE C ...
Page 2: ......
Page 4: ...2 INSTRUCTION INDEX 63 REVISIONS 65 TRADEMARKS 66 ...
Page 7: ...1 OVERVIEW 1 5 Notes 5 1 MEMO ...
Page 64: ...62 3 FB LIBRARY 3 5 Troubleshooting MEMO ...
Page 66: ...64 MEMO ...
Page 69: ......