M+Fx5Cclief_Recv - Mitsubishi Electric MELSEC iQ-F Reference

Fx5 ethernet/cc-link ie function block
Hide thumbs Also See for MELSEC iQ-F:
Table of Contents

Advertisement

FB details
Item
Description
Available device
Target module
CPU module
Engineering tool
Language
Ladder diagram
Number of basic steps
132 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
• When i_bEN (Execution command) is turned ON, the received data is read from the specified received data storage channel
and saved into the received data storage device.
• If an error occurs while receiving the data, o_bErr (Error completion) turns ON, and the error code is stored in o_uErrld (Error
code). Refer to Page 39 Error code for details on the error codes.
FB compilation method
Macro type
FB operation
Pulsed execution (multiple scan execution type)
Timing chart of I/O signals
[For normal completion]
[For error completion]
(For instruction error)
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 GP.RECV instruction.
• Turn off i_bEN (Execution command) after o_bOK (Normal completion) or o_bErr (Error completion) is turned on. By turning
off i_bEN (Execution command), o_bOK (Normal completion) or o_bErr (Error completion) is turned off and o_uErrId (Error
code) is cleared to 0. However, because the GP.RECV instruction which is a pulse instruction in the FB is used, if a write is
performed while the FB is executed, the instruction may not be executed, and o_bOK (Normal completion) and o_bErr (Error
completion) may not turn on. If this happens, turn i_bEN (Execute command) from off to on again.
• 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).
• When using several of these FBs, make sure that the receive data storage channel do not overlap.
• Every input must be provided with a value for proper FB operation.
• Set the module parameters in GX Works3 in accordance with the connected equipment and system. For the module
parameters, refer to the MELSEC iQ-F FX5 User's Manual (CC-Link IE).
Error code
Error code (hexadecimal)
Description
D000H to DFFFH
This error code is the same as the error code that occurs with the
(GP.RECV) instruction for reading data received from the
programmable controller of another station.
FX5-CCLIEF
FX5U CPU, FX5UC CPU
GX Works3 Version 1.025B or later
i_bEN
o_bENO
GP.RECV instruction
Stop
o_bOK
o_uReadData
Indefinite value
o_bErr
o_uErrId
i_bEN
o_bENO
GP.RECV instruction
Stop
Execution
o_bOK
o_uReadData
o_bErr
o_uErrId
0H
Execution
Stop
Receive data
0H
Stop
Indefinite value
Error code
0H
Action
Refer to the MELSEC iQ-F FX5 User's Manual
(CC-Link IE)
3 CC-LINK IE FIELD NETWORK MODULE FB

3.4 M+FX5CCLIEF_Recv

3
39

Advertisement

Table of Contents
loading

Table of Contents