XP8500
and
Exp-A/D12
PLCBus
s
81
Digital output devices, such as relay drivers, should be addressed with
three 4-bit addresses followed by a 4-bit data write to the control register.
The control registers are configured as follows
bit 3
bit 2
bit 1
bit 0
A2
A1
A0
D
The three address lines determine which output bit is to be written. The
output is set as either 1 or 0, according to D. If the device exists on the
bus, reading the register drives bit 0 low. Otherwise bit 0 is a 1.
For digital input, each register (BUSRD0) returns four bits. The read
register, BUSRD1, drives bit 0 low if the device exists on the bus.
8-Bit Devices
Z-Worlds XP8700 and XP8800 expansion boards use 8-bit addressing.
Expansion Bus Software
The expansion bus provides a convenient way to interface Z-Worlds
controllers with expansion boards or other specially designed boards. The
expansion bus may be accessed by using input functions. Follow the
suggested protocol. The software drivers are easier to use, but are less
efficient in some cases. Table A-5 lists the libraries.
Table A-5. Dynamic C PLCBus Libraries
Library
Controller
VDRIVER.LIB
All controllers
EZIOTGPL.LIB
BL1000
EZIOLGPL.LIB
BL1100
EZIOMGPL.LIB
BL1400, BL1500
EZIOPLC.LIB
BL1200, BL1600, PK2100, PK2200, ZB4100
EZIOPLC2.LIB
BL1700
PBUS_TG.LIB
BL1000
PBUS_LG.LIB
BL1100, BL1300
PLC_EXP.LIB
BL1200, BL1600, PK2100, PK2200
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...