92
I/O Data Access API
Section A-5
Argument
Returned value
It returns TRUE when the function succeeds.
It returns FALSE when an error occurs. The error details can be obtained with
the function GetLastError.
Remarks
To execute this function, the I/O communications must be running.
See Appendix B.3.5 for the content of Bit IN data.
A-5-5
CPNT_SetOutData (Set OUT Data in Word OUT Slave Unit)
Purpose
Set the OUT data in Word OUT Slave Units.
Call Format
BOOL CPNT_SetOutData (
HANDLE Handle,
WORD *OUT,
WORD WordOffset,
WORD WordSize
) ;
Argument
Returned value
It returns TRUE when the function succeeds.
It returns FALSE when an error occurs. The error details can be obtained with
the function GetLastError.
Remarks
See Appendix B.3.5 for the content of OUT data.
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
WORD
*BitIN
OUT
Specify the pointer to store Bit IN
data.
Requires the area equivalent to
Word size (32 bytes max)
WORD
WordOffset
IN
Specify the Word offset for the Bit
IN Slave Unit from which the
reading of Bit IN data will start.
Settable range: 0 to 16
WORD
WordSize
IN
Specify the Word size of the Bit IN
data to read.
Observe the condition for the set
value: (Word WordSize)
≤
16.
Settable range: 1 to 16
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
WORD
*OUT
IN
Set the OUT data.
Set the data equivalent to Word
size.
WORD
WordOffset
IN
Specify the Word offset for the OUT
Slave Unit to which the OUT data is
written.
Settable range: 0 to 63
WORD
WordSize
IN
Specify the Word size of the OUT
data to write.Observe the condition
for the set value:
(Word WordSize)
≤
64
Settable range: 1 to 64
Содержание 3G8F7-CRM21
Страница 4: ...iv...
Страница 10: ...x TABLE OF CONTENTS...
Страница 30: ...10 Specifications Section 1 7 1 7 3 Dimensions 3G8F7 CRM21 PCI unit mm 3G8F8 CRM21 CompactPCI unit mm...
Страница 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Страница 74: ...54 Board Hardware Error Notification Section 4 8...
Страница 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Страница 230: ...210 Wiring for Power Supply Section E 5...
Страница 234: ...214 Index...
Страница 236: ...216 Revision History...
Страница 237: ......