XP8500
and
Exp-A/D12
82
s
PLCBus
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 BUSADR
x
cycle.
LIBRARY:
EZIOPLC.LIB
,
EZIOPLC2.LIB
,
EZIOMGPL.LIB
.
void set16adr( int adr )
Sets the current address for the PLCBus. All read and write operations
access this address until a new address is set.
PARAMETER:
adr
is a 16-bit physical address. The high-order
nibble contains the value for the expansion register, and the remaining
three 4-bit nibbles form a 12-bit address (the first and last nibbles
must be swapped).
LIBRARY:
DRIVERS.LIB
.
void set12adr( int adr )
Sets the current address for the PLCBus. All read and write operations
access this address until a new address is set.
PARAMETER:
adr
is a 12-bit physical address (three 4-bit nibbles)
with the first and third nibbles swapped.
LIBRARY:
DRIVERS.LIB
.
void eioPlcAdr4( unsigned addr )
Specifies the address to be written to the PLCBus using only cycle
BUSADR2.
PARAMETER:
addr
is the nibble corresponding to BUSADR2.
LIBRARY:
EZIOPLC.LIB
,
EZIOPLC2.LIB
,
EZIOMGPL.LIB
.
Содержание Exp-A/D12
Страница 6: ...vi s Contents XP8500 and Exp A D12 Blank...
Страница 10: ...XP8500 and Exp A D12 x s About This Manual Blank...
Страница 11: ...XP8500...
Страница 12: ...Blank...
Страница 49: ...EXP A D12...
Страница 50: ...Blank...
Страница 58: ...Exp A D12 58 s Getting Started Blank...
Страница 64: ...Exp A D12 64 s I O Configurations Blank...
Страница 73: ...APPENDICES...
Страница 74: ...Blank...
Страница 86: ...XP8500 and Exp A D12 86 s PLCBus Blank...
Страница 87: ...XP8500 and Exp A D12 Specifications s 87 APPENDIX B SPECIFICATIONS...
Страница 92: ...XP8500 and Exp A D12 92 s Specifications Blank...
Страница 97: ...XP8500 and Exp A D12 Simulated PLCBus Connection s 97 APPENDIX D SIMULATED PLCBUS CONNECTION...
Страница 99: ...XP8500 and Exp A D12 Technical Circuit Details s 99 APPENDIX E TECHNICAL CIRCUIT DETAILS...
Страница 104: ...XP8500 and Exp A D12 104 s Technical Circuit Details Blank...