Mitsubishi Electric MELSEC iQ-R C Series Programming Manual page 98

Controller module
Table of Contents

Advertisement

CCPU_GetCCIEFBDiagnosticInfo
This function acquires the diagnostic information of CC-Link IE Field Network Basic.
Format
short CCPU_GetCCIEFBDiagnosticInfo (unsigned short usSlave, short* psStatusBuf, unsigned long ulBufSize)
Argument
Argument
Name
usSlave
Slave station number
psStatusBuf
Diagnostic information storage
destination
ulBufSize
Diagnostic information storage
destination size
Description
• This function acquires CC-Link IE Field Network Basic information of the slave station specified to the slave station number
(usSlave), and stores it to the diagnostic information storage destination (psStatusBuf).
• It also acquires the information for the size specified to the diagnostic information storage destination size (ulBufSize).
• The information to be stored to the diagnostic information storage destination (psStatusBuf) is as follows.
psStatusBuf
psStatusBuf[0]
psStatusBuf[1]
psStatusBuf[2]
psStatusBuf[3]
psStatusBuf[4]
psStatusBuf[5] to psStatusBuf[10]
psStatusBuf[11]
psStatusBuf[12]
psStatusBuf[13] to psStatusBuf[15]
psStatusBuf[16]
psStatusBuf[17]
psStatusBuf[18]
psStatusBuf[19]
psStatusBuf[20]
psStatusBuf[21]
psStatusBuf[22]
psStatusBuf[23]
psStatusBuf[24]
psStatusBuf[25]
psStatusBuf[26] to psStatusBuf[32]
3 DETAILS OF FUNCTION
96
3.1 C Controller Module Dedicated Functions
Description
Specify a slave station to acquire diagnostic information. (1 to 64)
Specify a storage destination for diagnostic information.
Specify the size of the area which is reserved in the diagnostic information storage
destination in word units.
Description
Diagnostic information status flag
Diagnostic
Number of occupied stations
information 1
Group No.
IP address (lower)
IP address (upper)
Reserved
Accumulated number of
timeouts
Accumulated number of
disconnection detections
Reserved
Diagnostic
Manufacturer code
information 2
Reserved
Model code (lower)
Model code (upper)
Device version
Reserved
Module information
Error code
Detailed module information
(lower)
Detailed module information
(upper)
Reserved
Diagnostic information status (valid or invalid) of the specified slave
station
b0 to b7: Status of diagnostic information 1
b8 to b15: Status of diagnostic information 2
• 0: Invalid
• 1: Valid
Number of occupied stations of the specified slave station
Group number of the specified slave station
IP address (lower) of the specified slave station
IP address (upper) of the specified slave station
Accumulated number of timeouts of the specified slave station
Accumulated number of disconnection detections of the specified
slave station
Manufacturer code of the specified slave station
Model code (lower) of the specified slave station
Model code (upper) of the specified slave station
Device version of the specified slave station
Module information of the specified slave station
Error code of the latest error occurred on the specified slave station
Detailed module information (lower) of the specified slave station
Detailed module information (upper) of the specified slave station
IN/OUT
IN
OUT
IN

Advertisement

Table of Contents
loading

Table of Contents