XP8600/XP8900
PLCBus
s
75
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
.
Содержание XP8600
Страница 6: ...vi s Table of Contents XP8600 XP8900 Blank ...
Страница 10: ...XP8600 XP8900 x s About This Manual Blank ...
Страница 11: ...XP8600 ...
Страница 12: ...This page is blank intentionally Blank ...
Страница 20: ...XP8600 20 s Getting Started Blank ...
Страница 26: ...XP8600 26 s I O Configurations Blank ...
Страница 38: ...XP8600 38 s Software Reference Blank ...
Страница 39: ...XP8900 ...
Страница 40: ...This page is blank intentionally Blank ...
Страница 48: ...XP8900 48 s Getting Started Blank ...
Страница 52: ...XP8900 52 s I O Configurations Blank ...
Страница 64: ...XP8900 64 s Software Reference Blank ...
Страница 65: ...APPENDICES ...
Страница 66: ...This page is blank intentionally Blank ...
Страница 78: ...XP8600 XP8900 78 s PLCBus Blank ...
Страница 79: ...XP8600 XP8900 Specifications s 79 APPENDIX B SPECIFICATIONS ...
Страница 84: ...XP8600 XP8900 84 s Specifications Blank ...
Страница 85: ...XP8600 XP8900 Connecting and Mounting Multiple Boards s 85 APPENDIX C CONNECTING AND MOUNTING MULTIPLE BOARDS ...
Страница 89: ...XP8600 XP8900 Simulated PLCBus Connections s 89 APPENDIX D SIMULATED PLCBUS CONNECTIONS ...
Страница 98: ...XP8600 XP8900 98 s Index Blank ...