Mitsubishi Electric CC-Link IE Basic Reference Manual page 51

Field network
Hide thumbs Also See for CC-Link IE:
Table of Contents

Advertisement

■Function block (FB) for diagnostic information acquisition (Slave station diagnostics)
Store the diagnostic information acquisition target station number in the diagnostic request information and turn on the
diagnostic information display request. Diagnostic information 1 and 2 is transferred when the request flag turns off.
• Labels to be defined (details on FB inputs and outputs)
Label name
Description
i_bEN
A trigger (on input) for starting diagnostic information acquisition processing
i_wDiagnosisReq
A value stored in the diagnostic request information. Enter the information acquisition target station number.
o_bENO
A flag that indicates the acquisition processing is being performed. The on status indicates that the processing is being performed.
o_bOK
A flag that indicates the acquisition processing has completed
o_wDiagnosis1Inf
A start device for storing diagnostic information 1. Diagnostic information 1, for 15 words starting from the specified device, is stored.
o_wDiagnosis2Inf
A start device for storing diagnostic information 2. Diagnostic information 2, for 16 words starting from the specified device, is stored.
• Module labels used in the program
Series
Module label
MELSEC iQ-R
RCPU.stB.bDiag_Request
RCPU.stB.uInformation_Diag_Request
RCPU.stB.stDiag1.uNumber_Occupied_Stations
RCPU.stB.stDiag2.uVal_ManufacturerCode
MELSEC iQ-F
FX5CPU.stB.bDiag_Request
FX5CPU.stB.uInformation_Diag_Request
FX5CPU.stB.stDiag1.uNumber_Occupied_Stations
FX5CPU.stB.stDiag2.uVal_ManufacturerCode
• Program example
The following is a program example of MELSEC iQ-R series.
(0)
Check the on status of the diagnostic information display request and store the information acquisition target station number.
(57) Check the off status of the diagnostic information display request.
(75) Store diagnostic information 1 and diagnostic information 2.
Description
Diagnostic information display request
Diagnostic request information
Number of occupied stations (start device of
diagnostic information 1)
Manufacturer code (start device of diagnostic
information 2)
Diagnostic information display request
Diagnostic request information
Number of occupied stations (start device of
diagnostic information 1)
Manufacturer code (start device of diagnostic
information 2)
9.3 Acquiring diagnostic information of slave stations
Device
Un\G1050.0
Un\G1051
Un\G1053
Un\G1068
SD11126.0
SD11127
SD11129
SD11144
9 TROUBLESHOOTING
9
49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents