User`s manual

XP8300/XP8400/SE110064 s PLCBus
Expansion Bus Software
The expansion bus provides a convenient way to interface Z-World๎‚’s
controllers with expansion boards or other specially designed boards.
High-level software drivers are easier to use than low-level drivers, but
high-level drivers are less efficient in some cases. Table A-5 lists software
libraries particular to each controller.
Driver Calls
There are 4-bit and 8-bit drivers. The 4-bit drivers employ the following
calls.
๎‚• void eioResetPlcBus()
Resets all expansion boards on the PLCBus. When using this call,
make sure there is sufficient delay between this call and the first access
to an expansion board.
LIBRARY: EZIOPLC.LIB, EZIOPLC2.LIB, EZIOMGPL.LIB.
๎‚• void eioPlcAdr12( unsigned addr )
Specifies the address to be written to the PLCBus using cycles
BUSADR0, BUSADR1, and BUSADR2.
PARAMETER: addr is broken into three nibbles, and one nibble is
written in each BUSADRx cycle.
LIBRARY: EZIOPLC.LIB, EZIOPLC2.LIB, EZIOMGPL.LIB.
Table A-5. Dynamic C PLCBus Libraries
Library 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
PBUS_TG.LIB
BL1000
PBUS_LG.LIB
BL1100, BL1300
PLC_EXP.LIB
BL1200, BL1600, PK2100, PK2200