User`s manual
BL1600
PLCBus s 101
Table E-5. Dynamic C PLCBus Libraries
Library Needed Controller
DRIVERS.LIB
All controllers
EZIOTGPL.LIB
BL1000
EZIOLGPL.LIB
BL1100
EZIOMGPL.LIB
BL1400, BL1500
EZIOPLC.LIB
BL1200, BL1600, PK2100, PK2200, ZB4100
EZIOPLC2.LIB
BL1700
EZIOBL17.LIB
BL1700
PBUS_TG.LIB
BL1000
PBUS_LG.LIB
BL1100, BL1300
PLC_EXP.LIB
BL1200, BL1600, PK2100, PK2200
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.
Refer to the XP8700 and XP8800 manual.
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 E-5 lists the libraries.