XP8500
and
Exp-A/D12
PLCBus
s
83
void set4adr( int adr )
Sets the current address for the PLCBus. All read and write operations
access this address until a new address is set.
A 12-bit address may be passed to this function, but only the last four
bits will be set. Call this function only if the first eight bits of the
address are the same as the address in the previous call to set12adr.
PARAMETER:
adr
contains the last four bits (bits 811) of the
physical address.
LIBRARY:
DRIVERS.LIB
.
char _eioReadD0( )
Reads the data on the PLCBus in the BUSADR0 cycle.
RETURN VALUE: the byte read on the PLCBus in the BUSADR0
cycle.
LIBRARY:
EZIOPLC.LIB
,
EZIOPLC2.LIB
,
EZIOMGPL.LIB
.
char _eioReadD1( )
Reads the data on the PLCBus in the BUSADR1 cycle.
RETURN VALUE: the byte read on the PLCBus in the BUSADR1
cycle.
LIBRARY:
EZIOPLC.LIB
,
EZIOPLC2.LIB
,
EZIOMGPL.LIB
.
char _eioReadD2( )
Reads the data on the PLCBus in the BUSADR2 cycle.
RETURN VALUE: the byte read on the PLCBus in the BUSADR2
cycle.
LIBRARY:
EZIOPLC.LIB
,
EZIOPLC2.LIB
,
EZIOMGPL.LIB
.
char read12data( int adr )
Sets the current PLCBus address using the 12-bit
adr
, then reads four
bits of data from the PLCBus with BUSADR0 cycle.
RETURN VALUE: PLCBus data in the lower four bits; the upper bits
are undefined.
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...