Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

PC104 View Datasheet(PDF) - PMD

Part Name
Description
MFG CO.
'PC104' PDF : 70 Pages View PDF
Operation
2
ReadIO and WriteIO commands
These outputs are read using the ReadIO command, and written to using the WriteIO command, using
an I/O address of +1. The table below shows this.
Address
1
Bit location
0-3
4-6
7
8-11
12-14
15
Signals
Amplifier enable outputs (0-3)
Unused
DAC enable status (1 = enabled, 0 = disabled)
Change mask for bits 0-3 - amplifier enable
outputs (1 = change, 0 = don’t change)
Unused
Change mask for DAC enable
(1 = change, 0 = don’t change)
To read the status of the amplifier enable outputs the command ReadIO is used at address +1. The
values currently being output will appear in bits 0-3. To write values to the amplifier enable output
signals, the WriteIO command is used with an address of +1, and the change mask bits corresponding to
the signals that will be changed must be loaded at bits 8-11 and the value(s) to be loaded must be loaded
in bits 0-3.
Example
To set the amplifier enable outputs to high (1) for axes 1 & 3, the C-Motion command
PMDWriteIO(axis_handle, +1, 0x505) is used. To then disable the output only for axis 3, the
command PMDWriteIO(axis_handle, +1, 0x400) is used, and to then disable the output for axis 1,
the command PMDWriteIO(axis_handle, +1, 0x100) is used.
C-Motion commands
In addition to accessing these signals using the C-Motion commands PMDReadIO and PMDWriteIO,
you can use card-specific C-Motion functions for this purpose. The available card specific functions for
this feature are:
C-Motion command
PMDMBSetAmplifierEnable
PMDMBGetAmplifierEnable
Arguments
axis handle,
mask,
write_value
axis_handle,
read_value
Function description
This function writes to the 4 amplifier enable signals
(AmpEnable1-4) using mask and write_value. When a
1 appears in mask, the corresponding bit position in
write_value is written to the corresponding signal. The
values for mask and write_value are all 0- shifted, that
is they are stored in the lowest order 4 bits.
This function reads the value of the AmpEnable1-4
and returns them in the low order 4 bits of read_value
Connections & associated signals
AmpEnable1-4 are direct single-signal digital outputs. There are no associated connections that need
to be made for these signals to function properly; however, one or more of the digital grounds must
be connected. The default value, upon powerup, for all amplifier enable signals is low. In addition, these
signals are driven low upon a hard reset, which is a reset via the PCI bus, or via the external Reset signal.
See section 2.3.7, Reset, page 29, for more information.
For a complete description of the pinout connections to/from the card, see section 5, Navigator-PC/104
Electrical Reference, page 55.
Navigator-PC/104 User’s Guide
25
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]