Page 4
The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
Page 5
Conventions The following conventions appear in this manual: » The » symbol leads you through nested menu items and dialog box options to a final action. The sequence File»Page Setup»Options directs you to pull down the File menu, select the Page Setup item, and select Options from the last dialog box.
Page 10
Chapter 1 Overview of Compact FieldPoint Compact FieldPoint cFP-20 xx POWER STATUS COM 4 / RS-485 COM 3 / RS-232 RESET INPUT 11-30 V-- LINK 1.5 A MAX COM 2 / RS-232 DI / DO 100 Mbps Front Bottom 1 Ethernet Port 7 Power Connector 2 RS-232 Serial Port 8 Switch Input/LED Output Terminals (cFP-2020 Only)
• VI Logger support You can download a current version of FieldPoint software from the National Instruments Web site. Using your Web browser, go to ni.com select Support»Drivers and Updates»Current Software Versions» Distributed I/O—FieldPoint, then select the latest version of NI-FieldPoint.
Page 12
Chapter 1 Overview of Compact FieldPoint Install software as described in Chapter 2, Installing Compact FieldPoint Hardware and Software. Install programming software (LabVIEW RT). Install FieldPoint software. Configure Compact FieldPoint system and verify configuration as described in the Measurement & Automation Explorer Help for FieldPoint.
You can compromise the safety protection built into the product if the product is damaged in any way. If the product is damaged, return it to National Instruments for repair. Do not substitute parts or modify the Compact FieldPoint product. Use the product only with the modules, accessories, and cables specified in the installation instructions.
Chapter 2 Installing Compact FieldPoint Hardware and Software standard wall outlet (for example, 115 V for U.S. or 230 V for Europe). Examples of Installation Category II are measurements performed on household appliances, portable tools, and similar products. • Installation Category III is for measurements performed in the building installation at the distribution level.
Chapter 2 Installing Compact FieldPoint Hardware and Software Mounting the Backplane on a Panel The cFP-BP-x backplane is shipped with a panel-mount kit. Complete the following steps to mount the backplane on a panel: Fasten the two plates of the panel-mount kit to the back of the cFP-BP-x using a number 2 Phillips screwdriver and the 8-32 ×...
Chapter 2 Installing Compact FieldPoint Hardware and Software Mounting the Backplane in a Standard 19-in. Rack In order to mount the cFP-BP-x backplane in an EIA standard 19 in. rack, you need the rack-mount kit. You can order the kit, part number 778615-01, from NI.
Chapter 2 Installing Compact FieldPoint Hardware and Software Bolt the rack-mount accessory to a standard 19 in. rack. Connect the safety ground as explained in the Compact FieldPoint Safety Information section. Disconnect power before removing the backplane from the rack. Caution Installing a DIN Rail in the Rack-Mount Accessory If you are using a rack-mounted cFP-BP-4, you can install a short...
Chapter 2 Installing Compact FieldPoint Hardware and Software Insert one edge of the DIN rail into the deeper opening of the DIN rail clip, as shown in Figure 2-11. 1 DIN Rail Clip 2 DIN Rail Clip Spring 3 DIN Rail Figure 2-11.
Chapter 2 Installing Compact FieldPoint Hardware and Software Connecting the cFP-20xx to a Network Connect the cFP-20xx controller to an Ethernet network using the RJ-45 Ethernet port on the module. Use a standard Category 5 Ethernet cable to connect the cFP-20xx to an Ethernet hub, or use an Ethernet crossover cable to connect the module directly to a computer.
Chapter 2 Installing Compact FieldPoint Hardware and Software come on. After about five seconds, the STATUS LED begins flashing. The cFP-20xx is ready to be configured, and you can install the FieldPoint software. If you have already assigned an IP address to the cFP-20xx, the STATUS LED turns off, the I/O module READY LEDs come on, and the cFP-20xx is ready for use.
(the watchdog state). The network watchdog is disabled by default. Note National Instruments recommends leaving the network watchdog disabled when you are running embedded applications on the cFP-20xx. Use the hardware watchdog for embedded applications. Network watchdog output values can be different than power-up output values.
Chapter 3 Feature Descriptions Storing a Custom Power-Up Configuration Setting a Power-Up State with the Snapshot Feature The Snapshot feature stores the current state of the Compact FieldPoint hardware for use as the power-up state of the system. Caution Using the Snapshot feature overwrites any power-up values you have specified for individual channels.
Chapter 3 Feature Descriptions 100 Mbps LED The green 100 Mbps LED is lit when the cFP-20xx is communicating at 100 megabits per second. If the 100 Mbps LED is not lit, the cFP-20xx is communicating at 10 megabits per second. User-Configurable LEDs A–D LEDs B, C, and D can be sent values of 0, 1, or 2.
Chapter 3 Feature Descriptions DISABLE VI Switch The position of the DISABLE VI switch determines whether any VIs run at startup. You can instruct the cFP-20xx controller to run a VI when it starts up, but if this VI consumes all of the cFP-20xx CPU resources for any reason, it can make the module inaccessible on the network.
Chapter 3 Feature Descriptions COM 3 (cFP-2020 Only) COM 3 is an RS-232 DTE serial port with a 10-position modular jack. The Serial Port VIs access COM 3 as port 2. Refer to Figure 3-3 and Table 3-3 for pin locations and signal descriptions. COM 4 (cFP-2020 Only) COM 4 is an RS-485 serial port with a 10-position modular jack.
Chapter 3 Feature Descriptions Outputs 1 and 2 are tied to LEDs A and B, respectively, on the cFP-2020 front panel. Each output sources +5 V when the corresponding LED has a value of 1. If the value is 0 or 2, the output does not source voltage. You can use the outputs to provide status or alarm indicators to operators.
Chapter 3 Feature Descriptions Remote Front Panels You may need to monitor and control an embedded VI remotely. The cFP-20xx supports multiple remote front panels for embedded VIs. Users can view the remote front panel using either LabVIEW or a Web browser. Users accessing the remote front panels with a Web browser need to have either Internet Explorer 5.5 Service Pack 2 or later, or Netscape 4.7 or later.
Page 44
Chapter 4 LabVIEW RT Programming Complete the following steps on the host PC to target LabVIEW RT to the cFP-20xx: Start LabVIEW. Open a new VI. Select Operate»Switch Execution Target to open the Select Target Platform dialog box, shown in the following figure. Select the target platform from the pull-down menu.
Chapter 4 LabVIEW RT Programming RT Target: Access Use RT Target: Access options to limit which host PCs can target the RT Engine on the cFP-20xx. Complete the following steps to open the RT Target: Access dialog box: Target LabVIEW RT to the cFP-20xx. Refer to the Targeting LabVIEW RT to the cFP-20xx section for more information.
Chapter 4 LabVIEW RT Programming In the RT Target: Access dialog box previously shown, all hosts in domain can target the RT Engine, with the exception site.com of all hosts in the domain. Additionally, the hosts test.site.com , and also a.test.site.com b.test.site.com 130.164.123.123...
Chapter 4 LabVIEW RT Programming By changing the Application Path, you can create multiple LabVIEW RT applications on the cFP-20xx. However, if you select Launch Application at Boot-up, only the application you specify in the Application Path launches at startup. Use Downloaded VI Path to specify the default path for the RT Engine VIs downloaded by the RT Development System.
Chapter 4 LabVIEW RT Programming Select Application (EXE) from the Build target pull-down menu. Click the Source Files tab. Click Add Top-Level VI. Navigate to the location of the VI to be added. Select the VI to be added. Click OK. 10.
Chapter 5 Accessing cFP-20xx Channels from PC Applications to call C functions that directly access I/O items you configured in MAX. In addition, a set of sample projects is placed in your LabWindows/CVI directory. Using these examples is the best way to get familiar Samples with these functions.
Chapter 5 Accessing cFP-20xx Channels from PC Applications DataSocket DataSocket, a programming technology based on TCP/IP, simplifies live data exchange between different applications on one computer or between computers connected on a network. DataSocket was designed as an easy-to-use, high-performance programming interface for sharing and publishing live data in measurement and automation applications.
Publish Data VI You can use the Publish Data VI on the FieldPoint palette to create items and groups that are published using the National Instruments Ethernet (Lookout) protocol. A host computer or cFP-20xx can link to these items using DataSocket or using the native connection capabilities of Lookout or the LabVIEW DSC module.
Chapter 5 Accessing cFP-20xx Channels from PC Applications VIs and applications can browse and read, write, or read/write from the cFP-20xx. These items also will be accessible in MAX and the FieldPoint OPC server. Serial VIs You can use the LabVIEW Serial VIs to communicate with other serial devices through the serial port(s) on the cFP-20xx.
Number of Flashes Error Condition 0 (stays lit) The cFP-20xx did not power on correctly. Contact National Instruments for assistance. The cFP-20xx is in reset mode or is unconfigured. Make sure the RESET IP switch is in the OFF position and restart the controller. Refer to the Measurement &...
Page 61
Appendix A Troubleshooting Table A-1. STATUS LED Flashes and Corresponding Error Conditions (Continued) Number of Flashes Error Condition The cFP-20xx is in safe mode. Turn the SAFE MODE switch off and restart the controller. If there is no software installed on the controller, download and install software as described in the Measurement &...
Page 65
Appendix B Specifications Safety This product is designed to meet the requirements of the following standards of safety for electrical equipment for measurement, control, and laboratory use: • IEC 61010-1, EN 61010-1 • UL 3121-1, UL 61010C-1 • CAN/CSA C22.2 No. 1010.1 For UL, hazardous location, and other safety certifications, refer to the product label, Note or visit...
Page 67
Technical Support and Professional Services Visit the following sections of the National Instruments Web site at for technical support and professional services: ni.com • Support—Online technical support resources at ni.com/support include the following: – Self-Help Resources—For immediate answers and solutions,...
Page 68
Appendix C Technical Support and Professional Services If you searched and could not find the answers you need, contact ni.com your local office or NI corporate headquarters. Phone numbers for our worldwide offices are listed at the front of this manual. You also can visit the Worldwide Offices section of to access the branch ni.com/niglobal...
Page 70
Glossary Pulse-width modulation. Generation of a pulse waveform with fixed frequency and variable pulse width (duty cycle). PWM is used to control discrete devices such as DC motors and heaters by varying the pulse width (the ration of on time to off time). subnet A set of systems whose IP addresses are configured such that they can communicate directly with one another.
Page 72
FieldPoint VIs, 5-1 digital input/output, 3-9, 3-10 file transfer capability, 3-11 DIN rail mount. See installation, mounting hardware on DIN rail National Instruments FTP site, 1-3 DIO, 3-9, 3-10 RT Engine FTP server, 3-11 DIP switches, 3-5 DISABLE VI switch, 3-6...
Need help?
Do you have a question about the Compact FieldPoint cFP-20 Series and is the answer not in the manual?
Questions and answers