XP8600/XP8900
PLCBus
s
77
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 function,
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
.
Summary of Contents for XP8600
Page 6: ...vi s Table of Contents XP8600 XP8900 Blank ...
Page 10: ...XP8600 XP8900 x s About This Manual Blank ...
Page 11: ...XP8600 ...
Page 12: ...This page is blank intentionally Blank ...
Page 20: ...XP8600 20 s Getting Started Blank ...
Page 26: ...XP8600 26 s I O Configurations Blank ...
Page 38: ...XP8600 38 s Software Reference Blank ...
Page 39: ...XP8900 ...
Page 40: ...This page is blank intentionally Blank ...
Page 48: ...XP8900 48 s Getting Started Blank ...
Page 52: ...XP8900 52 s I O Configurations Blank ...
Page 64: ...XP8900 64 s Software Reference Blank ...
Page 65: ...APPENDICES ...
Page 66: ...This page is blank intentionally Blank ...
Page 78: ...XP8600 XP8900 78 s PLCBus Blank ...
Page 79: ...XP8600 XP8900 Specifications s 79 APPENDIX B SPECIFICATIONS ...
Page 84: ...XP8600 XP8900 84 s Specifications Blank ...
Page 89: ...XP8600 XP8900 Simulated PLCBus Connections s 89 APPENDIX D SIMULATED PLCBUS CONNECTIONS ...