I8124_Readbackoutputarea (Advanced Option) - ICP DAS USA I-8124W User Manual

Devicenet master module
Table of Contents

Advertisement

4.3.45 I8124_ReadbackOutputArea (Advanced Option)

Description:
This function reads the bulk data from the output area memory. It
dose not change the output data located in the output area memory.
Users can use this function to read back a large amount of the output
data, but the data may be different with the real output statuses of the
DeviceNet slaves. It provides effective method to read bulk data in one
command. If the users need to read back the output data of all slave
devices, they need to call the "I8124_ReadbackOutputData" for each
slave
device
"I8124_ReadbackOutputArea", the whole output data would be wrote
once in this function call. Please refer to the section 3.7 for more
description.
Syntax:
DWORD I8124_ReadbackOutputArea (BYTE cSlot,
Parameter:
cSlot: [input] The slot number which the I-8124W is plugged in.
Offset: [input] The offset of the output area memory.
DataLen: [input] The length in byte which the users want to read.
DataArray: [output] The data pointer pointed the observed data form the
Return:
Please refer to the section 4.2 for the return code.
Example:
I-8124W DeviceNet Master API functions User's Manual (V 1.6)
in
general.
output area memory.
By
calling
the
WORD Offset,
WORD DataLen,
BYTE *DataArray)
2021/10/04
advanced
function
96

Advertisement

Table of Contents
loading

Table of Contents