3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
59
3
CITL_ToBuf
This function writes data to the buffer memory of a C intelligent function module.
■ Format
short CITL_ToBuf (unsigned long ulOffset, unsigned long ulSize, unsigned short* pusDataBuf, unsigned long ulBufSize)
■ Argument
■ Description
This function writes data in the data storage destination (pusDataBuf) for the size specified to the data size (ulSize) to the
buffer memory of a C intelligent function module. Data is written by specifying an offset address from the start of the buffer
memory of a C intelligent function module.
■ Return value
■ Relevant function
Page 31 CITL_FromBuf
Argument Name Description IN/OUT
ulOffset Offset Specify the offset in word units. IN
ulSize Data size Specify the write data size in word units. IN
pusDataBuf Data storage destination Specify the storage destination of write data. IN
ulBufSize Data storage destination size Specify '0'. 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