![Mitsubishi Electric MELSEC-Q-MR-JE-C Скачать руководство пользователя страница 37](http://html.mh-extra.com/html/mitsubishi-electric/melsec-q-mr-je-c/melsec-q-mr-je-c_reference-manual_239167037.webp)
3 FB LIBRARY
3.2 Details of the FB Library
35
3
Function overview
Item
Description
Applicable hardware and
software
Applicable CPU
QnUDVCPU
Applicable engineering tool
GX Works2
Language
Structured Text
Number of basic steps
1174 steps
Function description
This FB moves the specified axis for the specified distance from the set value.
This FB is executed when Execute turns ON, and Busy turns ON when the processing is normally started.
When the processing is completed and positioning of the axis is completed, Done turns ON.
The axis status during positioning control is DiscreteMotion.
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 executing this FB while the continuous control FB is in execution (AxisStatus is ContinuousMotion), execute this FB
with the axis stopped.
• When turning OFF an execution command (Execute) after turning it ON, be sure to turn it OFF after Executing (Busy) is
ON.
• This FB cannot be executed while a positioning warning (alarm number: F4) is occurring in the servo amplifier.
• This FB cannot be used to control the axis of which the unit is set as degree.
• This FB cannot be executed while the positioning control FB is in execution (AxisStatus is DiscreteMotion).
• When another positioning control FB is executed with an execution completion (Done) of this FB, do not turn ON the
execution command (Execute) of the another FB to be executed, and turn OFF the execution command (Execute) of the
executed FB in the same scan. Otherwise, an error occurs in the another FB to be executed.
FB operation type
Pulsed execution (multiple scan execution type)
Timing chart
[Normal completion]
[Error completion]
Execute
Busy
Done
CommandAborted
Error
ErrorID
0
Execute
Busy
Done
CommandAborted
Error
ErrorID
Error code
Содержание 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: ......