Mitsubishi Electric MELSEC iQ-F FX5 Reference Manual page 18

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

Advertisement

Item
Timing chart of I/O signals
Restrictions or precautions
3 POSITIONING FB
16
3.2 M+FX5UCPU-Positioning_StartPositioning
Description
[When the operation is completed with an error]
(Multiple table operation (DRVTBL) instruction completes abnormally)
i_bEN
o_bENO
Multiple table operation
(DRVTBL) instruction
Positioning instruction
activation (SM device)
Instruction execution abnormal
completion (SM device)
Positioning complete flag
Positioning abnormal
completion flag
Table transfer command
(SM device)
o_bOK
o_bErr
0H
o_uErrId
[When the operation is completed with an error]
(Positioning completes abnormally)
i_bEN
o_bENO
Multiple table operation
(DRVTBL) instruction
Positioning instruction
Stop
activation (SM device)
Instruction execution
complete (SM device)
Positioning complete flag
Positioning abnormal
completion flag
Table transfer command
(SM device)
o_bOK
o_bErr
o_uErrId
• This FB does not include error recovery processing. Program error recovery processing separately in accordance with the
system or required behavior.
• Configure appropriate set values for the i_uStartNo (positioning activation number) and pbi_uEndNo (last table number)
according to the parameter settings.
• Use a user program when the table shift command is controlled by the user in the stepping operation of the DRVTBL
instruction.
• When the same axis number is used both inside and outside this FB, precautions must be taken in regards to duplicate coils
in the table transfer command. It is recommended to use the SET/RST instruction to control the table transfer command.
• In the parameter setting, set the external start signal "enable/disable" to "disable".
• To control the system, input the required signal to the input terminal by the set control method or use a user program. For the
required signals, refer to the MELSEC iQ-F FX5 User's Manual (Positioning Control - CPU module built-in, High-speed
pulse input/output module).
• Turn i_bEN (Execution command) off after o_bOK (Normal completion) or o_bErr (Error completion) is turned on. If i_bEN
(Execution command) is turned off when positioning has been activated, it will decelerate and stop.
• This FB cannot be used in interrupt programs.
• If this FB is used in a program that is executed only once (such as a subroutine program or FOR-NEXT loop), i_bEN
(Execution command) cannot be turned off and normal operation will become impossible. Therefore, use this FB in
programs that can turn i_bEN (Execution command) off.
• When this FB is used twice or more, precaution must be taken to avoid duplicating the target axis.
• Every input must be provided with a value for proper FB operation.
• The number of available axes varies depending on the setting of the pulse output mode. Select a proper target axis in
accordance with the system.
• The pulse output mode, external I/O signal logic, etc. must be set in accordance with the connected equipment and system.
Set the module parameters for GX Works3 in accordance with the application. For the module parameter setting method,
refer to the MELSEC iQ-F FX5 User's Manual (Positioning Control - CPU module built-in, High-speed pulse input/output
module).
Stop
Error code
Table 1
Stop
0H
Error code
0H
0H

Advertisement

Table of Contents
loading

Table of Contents