Mc_Movevelocity (Velocity Control) - Mitsubishi Electric MELSEC-Q-MR-JE-C Reference Manual

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

Advertisement

MC_MoveVelocity (Velocity Control)

Name
MC_MoveVelocity_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)
Velocity
(4)
Acceleration
(5)
Deceleration
(6)
Direction
■Output labels
No.
Variable name
(7)
InVelocity
(8)
Busy
(9)
Active
(10)
CommandAborted
(11)
Error
(12)
ErrorID
3 FB LIBRARY
38
3.2 Details of the FB Library
Description
Controls the velocity of the specified axis to the commanded velocity.
(1)
DUT: Axis
(2)
B: Execute
(3)
L: Velocity
(4)
D: Acceleration
(5)
D: Deceleration
(6)
W: Direction
MC_MoveVelocity_JEC (Axis, Execute, Velocity, Acceleration, Deceleration, Direction, InVelocity, Busy, Active,
CommandAborted, Error, ErrorID)
Name
Data type
Axis information
AXIS_REF_JEC
Name
Data type
Execution command
Bit
Commanded
Double-precision
velocity
real number
Acceleration time
Double word
[signed]
Deceleration time
Double word
[signed]
Rotation direction
Word [signed]
Name
Data type
Commanded
Bit
velocity reached
Executing
Bit
Controlling
Bit
Abortion of
Bit
execution
Error
Bit
Error code
Word [unsigned]
MC_MoveVelocity_JEC
CommandAborted :B
Setting range
Import
Setting
range
ON, OFF
 Velocity
command on
"Page 21 Unit"
0 to 50000
(ms)
0 to 50000
(ms)
1, 2
Default value
OFF
OFF
OFF
OFF
OFF
0
Axis :DUT
(1)
InVelocity :B
(7)
Busy :B
(8)
Active :B
(9)
(10)
Error :B
(11)
ErrorID :UW
(12)
Description
Page 59 AXIS_REF_JEC (Axis information)
Description
ON: The FB is executed.
The velocity command value is set.
It can be specified with a sign.
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.
The rotation direction is specified.
MC_DIRECTION defined values can be used. Select
one of the following two values.
• mcPositiveDirection positive direction (1)
• mcNegativeDirection negative direction (2)
Description
It indicates that the velocity has reached the
specified value.
It indicates that the FB is in execution.
It indicates that the FB is controlling the axis.
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