59
Chapter 5
In the ‘Installed Device’ area, all installed cards will be listed. The card’s
name, base address, and card index is also displayed.
You can modify the card index by selecting the card, keying in the new
index number in the lower-left text field, and then pressing the ‘Update’
button.
Secondly, the default access mode of PCI-1241/1242/1261 is set as
"Memory Mapping". If you want to use the cards in DOS mode, it has to
be set as "IO mapping" here with Card Index manager.
5.2 Sample Program Usage
Beside driver library, Advantech also provides variant sample programs
along with the PCI-1241/1242/1261 DLL driver. There are over 30 sam-
ples programs written in VC and VB can be found in following folder
[Disk]:\program files\Advantech\Motion\PCI-1241_42_61\example\
Each sample program is designed for demonstrating different motion
operation. Users can test motion cards with the sample program. Or even
accomplish their applications by modifying the sample programs.
Following is a list of all sample programs and their functions:
Note:
The default index is ‘0’ for each card. Please
modify the index before testing with examples.
Since the driver also uses the card index to identify
the cards, if you have more than one PCI-1241/
1242/1261 card in one system, each of card need
to be set with a different card index. The index
range goes from 0 to 11.
Table 5.1: Sample Program Usage
Name
VC&
VB
PCI-
1241
PCI-
1242
PCI-
1261
Description
AccStep
Yes
Yes
Yes
Yes
Demonstrates how to set
motion's acceleration and
deceleration time (or steps)
Summary of Contents for PCI-1241
Page 6: ...PCI 1241 1242 User Manual vi...
Page 34: ...PCI 1241 1242 User Manual 24 Figure 3 5 Wiring Diagram between PCI 1241 and Servo Motor Driver...
Page 47: ...37 Chapter3 Figure 3 17 Remote I O Wiring Diagram in PCI 1242...
Page 66: ...PCI 1241 1242 User Manual 56...
Page 80: ...PCI 1241 1242 User Manual 70...
Page 86: ...PCI 1241 1242 User Manual 76...