FieldPoint™ FP-3000 Network Module User Manual FieldPoint FP-3000 User Manual January 1999 Edition Part Number 322169A-01
Worldwide Technical Support and Product Information http://www.natinst.
Important Information Warranty The FieldPoint FP-3000 network module is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
Contents About This Manual Conventions ...................................................................................................................xv Related Documentation..................................................................................................xv Chapter 1 FP-3000 Network Module Overview Overview of the FP-3000 Network Module ..................................................................1-1 Features of the FP-3000 Network Module ..........................................
Contents Chapter 3 Example Applications Initial Power On: Assigning Address and Device Tag.................................................. 3-1 Example 1: Converting a 4–20 mA Pressure Sensor to Fieldbus Using FP-3000 ........ 3-2 Getting Started ................................................................................................ 3-2 Convert the Pressure Sensor Reading ............................................................. 3-2 Create Function Block ......................................
Contents Chapter 4 Block Reference Block Overview .............................................................................................................4-1 Function Blocks...............................................................................................4-1 Resource Block................................................................................................4-2 Types of Function Blocks ..............................................................................................
Contents FP_CJC_SOURCE.......................................................................................... 4-15 FP_MOD_STATUS........................................................................................ 4-15 FP_NOISE_REJECTION ............................................................................... 4-15 FP_PWM_520_PERIOD ................................................................................ 4-16 FP_RTD_122_RANGE .............................................................
Contents BYPASS ..........................................................................................................C-4 CHANNEL ......................................................................................................C-4 CHECKBACK ................................................................................................C-4 CLR_FSTATE.................................................................................................C-5 CONFIRM_TIME .....................................
Contents LO_PRI ........................................................................................................... C-13 LOW_CUT...................................................................................................... C-13 MANUFAC_ID .............................................................................................. C-13 MAX_NOTIFY............................................................................................... C-13 MEMORY_SIZE .................................
Contents WRITE_ALM..................................................................................................C-22 WRITE_LOCK................................................................................................C-22 WRITE_PRI ....................................................................................................C-22 XD_SCALE.....................................................................................................
Contents Figure 2-12. Figure 2-13. Figure 2-14. Figure 2-15. Figure 2-16. FP-3000 Connector Pinout.................................................................... 2-12 LEDs on the FP-3000............................................................................ 2-12 FP-3000 Firmware Update Dialog Box ................................................ 2-16 FP-3000 Search Dialog Box ................................................................. 2-17 Select FP-3000 Module Dialog Box ..................
Contents Table C-3. Table C-4. Table C-5. Table C-6. Table C-7. Table C-8. Table C-9. Table C-10. Table C-11. Table C-12. Table C-13. Table C-14. Table C-15. Table C-16. Checkback States ..................................................................................C-5 Control Options ....................................................................................C-6 Feature Parameter Options ...................................................................C-8 Hard Types .........................
About This Manual This manual describes how to use your FieldPoint FP-3000 Network Module. 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. This icon denotes a note, which alerts you to important information.
1 FP-3000 Network Module Overview This chapter provides an overview of the FP-3000 network module. Overview of the FP-3000 Network Module The FP-3000 is an intelligent network interface and controller module that manages a bank of up to nine FieldPoint I/O modules and terminal bases. The FP-3000 network module and the terminal bases snap together to form a high-speed data bus for communications between the FP-3000 network module and any I/O modules in the bank.
Chapter 1 FP-3000 Network Module Overview 1 2 4 3 + – + 5 + – 6 – 6 1 2 FP-3000 Network Module Terminal Base 3 4 I/O Module Fieldbus Trunk 5 6 Fieldbus Fieldbus Devices Figure 1-1. Fieldbus Network Setup The FP-3000 network module provides a Fieldbus interface to conventional analog and discrete I/O devices. For example, the FP-3000 makes a 4–20 mA pressure transmitter connected to a FieldPoint 8-channel analog input module behave like a Fieldbus pressure transmitter.
Chapter 1 FP-3000 Network Module Overview Features of the FP-3000 Network Module Function Blocks Conventional devices connected to I/O modules are made visible as Fieldbus function blocks. Function blocks are software modules which describe the fundamental elements of an I/O or control system. The FP-3000, like any FOUNDATION Fieldbus–compliant device, has one or more function blocks. The function blocks in different devices can be connected to form a distributed control system.
Chapter 1 FP-3000 Network Module Overview Interoperability The FP-3000 network module can send or receive data from any Fieldbus-compliant device. The PID block in the FP-3000 can get its input from any Fieldbus-compliant device; it can also control any Fieldbus-compliant output device. The control and I/O functionality of the FP-3000 can be configured by any Fieldbus configurator, such as the National Instruments NI-FBUS Configurator.
Installation and Configuration 2 This chapter describes how to install device description files, mount your FieldPoint FP-3000 network module, connect the terminal bases, connect power to the network module, and connect the FP-3000 to a Fieldbus network. Install the Device Description File The Device Description file (DD) contains a list of the types of function blocks and parameters supported by the FP-3000, along with online help describing the uses of given parameters.
Chapter 2 Installation and Configuration Figure 2-1. NI-FBUS Configuration Utility Dialog Box 4. Click on the DD Info button. The following dialog box appears. Figure 2-2. DD Info Dialog Box 5. FieldPoint FP-3000 User Manual Click on the Import DD button. The following dialog box appears.
Chapter 2 Installation and Configuration Figure 2-3. Import DD Dialog Box 6. Enter the file name for the device description into the entry field, then click on OK. If the import process is successful, the following dialog box appears, indicating that the software installation is complete. Figure 2-4. fbconf Dialog Box You only need to install the DD file one time for a version of the firmware. You do not have to repeat the DD installation for each FP-3000 connected to your computer.
Chapter 2 Installation and Configuration Mount the FP-3000 and Terminal Bases You can mount your FieldPoint system either to a DIN rail or directly on a panel. Panel mounting is generally the more secure option, but DIN rail mounting might be more convenient for your application. The following sections give instructions for both mounting methods. Mounting the FP-3000 on a DIN Rail The FP-3000 has a simple rail clip for reliable mounting onto a standard 35 mm DIN rail.
Chapter 2 Installation and Configuration Local Bus Connector Lip 35 mm DIN Rail Cover Press Figure 2-6. Mounting the FP-3000 onto a DIN Rail 3. Slide the FP-3000 to the desired position along the DIN rail. After the FP-3000 is in position, lock it to the DIN rail by pushing the rail clip to the locked position, as shown in Figure 2-5.
Chapter 2 Installation and Configuration 3. To add more terminal bases, install them on the rail and connect their local bus connectors together. A single FP-3000 can support up to nine terminal bases. 4. Place the protective cover (from the bag of accessories that came with your FP-3000) onto the local bus connector of the last terminal base on the bank, as shown in Figure 2-7. Local Bus Connectors Firmly Mated Protective Cover Rail Clip Locked DIN Rail Figure 2-7.
Chapter 2 Installation and Configuration Press Figure 2-8. Installing the Network Panel Mount Accessory 3. Lock the panel mount accessory into place by pushing the rail clip to the locked position, as shown in Figure 2-5. 4. Mount the FP-3000 to your panel with the panel mount accessory. The installation guide that came with the panel mount accessory includes a guide that you can use to drill pilot holes for mounting the FP-3000.
Chapter 2 Installation and Configuration connectors should remain firmly mated after all the bases are mounted to the panel. 5. Place the protective cover (from the bag of accessories that came with your FP-3000) onto the local bus connector of the last terminal base on the bank.
Chapter 2 Installation and Configuration Connect Power to the FP-3000 An 11–30 VDC power supply is required by each FP-3000 on your network. The FP-3000 filters and regulates this supplied power and provides power for all the I/O modules in the bank. Therefore, you do not need to provide power separately to each FieldPoint I/O module in the bank. The power connector is a 6-pin screw terminal power connector whose pinout is shown in Figure 2-10. See Figure 2-11 for the location of the power connector.
Chapter 2 Installation and Configuration This is the amount of power the network module consumes from the power supply to power itself and the I/O modules. It does not include any power consumed by devices that you wire to the terminal bases. The operating instructions for each FieldPoint I/O module contain power consumption information. Power-On Self Test (POST) The power-on self test (POST) is a test suite that the FP-3000 performs at power up to verify its own operational status.
Chapter 2 Installation and Configuration Local Bus Connector Status Dsub Power LEDs Fieldbus Connector Connector Figure 2-11. Fieldbus Connectors on the FP-3000 Use a Fieldbus cable with a 9-pin female Dsub connector to connect the FP-3000 to a properly terminated Fieldbus network. Refer to the Fieldbus Foundation Wiring and Installation 31.25 kbit/s, Voltage Mode, Wire Medium Application Guide for specific information about wiring and installing a Fieldbus network.
Chapter 2 Installation and Configuration NC NC NC NC NC 1 2 3 4 5 7 8 Data + Data – NC 9 NC 6 NC = No Connection Figure 2-12. FP-3000 Connector Pinout LED Indicators The FP-3000 has four LED indicators: POWER, NETWORK, PROCESS, and STATUS. Figure 2-13 shows the LEDs on the FP-3000. STATUS NETWORK PROCESS POWER STATUS FF-H1 PORT NETWORK PROCESS POWER FF-H1 PORT Figure 2-13.
Chapter 2 Installation and Configuration The multicolored PROCESS LED is used to indicate the current state of the processes being controlled by the FP-3000. When a PID function block on the FP-3000 module is in initialization, the light flashes green. When all the executing PID blocks on the FP-3000 are in Target mode, the light remains lit solid green. Any active alarm of priority greater than eight results in the light being lit red.
Chapter 2 Installation and Configuration Table 2-2. STATUS LED Flashes and Corresponding Error Conditions Number of Flashes Error Condition 0 (stays lit) Configuration has changed and has not been stored in static memory. 1 Parameter storage of nonvolatile and static parameters has been lost. Re-enter all stored parameters into the module. You can do this by re-downloading a saved configuration over the Fieldbus.
Chapter 2 Installation and Configuration As soon as the FP-3000 configures the new I/O module through the HotPnP service, that I/O module becomes automatically accessible on the network. Inserting New I/O Modules When a new I/O module is inserted, the FP-3000 automatically configures the I/O module to factory default settings. This configuration is accomplished without any intervention from the host computer or software.
Chapter 2 Installation and Configuration Fieldbus system. You do not need to update all the FP-3000 modules with the new firmware. Follow these steps to update the firmware: 1. Select FP-3000 Update Utility from the start menu of the host PC. Figure 2-14. FP-3000 Firmware Update Dialog Box 2. FieldPoint FP-3000 User Manual Click on the Search for FP-3000s button. This causes the update utility to search every Fieldbus segment on the host PC for FP-3000 modules.
Chapter 2 Installation and Configuration Figure 2-15. FP-3000 Search Dialog Box 3. © National Instruments Corporation Select the FP-3000 module that needs to be updated, and enter the path to the firmware image file.
Chapter 2 Installation and Configuration Figure 2-16. Select FP-3000 Module Dialog Box 4. FieldPoint FP-3000 User Manual Click on the Download button of the update utility. This process takes about 15 minutes. At the end of the process, the FP-3000 is updated to include the new features. At the end of the update process, the configuration information in the FP-3000 is cleared.
Example Applications 3 This chapter provides examples that show you how to configure the FP-3000 to perform common tasks, including reading from a 4–20 mA current loop device, taking temperature readings from a thermocouple module, and controlling the output current through an analog output module. This chapter also provides information about hardware and software configuration.
Chapter 3 Example Applications Example 1: Converting a 4–20 mA Pressure Sensor to Fieldbus Using FP-3000 One common application of the FP-3000 is interfacing to a conventional device, such as a 4-20 mA pressure sensor or a 4-20 mA temperature transmitter. This example helps you configure the FP-3000 to interface to a 4-20 mA pressure sensor.
Chapter 3 3. Example Applications Select FP AI 110 Block from the list, then click on the OK button. This creates the correct analog input block on the FP-3000. Assign a Tag to the New Block By default, new blocks are created without a tag. To assign a tag, follow these steps: 1. Right-click on the new block, then select Set Tag. 2. Enter the tag you choose in the dialog box. The tag can be up to 32 characters in length and should not contain the dot (“.”) character. 3. Click on OK.
Chapter 3 Example Applications Set the Input Range 1. Find the FP_AI_110_RANGE parameter in the block. 2. Set the parameter to 3.5–21 mA, since this range most closely matches the 4–20 mA that you expect from your transmitter. Scale the Reading 1. Set the XD_SCALE parameter, which tells the block the range of values to expect from the transducer. Go to the XD_SCALE parameter of the block and enter the following: XD_SCALE EU at 100% EU at 0% Units Index Decimal 0.020 0.
Chapter 3 Example Applications Set Up Scheduling Before the block will operate, you need to schedule the block to execute. All Fieldbus function blocks (including function blocks on the FP-3000) execute according to a schedule. You can specify the order of function blocks in the schedule and the rate at which the schedule is repeated. To make the configurator create a schedule for your block, follow these steps: 1. Double-click on Function Block Application in the tree view of the configurator. 2.
Chapter 3 Example Applications Bring the Block Online 1. Go to the MODE_BLK parameter of the Resource block and set the TARGET to Auto. 2. Go to the MODE_BLK parameter of the block you created and set the TARGET to Auto. 3. Re-read the MODE_BLK parameter. The ACTUAL field should go to Auto. If it does not, refer to Appendix C, Fieldbus Parameters, for more information. Once the block goes to Auto, it is fully operational.
Chapter 3 Example Applications Wire the thermocouple to channel zero of the FP-TC-120 module, paying attention to the polarity of the thermocouple wires. Channel zero is between terminals 1 and 2 of the FP-TC-120. Next, wire the heating element (say, a small light bulb or even a resistor) to channel zero of the FP-AO-200 module, which is between terminals 1 and 2 of the FP-AO-200.
Chapter 3 Example Applications Set the Input Range and Thermocouple Type 1. Find the FP_TC_120_RANGE parameter in the block. 2. Set the parameter to 0–2048 K (degrees Kelvin). 3. Set the FP_THERMOCOUPLE_TYPE to the type of thermocouple you have connected (such as J or K type thermocouple). Figure 3-3. Set the Input Range and Thermocouple Type Dialog Box Scale the Reading 1. Tell the block the range of values to expect from the transducer.
Chapter 3 Example Applications You can avoid setting the XD_SCALE value manually if you set the CFG_OPTS option called Automatically adjust XD_SCALE. This allows the FP-3000 to copy the value from FP_TC_120_RANGE straight into the XD_SCALE parameter. 2. Determine the output scale. If you want to output the temperature in degrees Kelvin, you can set OUT_SCALE to the same values as XD_SCALE above.
Chapter 3 Example Applications Bring the Block Online 1. Go to the MODE_BLK parameter of the Resource block and set the TARGET to Auto. 2. Go to the MODE_BLK parameter of the block you created and set the TARGET to Auto. 3. Re-read the MODE_BLK parameter. The ACTUAL field should go to Auto. If it does not, refer to Appendix C, Fieldbus Parameters, for more information. Once the block goes to Auto, it is fully operational.
Chapter 3 Example Applications Select the Module and Channel Determine the FieldPoint module number by counting each module in the order it is attached to the FP-3000, beginning with one. In this example, assume that the FP-TC-120 is the first module connected to the FP-3000, and the FP-AO-200 is the second module. Therefore, set the value of FIELDPOINT_MODULE to 2. Since the heating element is wired to the terminals associated with channel zero on that module, set the FIELDPOINT_CHANNEL parameter to 0.
Chapter 3 Example Applications In the case of Analog Output blocks, you do not need to tell the block to use the scaling parameters. The block will always use both XD_SCALE and PV_SCALE parameters. Set Up Scheduling Before the block will operate, you need to schedule the block to execute. All Fieldbus function blocks (including function blocks on the FP-3000) execute according to a schedule. You can specify the order of function blocks in the schedule and the rate at which the schedule is repeated.
Chapter 3 Example Applications PID Control Instantiate a PID Block Now that your input and output blocks are functioning, you can “close the loop” by creating a control block and putting the loop under automatic control. To instantiate a PID block, follow these steps: 1. Right-click on FP-3000 in the configurator. 2. Select Instantiate New Block. This causes a dialog box to appear that lists all of the blocks supported by the FP-3000 and allows them to be instantiated. 3.
Chapter 3 Example Applications Connect the PID to the AI and AO Blocks 1. Drag the new PID block to the Function Block Application window. All three of your blocks (AI, AO, and PID) should be in the window. If not, drag the remaining blocks into the window now. 2. Using the wiring tool, connect the OUT parameter from the AI to the IN parameter of the PID. 3. Connect the OUT parameter of the PID to the CAS_IN parameter of the AO. 4.
Chapter 3 Example Applications 4. Read the MODE_BLK parameter. The ACTUAL mode should read IMan, for Initialization Manual. This means the PID is not able to enter Auto because the AO block is not in Cascade mode. 5. Go to the AO block, and look at its MODE_BLK. 6. Set the TARGET to Cas and Auto (check both the Cascade and Auto boxes). This tells the AO to operate in Cascade if possible, and otherwise, to fall back to Auto. 7. Re-read the MODE_BLK parameter. ACTUAL should be Cas.
Chapter 3 Example Applications 3. Set the HI_LIM parameter to 40. This is the high limit that triggers the high limit alarm. The units are defined to be the same as PV_SCALE, which is degrees Celsius. Figure 3-5. High Limit Alarm Parameters Dialog Box 4. FieldPoint FP-3000 User Manual Set up an interface card to receive the alarm. From the configurator, drag the icon that represents your interface card (it might be named something like “interface0-0”) onto the Function Block Application window.
Chapter 3 Example Applications Figure 3-6. PID Alarm Connection Dialog Box 5. © National Instruments Corporation Download the configuration. The PID now detects a high limit alarm whenever the temperature exceeds 40° C, and the alarm is transmitted to the interface on your PC. You need a separate program (such as the Lookout HMI package from National Instruments) to receive, display, and acknowledge the alarms.
4 Block Reference This chapter describes the function blocks and the parameters supported by the FP-3000. Block Overview The FP-3000 consists of a number of blocks. A block is a predefined software module that runs on an FP-3000 and acts as a fundamental component of a control system. Each block has a number of parameters that can be used to adjust the configuration of that part of the system. These are referred to as contained parameters.
Chapter 4 Block Reference A PID control loop consists of one of each of the following function blocks: an Analog Input (AI) block to read the process variable in a device (such as a transmitter), a Proportional–Integral–Derivative (PID) block to compare the process value to the setpoint and make control decisions, and an Analog Output (AO) block to move an actuator in a device (such as a valve). The PID can be located in the transmitter, valve, or any other device (such as a controller).
Chapter 4 Block Reference control blocks to switch smoothly from manual to automatic mode. It also has a faultstate behavior that allows the block to react if communications fail between itself and the upstream block. PID (Proportional–Integral–Derivative) The PID block implements a PID control algorithm. When at least one PID block is present in the device, the Process LED reflects the state of the PID(s) present.
Chapter 4 Block Reference Table 4-1. CDO Block Interlock Priorities (Continued) Input (Descending Priority) Notes Binary Open/Close (BINARY_OP/BINARY_CL) BINARY_OP only functions when ENABLE_OP has a value of Discrete_State_1. BINARY_CL only functions when ENABLE_CL has a value of Discrete_State_1. If both BINARY_OP and BINARY_CL are set and enabled, neither one takes effect. Operator Command (OP_CMD_CXO) OP_CMD_CXO is a contained bit string parameter that has a bit for Open and a bit for Close.
Chapter 4 Block Reference Table 4-2.
Chapter 4 Block Reference Figure 4-1. PID Function Block Application Dialog Box Alarming The Fieldbus network supports event notification messages from field devices like the FP-3000. Fieldbus function blocks use event notification messages to implement alarms and events. Alarms are used to report conditions that can either be active or inactive, such as the measured value of an AI block exceeding an alarm limit.
Chapter 4 Block Reference UNACKNOWLEDGED The UNACKNOWLEDGED subfield indicates the acknowledgment state of the alarm or event. A host application typically acknowledges the unacknowledged alarm when an operator sees and acknowledges the alarm. ALARM_STATE/UPDATE_STATE The current state of the alarm or event can be determined through the ALARM_STATE (for alarms) or UPDATE_STATE (for events) subfield of the alarm or event parameter.
Chapter 4 Block Reference TIME_STAMP The time the alarm was detected by the FP-3000. In FOUNDATION Fieldbus, all devices share a common sense of time. This shared sense of time is used to timestamp alarm conditions as they occur, rather than when they are reported. SUBCODE For Block alarm, the subcode of the last error condition detected.
Chapter 4 Block Reference over the Fieldbus using a host configuration tool, the block that is sending data to the other block is called the publisher. The block receiving the data is called the subscriber. When communication is established from a publisher to a subscriber, the subscriber takes on the value and the status of the published variable. If communication is not established between the publisher and the subscriber, the subscriber has a status that reflects the lack of communication.
Chapter 4 Block Reference Limit Table 4-4 describes the Limit subfield values. Table 4-4. Limit Values Value Meaning None The value is not limited. Low The value is at a lower limit. This can be caused by a transducer limitation or setpoint limits. High The value is at a high limit. This can be caused by a transducer limitation or setpoint limits. Constant The value is at a fixed value and cannot move. This can be caused by the block supplying the value being in manual mode.
Chapter 4 Block Reference Table 4-5. Target Modes (Continued) Desired Mode Bit Set in Target Mode Remote Cascade and Automatic. For Remote Cascade more information on Remote Cascade operation, refer to the section Fault State and Mode Shedding in Appendix D, Advanced Function Block Behavior. Remote Output and Automatic. For more Remote Output information on Remote Output operation, refer to the section Fault State and Mode Shedding in Appendix D, Advanced Function Block Behavior.
Chapter 4 Block Reference Table 4-6. Actual Modes (Continued) Mode (in descending priority) Meaning Automatic Auto (0x08) The block operates normally with a setpoint specified manually through a write to the setpoint parameter. Cascade Cas (0x04) The block operates normally with a setpoint specified automatically through a connection from an upstream block to the CAS_IN (cascade input) parameter. Before the block can enter this mode, the cascade is initialized automatically to avoid windup.
Chapter 4 Block Reference FP-3000 Specific Parameters CFG_OPTS An option in the I/O function blocks to automatically set the scaling or alter the block behavior. Generally, this option can make configuration easier. Table 4-7. Configuration Options Option Description Automatically Adjust Enabling this option allows the block to automatically determine its XD_SCALE parameter, based on the physical I/O channel range, which is set by parameters such as FP_AI_100 range.
Chapter 4 Block Reference Table 4-9. Execution Statistics Statistic Description EXEC_COUNT The number of times the block executed since the statistics were last reset. EXEC_MISS_COUNT The number of times the block failed to execute as scheduled since the statistics were last reset. STALE_COUNT The number of times the block received stale data since the statistics were last reset. EVENT_COUNT The number of events logged since the statistics were last reset.
Chapter 4 Block Reference FP_AO_200_RANGE Allows the range of a channel on a FieldPoint FP-AO-200 to be adjusted. FP_CJC_SOURCE Allows the cold junction compensation to be adjusted on a FP-TC-120 module. Note Cold junction compensation is global to the entire module and affects every channel on the module. FP_MOD_STATUS The status of the FieldPoint I/O module associated with the function block. Table 4-10.
Chapter 4 Block Reference FP_PWM_520_PERIOD The period of the pulse width modulated waveform, in milliseconds. FP_RTD_122_RANGE Allows the range of a channel on a FieldPoint FP-RTD-122 to be adjusted. FP_RTD_TYPE Allows adjustment of the RTD type of a channel on an FP-TC-122 module. FP_TC_120_RANGE Allows the range of a channel on a FieldPoint FP-TC-120 to be adjusted. FP_TC_120_CJ_RANGE Allows the range of the cold junction compensation channel on a FieldPoint FP-TC-120 to be adjusted.
Chapter 4 Block Reference Table 4-11. Block Events Event CLASS Description The type of event detected. Configuration Error: An error has been detected in the configuration of the block.This is usually due to an uninitialized static parameter. The block updates its target mode to Out of Service and posts a block alarm. Operational Warning: The block detected a non-critical event. The block continues to execute normally. Operational Error: The block detected a critical event.
A Configuring the FP-3000 The FP-3000 has three configuration switches accessible from an opening in the top of the module. These switches are shown in Figure A-1. On Off Simulate Enable Switch Write Lock Switch Reset Switch Figure A-1. Configuration Toggle Switches Simulate Enable When On, this switch allows simulation on I/O blocks to be enabled. The status of this jumper is shown in the Simulate Active bit in the resource block’s BLOCK_ERR parameter.
Appendix A Configuring the FP-3000 Write Lock When On, the device rejects writes to block configuration parameters. Linkages between blocks still function correctly. Reset When On, this switch causes the device to reset all configuration information to factory defaults on power up. To resume normal operation, this switch must be switched off and power to the device must be cycled a second time.
B Troubleshooting The FP-3000 is a powerful and highly flexible tool you can use to solve distributed I/O and control problems. Because of this flexibility, you might encounter problems getting the FP-3000 to perform the functions you want. This chapter helps you diagnose and solve common problems that you might encounter using the FP-3000. Problems you might encounter with the FP-3000 include Fieldbus communication problems, I/O module problems, and software configuration problems.
Appendix B Troubleshooting Table B-1 describes common Fieldbus communication problems and possible solutions. Table B-1. Fieldbus Communication Problems Problem FP-3000 is not visible on the Fieldbus from a host configurator Solutions • Is the power LED on? If not, check your power supply and DC power wiring to the FP-3000. • Is the Fieldbus network light on? If not, your Fieldbus wiring is probably bad. • Check the switches on the back of the FP-3000. Make sure the Reset switch is not On.
Appendix B Troubleshooting I/O Module Problems FP-3000 offers diagnostic capabilities to help find problems with the I/O modules you have plugged in. Table B-2. I/O Module Problems Problem Solutions The green READY LED does not light when the module is plugged in. The red LED is lit on an I/O channel. Make sure the module is firmly seated. Also, make sure the terminal base is firmly attached to the terminal base on its left. Look for bent pins on the bottom of the module.
Appendix B Troubleshooting Table B-3. Generic Software Configuration Problems Problem Block will not leave OOS (Out of Service) mode, and BLOCK_ERR does not report any errors Block will not leave OOS (Out of Service) mode, and BLOCK_ERR parameter reads “Block Configuration Error” FieldPoint FP-3000 User Manual Solutions • Make sure you have written a non-OOS mode to the TARGET mode of the block. • If this is a function block, make sure you have scheduled the block.
Appendix B Troubleshooting Table B-3. Generic Software Configuration Problems (Continued) Problem Solutions Block leaves OOS mode but will not go into the exact TARGET mode Your block is correctly configured, but some run-time condition is keeping the block from reaching its target mode. The actual mode of a block switches values PID block output seems incorrect • If your block is connected to other function blocks as part of a Function Block Application, check the status of the input parameters.
Appendix B Troubleshooting Table B-3. Generic Software Configuration Problems (Continued) Problem Solutions Cannot access or view the parameters added by National Instruments Make sure that the Device Descriptions are installed in the correct location. Refer to the section Install the Device Description File in Chapter 2, Installation and Configuration, if you are using NI-FBUS.
Fieldbus Parameters C ACK_OPTION Allows alarms to be automatically acknowledged by the block with no outside intervention. This is useful if you are not interested in acknowledging certain alarms from a block. ALARM_HYS The amount a value must move off an alarm limit, in percent of scale, for the alarm to be considered clear. This helps prevent alarms from constantly “toggling” on and off when the process value is near the configured alarm limit. ALARM_SUM A summary of the status of alarms in the block.
Appendix C Fieldbus Parameters BINARY_OP An interlock input. When in Discrete_State_1, the output of the block is forced open (Discrete_State_1). This interlock input has priority over all interlock inputs, except SAFEGUARD_CL and SAFEGUARD_OP. In the event BINARY_OP and BINARY_CL are in Discrete_State_1, both are considered to be in Discrete_State_0. BKCAL_HYS The amount a block’s output value must move off a limit, in percent of scale, for the limit status to be turned off.
Appendix C Fieldbus Parameters Table C-1. Error Codes Error Code Code Description Other 0x0001 Undefined block error condition. Block Configuration Error 0x0002 The block has detected an error in its configuration. This usually indicates a static parameter has been left uninitialized. Link Configuration Error 0x0004 The logical connection between this block and another block is misconfigured. Simulate Active 0x0008 For I/O function blocks, this indicates that simulation is enabled.
Appendix C Fieldbus Parameters Table C-1. Error Codes (Continued) Error Code Code Description Device Needs Maintenance Now 0x2000 The device needs to be maintained now. Power-Up 0x4000 The device has just powered up. Out of Service 0x8000 The block is currently out of service. BLOCK_RESET Lets you reset the statistics or the configuration of an individual function block. Table C-2.
Appendix C Fieldbus Parameters Table C-3. Checkback States State Description Safeguard Open The SAFEGUARD_OP parameter is in Discrete_State_1, and the block has opened the output. Safeguard Close The SAFEGUARD_CL parameter is in Discrete_State_1, and the block has closed the output. Binary Open The BINARY_OP parameter is in Discrete_State_1, and the block has opened the output. Binary Close The BINARY_CL parameter is in Discrete_State_1, and the block has closed the output.
Appendix C Fieldbus Parameters CONTROL_OPTS A list of options used to adjust the way control blocks, such as the PID block, operate. The options are described in Table C-4. Table C-4. Control Options Options Description Bypass Enable Allows you to set the BYPASS parameter and bypass the algorithm’s control. SP-PV Track in Man Causes the setpoint to track the process variable in Man. SP-PV Track in ROut Causes the setpoint to track the process variable in ROut.
Appendix C Fieldbus Parameters DD_REV The revision of the device description used by the device. DEV_REV The revision of the device. DEV_TYPE The manufacturer’s model number for the device. DV_HI_ALM The current state of the deviation high alarm, along with a time and date stamp. DV_HI_LIM The deviation limit (between the PID block setpoint and process value) beyond which the deviation high alarm is considered active. DV_HI_PRI The priority of the deviation high alarm.
Appendix C Fieldbus Parameters FEATURE_SEL/FEATURES The FEATURES parameter lists features supported by the device. Use the FEATURE_SEL parameter to manually enable and disable the supported features listed in the FEATURES parameter. The features are listed in Table C-5. Table C-5. Feature Parameter Options Option Description Unicode The device supports strings in Unicode format. The FP-3000 does not support this feature. Reports The device supports event report messages for alarming.
Appendix C Fieldbus Parameters FF_VAL The feed-forward value. FIELD_VAL The value from the input channel, in percent of scale. FP_AUTOCONFIGURE This parameter, present in the resource block, causes the FP-3000 to automatically configure itself. The FP-3000 detects all the I/O modules present and instantiates the appropriate I/O function blocks. It creates a function block for each I/O channel. It tags the function blocks and sets the contained parameters to appropriate defaults.
Appendix C Fieldbus Parameters HARD_TYPES A list of available channel types. As I/O modules are inserted and removed from the FP-3000 bank, bits in this field change to reflect the presence or absence of types of I/O channels. Table C-6. Hard Types Bitmask Description Analog Input This bit is set if the FP-3000 has analog input channels available. Analog Output This bit is set if the FP-3000 has analog output channels available.
Appendix C Fieldbus Parameters Table C-7. Operation Bitmasks Bitmask Description Invert In discrete blocks, this maps a physical state of Discret_State_0 to Discret_State_1 and maps every other physical transducer state to Discret_State_0. SP-PV Track in Man Forces the setpoint to track the process variable in ROut. SP-PV Track in LO or IMan Forces the setpoint to track the process variable in LO or IMan.
Appendix C Fieldbus Parameters Table C-8. Linearization Types Type Description Direct The block output is directly taken from the transducer value: OUT = transducer_value Indirect The block output is scaled according to OUT_SCALE from the value in FIELD_VAL: OUT = ( FIELD_VAL(OUT_SCALE.EU100-OUT_SCALE.EU0) ) Indirect Square Root The block output is scaled according to OUT_SCALE from the value in FIELD_VAL. Before the field value is rescaled, the square root is taken. FIELD_VAL OUT = OUT_SCALE.
Appendix C Fieldbus Parameters LO_PRI The priority of the low limit alarm. LOW_CUT With an L_TYPE of Indirect Square Root, this can be used to establish a floor for values from the transducer. Values below this floor are considered to be zero. The parameter can be disabled with the Low Cutoff option in the IO_OPTS parameter. MANUFAC_ID The ID of the manufacturer of the device. For National Instruments devices, it is 0x4E4943.
Appendix C Fieldbus Parameters Table C-9. Operational Modes Mode Target Description The desired mode of operation of the block. Out of Service (O/S). The block is out of service, block execution is suspended, and all output parameters take a status of Bad::OutOfService. Initialization Manual (IMan). The block is in the process of initializing a cascade. This is used for upstream (control) blocks when they are initializing for smooth transfer into Automatic mode. Local Override (LO).
Appendix C Fieldbus Parameters OP_CMD_CXO The lowest level priority input. This can be used to allow the operator to activate interlock behavior with a write from the host application. Table C-10. Command Parameters Value Description Close When this flag is set, the output of the block is forced to Discret_State_0. This interlock is overridden by every other interlock. If both OP_CMD_CXO.Close and OP_CMD_CXO.Open are set, they are both considered to be clear.
Appendix C Fieldbus Parameters Table C-11. OUT_SCALE Parameter Subfield Meaning EU_100 Engineering units value at 100 percent of scale. EU_0 Engineering units value at zero percent of scale. UNIT_INDEX Actual engineering units code (such as mA). DECIMAL Number of digits a host shows to the right of the decimal for display purposes. PV The process variable being controlled by the process. PV_FTIME The filter time used in input blocks.
Appendix C Fieldbus Parameters RCAS_OUT The back calculation output used by the host when establishing a Remote cascade loop. RESET The time constant for the integral component of the PID block. It is measured in seconds per repeat. RESTART Allows the user to restart the device remotely. Table C-12 lists restart values. Table C-12. Restart Values Value Behavior Restart Resource Restarts the device. Restart to Defaults Restarts the device, restoring all parameter values to default values.
Appendix C Fieldbus Parameters RS_STATE The current state of the device. Table C-13 lists device states. Table C-13. Device States State Meaning Start/Restart The device has just started a restart cycle. Initialization The device is performing startup diagnostics. Failure A hardware failure has been detected. On-Line Linking The device is online and waiting for new parameter linkages to be established. On-Line The device is online and in service.
Appendix C Fieldbus Parameters Table C-14. Shed Conditions Shed Mode Behavior Normal Shed The block sheds into the next higher priority mode set in the permitted mode field of MODE_BLK. Shed to Auto The block sheds into automatic mode. Shed to Manual The block sheds into manual mode. Shed to Retained The block sheds to the next higher priority mode set in the target mode field of MODE_BLK. SHED_RCAS The shed time for the RCAS_IN parameter.
Appendix C Fieldbus Parameters SP_RATE_DN The rate, in PV units per second, the setpoint can be moved downwards. If the setpoint moves faster than SP_RATE_DN, the block acts as if the setpoint is moving downwards at the maximum rate with a status bit that indicates that it is limited. SP_RATE_UP The rate, in PV units per second, the setpoint can be moved upwards.
Appendix C Fieldbus Parameters Table C-15. Status Options (Continued) Option Meaning Bad if Limited Produce an output status of Bad if the transducer value is limited. Uncertain if Manual Mode Set the output status of the block to Uncertain if the block is in manual mode. Do Not Select if Not Auto Mode Set the output status of the block to Do Not Select if the block is not in an actual mode of Auto. This is useful for blocks upstream of the selector block.
Appendix C Fieldbus Parameters UPDATE_EVT The current state of the update event, along with a time and date stamp. This event is issued whenever a static parameter is changed and ST_REV is incremented. WRITE_ALM The current state of the low alarm, along with a time and date stamp. WRITE_LOCK The software write lock for the device. When this is set to true, writes to all configuration parameters of all blocks are disallowed.
D Advanced Function Block Behavior This appendix explains advanced features of function blocks that are unnecessary to establish simple control strategies. Use this information to diagnose problems in control strategies and to develop systems that implement supervisory control by a host computer. Cascade Initialization FOUNDATION Fieldbus provides a protocol called Cascade Initialization that allows a control function block to smoothly transition from Man to Auto mode.
Appendix D Advanced Function Block Behavior Upstream Downstream OUT BKCAL_IN CAS_IN BKCAL_OUT Figure D-1. Parameter Connections for Cascade Initialization Mode and Status Behavior during Cascade Initialization Cascade initialization is arbitrated through the status of the backward calculation path from the downstream block and the forward calculation path on the upstream block.
Appendix D Advanced Function Block Behavior To prevent windup, the control loop needs to be aware when it is unable to control the process. If the downstream block can no longer control the process, it reports a status of Bad to the upstream block. This breaks the cascade until automatic control can be resumed, in which case cascade initialization takes place again.
Appendix D Advanced Function Block Behavior Bypassing Cascade Initialization If cascade initialization is unnecessary, you can bypass it by leaving the back calculation input of the upstream block unwired. By manually writing a status of Good, Non-cascade to the back calculation input, the block bypasses cascade initialization and immediately transitions to automatic control.
Appendix D Advanced Function Block Behavior target mode is changed at the time the block sheds mode, and the block does not attempt to enter the original lower priority mode when the shed condition ends. Table D-1. Mode Shedding Options Shed Option © National Instruments Corporation Behavior on Timeout Detection Shed to Manual The block enters Manual mode. Shed to Auto The block enters Auto mode. Shed to Retained The block sheds to the next highest priority mode set in the target mode field.
E Specifications This appendix describes the specifications of the FP-3000 network module. All FieldPoint network modules undergo extensive testing for operating under rugged environmental conditions that exist in industrial applications. FieldPoint network modules are designed and tested for immunity and susceptibility, as well as for emissions. Network FP-3000 .................................................. FOUNDATION Fieldbus H1 Integrity ..................................................
Technical Support Resources F National Instruments offers technical support through electronic, fax, and telephone systems. The electronic services include our Web site, an FTP site, and a fax-on-demand system. If you have a hardware or software problem, please first try the electronic support systems. If the information available on these systems does not answer your questions, contact one of our technical support centers, which are staffed by applications engineers, for support by telephone and fax.
Telephone and Fax Support National Instruments has branch offices all over the world. Use the following list to find the technical support number for your country. If there is no National Instruments office in your country, contact the source from which you purchased your software to obtain support.
Glossary Prefix Meanings Value m- milli- 10–3 M- mega- 106 % percent ° degrees 0x precedes a hexadecimal number B bytes bank The combination of one FieldPoint network module and one or more terminal bases and I/O modules.
Index Numbers ALERT_KEY parameter, C-1 ALG_RUN_TIME parameter, C-1 Analog Input function block. See AI (Analog Input) function block. Analog Output function block. See AO (Analog Output) function block. AO (Analog Output) function block connecting PID to AI and AO blocks (example), 3-14 description, 4-2pacetopace 4-3 PID control loops, 4-5 applications. See example applications.
Index overview, 4-1 to 4-2 PID control, 4-5 to 4-6 resource blocks, 4-2 status handling, 4-8 to 4-10 Limit subfield values (table), 4-10 Quality subfields (table), 4-9 Substatus field, 4-9 types of blocks, 4-1 BYPASS parameter, C-4 bringing online converting 4-20 mA pressure sensor to Fieldbus (example), 3-6 temperature control with FP-3000 (example) controlling heating element, 3-12 taking temperature readings, 3-10 FP-3000 specific parameters, 4-13 to 4-17 CFG_OPTS (table), 4-13 DEV_OPTS (table), 4-13 E
Index E overview, B-3 resource block configuration problems (table), B-6 updating FP-3000 firmware, 2-15 to 2-18 Write Lock switch, A-2 CONFIRM_TIME parameter, C-6 CONTROL_OPTS parameter (table), C-6 converting 4-20 mA pressure sensor to Fieldbus. See pressure sensor, converting to Fieldbus (example).
Index FEATURE_SEL_FEATURES (table), C-8 FF_GAIN, C-9 FF_SCALE, C-9 FF_VAL, C-9 FIELD_VAL, C-9 FP_AUTOCONFIGURE, C-9 FP_MOD_LIST, C-9 FREE_SPACE, C-9 FREE_TIME, C-9 GAIN, C-10 GRANT_DENY, C-10 HI_ALM, C-10 HI_HI_ALM, C-10 HI_HI_LIM, C-10 HI_HI_PRI, C-10 HI_LIM, C-11 HI_PRI, C-11 IO_OPTS (table), C-11 to C-12 LIM_NOTIFY, C-12 LO_ALM, C-12 LO_LIM, C-13 LO_LO_ALM, C-13 LO_LO_LIM, C-13 LO_LO_PRI, C-13 LO_PRI, C-13 LOW_CUT, C-13 L_TYPES (table), C-12 MANUFAC_ID, C-13 MAX_NOTIFY, C-13 MEMORY_SIZE, C-13 MIN_CYCLE_
Index FP-3000 connector pinout (figure), 2-12 FP-3000 Network Module features, 1-3 to 1-4 overview, 1-1 to 1-2 setup (figure), 1-2 FP_AI_100_RANGE parameter, 4-14 FP_AI_110_RANGE parameter, 4-14 FP_AI_111_RANGE parameter, 4-15 FP-AO-200 block, instantiating, 3-10 FP_AO_200_RANGE parameter, 4-15 FP_AUTOCONFIGURE parameter, C-9 FP_CJC_SOURCE parameter, 4-15 FP_MOD_LIST parameter, C-9 FP_MOD_STATUS parameter (table), 4-15 FP_NOISE_REJECTION parameter, 4-16 FP_PWM_520_PERIOD parameter, 4-16 FP_RTD_122_RANGE pa
Index temperature control with FP-3000 (example), 3-8 installation connecting FP-3000 to Fieldbus network, 2-11 to 2-12 connecting power to FP-3000, 2-9 to 2-10 Device Description file, 2-1 to 2-3 HotPnP, 2-14 to 2-15 LED indicators, 2-12 to 2-14 mounting FP-3000 on DIN rail, 2-4 to 2-6 connecting terminal bases, 2-5 to 2-6 removing FP-3000, 2-6 mounting FP-3000 to a panel, 2-6 to 2-8 connecting terminal bases, 2-7 to 2-8 removing FP-3000, 2-8 mounting I/O modules onto terminal bases, 2-8 power-on-self tes
Index N linearization types (table), C-12 Link Active Scheduler (LAS), 1-4 LO_ALM parameter, C-12 LO_LIM parameter, C-13 LO_LO_ALM parameter, C-13 LO_LO_LIM parameter, C-13 LO_LO_PRI parameter, C-13 LO_PRI parameter, C-13 LOG (FieldPoint Log Block) function block, 4-4 LOW_CUT parameter, C-13 network specifications, E-1 Normal mode, 4-12, C-16 NV_CYCLE_T parameter, C-15 O OP_CMD_CXO parameter (table), C-15 OUT parameter, C-15 OUT_HI_LIM parameter, C-15 OUT_LO_LIM parameter, C-16 OUT_SCALE parameter (tabl
Index resource block configuration problems (table), B-6 description, 4-2 RESTART parameter (table), C-17 ROUT_IN parameter, C-17 to C-18 ROUT_OUT parameter, C-18 RS_STATE parameter (table), C-18 power calculating power for FieldPoint bank, 2-10 connecting power to FP-3000, 2-9 initial power on procedure, 3-1 POWER LED, 2-12 power-on self test (POST), 2-10 4-20 mA pressure sensor, converting to Fieldbus (example), 3-2 to 3-6 assigning tag to new block, 3-3 bringing block online, 3-6 creating function bloc
Index alarming, 3-15 to 3-17 controlling heating element, 3-10 to 3-12 assigning tag to new block, 3-10 bringing block online, 3-12 instantiating FP-AO-200 block, 3-10 scaling output, 3-11 to 3-12 selecting module and channel, 3-11 setting output range, 3-11 setting up scheduling, 3-12 getting started, 3-6 to 3-7 PID control, 3-13 to 3-14 assigning tag to new block, 3-13 connecting PID to AI and AO blocks, 3-14 downloading and bringing loop into Auto, 3-14 to 3-15 instantiating PID block, 3-13 scaling the
Index V problems and solutions (table), B-2 setting device tag and network address, B-1 I/O module problems (table), B-3 software configuration problems, B-3 to B-6 generic software configuration problems (table), B-4 to B-6 overview, B-3 resource block configuration problems (table), B-6 VALUE alarm parameter, 4-8 VERSION_INFORMATION parameter, 4-16 to 4-17 W Write Lock switch, A-2 WRITE_ALM parameter, C-22 WRITE_LOCK parameter, C-22 WRITE_PRI parameter, C-22 U X UNACKNOWLEDGED alarm parameter, 4-7