Mitsubishi Electric MELSEC iQ-F FX5 Reference Manual page 12

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

Advertisement

■Output label
No.
Variable name
(7)
o_bENO
(8)
o_bOK
(9)
o_bServoON
(10)
o_bAbsTrMode
(11)
o_bAbsReq
(12)
o_bAbsNG
(13)
o_uAbsErrId
(14)
o_bErr
(15)
o_uErrId
FB details
Item
Available device
Language
Number of basic steps
Processing
FB compilation method
FB operation
Timing chart of I/O signals
3 POSITIONING FB
10
3.1 M+FX5UCPU-Positioning_ABRST
Name
Data type
Execution status
Bit
Normal completion
Bit
Servo ON signal
Bit
ABS transmission
Bit
mode
ABS request flag
Bit
ABS error
Bit
ABS error code
Word [Unsigned]
Error completion
Bit
Error code
Word [Unsigned]
Description
CPU module
Engineering tool
Ladder diagram
240 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.
• By turning on i_bEN (Execution command), the absolute position is restored.
• When the absolute position restoration (ABS current value read) 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 - CPU module built-in, High-speed pulse input/output module).
• If the set value of the target axis is outside the setting range, o_bErr (Error completion) turns ON and the processing of this
FB is aborted. In addition, the error code 100 (hexadecimal) is stored in o_uErrId (Error code). For the error code, refer to
Page 12 Error code.
• If absolute position restoration (ABS current value read) is not completed in 6 seconds, o_bErr (Error completion) turns ON
and the processing of this FB is aborted. In addition, the error code 200 (hexadecimal) is stored in o_uErrId (Error code). For
error codes, refer toPage 12 Error code.
Macro type
Always executed
[When the operation is completed successfully]
i_bEN
o_bENO
ABS current value read
Unexecuted
(DABS) instruction
o_bOK
o_bAbsNG
o_uAbsErrId
o_bErr
o_uErrId
Default value
Description
OFF
ON: The execution command is on.
OFF: The execution command is off.
OFF
When this label is ON, it indicates that absolute position
restoration (ABS current value read) is completed.
OFF
Servo ON signal is on while this label is on.
OFF
The servo amplifier is in the ABS transmission mode
while this label is on.
OFF
The ABS data is requested while this label is on.
OFF
When this label is on, it indicates that the absolute
position restoration has been completed with an error.
0
Stores the error code of the ABS current value read
(DABS) instruction.
OFF
When this label is on, it indicates that an error has
occurred in the FB.
0
Stores the error code that occurred in the FB.
FX5U CPU, FX5UC CPU
GX Works3 Version 1.007H or later
Executed (Duri n g read-out)
Read complete
Unexecuted
0H
0H

Advertisement

Table of Contents
loading

Table of Contents