Acquiring Diagnostic Information Of Slave Stations; How To Acquire Diagnostic Information; Program For Acquiring Diagnostic Information - Mitsubishi Electric CC-Link IE Basic Reference Manual

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

Advertisement

9.3

Acquiring diagnostic information of slave stations

If an error occurs in a slave station or the cyclic data cannot be read or written correctly, the status of each slave station by
executing a program for acquiring diagnostic information of slave stations can be checked.
When the C Controller module is used, refer to the following.
MELSEC iQ-R C Controller Module User's Manual (Application)

How to acquire diagnostic information

Acquire diagnostic information using the SM/SD/buffer memory. ( Page 52 List of SM/SD/Buffer Memory Areas for CC-
Link IE Field Network Basic)
1.
Set the information acquisition target station number in 'Diagnostic request information' (Un\G1051).
2.
Turn on 'Diagnostic information display request' (Un\G1050.0).Diagnostic information is stored in 'Diagnostic information
1' (Un\G1053 to Un\G1064) and 'Diagnostic information 2' (Un\G1068 to Un\G1077). ('Diagnostic information display
request' (Un\G1050.0) turns off when diagnostic information is stored.)

Program for acquiring diagnostic information

Use the following program to acquire diagnostic information.
Program created by GX Works3 (MELSEC iQ-R/MELSEC iQ-F)
A program example created by GX Works3 is provided below.
■Program for acquiring diagnostic information
Store the diagnostic information acquisition target station number in D0 and turn on M0. Diagnostic information 1 is
transferred and stored in the area starting from D100 and diagnostic information 2 is transferred and stored in the area
starting from D115 by the function block for diagnostic information acquisition (Slave station diagnostics).
• Devices used in the program
Device
D0
M0
M1
D100
D115
• Program example
9 TROUBLESHOOTING
48
9.3 Acquiring diagnostic information of slave stations
Data type
Word
Bit
Bit
Word
Word
Description
Information acquisition target station number
A flag for starting diagnostic information acquisition processing
A flag that indicates the acquisition processing is being performed
A start device for storing diagnostic information 1
A start device for storing diagnostic information 2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents