![Mitsubishi Electric MELSEC-Q-MR-JE-C Скачать руководство пользователя страница 41](http://html.mh-extra.com/html/mitsubishi-electric/melsec-q-mr-je-c/melsec-q-mr-je-c_reference-manual_239167041.webp)
3 FB LIBRARY
3.2 Details of the FB Library
39
3
Function overview
Item
Description
Applicable hardware and
software
Applicable CPU
QnUDVCPU
Applicable engineering tool
GX Works2
Language
Structured Text
Number of basic steps
986 steps
Function description
This FB controls the velocity of the specified axis to the commanded velocity.
This FB is executed when Execute turns ON, and Busy turns ON when the processing is normally started.
When the mode of the axis changes to the velocity control mode, Active turns ON. When the velocity of the axis has
reached the commanded velocity, InVelocity turns ON.
Once InVelocity turns ON when the velocity of the axis has reached the commanded velocity, InVelocity remains ON until
Execute turns OFF or the control is aborted.
The actual rotation direction depends on the sign specified with the commanded velocity (Velocity) and the setting of the
rotation direction (Direction).
The axis status transits to ContinuousMotion.
Abort the execution of the FB and switch the control by executing another MC_MoveVelocity or MC_TorqueControl.
To stop the operation, use MC_Halt. When the control is aborted, CommandAborted turns ON.
When Execute turns OFF, CommandAborted turns OFF.
When an error has occurred in the FB, this FB turns ON Error and stores an error code in ErrorID.
For details of error codes, refer to
Restrictions and precautions
• Before executing this FB, set the torque limit value (PositiveTorqueLimit, NegativeTorqueLimit) of the AXIS_REF
structure.
• When the positioning control FB is in execution (AxisStatus is DiscreteMotion), execute this FB with the axis stopped.
• When the mode is switched from the velocity control mode to the torque control mode, the servo motor speed may
momentarily fluctuate. Thus, it is recommended switching the mode from the velocity control mode to the torque control
mode after the servo motor is stopped.
FB operation type
Pulsed execution (multiple scan execution type)
Содержание 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: ......