M+Fx5Cclief_Deviceread - 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

No.
Variable name
Name
(5)
i_s32TargetDevice
Target station read
device
(6)
i_uChannel
Own station channel
■Output label
No.
Variable name
Name
(7)
o_bENO
Execution status
(8)
o_bOK
Normal completion
(9)
o_bErr
Error completion
(10)
o_uErrId
Error code
(11)
o_uReadData
Read data storage
device
■Public label
No.
Variable name
Name
(12)
pbi_uCPU_Type
Target station CPU
type
(13)
pbi_uResendCountM
Maximum number of
ax
resends
(14)
pbi_uTimeUnit
Arrival monitoring
time unit
(15)
pbi_uMonitorTime
Arrival monitoring
time
(16)
pbi_bStationSpecific
Target station address
specification method
(17)
pbo_uResendCount
Number of resends
(18)
pbo_u4ErrTime
Error occurrence time
(19)
pbo_uErrNetworkNo
Error detection
network number
Data type
Range
Character string
(32)
Word [unsigned]
1, 2
Data type
Default value
Bit
OFF
Bit
OFF
Bit
OFF
Word [unsigned]
0
Word [unsigned]
0
Data type
Range
Word [unsigned]
0000H, 03D0H to
03D3H, 03E0H to
03E3H, 03FFH
Word [unsigned]
0 to 15
Word [unsigned]
Word [unsigned]
0, 1 to 32767
Bit
Word [unsigned]
Word [unsigned]
(0..3)
Word [unsigned]
Description
Specify the head device of the target station from which
data is to be read.
Refer to the MELSEC iQ-F FX5 User's Manual (CC-
Link IE) for details on specifying the device.
Specify the channel to be used by own station.
Description
ON: The execution command is ON.
OFF: The execution command is OFF.
When this label is ON, it indicates that the device has
been read out correctly.
When this label is ON, it indicates that an error has
occurred in the FB.
Stores the error code that occurred in the FB.
Specify the start number of the device for storing the
read data.
Description
Specify the CPU type of the target station.
• 0000H: To CPU of target station (control CPU)
• 03D0H: To control system CPU
• 03D1H: To standby CPU
• 03D2H: To system A CPU
• 03D3H: To system B CPU
• 03E0H: To multiple CPU No. 1
• 03E1H: To multiple CPU No. 2
• 03E2H: To multiple CPU No. 3
• 03E3H: To multiple CPU No. 4
• 03FFH: To CPU of target station (control CPU)
Specify the number of resends to be performed if the
data transfer is not completed within the monitoring time
specified by "arrival monitoring time".
• 0 to 15
This label is not used in the FB program and does not
need to be set.
Specify the monitoring time until completion of
processing. If the processing is not completed within the
monitoring time, data is resent until the value specified
in "maximum number of resends" is reached.
0: 10 s
1 to 32767: 1 to 32767 s
This label is not used in the FB program and does not
need to be set.
The number of resends performed (result) is stored.
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.
3 CC-LINK IE FIELD NETWORK MODULE FB

3.1 M+FX5CCLIEF_DeviceRead

3
25

Advertisement

Table of Contents
loading

Table of Contents