Mitsubishi Electric MELSEC iQ-R C Programming Manual page 85

Melsec iq-r series programmable controller
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

CCPU_GetSerialNo
This function acquires the serial number of a C Controller module.
■Format
short CCPU_GetSerialNo(char* pcGetData, unsigned long ulDataSize)
■Argument
Argument
Name
pcGetData
Serial number storage destination
ulDataSize
Serial number storage destination
size
■Description
• This function acquires the serial number (16-digits) of a C Controller module, and stores it in the serial number storage
destination (pcGetData).
• It also acquires the information for the size specified to the serial number storage destination size (ulDataSize).
■Return value
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Page 174 ERROR CODE LIST
■Relevant function
• Page 77 CCPU_GetIDInfo
Description
Specify the serial number storage destination.
Specify the serial number storage destination in byte units.
(When '0' is specified, this function ends normally without processing.)
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
IN/OUT
3
OUT
IN
83

Advertisement

Table of Contents
loading

Table of Contents