XP8500
36
s
Software Reference
Initialization Software
These Dynamic C functions are used to initialize the PLCBus. Call these
functions before using other expansion board functions.
VdInit()
Initializes the timer mechanism.
LIBRARY:
VDRIVER.LIB
void eioResetPlcBus()
Resets all expansion boards connected to the PLCBus.
When using this function, initialize timers with
VdInit()
before
resetting the PLCBus. All PLCBus devices must reset before perform-
ing any subsequent operations.
LIBRARY:
EZIOPLC.LIB
void eioPlcRstWait()
Provides a delay long enough for the PLCBus to reset.
This function provides a delay of 12 seconds to ensure devices on the
PLCBus reset. This function should be called after resetting the
PLCBus.
LIBRARY:
EZIOPBDV.LIB
long int eioErrorCode
The global variable lso needs to be defined.
eioErrorCode
repre-
sents a global bit-mapped variable whose flags reflect error occur-
rences.
This register for this variable is initially set to 0. If the application
tries to access an invalid channel, the flag
EIO_NODEV
(the first bit
flag) is set in this register. The other bits in
EIO_NODEV
deal with
networked controllers.
Summary of Contents for Exp-A/D12
Page 6: ...vi s Contents XP8500 and Exp A D12 Blank...
Page 10: ...XP8500 and Exp A D12 x s About This Manual Blank...
Page 11: ...XP8500...
Page 12: ...Blank...
Page 49: ...EXP A D12...
Page 50: ...Blank...
Page 58: ...Exp A D12 58 s Getting Started Blank...
Page 64: ...Exp A D12 64 s I O Configurations Blank...
Page 73: ...APPENDICES...
Page 74: ...Blank...
Page 86: ...XP8500 and Exp A D12 86 s PLCBus Blank...
Page 87: ...XP8500 and Exp A D12 Specifications s 87 APPENDIX B SPECIFICATIONS...
Page 92: ...XP8500 and Exp A D12 92 s Specifications Blank...
Page 97: ...XP8500 and Exp A D12 Simulated PLCBus Connection s 97 APPENDIX D SIMULATED PLCBUS CONNECTION...
Page 99: ...XP8500 and Exp A D12 Technical Circuit Details s 99 APPENDIX E TECHNICAL CIRCUIT DETAILS...
Page 104: ...XP8500 and Exp A D12 104 s Technical Circuit Details Blank...