EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - Page 14

Mitsubishi Electric MELSEC iQ-F FX5
44 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
12
3 POSITIONING FB
3.1 M+FX5UCPU-Positioning_ABRST
Error code
Version upgrade history
*1 The label name for the following module label and data type used in the FB program were changed. As needed, delete the module label
(structured data types) used in the GX Works3 project, and add (import) it again, and then replace with the latest version of the FB in the
program. (Does not replace automatically.)
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 uses the ABS current value read (DABS) instruction. Executing this instruction 17 or more times at the same time
will cause an error.
When using an interrupt program, use the DI/EI instruction before and after executing this FB so that this FB is executed in
the interrupt disabled status.
This FB cannot be used in interrupt programs.
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 this FB is used, i_bEN (Execution command) must remain ON even after absolute position restoration (ABS current
value reading) is completed.
Do not turn OFF i_bEN (Execution command) during absolute position restoration (ABS current value reading). If i_bEN
(Execution command) is turned OFF before absolute position restoration (ABS current value read) is completed, reset the
CPU module and servo amplifier, and then turn OFF and ON i_bEN (Execution command) again.
The number of available axes varies depending on the setting of the pulse output mode. Select a proper axis in accordance
with the system.
When the servo ON signal is required in the first zero point detection, create a program that sets and resets the output
connected to the servo ON signal (o_ServoON) of this FB.
Set the pulse output mode, external I/O signal logic, etc. in accordance with the connected equipment and system. Set the
module parameters in 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).
Error code (hexadecimal) Description Action
100H The set value of i_uAxis (Target axis) is outside the setting range.
The target axis is set to a value outside the range from 1 to 12.
Try again after checking the setting.
200H Absolute position restoration (ABS current value read) was not
completed in 6 seconds (timeout).
Review the system configuration, servo amplifier
parameters and wiring, and then execute the FB
again.
Version Date Description
00A January 2015 First edition
01A July 2015 Some of the label names and data type for the module label used in the FB program were changed.
*1
02A May 2016 The target axis was changed to a value from 1 to 12.
Before the change After the change
Positioning current address (user unit) Label name udCurrentAddressU dCurrentAddressU
Data type Double Word [Unsigned] Double Word [Signed]
Positioning current address (pulse unit) Label name udCurrentAddressP dCurrentAddressP
Data type Double Word [Unsigned] Double Word [Signed]
Positioning zero-point address Label name udZeroPointAddress dZeroPointAddress
Data type Double Word [Unsigned] Double Word [Signed]
Item Description

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals