Ccpu_Getcciefbdiagnosticinfo - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

CCPU_GetCCIEFBDiagnosticInfo

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
usSlave
psStatusBuf
ulBufSize
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[31]
3 DETAILS OF FUNCTIONS
38
3.1 C Controller Module Dedicated Functions
Name
Slave station number
Diagnostic information storage
destination
Diagnostic information storage
destination size
Description
Diagnostic information status flag
Diagnostic
Number of occupied
information 1
stations
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
Description
Specifies a slave station from which to acquire diagnostic information.
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.
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