XP8500
and
Exp-A/D12
84
s
PLCBus
char read4data( int adr )
Sets the last four bits of the current PLCBus address using adr bits 8
11, then reads four bits of data from the bus with BUSADR0 cycle.
PARAMETER: adr bits 811 specifies the address to read.
RETURN VALUE: PLCBus data in the lower four bits; the upper bits
are undefined.
LIBRARY:
DRIVERS.LIB
.
void _eioWriteWR( char ch)
Writes information to the PLCBus during the BUSWR cycle.
PARAMETER: ch is the character to be written to the PLCBus.
LIBRARY:
EZIOPLC.LIB
,
EZIOPLC2.LIB
,
EZIOMGPL.LIB
.
void write12data( int adr, char dat )
Sets the current PLCBus address, then writes four bits of data to the
PLCBus.
PARAMETER:
adr
is the 12-bit address to which the PLCBus is set.
dat
(bits 03) specifies the data to write to the PLCBus.
LIBRARY:
DRIVERS.LIB
.
void write4data( int address, char data )
Sets the last four bits of the current PLCBus address, then writes four
bits of data to the PLCBus.
PARAMETER:
adr
contains the last four bits of the physical address
(bits 811).
dat
(bits 03) specifies the data to write to the PLCBus.
LIBRARY:
DRIVERS.LIB
.
The 8-bit drivers employ the following calls.
void set24adr( long address )
Sets a 24-bit address (three 8-bit nibbles) on the PLCBus. All read
and write operations will access this address until a new address is set.
PARAMETER:
address
is a 24-bit physical address (for 8-bit bus)
with the first and third bytes swapped (low byte most significant).
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...