Ccpu_Getserialno - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

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

Advertisement

CCPU_GetSerialNo

Acquires the serial number of a MELIPC.
Format
short CCPU_GetSerialNo(char* pcGetData, unsigned long ulDataSize)
Argument
Argument
pcGetData
ulDataSize
Description
• This function acquires the serial number (16-digits) of a MELIPC, 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
0(0000H)
-264(FEF8H)
For details on error codes, refer to the following section.
Page 116 Function error codes
3 DETAILS OF FUNCTIONS
50
3.1 C Controller Module Dedicated Functions
Name
Serial number storage destination
Serial number storage destination
size
Description
Normal
Pointer error
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.)
IN/OUT
OUT
IN

Advertisement

Table of Contents
loading

Table of Contents