XP8900
56
s
Software Reference
Using Digital-to-Analog Converter Boards
The follow steps summarize how to use the D/A converter boards.
1. Send a reset command to the PLCBus.
2. Place the address of the D/A converter on the PLCBus.
3. Send data serially to one of the D/A converters (Register A). When
Register A is filled, load the data to D/A converter Register B where it
is converted and output.
4. Use the boards analog output to control motors, attenuators or other
analog devices.
These steps are done using software drivers in Dynamic C function libraries.
Reset Boards on PLCBus
These Dynamic C functions are used to initialize the PLCBus. Use these
functions in a program before introducing any code to operate the relays.
VdInit()
Initializes the timer mechanism.
LIBRARY:
VDRIVER.LIB
void plcBusReset()
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:
EZIOPBDV.LIB
The XP8900 output voltages cannot be reset by resetting the
PLCBus. The rest of this chapter provides information on
setting or resetting the XP8900 output voltages.
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. Call this function after resetting the PLCBus.
LIBRARY:
EZIOPBDV.LIB
!
Содержание 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 ...