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

Controller module
Table of Contents

Advertisement

CCPU_GetIDInfo
This function acquires the individual identification information of a C Controller module.
Format
short CCPU_GetIDInfo(unsigned char *pucGetData, unsigned long ulBufSize);
Argument
Argument
Name
pucGetData
Individual identification
information storage destination
ulBufSize
Individual identification
information storage destination
size
Description
• This function acquires the individual identification information of a C Controller module, and stores it in the individual
identification information storage destination (pucGetData).
• It also acquires the information for the size specified to the individual identification information storage destination size
(ulBufSize).
• The information to be stored in the individual identification information storage destination (pucGetData) is as follows.
pucGetData
Description
pucGetData[0]
Individual identification information for CH1
pucGetData[1]
pucGetData[2]
pucGetData[3]
pucGetData[4]
pucGetData[5]
pucGetData[6]
Individual identification information for CH2
pucGetData[7]
pucGetData[8]
pucGetData[9]
pucGetData[10]
pucGetData[11]
Return value
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
Relevant function
• Page 113 CCPU_GetSerialNo
Description
Specify the individual identification information storage destination.
Specify the individual identification information storage destination size in word units.
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
3
IN/OUT
OUT
IN
107

Advertisement

Table of Contents
loading

Table of Contents