![Mitsubishi Electric MELSEC-Q-MR-JE-C Скачать руководство пользователя страница 40](http://html.mh-extra.com/html/mitsubishi-electric/melsec-q-mr-je-c/melsec-q-mr-je-c_reference-manual_239167040.webp)
38
3 FB LIBRARY
3.2 Details of the FB Library
MC_MoveVelocity (Velocity Control)
Name
MC_MoveVelocity_JEC
Overview
Labels
■
I/O label
■
Input labels (Load:
П
: Always,
: Only at start)
■
Output labels
Item
Description
Function overview
Controls the velocity of the specified axis to the commanded velocity.
Symbol
[Structured Ladder]
Symbol
[Structured Text]
MC_MoveVelocity_JEC (Axis, Execute, Velocity, Acceleration, Deceleration, Direction, InVelocity, Busy, Active,
CommandAborted, 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)
Velocity
Commanded
velocity
Double-precision
real number
Velocity
command on
The velocity command value is set.
It can be specified with a sign.
(4)
Acceleration
Acceleration time
Double word
[signed]
0 to 50000
(ms)
The time taken for the servo motor to reach the rated
speed is set.
(5)
Deceleration
Deceleration time
Double word
[signed]
0 to 50000
(ms)
The time taken for the servo motor to stop from the
rated speed is set.
(6)
Direction
Rotation direction
Word [signed]
1, 2
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)
No.
Variable name
Name
Data type
Default value
Description
(7)
InVelocity
Commanded
velocity reached
Bit
OFF
It indicates that the velocity has reached the
specified value.
(8)
Busy
Executing
Bit
OFF
It indicates that the FB is in execution.
(9)
Active
Controlling
Bit
OFF
It indicates that the FB is controlling the axis.
(10)
CommandAborted
Abortion of
execution
Bit
OFF
It indicates that another FB has aborted the
execution of the FB.
(11)
Error
Error
Bit
OFF
When ON, it indicates that an error has occurred in
the FB.
(12)
ErrorID
Error code
Word [unsigned]
0
The error code generated in the FB is returned.
DUT: Axis
Axis :DUT
B: Execute
InVelocity :B
L: Velocity
Busy :B
D: Acceleration
Active :B
D: Deceleration
CommandAborted :B
W: Direction
Error :B
ErrorID :UW
MC_MoveVelocity_JEC
(1)
(1)
(7)
(8)
(9)
(10)
(11)
(12)
(2)
(3)
(4)
(5)
(6)
Содержание MELSEC-Q-MR-JE-C
Страница 1: ...PLCopen Motion Control Function Block Reference MR JE C ...
Страница 2: ......
Страница 4: ...2 INSTRUCTION INDEX 63 REVISIONS 65 TRADEMARKS 66 ...
Страница 7: ...1 OVERVIEW 1 5 Notes 5 1 MEMO ...
Страница 64: ...62 3 FB LIBRARY 3 5 Troubleshooting MEMO ...
Страница 66: ...64 MEMO ...
Страница 69: ......