Mitsubishi Electric MELSEC iQ-F Manual page 29

Fx5 positioning module function block reference
Hide thumbs Also See for MELSEC iQ-F:
Table of Contents

Advertisement

Item
Description
Timing chart of I/O signals
[For normal completion]
[For error completion]
Restrictions or precautions
• This FB does not include the error recovery processing. Program the error recovery processing separately in accordance
with the required system operation.
• This FB cannot be used in an interrupt program.
• Do not use this FB in programs that are executed only once, such as a subroutine program or FOR-NEXT loop, because
i_bEN (Execution command) cannot be turned off and the normal operation cannot be acquired. Always use this FB in
programs that can turn off i_bEN (Execution command).
• When this FB is used twice or more, precaution must be taken to avoid duplication of the target axis.
• Every input must be provided with a value for proper FB operation.
• When i_bEN (Execution command) is turned on while BUSY signal (Md.141: BUSY.b0, b1) is OFF, o_bErr (Error completion)
turns on and the processing of this FB is interrupted. In addition, the error code 201 (hexadecimal) is stored in o_uErrId
(Error code). For the error code, refer to Page 27 Error code.
• The pulse output mode and external input/output signal logic, etc. must be set according to the connected devices and
system before operating the positioning module. Set the GX Works3 module parameters according to the application. Refer
to the MELSEC iQ-F FX5 User's Manual (Positioning Control - Intelligent function module) for details on setting the
module parameters.
Error code
Error code (hexadecimal)
Description
100
The set value of i_uAxis (Target axis) is out of the range.
The target axis is not within the range of 1 to 4.
201
This FB is executed before the positioning operation starts.
i_bEN
o_bENO
Cd.27: Target position change
value (new address)
Cd.28: Target position change
value (new speed)
Cd.29: Target position change
request flag
o_bOK
o_bErr
o_uErrId
i_bEN
o_bENO
Cd.27: Target position change
value (new address)
Cd.28: Target position change
value (new speed)
Cd.29: Target position change
request flag
o_bOK
o_bErr
o_uErrId
Present value
New Value
Present value
New Value
0
1
0
0
Present value
Present value
0
0
Error code
Action
Try again after checking the setting.
Please try again during the positioning operation.
0
2 POSITIONING MODULE FB
2.7 M+FX5PG_ChangePosition
2
27

Advertisement

Table of Contents
loading

Table of Contents