14
|
ni.com
|
Getting Started with NI 9514/16 Modules and AKD Servo Drives
6. Click
Discover
in the
Discover C Series Modules?
dialog box if it appears.
7. Click
Continue
.
8. Right-click the controller item in the
Project Explorer
window and select
Properties
from
the shortcut menu to display the
RT Target Properties
dialog box. Select
Scan Engine
from the
Category
list to display the Scan Engine page.
9. Set the
Scan Period
to 5 ms or lower, then click
OK
to close the
RT Target Properties
dialog box.
B. EtherCAT Master and NI 9144 EtherCAT Expansion Chassis
If you are using the NI 9144 chassis, complete the following steps to add the EtherCAT master
device and detect the C Series modules.
1. Add the Master Real Time Controller to the project. Right click the top level project item
in the
Project Explorer
window and select
New»Targets and Devices
from the shortcut
menu to display the
Add Targets and Devices
dialog box.
2. Make sure that
Existing target or device
radio button is selected.
3. Expand the folder that corresponds to the device you are adding, such as Real Time
Industrial Controller, Real Time PXI, and so on.
4. Select the Real Time to add to the project and click
OK
.
5. In the LabVIEW
Project Explorer
window, right-click the master controller and select
New»Targets and Devices
.
6. In the
Add Targets and Devices
dialog window shown in Figure 11, select
Existing target
or device
and expand the category EtherCAT Master Device to auto-discover the EtherCAT
port on the master controller. An EtherCAT master device and modules can be added
manually at any time.
Figure 11.
Adding the EtherCAT Master
When all the slave devices are discovered, the LabVIEW
Project Explorer
window lists each
slave device and any installed C Series modules.