User`s manual
XP8600/XP8900
76 s PLCBus
char read4data( int adr )
Sets the last four bits of the current PLCBus address using adr bits 811,
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.