Mitsubishi Electric MELSEC iQ-R Series Manual page 33

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

Advertisement

CITL_FromBuf
This function reads data from the buffer memory of a C intelligent function module.
■ Format
short CITL_FromBuf (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 reads data for the size specified to the data size (ulSize) from the buffer memory of a C intelligent function
module, and stores it in the data storage destination (pusDataBuf). Data is read by specifying an offset address from the start
of the buffer memory of a C intelligent function module.
Precautions
Note that the size of data storage destination (ulBufSize) should be equal to or bigger than the data size (ulSize).
■ 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 59 CITL_ToBuf
Description
Specify the offset in word units.
Specify the read data size in word units.
Specify the storage destination of read data.
Specify the data storage destination size in word units.
3.1 C Intelligent Function Module Dedicated Functions
IN/OUT
IN
IN
OUT
IN
3 DETAILS OF FUNCTION
3
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents