40
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
CITL_GetSerialNo
This function acquires the serial number of a C intelligent function module.
■ Format
short CITL_GetSerialNo(char* pcGetData, unsigned long ulDataSize)
■ Argument
■ Description
• This function acquires the serial number (16-digits) of a C intelligent function 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
Argument Name Description IN/OUT
pcGetData Serial number storage destination Specify the serial number storage destination. OUT
ulDataSize Serial number storage destination
size
Specify the serial number storage destination in byte units.
(When '0' is specified, this function ends normally without processing.)
IN
Return value Description
0 (0000H) Normal
Other than 0 (0000H) Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST