Mitsubishi Electric MELSEC iQ-F Reference page 33

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

Advertisement

No.
Variable name
Name
(20)
pbo_u4ErrTime
Error occurrence time
(21)
pbo_uErrNetworkNo
Error detection
network number
(22)
pbo_uErrStationNo
Error-detected station
number
FB details
Item
Description
Available device
Target module
CPU module
Engineering tool
Language
Ladder diagram
Number of basic steps
161 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, data corresponding to the write data length is written from the device
specified with the write data storage device into the target station write device of the specified target station address.
• If an error occurs during device write, o_bErr (Error completion) turns ON, and the error code is stored in o_uErrld (Error
code). Refer to Page 32 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)
Data type
Word [unsigned]
(0..3)
Word [unsigned]
Word [unsigned]
FX5-CCLIEF
FX5U CPU, FX5UC CPU
GX Works3 Version 1.025B or later
i_bEN
o_bENO
GP.WRITE instruction
Stop
o_bOK
o_bErr
o_uErrId
i_bEN
o_bENO
GP.WRITE instruction
Stop
Execution
o_bOK
o_bErr
o_uErrId
0H
Default value
Description
Clock data at the time of error occurrence is stored.
1st word
• Upper 8 bits: Month (01H to 12H)
• Lower 8 bits: Lower 2 digits of year (00H to 99H)
2nd word
• Upper 8 bits: Hour (00H to 23H)
• Lower 8 bits: Day (01H to 31H)
3rd word
• Upper 8 bits: Second (00H to 59H)
• Lower 8 bits: Minute (00H to 59H)
4th word
• Upper 8 bits: Upper 2 digits of year (00H to 99H)
• Lower 8 bits: Day of week (00H (Sunday) to 06H
(Saturday))
The network number of the station in which an error was
detected is stored.
The station number of the station in which an error was
detected is stored.
CC-Link IE Field Network station number
• 125: Master station
• 1 to 120: Local station, remote device station,
intelligent device station, submaster station
Execution
Stop
0H
Stop
Error code
0H
3 CC-LINK IE FIELD NETWORK MODULE FB
3.2 M+FX5CCLIEF_DeviceWrite
3
31

Advertisement

Table of Contents
loading

Table of Contents