XP8900
Software Reference
s
59
Table 8-2 summarizes these three functions. The order in which they
appear in Table 8-2 is the sequence in which they should be used to start an
XP8900 Series board.
int plcXP89WrCalib( int chan,
struct _eioAdcCalib *pCalib )
Writes a calibration structure to the EEPROM storage corresponding to
a channel on the XP8900 Series board.
PARAMETERS:
chan
is the channel number, 063, of the XP8900
Series D/A channel.
chan
=
8*board_ channel_number
.
_eioAdcCalib *pCalib
is a pointer to a calibration structure
initialized by calling
eioAdcMakeCoeff
.
RETURN VALUE: 0 if the calibration is successful, otherwise returns
a negative number.
LIBRARY:
EZIOPBDV.LIB
Table 8-2. Summary of Basic XP8900 Series Function Calls
Function
Description
plcXP89Init
Disables everything, leaves output of 0 V for all channels
plcXP89Sw
Enables voltage reference so the output will be at the voltage
level specified by
plcXP89Out
plcXP89Out
Sets all channels to midpoint or other acceptable value (the
output experiences a slight jump as channels are being set;
remember to set all 4 or 8 channels since one call sets only
one channel)
plcXP89WrCalib(15,&cstruct)
// write calib info in cstruct to channel 7 of
// XP8900 Series board 1
Содержание XP8600
Страница 6: ...vi s Table of Contents XP8600 XP8900 Blank ...
Страница 10: ...XP8600 XP8900 x s About This Manual Blank ...
Страница 11: ...XP8600 ...
Страница 12: ...This page is blank intentionally Blank ...
Страница 20: ...XP8600 20 s Getting Started Blank ...
Страница 26: ...XP8600 26 s I O Configurations Blank ...
Страница 38: ...XP8600 38 s Software Reference Blank ...
Страница 39: ...XP8900 ...
Страница 40: ...This page is blank intentionally Blank ...
Страница 48: ...XP8900 48 s Getting Started Blank ...
Страница 52: ...XP8900 52 s I O Configurations Blank ...
Страница 64: ...XP8900 64 s Software Reference Blank ...
Страница 65: ...APPENDICES ...
Страница 66: ...This page is blank intentionally Blank ...
Страница 78: ...XP8600 XP8900 78 s PLCBus Blank ...
Страница 79: ...XP8600 XP8900 Specifications s 79 APPENDIX B SPECIFICATIONS ...
Страница 84: ...XP8600 XP8900 84 s Specifications Blank ...
Страница 85: ...XP8600 XP8900 Connecting and Mounting Multiple Boards s 85 APPENDIX C CONNECTING AND MOUNTING MULTIPLE BOARDS ...
Страница 89: ...XP8600 XP8900 Simulated PLCBus Connections s 89 APPENDIX D SIMULATED PLCBUS CONNECTIONS ...
Страница 98: ...XP8600 XP8900 98 s Index Blank ...