Mitsubishi Electric MELSEC iQ-R Series Manual page 61

Intelligent function module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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
Argument
Name
ulOffset
Offset
ulSize
Data size
pusDataBuf
Data storage destination
ulBufSize
Data storage destination size
■ 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
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
■ Relevant function
Page 31 CITL_FromBuf
Description
Specify the offset in word units.
Specify the write data size in word units.
Specify the storage destination of write data.
Specify '0'.
3.1 C Intelligent Function Module Dedicated Functions
IN/OUT
IN
IN
IN
IN
3 DETAILS OF FUNCTION
3
59

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents