Mitsubishi Electric CC-Link IE Basic Reference Manual page 53

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

Advertisement

■Function block (FB) for diagnostic information acquisition
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
Data type
i_bEN
Bit
i_wDiagnosisReq
Word
o_bENO
Bit
o_bOK
Bit
o_wDiagnosis1Inf
Word
o_wDiagnosis2Inf
Word
• Devices used in the program
Device
SM1741
SD1741
SD1743
SD1758
• Program example
The following is a program example of MELSEC-Q series.
(0)
Check the on status of the diagnostic information display request and store the information acquisition target station number.
(56) Check the off status of the diagnostic information display request.
(77) Store diagnostic information 1 and diagnostic information 2.
Class
Description
VAR_INPUT
A trigger (on input) for starting diagnostic information acquisition processing
VAR_INPUT
A value stored in the diagnostic request information. Enter the information acquisition target
station number.
VAR_OUTPUT
A flag that indicates the acquisition processing is being performed. The on status indicates
that the processing is being performed.
VAR_OUTPUT
A flag that indicates the acquisition processing has completed
VAR_OUTPUT
A start device for storing diagnostic information 1. Diagnostic information 1, for 15 words
starting from the specified device, is stored.
VAR_OUTPUT
A start device for storing diagnostic information 2. Diagnostic information 2, for 16 words
starting from the specified device, is stored.
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)
9.3 Acquiring diagnostic information of slave stations
9 TROUBLESHOOTING
9
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents