2 POSITIONING MODULE FB
2.12 M+FX5PG_ABRST
39
2
FB details
(13)
o_uAbsErrId
ABS error code
Word [Unsigned]
0
The error code of the absolute position restoration
instruction is stored.
For the error codes, refer to
MELSEC iQ-F FX5
User's Manual (Positioning Control - Intelligent function
module).
(14)
o_bErr
Error completion
Bit
OFF
When this label is ON, it indicates that an error has
occurred in the FB.
(15)
o_uErrId
Error code
Word [Unsigned]
0
Stores the error code that occurred in the FB.
Item
Description
Available device
Target module
FX5-20PG-P
Target CPU
FX5U CPU, FX5UC CPU
Engineering tool
GX Works3 Version 1.035M or later
Language
Ladder diagram
Number of basic steps
225 steps
The number of FB steps integrated in the program varies depending on the CPU module used, the input/output definition, and
the setting options of GX Works3. For the setting options of GX Works3, refer to
GX Works3 Operating Manual.
Processing
• By turning on i_bEN (Execution command), the absolute position is restored.
• When the absolute position restoration is completed with an error, o_bAbsNG (ABS error) turns on and an error code is
stored in o_uAbsErrId (ABS error code). For the error codes, refer to
MELSEC iQ-F FX5 User's Manual (Positioning
Control - Intelligent function module).
• 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
Pulsed execution (multiple scan execution type)
No.
Variable name
Name
Data type
Default value
Description
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: ......