Input/Output 06/2005
Danaher
Motion
156 Rev
E
M-SS-005-03l
10.5.3. Commands
The MC supports PC104 with memory and I/O instructions. For further
information on these commands, refer to the
SERVOSTAR
®
MC Reference
Manual.
If you are using memory-mapped PC104 cards, you will need the memory
access commands,
PEEK
and
POKE
. The valid memory address range for
PEEK
is 0xA0000 through 0xDFFFF. The valid memory address range for
POKE
depends on the hardware version of the MC card.
For the ISA-Bus card
, the valid memory address range for
POKE
is
0xA0000 to 0xCFFFF and 0xDA000 to 0xDFFFF.
For the PCI card
, the valid memory address range for
POKE
is
0xA0000 to 0xC7FFF and 0xDB000 to 0xDFFFF.
PEEKB
transfers byte-wide (8-bit) data from the PC104 memory
bus to a variable.
PEEKW
transfers word-wide (16-bit) data from the PC104
memory bus to a variable.
POKEB
transfers byte-wide (8-bit) data to the PC104 memory bus.
POKEW
transfers word-wide (16-bit) data to the PC104 memory
bus.
If you are using I/O-mapped PC104 cards, you need
INP
and
OUT
.
INPB
transfers byte-wide (8-bit) data from the PC104 I/O bus to a
variable.
INPW
transfers word-wide (16-bit) data from the PC104 I/O bus to
a variable.
OUTB
transfers byte-wide (8-bit) data to the PC104 I/O bus.
OUTW
transfers word-wide (16-bit) data to the PC104 I/O bus.