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

Devicenet master module
Table of Contents

Advertisement

4.3.44 I8124_WriteOutputArea (Advanced Option)

Description:
This function can write the bulk data to the output area memory. The
DeviceNet slave will change the output status of the DeviceNet slaves
according to the data located in the output area memory. Users can use
this function to write a large amount of the output data. It provides
effective method to change bulk data in one command. If the users need
to write the output data of all slave devices, they need to call the
"I8124_WriteOutputData" for each slave device in general. By calling the
advanced function "I8124_WriteOutputArea", 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_WriteOutputArea (BYTE cSlot,
Parameter:
cSlot: [input] The slot number which the I-8124W is plugged in.
Offset: [input] The offset of the input area memory.
DataLen: [input] The length in byte which the users want to write.
DataArray: [input] The data pointer pointed the data written to the output
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)
WORD Offset,
WORD DataLen,
BYTE *DataArray)
data area.
2021/10/04
94

Advertisement

Table of Contents
loading

Table of Contents