![Mitsubishi Electric MELSEC iQ-F Manual Download Page 19](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f/melsec-iq-f_manual_239102019.webp)
2 POSITIONING MODULE FB
2.4 M+FX5PG_MPG
17
2
Error code
Processing
• By turning ON or OFF i_bEN (Execution command), the manual pulse generator operation is enabled or disabled.
• This FB is constantly executed after i_bEN (Execution command) is turned on.
• The workpiece moves for the number of pulses input from the manual pulse generator while o_bOK (Normal completion) is
ON.
• If the setting value of the target axis is out of the setting range, o_bErr (Error completion) turns on and the processing of this
FB is interrupted. In addition, the error code 100 (hexadecimal) is stored in o_uErrId (Error code). For the error code, refer to
FB compilation method
Macro type
FB operation
Always executed
Timing chart of I/O signals
[For normal completion (Axis 1)]
[For error completion (Axis 1)]
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).
• Do not change i_uAxis (Target axis) while i_bEN (Execution command) is ON.
• 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.
• 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 (hexadecimal)
Description
Action
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.
Try again after checking the setting.
Item
Description
0
1
0
0
Cd.21: Manual pulse generator
enable flag
BUSY signal (Md.141: BUSY.b0)
i_bEN
o_bENO
o_bOK
o_bErr
o_uErrId
o_bErr
Cd.21: Manual pulse generator
enable flag
BUSY signal (Md.141: BUSY.b0)
i_bEN
o_bENO
o_bOK
o_uErrId
Error code
0
0
0
Summary of Contents for MELSEC iQ-F
Page 1: ...MELSEC iQ F FX5 Positioning Module Function Block Reference ...
Page 2: ......
Page 5: ...1 FUNCTION BLOCK FB LIST 3 1 MEMO ...
Page 55: ...I 53 MEMO ...
Page 57: ......