XP8500
and
Exp-A/D12
PLCBus
s
85
void set8adr( long address )
Sets the current address on the PLCBus. All read and write operations
will access this address until a new address is set.
PARAMETER:
address
contains the last eight bits of the physical
address in bits 1623. A 24-bit address may be passed to this func-
tion, but only the last eight bits will be set. Call this function only if
the first 16 bits of the address are the same as the address in the
previous call to
set24adr
.
LIBRARY:
DRIVERS.LIB
.
int read24data0( long address )
Sets the current PLCBus address using the 24-bit address, then reads
eight bits of data from the PLCBus with a BUSRD0 cycle.
RETURN VALUE: PLCBus data in lower eight bits (upper bits 0).
LIBRARY:
DRIVERS.LIB
.
int read8data0( long address )
Sets the last eight bits of the current PLCBus address using address
bits 1623, then reads eight bits of data from the PLCBus with a
BUSRD0 cycle.
PARAMETER:
address
bits 1623 are read.
RETURN VALUE: PLCBus data in lower eight bits (upper bits 0).
LIBRARY:
DRIVERS.LIB
.
void write24data( long address, char data )
Sets the current PLCBus address using the 24-bit address, then writes
eight bits of data to the PLCBus.
PARAMETERS:
address
is 24-bit address to write to.
data
is data to write to the PLCBus.
LIBRARY:
DRIVERS.LIB
.
void write8data( long address, char data )
Sets the last eight bits of the current PLCBus address using address
bits 1623, then writes eight bits of data to the PLCBus.
PARAMETERS:
address
bits 1623 are the address of the PLCBus
to write.
data
is data to write to the PLCBus.
LIBRARY:
DRIVERS.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...