Home

NI-FBUS Configurator User Manual

image

Contents

1. ACK_OPTION DV_HI_PRI LIM NOTIFY ALARM_HYS DV_LO_ALM LO_ALM ALARM_SUM DV_LO_LIM O_LIM ALERT_KEY DV_LO_PRI 0_LO_ALM BLOCK_ALM HI_ALM 0_LO_LIM CONFIRM_TIME HI_HI_ALM O_LO_PRI DISC_ALM HI_HI_LIM LO_PRI DISC_LIM HI_HI_PRI MAX_NOTIFY DISC_PRI HI_LIM WRITE_ALM DV_HI_ALM HI_PRI WRITE_PRI DV_HI_LIM National Instruments Corporation 4 1 NI FBUS Configurator User Manual Chapter 4 Parameters Diagnostic Parameters Diagnostic parameters help you find problems in the operation of the device These parameters also provide general information about the device and device capabilities Table 4 2 Diagnostic Parameters BLOCK_ALM MEMORY_SIZE BLOCK_ERR MIN_CYCLE_TIME DD_RESOURCE MODE_BLK DD_REV NV_CYCLE_T DEV_REV RESTART DEV_TYPE RS_STATE FEATURE_SEL FEATURES ST_REV FREE_SPACE TAG_DESC FREE_TIME UPDATE_EVT MANUFAC_ID Faultstate Parameters FOUNDATION Fieldbus output function blocks AO DO and CDO support a faultstate These blocks use the faultstate when the control of the output block is lost while the block is in the Cascade mode If the block is in the Cascade mode and CAS_IN has a bad quality for longer than the time specified in the FSTATE_TIME parameter the block enters faultstate If the Faultstate Use Value option is set in t
2. CLR_FSTATE SET_FSTATE CONTROL_OPTS SHED_OPT FAULT_STATE SIMULATE FEATURE_SEL FEATURES SIMULATE_D FSTATE_TIME SP_HI_LIM FSTATE_VAL SP_LO_LIM FSTATE_VAL_D SP_RATE_DN GRANT_DENY SP_RATE_UP NI FBUS Configurator User Manual 4 8 ni com Chapter 4 Parameters Table 4 7 Option Parameters Continued IO_OPTS STATUS_OPTS LOW_CUT WRITE_LOCK RESTART WRITE_PRI Parameters That Must Be Initialized You must initialize the following two parameters to a legal value before downloading the configuration ALERT_KEY L_TYPE Process Parameters Table 4 8 Process Parameters BKCAL_IN OUT_STATE BKCAL_OUT PV BKCAL_OUT_D PV_D CAS_IN PV_STATE CAS_IN_D RCAS_IN CHANNEL RCAS_IN_D FF_VAL RCAS_OUT FIELD_VAL RCAS_OUT_D FIELD_VAL_D ROUT_IN FREE_SPACE ROUT_OUT FREE_TIME RS_STATE HARD_TYPES SEL_1 through SEL_3 IN SEL_TYPE IN_1 SP National Instruments Corporation 4 9 NI FBUS Configurator User Manual Chapter 4 Parameters Table 4 8 Process Parameters Continued MIN_CYCLE_T SP_D MODE_BLK TEST_RW OUT XD_STATE OUT_D Tuning Parameters Tuning parameters allow you to adjust the control settings Table 4 9 Tuning Parameters
3. RA FBAP Templates TE interfaceo 0 3051_PID PID E no 800 IN 30515 ec a CAS IN BECAL OUT gt z p S E100 BKCAL IN Alarms P Remove Bad Wires TRK IN D Trends gt Schedule Order TRK VAL Auto Order PFF VAL Export Fbap Image y Status Window Help Window a Template A0 AOBlock A0 CAS IN CAS IN OUT gt BKCAL OUT BKCAL OUT Alarms Je Trends gt When you place templates the template blocks are grayed out You need to assign a function block to the template block to use the template block To assign a function block to the template block complete the following steps 1 Double click the template block to view all the blocks that match this block type in your project 2 Select the desired block from the list that appears You must replace all the template blocks with function blocks from your project The Errors tab lists errors warning you of unassigned templates O National Instruments Corporation 2 25 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Creating Templates After you have set up the function block parameters and connections for the first unit you can save that setup as a template for later use To create a template complete the following steps he 1 Optional Select a part of the function block application that you want to save if you only need part of the application You can select part of the function block by dragging the pointe
4. 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 1 O function blocks this indicates that simulation is enabled For the resource block this indicates that the simulate jumper has been set allowing simulation to be enabled in other blocks Local Override 0x0010 The block has locally overridden the output value This can be the result of an interlock or faultstate Device Faultstate Set 0x0020 The block faultstate behavior is active NI FBUS Configurator User Manual 4 12 ni com Chapter 4 Parameters Table 4 10 Error Codes Continued Error Code Code Description Device Needs Maintenance Soon 0x0040 The device is reporting performance degradation that will soon require maintenance Input Failure BAD PV Status 0x0080 Either the input transducer channel has reported a failure or the input parameter from an upstream block has reported a failure For an AI block this could be caused by an open circuit being detected on the FP AI 100 input module Output Failure 0x0100 The output transducer channel has reported a failure For an AO block th
5. Limitorque Corporation al Magnetrol International E METTLER TOLEDO Micro Motion Inc Microcyber Inc 2 National Instruments Neles Jamesbury Ohmart Vega Corp E OVAL Corporation 5 Pepperl Fuchs PR Electronics Rosemount Analytical Inc 2 Rosemount Inc EH 4 0644 Temperature Tran EY 0752 Remote Indicator EJ 0848 Termperature Trar 2000 3051 Pressure Transmitt 3051 R140205 3051 R200101 3051 R160101 3095 Mass DP Flow Mete oll 3144 Temperature Trans ol 3244 Temperature Trans 3900 Radar Level Transr Y 5400 Radar Level Transr 5600 Radar Level Transr Ged 848d Discrete 10 B 8742 Magnetic Flowmete diy 8800 Vortex Flowmeter E ROTORK a mM gt 2 nAnAn EE My System B 89 interface2 0 Network Parameters Schedule 22 Function Block Application E interface2 0 1 5 Honeywell ST3000 RB dadas RB2 Test2 ST3000TB Test3 AD Test4 PID Rosemount_1 metso B Offlinelnterfacel 0 Network Parameters Schedule Function Block Application Qf Offlinelnterface1 0 4 Metso ND9000FF Rosemount 3051 Yokogawa EJA100A ResourceBlock5 RB2 TransducerBlock7 EJATB FunctionBlock33 AD FunctionBlock34 AD FunctionBlock35 PID El Remote Systems E S Terry 9014 i Status Download Errors Assignment Live List 4 Ready 012 B ry a gt 15
6. Analog Output See Application Programmer Interface Glossary 1 NI FBUS Configurator User Manual Glossary Application Programmer Interface Argument Array Attribute Bank Basic device Block Block tag Boolean Buffer Bus Bus scheduler NI FBUS Configurator User Manual A message format that an application uses to communicate with another entity that provides services to it A value you pass in a function call Sometimes referred to as a parameter but this documentation uses a different meaning for parameter which is included in this glossary Ordered indexed list of data elements of the same type Properties of parameters The combination of one FieldPoint network module and one or more terminal bases and I O modules A device that can communicate on the Fieldbus but cannot become the LAS A logical software unit that makes up one named copy of a block and the associated parameters its block type specifies The values of the parameters persist from one invocation of the block to the next It can be a resource block transducer block or function block residing within a virtual field device A character string name that uniquely identifies a block on a Fieldbus network Logical relational system having two values each the opposite of the other such as true and false or zero and one Temporary storage for acquired or generated data The group of conductors that interconnect individual ci
7. ooonocnncnnncnocinonnonnnononncannnononn nc nonn conc cnn conncnnos 2 11 Set Device OF Block TASS rent gah coves a a a e a E AA EASA 2 12 National Instruments Corporation v NI FBUS Configurator User Manual Contents Function Block Modes ireren inendorse enaa are iE E N EEN IAEE Ea Ea 2 13 The MODE_BLK Parameter c ccccnncncnunonononononononononnnnonanonononananananananononononnnnnnnnos 2 13 Configure Block Parameters ssion eiei ai a iasi aas 2 14 Categorizing Block ParameterS ooocononnonnnonnonnnonconnnononononnonnnonnconncnncrncnnconncnnoo 2 14 Adding Ta S Sra eaaa aaa o tevecdasend anseu id it 2 14 Customizing Parameters on a TaD ooooncnnccnicnnoncnononnnonccnnonanonncnnnonnnos 2 15 Removing TaDS tico oda 2 15 Modify Block Configuration Window View s es 2 16 Reading the Default Cff Values of Block Parameters oooonoconccnocnnoncocnnancnnnonos 2 16 Editing Block Parameters ccsicesssssticesssbsseaticeseasivsessesnabesdavesdasasssseddss events 2 16 Updating Block Parameters Values ooooconinnnnnnocnnoncnanonncononnonnccnn non conn cnn nonno nono 2 18 Manually Update Block Parameters ooonoocnncnoconoccononancnncnnncnnananinnnns 2 18 Automatically Update Block Parameters oooonoconccnicnnonincnnnnnancnnncanon 2 18 Create and Edit Function Block Applications o oooncionincnnoncnononnnononancnncrnnonncrnncnnccnncnnons 2 19 Add Blocks to the Function Block Application ooconccnncnonnocnonncnncnanonaninccnnos 2 1
8. ooooococonccononcnoncnonanoncnonnncnnnannnnconcconanonncconnnonnos 4 11 BKCAL OUT PLC iia A ii 4 12 BKCAL_OUT_D Process ocooocncccnnooonancccnonannnnncconanonnnncononnnnnncconnannnnnccnnnnnnnnnnos 4 12 BLOCK_ALM Alarming DiagnostiC oooconcononnnnnnonnnnnnonconncnncnnnonononccnnarnnonnos 4 12 BLOCK ERR Diagnostic nennir i E E R 4 12 BYPASS Scaling Tuning s n eesseressesscssessssrssssesncrsrsersesesseesrseesrsneniesensesescse 4 13 CAS N Process cast ta aapa a E AERES 4 14 ECAS IN D Procesan dd 4 14 CHANNEL C O Process cornisa station li oda 4 14 CLR_FSTATE Faultstate Option oooooocccooccnococoncconnncnncconcnoonccconoconccrnnccnnccnnns 4 14 CONFIRM_TIME Alarming ccesccesceceseeceeeceseeeeseceneceseeeeeeeaeeeeeeneeeees 4 14 CONTROL_OPTS Option Scaling ooooooonocnnoccnoncnonancnncnonananonononcconacannnannno 4 14 CYCLE SEL Tunni soon E S 4 15 CYCLE TYPE Tuning cian idear ci n 4 15 DD RESOURCE Diagnostic e ssisssssseissserersssessreseessteiresresstssrsetisesssessrssres 4 15 DD REV Diagnostic a a athe den cde E EE 4 15 DEV REV Diagnostic uscar rines a E E E le 4 16 DEV TYPE Diagnostic italia 4 16 DISC 2ATEM CA Varmint ui eliana ESEAS REE TEEI sade 4 16 DISC LIM Alarming 555 225 oad contend E E E EEE cents 4 16 DISC PRI Alarming ii 4 16 DV HLALM Alarmni jn ie an a e aerae oK eiaa dar ieas 4 16 DY HL EIM Alarmni iii 4 16 DY HI PRI Alarming cee ae a a e S 4 16 DV LEO ALM Al
9. 2 Refer to the Set Preferences section for information on the settings Click Start Log To stop the log select View Preferences to launch the Log Settings dialog box and click Stop Log Click Reset Log to empty the log files National Instruments Corporation 2 49 NI FBUS Configurator User Manual NI FBUS Configurator Tutorials These tutorials give you first hand experience with the NI FBUS Configurator Before you begin these tutorials ensure you have installed all Fieldbus hardware and software and have imported the device descriptions for the devices you want to use These tutorials provide instructions about using the following types of control applications e Basic connections to Al and AO signals e PID control e Offline configuration e Project modification Tutorial 1 Connect to Network and Hardware 1 Launch the NI FBUS Configurator by selecting Start All Programs National Instruments NI FBUS NI FBUS Configurator 2 Inthe Startup dialog box that appears choose Create New Project select Interface0 0 and click OK 3 If Interface0 0 is a local link and you did not launch the local NI FBUS Communications Manager a dialog box appears asking if you want to launch this application Select Yes The NI FBUS Configurator automatically detects all local and remote valid devices connected to the network If a device is registered by the Fieldbus Foundation as a compliant device and the device descri
10. National Instruments Corporation 4 31 NI FBUS Configurator User Manual Chapter 4 Parameters Table 4 22 Status Options Continued Option Meaning Propagate Failure Backward If the status at BKCAL_IN or from the physical I O channel is bad the failure will be propagated to the BKCAL_OUT parameter No alarm will be generated Target to Manual if Bad IN Set the target mode of the block to Man if the IN parameter has a bad status Uncertain if Limited For input or calculation blocks the output status will be set to Uncertain if the transducer or calculated value is limited that is at its high or low limit Bad if Limited Set the output status to Bad if the transducer value is limited that is at its high or low limit Uncertain if Manual Mode Set the output status to Uncertain if the block is in Man mode Do Not Select if Not Set the output status to Do Not Select if the block is not Auto Mode in an actual mode of Auto Cas or RCas and not initializing This is useful for blocks upstream of the selector block Do Not Select if Not Set the output status to Do Not Select if the block is not Cas Mode in an actual mode of Cas or RCas and is not initializing This is useful for blocks connected to a selector block STRATEGY Used to identify groupings of blocks Not used by the block itself TAG_DESC Diagnostic User description for the purpose of the block TEST_RW
11. Target Addr Offlinelnterfacel 1 16 0x10 interface2 0 ID NIC_USB 8486 1_14C6634 16 0x10 16 0x10 Honeywell S T 3000 17 0x11 Honeywell S T 3000 ID 48574C0002 HWL ST 3000 4557 484117 0 11 17 0x11 18 0x12 18 0x12 22 0x16 oneywell 5T3000 ID 48574C0002 HWL 0 4557470707 22 0x16 4 I Assign Network Parameters Refresh Link Assign Close Figure 2 2 The Assign Devices Box NI FBUS Configurator User Manual 2 6 ni com 7 Chapter 2 Using the NI FBUS Configurator In the Assign Devices dialog box select the online link to which you want to connect in the Select Online Link combo box After the online link loads completely select an online device from the Device List window The NI FBUS Configurator assigns the device to the selected offline device Click within the Target Addr column to select an address The NI FBUS Configurator assigns this address to the selected online device Click the Refresh Link button to reload the selected online link Select the Assign Network Parameters option to assign network parameters Click the Assignment button to enter the assignment The whole process may take a few minutes or longer The assignment status window records all warning messages during the process Tip You can compare the configurations before and after assignment To compare the configurations before and after assignment complete the following steps l 2 3 O National I
12. Unscheduled Upstream V VFD View objects Virtual Field Device NI FBUS Configurator User Manual A name you can define for a block virtual field device or device A period of time after which an error condition is raised if some event has not occurred See 4 20 mA system A block that is an interface to the physical sensing hardware in the device It also performs the digitizing filtering and scaling conversions needed to present input data to function blocks and converts output data from function blocks Transducer blocks decouple the function blocks from the hardware details of a given device allowing generic indication of function block input and output Manufacturers can define their own transducer blocks A Fieldbus object that allows a device to sample a process variable periodically then transmit a history of the values on the network An NI FBUS call related to trends Messages sent on the Fieldbus between transmissions of scheduled messages Fewer network hops away from a backbone or hub For example a small ISP that connects to the Internet through a larger ISP that has their own connection to the backbone is downstream from the larger ISP and the larger ISP is upstream from the smaller ISP See Virtual Field Device Predefined groupings of parameter sets that HMI applications use The virtual field device is a model for remotely viewing data described in the object dictionary The services provided
13. 4 Click the Set button The NI FBUS Configurator sets the device resource block to 00S mode before setting the new address If the device does not go to 00S mode the NI FBUS Configurator notifies you and you must determine whether to continue to set the address After you successfully set the address you can set the resource block to the desired mode If you need to expand the range of available addresses shown in the New Address field use the network parameters window to modify the number of polled addresses Tip To set the device address to default manually deselect Automatically Set the pdTag and Node address option in the General tab of the Preferences dialog box You can launch this dialog box through View Preferences By default the NI FBUS Configurator sets the pdTag and node address of a factory default device automatically 2 9 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator View Device Properties The Device Properties dialog provides basic information for the device including device identification manufacturer information and online offline related information The Device Properties dialog also shows the device image if an image is available Devices of the same device type share the same image The NI FBUS Configurator shows this image as the icon in the Device Type tree and the Configuration tree for these types of devices as well Device Properties National Instrumen
14. aye cel Dresser Itala S p A 1 5 Honeywell ST3000 manufactu view additional w Dresser Valve Division RB dadas RB2 input data 1 E Duon System Co Ltd Test2 ST3000TB seloctad windows EEE Dynisco Test3 AD annel Es E EM CONTROLS Test4 PID number a Es LE ELOMATIC INTERNATIONAL F 1 makes it E Endress Hauser i maceta available M 1007 Pressure Transmitter EQ metso E other funct 1009 Differential Pressure Tra B s Offlinelnterfacel 0 blocks ati 100b Hydrostatic Level Transr E Network Parameters output 7 100f Radar Level Transmitter E Schedule a fF 1011 Urasonic Level Transm 3 Function Block Application mare VAL Block hele 1012 Guided Wave Level Tran M Offinelnterfacel 0 Double cli gs 1013 Radiometric Density Le amp Metso ND9000FF or right clic i jj 1042 Magnetic Flowmeter on this iter a i 1051 Mass Flowmeter 4 Rosemount 3051 edit block a i 1056 Prowl 72 E Yokogawa EJA1OOA EAS parametel S 1057 Prowirl 73 ResourceBlock5 RB2 HT This interfe a CAS IN OUT 8 1059 Ultrasonic Flowmeter TransducerBlock7 EJATB can be us EJ 108f pH ORP Transmitter FunctionBlock33 AD to tag the E 1090 Conductivity Transmitter FunctionBlock34 AD block and E 10cc Temperature Transmitter FunctionBlock35 PID Trends J gt alter di 1200 1200 le di Remote Systems parametel I lt m J E e EA m lia the block DEVICE EJA1O0 ID 5945430003DEMO136 FBAP_VED
15. gt EKCAL IN Alarms j gt TERK IND Trends J gt PTRK VAL FF VAL DEV 02 A0 AO CAS IN OUT gt BKCAL OUT AU National Instruments Corporation 3051_PID PID IN CAS INERCAL OUT P gt BKCAL IN Alarms P gt TRK IN D Trends J gt PTRK VAL FF VAL AOBlock AO CAS IN OUT gt BKCAL OUT Alarms j gt Trends J gt NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Defining Multiple Loops Running at Different Rates The loop execution time shown on the Function Block Application Editor toolbar is the default execution time for all function blocks on the window not isolated in a loop structure You can use the loop structure to isolate a group of function blocks to run at a different execution rate than the rate on the Function Block Application Editor toolbar For example in the following figure the AI and PID blocks to the left are one loop and execute at a rate of once every second as shown in the toolbar The AI PID AO loop to the right executes once every 500 ms as shown at the top of the loop structure Joy E interface0 0 Function Block Application Loop Time 1 sec Stale Limit 1 a Olr gt S te RALE AQ S Loop Time 500 ms Stale Limit 1 3051 _AL1 A OUT Alarms Je Trends j gt AVP 02 PID PID IN OUT CAS INBKCAL OUT P gt EKCAL IN Alarms gt TRK IN D Trends J gt PTRK VAL PFF VAL NI FBUS Configurator User Ma
16. m Loop Time 1 sec Stale Limit 1 Olr 45 tl ebok FunctionBloci37 AD OUT Alarms gt Trends J gt A FunctionBlock32 PID IN OUT CAS INIBKCAL OUT gt BKCAL IN Alarms gt PTRK IN D Trends J gt PTRK VAL PFF VAL FunctionBlock3 A0 FunctionB A0 The Analo Output AO block converts th value in setpoint S to somethil useful for tH hardware found atthe channel CHANNE selection Block help Double clid or right clic on this iten edit block parameter This interfe can be usg to tag the block and alter parameter the block 07 31 06 13 44 23 12 After configuring your function block application select File Save As to save your offline project in a fcp file 13 Close the NI FBUS Configurator National Instruments Corporation 3 9 NI FBUS Configurator User Manual Chapter 3 NI FBUS Configurator Tutorials Tutorial 5 Modify Saved Project You can modify an exiting saved project file in the NI FBUS Configurator Before you make changes to the saved project you must add an offline interface first 1 NI FBUS Configurator User Manual Launch the Interface Configuration Utility by selecting Start All Programs National Instruments NI FBUS Utilities Interface Configuration Utility Refer to Tutorial 4 Create Offline Project to add offline interfaces Launch the NI FBUS Communications
17. recognized almost eight times faster These parameters also affect the Set Address protocol because recognizing a device at a new address is really the same as recognizing a completely new device as the new address must be probed for the device to come online In this way the NumofUnpolledNodes parameter can affect the value of the Set Address protocol parameter T3 For example increasing the NumoOfUnpolledNodes parameter might fix a SetAddress T3 problem because it takes the device less time to be recognized at the new address For testing purposes setting the NumOfUnpolledNodes to zero ensures that all addresses will be checked Once the device is found you will probably want to advise the Num0OfUnpolledNodes and or FirstUnpolledNode to avoid the performance slowdown discussed above Performance Problems The control is slow The macrocycle time might be too long Edit the function block schedule and decrease the macrocycle time For more information about editing the schedule refer to the View and Edit a Schedule section of Chapter 2 Using the NI FBUS Configurator Missing Link Your interface s does not appear in the Add Links dialog box You may need to upgrade your software key to support the additional links If you purchased additional licenses to access more than the default number of links contact National Instruments to obtain a new software key NI FBUS Configurator User Manual B 10 ni com Appendix B Tr
18. used to specify a target for future NI FBUS calls A sensor actuator or control equipment attached to the Fieldbus A memory address that you use to access a device in a computer system A machine readable description of all the blocks and block parameters of a device Glossary 3 NI FBUS Configurator User Manual Glossary Device Description Service Device ID Device tag DI Distributed control DLL DO Dynamic Link Library Event FAS FB FBAP FF Field device Fieldbus Fieldbus Foundation FOUNDATION Fieldbus specification FTP NI FBUS Configurator User Manual A set of functions that applications use to access Device Descriptions An identifier for a device that the manufacturer assigns No two devices can have the same device ID A name you assign to a Fieldbus device Discrete Input Process control distributed among several devices connected by network See Dynamic Link Library Discrete Output A library of functions and subroutines that links to an application at run time An occurrence on a device that causes a Fieldbus entity to send the Fieldbus event message Fieldbus Access Sublayer Function Block See Function Block Application FOUNDATION Fieldbus A Fieldbus device connected directly to a Fieldbus An all digital two way communication system that connects control systems to instrumentation A process control local area network defined by ISA standard 50
19. 4 31 Stale Limit setting 2 31 Start Up dialog box 2 2 starting NI FBUS Configurator 2 1 ni com status window Download tab 1 4 Errors tab 1 4 Status tab 1 4 STATUS_OPTS parameter status options table 4 31 STRATEGY parameter 4 32 support technical H 1 symbolic information missing B 12 T tabs See block configuration window TAG_DESC parameter 4 32 TAG PARAM access D 3 tags setting 2 12 technical support H 1 templates available templates 2 23 creating templates 2 26 definition 2 22 example figure 2 25 inserting templates 2 23 TEST_RW parameter 4 32 time units in block configuration window 1 13 training and certification NI resources H 1 trends configuring 2 35 waiting on trends using NI FBUS Dialog utility example D 4 TRK_IN_D parameter 4 32 TRK_SCALE parameter 4 33 TRK_VAL parameter 4 33 troubleshooting NI resources H 1 troubleshooting and common questions add delete tabs B 13 bad status B 3 missing device B 4 missing function blocks B 13 missing information B 12 National Instruments Corporation Index missing link B 10 mode problems B 1 open find project B 16 performance problems B 10 read write errors B 7 restarting devices B 16 restarting NIFB B 16 set address problems B 8 uninstalling NI FBUS B 17 using Fieldbus with Lookout B 15 with Server Explorer B 17 viewing problems B 15 tuning parameters 4 10 tutorials connectin
20. AI AO or PID block into the Function Block Application Editor window The block does not need to be connected with anything else Then download the configuration this will allow it to execute on the device If there are problems try the following solutions Make sure that the resource block is in Auto mode not oos This is found by either checking which button is depressed in the resource NI FBUS Configurator User Manual B 2 ni com Appendix B Troubleshooting and Common Questions block s block configuration window or by looking at the MODE_BCK ACTUAL e See if the Options parameter is in Run If so check the Block_ERR in the resource block it should be zero e Go to the I O function block in question and make sure that the OUT IN status is in Good mode If not go to the Block_ERR parameter and see what the problem is The resource block must be in Auto mode for any other blocks in the device to execute The resource block is a good place to start troubleshooting if the device is not behaving as desired It has diagnostic parameters that help you determine the cause of the problem A resource block specifies the general characteristics of the resource This includes the device type and revision manufacturer ID serial number and resource state Each device has only one resource block The resource block also contains the state of all of the other blocks in the device If the device cannot change the ACTUAL mod
21. E CFF_DATA_BAD The data is bad or incomplete in the c file which indicates the cff file is either incomplete or corrupt Warnings If you receive a warning while using the NI FBUS Configurator refer to this section for a description of the warning and possible solutions NIFCONF_WARN_MEMORY_LOW The system is low on memory NIFCONF_WARN_OBJECT_NOT_WIRED This object is not connected by wires to any other object NIFCONF_WARN_NO_TREND_SELECTED A trend is wired but no trend is checked NIFCONF_WARN_TREND_NOT_WIRED A trend is selected but not wired to a device NIFCONF_WARN_PROJECT_ERRORS There are errors that might cause problems in the download assignment of the configuration Look at the Errors tab in the status window NIFCONF_WARN_NO_OFFLINE_LINK_CFG There is no offline link configured Please use the interface configuration utility to configure an offline link NI FBUS Configurator User Manual A 12 ni com Appendix A Error Messages and Warnings NIFCONF_WARN_NO_ONLINE_LINK_CFG There is no online link configured Please install the interface board and use the interface configuration utility to configure an online link O National Instruments Corporation A 13 NI FBUS Configurator User Manual Troubleshooting and Common Questions Mode Problems A function block alternates between Iman and Auto modes The status of the input parameter is Bad No comm The function block and communi
22. FBUS Configurator refers to menus defined by the manufacturer for a given block Methods describe operating procedures to guide a user through a sequence of actions Management Information Base Type of communication The NIFB process that must be running in the background for you to use your NI FBUS interface to communicate between the board and the Fieldbus The NI FBUS Communications Manager Software shipped with National Instruments Fieldbus interfaces that lets you read and write values It does not include configuration capabilities National Instruments Fieldbus configuration software With it you can set device addresses clear devices change modes and read and write to the devices See NI FBUS Configurator Process that must be running in the background for you to use your NI FBUS interface to communicate between the board and the Fieldbus Memory that does not require electricity to hold data An element of an object dictionary Describes data that is communicated over the Fieldbus A structure in a device that describes data that can be communicated on the Fieldbus The object dictionary is a lookup table that gives information such as data type and units about a value that can be read from or written to a device Glossary 7 NI FBUS Configurator User Manual Glossary Octet OD Offline 00S OPC Output parameter P Parameter PC PCMCIA PD PDU PID PLC PN Poll Port Process variabl
23. FbapVfd 0 BLOCK EJA AI 2 AI PARAMETER MODE_BLK read data object success 11 07 38 LINK interface0 0 is currently idle 11 07 39 Status Download Enors Assignment Live List 4 Ready onfigur File Edit Configure Zoom View Window Help Chie reap Grid 1228 012012412 am a Teimeraceo o schedule aa ABB P My System Function 68 ES Anderson Instrument Co pi gt fintertace0 0 ID NIC_PCH 100ms dv 32 Block m ASCO Controls LP I Network Parameters ms Applicatic a auma Fe GE BEKA Associates Snakk g Function E G Buerkert 83 Function Block Application block sec E interface2 0 applicatic Es E Dresser Italia 5 p A EE Honeywell ST3000 help Dal w Dresser Valve Division RB dadas RB2 click or rig Es GE Duon System Co Ltd Test2 ST3000TB click on tr 1 Dynisco Test3 AD item to of EE E EIM CONTROLS Testa PID the functic ELOMATIC INTERNATIONAL E 1 block E Endress Hauser ia Rosemount applicatic M 1007 Pressure Transmitter B metso z editor Us 1009 Differential Pressure Tra B 59 Offlinelnterfacel O this interfe ce 100b Hydrostatic Level Transr T Network Parameters to link fun F 100f Radar Level Transmitter Schedule blocks 1011 Ultrasonic Level Transmit 3 Function Block Application schedule 1012 Guided Wa
24. LO_LO_PRI parameter 4 23 LO_PRI parameter 4 23 LOW_CUT parameter 4 23 MANUFAC _ID parameter 4 23 MAX_NOTIFY parameter 4 23 MEMORY_SIZE parameter 4 23 MIN_CYCLE_T parameter 4 23 mode shedding parameters 4 8 MODE_BLK parameter field modes table 4 24 operational modes table 4 24 monitoring 2 42 ni com network parameters setting 2 38 NV_CYCLE_T parameter 4 25 option parameters 4 8 OUT parameter 4 25 OUT_D parameter 4 25 OUT_HI_LIM parameter 4 25 OUT_LO_LIM parameter 4 25 OUT_SCALE parameter table 4 26 OUT_STATE parameter 4 26 PID scaling procedure 4 6 process parameters 4 9 PV parameter 4 26 PV_D parameter 4 26 PV_FTIME parameter 4 26 PV_SCALE parameter 4 27 PV_STATE parameter 4 27 RA_FTIME parameter 4 27 RATE parameter 4 27 RCAS_IN parameter 4 27 RCAS_IN_D parameter 4 27 RCAS_OUT parameter 4 27 RCAS_OUT_D parameter 4 27 READBACK parameter 4 28 READBACK_D parameter 4 28 reading using TAG PARAM access example D 3 RESET parameter 4 28 RESTART parameter restart values table 4 28 ROUT_IN parameter 4 28 ROUT_OUT parameter 4 28 RS_STATE parameter device states table 4 29 scaling parameters 4 3 table 4 7 SEL_1 through SEL_3 parameter 4 29 SEL_TYPE parameter 4 29 SET_FSTATE parameter 4 29 SHED_OPT parameter 4 29 shed conditions table 4 29 SHED_RCAS parameter 4 30 O National Instruments Corporation Index 7 Index SHED_ROUT parameter 4 30 SIMULATE pa
25. Links tab changes based on the new software key Click the OK button to close the Preferences dialog box You can print your configured project in the form of text graphical diagrams and text explanations of the diagrams To print your project select File Print From the Print dialog box you can select what you want to print NI FBUS Configurator User Manual Entire Configuration Prints the entire configuration Specific Configuration Items Allows you to select specific items from the configuration tree to print Print Minimum Amount of Configuration Information Prints only the minimum amount of information necessary to describe the printed items If you check this item the NI FBUS Configurator prints only the function blocks that are used in a function block application of the project and does not print unused blocks Print Graphical Diagrams Prints the function block application and graphical representation of the schedule Print Text Interpretations of Graphical Diagrams Prints a text version of the function block application and schedule Page Format Allows you to select printing styles for the graphical schematics page titles and numbering 2 48 ni com Chapter 2 Using the NI FBUS Configurator Log Information To log the status download and assign information in the status window complete the following steps 1 Select the main menu View Preferences to launch the Log Settings dialog box
26. O channel This is used to translate from a physical transducer value to a percent of scale Table 4 23 Scaling Parameter Values 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 Not used by the NI FBUS Configurator XD_STATE Process Index to the text description of the transducer state NI FBUS Configurator User Manual 4 34 ni com Error Messages and Warnings This appendix lists error messages you might receive while using the NI FBUS Configurator and describes the error messages Error Messages If you receive an error message while using the NI FBUS Configurator refer to this section for a description of the error and possible solutions NIF_ERR_ALARM_ACKNOWLEDGED The alarm has already been acknowledged NIF_ERR_BAD_ARGUMENT The value you gave is not of the correct data type NIF_ERR_BAD_DEVICE_DATA The device returned inconsistent information NIF_ERR_BUF_TOO_SMALL The buffer does not contain enough entries to hold all the information for the blocks If you receive this error buffer entries that you allocated did not contain valid block information when the call returned NIF_ERR_COMM_ERROR An error occurred when NI FBUS tried to communicate
27. OK button to generate the new tab On the new tab in the block configuration window right click and select Customize Parameters Follow the steps in the Customizing Parameters on a Tab section to configure the parameters for your new tab Customizing Parameters on a Tab ll You can customize parameters on a tab by using the Customize r Parameters button Check the boxes next to the parameters you want to show on this tab or uncheck the boxes to remove the parameters from this tab Removing Tabs To remove a tab from the block configuration window complete the following steps FS 1 Click the Add or Delete Custom Tab button in the block configuration window toolbar The Add amp Delete Custom Tabs dialog box appears 2 Inthe Add amp Delete Custom Tabs dialog box click the name of the tab that you want to remove National Instruments Corporation 2 15 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator jE 3 Click the Delete button 4 Click OK Modify Block Configuration Window View You may need to resize the block configuration window to view all buttons and parameters To update the screen click the Simple Verify button In the dialog box that appears click Verify then click Done To add space between parameter listings click the Spaced View button To display the Parameter Value Type amp Range and Help columns click the Detailed View button To display only the Parameter
28. This is not a valid TARGET mode but is a valid ACTUAL mode Manual Man The output value of the block is set by the user Automatic Auto The output value of the block is set by the block algorithm and the block is using a local value for its setpoint NI FBUS Configurator User Manual 4 24 ni com Chapter 4 Parameters Table 4 17 Operational Modes Continued Operational Mode Description Cascade Cas The setpoint for the block is taken from the CAS_IN parameter which is typically connected to the output of another block This mode cannot be entered before cascade initialization takes place When Cascade is desired as a TARGET mode the Auto bit is also set in the target Remote Cascade RCas Like Cascade mode in Remote Cascade mode the setpoint of the block comes from an outside data source Unlike Cascade mode in Remote Cascade mode the setpoint is sourced from the RCAS_IN parameter which is written by a host application and not another function block Remote Output Rout Remote Output mode is analogous to Remote Cascade mode except that the remote host application directly sets the output of the block and not the setpoint In the case of an analog output block this bypasses setpoint rate and absolute limiting NV_CYCLE_T Diagnostic The regular time interval in milliseconds at which nonvolatile parameters are committed to nonvolatile storage A value of zero means
29. Trends j gt PidBlock PID Bain gt IN OUT OUT PA CAS INIBECAL OUT P OUT D gt BKCAL IN Alarms Alarms TREK IND Trends Trends PTRK VAL FF VAL i i i AOBlock AO CAS IN OUT Y BKCAL OUT AU Alarms J Trends J gt Decrease the macrocycle so that the loop is more responsive 9 Download this new configuration and test by changing the setpoint through the second AI block and observing the SP setpoint and PV process value parameters of the PID function block You may want to confirm the modes of each of the blocks for proper operation If any of the modes are incorrectly set first try to use the mode buttons within the function block configuration windows The proper modes should be as follows e First Al Auto Second Al Auto O National Instruments Corporation 3 7 NI FBUS Configurator User Manual Chapter 3 NI FBUS Configurator Tutorials e PID cas e AO cas Tutorial 4 Create Offline Project 1 10 NI FBUS Configurator User Manual Launch the Interface Configuration Utility by selecting Start All Programs National Instruments NI FBUS Utilities Interface Configuration Utility Click the Add Interface button in the dialog box showing the currently configured interfaces In the Choose Interface Type dialog box choose the offline type then click the Continue button Select the number of ports interfaces to add and cl
30. aaea ER E 4 33 WRITE_ALM Alarming 0 ccecceeseesceeseeeeeeeeeseeeseeaceeceeaeenseceenaecaeesaeeeneeaes 4 33 WRITE_LOCK Option 00 ececceeccesceeseeeeeseeseeeeeeseeeeeeseceeeeaeenaeeeeesesneeeaeenaes 4 33 WRITE_PRI Alarming OptiON ooonccnoccnnnconnnononnnonnnonoconcnn nono nonncnnncnncnnncnncnnos 4 33 XD SGALE Scala asia 4 34 XD STATE Process e e dai 4 34 Appendix A Error Messages and Warnings Error Messages contienen doin A 1 RO TI A 12 NI FBUS Configurator User Manual X ni com Contents Appendix B Troubleshooting and Common Questions Mode Problems ion cn nin B 1 Bad Stat cicatrices B 3 METIA O OE B 4 Read Write Errors insonini etenen a a Seande a a a a aaa B 7 Set Address Problems mecano a a Taa B 8 Setting Number of Polled Address8sS oooocnoccnncnoonnoncononancnncranannnrnncnnnonccancnnnon B 9 Performance Problems isiicic sc icsssecdesestaccessasscscecsdesiteatsascetesivesacesiedissevteestdbastanssetsoresaasees B 10 Missing Link vacia estepa pira ii T B 10 Missing Information seneo EE E E EE ea A E R ceeetdanaees B 12 Missing Symbolic InformatiONM ooonnnncnocnnonnonononcnnnonnnanonononccnn nono nn nonncnnccncnnno B 12 Add Delete Tabs cisco intitdtiiicid B 13 Missing Function BIOCKS sccccis cess tects cocineta eta decias cad des B 13 Viewing Problems vimos ita B 15 Using Fieldbus with Lookout ooooonoccnccnonanoccnnconnconcnnnnononononnnnnnonncon non nc nn crono rn ncnncan ac ncnnno B 15 Open Find P
31. an inactive OPC client group a Right click OPCNifbus and select Add Edit Groups b Create a group with the appropriate parameters Make sure you uncheck the Active box Add all items Select File OPC gt Save to save the file Activate the group by right clicking the group and selecting Activate Group When you open the file you saved and want to go live right click OPCNifbus and select Connect to Server After Server Explorer has connected to the server activate the group as described in step 5 Uninstalling the Software To uninstall your NI FBUS software select Start Settings Control Panel Add Remove Programs Select NI FBUS Configurator to uninstall The uninstall utility does not remove the NI FBUS directory itself or any files in the DATA Nv directory To completely uninstall the software manually remove the files in the DATA NVM directory and the NI FBUS directory structure O National Instruments Corporation B 17 NI FBUS Configurator User Manual Cascade and Remote Cascade Setups Cascade Initialization FouNDATION Fieldbus provides a protocol called Cascade Initialization that allows a control function block to smoothly transition from Man to Auto mode Cascade Initialization allows the PID algorithm to know the current setpoint of the AO block to balance the actual setpoint with the control setpoint over time Cascade Initialization is also used to prevent windup in the PID Parameter Con
32. and Value columns click the Detailed View button again Reading the Default Cff Values of Block Parameters The NI FBUS Configurator reads the default parameter values of the offline device from the c file automatically after you add the offline device You also can read the default value by using the Set Defaults button or the Set Selected Default shortcut menu item You can assign the default values to the online devices through an assigning configuration Note If the NI FBUS Configurator cannot reads the default value from the corresponding cff file the NI FBUS Configurator displays the value as NULL Caution An incorrect ffo or c f file can result in incorrect values read Check control and process parameters before assigning or downloading the configuration because these files may contain multiple absent values Editing Block Parameters The block configuration window groups default tabs by functions Parameters with a plus sign are records or arrays structures that contain more than one entry To expand the record or array click the plus sign To collapse the structure click the minus sign A sub elements of a record is a field The size of the drop down box for editing enumerated types on blocks matches the width of the Value column You may need to resize the Value column to view the entire entry in a drop down box NI FBUS Configurator User Manual 2 16 ni com Chapter 2 Using the NI FBUS Configurator Refe
33. blocks from the updated device 5 Delete the original blocks used to make the template and rewire if necessary If you save the project as a template you will be able to keep the old parameter values NI FBUS Configurator User Manual B 14 ni com Appendix B Troubleshooting and Common Questions Viewing Problems You can choose whether you see parameter values in decimal or hexadecimal Right click in the block configuration window and check or uncheck the Hexadecimal Data option All the types in the block configuration window look alike The drop down box for editing enumerated types on blocks is sized according to the width of the Value column You may need to resize the Value column manually to view the entire string Modify window display If you do not like all the clutter in your status window you can right click and choose Show Errors Only Under the View Preferences you can change several settings for the block configuration window including whether or not to Show Block Information Selecting this option will add another tab in the block configuration window This tab gives block specific information such as its worst case execution time This tab also can be brought up by selecting the Add or Delete Custom Tab button in the block configuration window Using Fieldbus with Lookout How do I use Fieldbus with Lookout 1 In Lookout create an OPCClient object Edit connections for this OPCclient object and
34. by the Fieldbus Messaging Specification allow you to read and write information about the object dictionary read and write the data variables described in the object dictionary and perform other activities such as uploading downloading data and invoking programs inside a device A model for remotely viewing data described in the object dictionary Glossary 10 ni com Index A ACK_OPTION parameter 4 10 addresses problems setting addresses B 8 setting device addresses 2 8 setting number of polled addresses B 9 Al and AO blocks connecting tutorial 3 2 Al scaling procedure figure 4 4 alarm configuration 2 34 ALARM_HYS parameter 4 11 ALARM_SUM parameter 4 11 alarming parameters 4 1 ALERT_KEY parameter 4 11 AO scaling procedure figure 4 5 Automatic mode MODE_BLK parameter table 4 24 overview 2 13 troubleshooting B 1 Automatic Mode Handling option 2 40 bad status troubleshooting B 3 BAL_TIME parameter 4 11 batch edit parameters 2 45 BIAS parameter 4 11 BKCAL_HYS parameter 4 11 BKCAL_IN parameter 4 11 BKCAL_OUT parameter 4 12 BKCAL_OUT_D parameter 4 12 block configuration window adding tabs 2 14 adding deleting tabs troubleshooting B 13 categorizing block parameters 2 14 changing parameter settings 1 12 configuring block parameters 2 14 customizing parameters on a tab 2 15 National Instruments Corporation Index 1 editing block parameters 2 16 icons table 1 12 modifying yo
35. configuration file Duplicate addresses are not allowed on a Fieldbus link NIFCONF_ERR_DUPLICATE_TAG The tag for this object was found elsewhere in the configuration file Duplicate tags are not allowed on a Fieldbus link NIFCONF_ERR_INCOMPATIBLE_VERSION This file was made with a newer version of the NI FBUS Configurator There might be unpredictable problems with the project NIFCONF_ERR_INVALID_MACROCYCLE This macrocycle conflicts with a previously defined macrocycle NIFCONF_ERR_INVALID_NUMBER This is an invalid number A number can use the digits 0 9 and the letters A F Hexadecimal numbers can be preceded with 0x NIFCONF_ERR_INVALID_TAG This tag is not valid National Instruments Corporation A 5 NI FBUS Configurator User Manual Appendix A Error Messages and Warnings NIFCONF_ERR_INVALID_VALUE You have entered an incorrect value Please check the value s and the valid ranges for the values NIFCONF_ERR_LOOP_IS_EMPTY This loop does not contain any blocks NIFCONF_ERR_MACROCYCLE_CONFLICT This macrocycle conflicts with a previously defined macrocycle time for a device in this loop Devices can only schedule one macrocycle time The best solution is to increase the macrocycle time of the loop that contains the other block s for this device NIFCONF_ERR_MACROCYCLE_NOT_GOOD_ MULTIPLE This macrocycle is a bad choice in comparison to the other macrocycles NIFCONF_ERR_MACROCYCLE_TOO_SHORT There wa
36. contains three tabs To toggle between showing or hiding the status window select Window Status Window Status Tab The Status tab shows live updates of what the NI FBUS Configurator does on the Fieldbus The Status tab automatically appears on top when you start the NI FBUS Configurator The Status tab displays the steps that the NI FBUS Configurator takes to accomplish a task when you read write scan or download data to the bus Download Tab The Download tab shows all the status information for the last configuration download to the bus The NI FBUS Configurator retains this information until the next download The Download tab automatically appears on top when you begin to download your configuration The Download tab is updated only when a configuration is downloaded to the bus Errors Tab The Errors tab displays errors in the local and remote targets These errors include all recent I O errors project configuration errors and warnings in the current project To fix an error double click the error to open the window showing the cause of the error For a list of possible errors refer to Appendix A Error Messages and Warnings Use the drop down list attached to the upper left corner of the Errors tab to filter the types of errors shown The All Errors selection shows all I O and project errors and the Project Errors selection shows only project errors NI FBUS Configurator User Manual 1 4 ni com Chapter 1 NI FBUS Confi
37. device s 4 Select Start All Programs National Instruments NI FBUS NI FBUS Configurator to start the NI FBUS Configurator and when prompted click Yes to start NIFB EXE or Select Start All Programs National Instruments NI FBUS NI FBUS Communications Manager to start the NIFB process then select Start All Programs National Instruments NI FBUS NI FBUS Configurator Refer to your getting started manual for more information about the NIFB process 3 Note To enable the offline feature support you must configure an offline interface first Refer to the Configure Offline Interface section of Appendix E NI FBUS Interface Configuration Utility to learn how to do this through the NI FBUS Interface Configuration Utility Create a New Project 1 When you start the NI FBUS Configurator the Start Up dialog box appears automatically If you want to create a new project at any other time select File New Tip Close any open projects before opening or creating another project The multiple window structure of the NI FBUS Configurator may become confusing with multiple open projects 1 To hide the Start up dialog box the next time you launch the NI FBUS Configurator check Don t display this dialog again To reveal the Start up dialog box select Show New Open Dialog at Start up in the General page of the preferences dialog under View Preferences National Instruments Corporation 2 1 NI FBUS Configura
38. ffo and one in sym Select the cff file The corresponding ffo and sym files are NI FBUS Configurator User Manual E 2 ni com Appendix E NI FBUS Interface Configuration Utility imported automatically The filename has six digits anda cff extension for example 030101 cf 3 Note Ifyou are importing device descriptions and cff files for multiple devices you might see that they can have the same filenames Each file contains information about the device and its manufacturer and is placed appropriately in the hierarchy under the base directory 6 Click OK A window appears giving the full path to which the cff ffo and sym files were copied Click OK again For more information about device descriptions refer to the Device Descriptions section of the FOUNDATION Fieldbus Overview and FOUNDATION Specification Common File Format FF 103 documents National Instruments Corporation E 3 NI FBUS Configurator User Manual NI FBUS Alarm Monitor Utility This appendix briefly describes the NI FBUS alarm monitor utility and gives how to monitor alarms NI FBUS Alarm Monitor Utility Overview The NI FBUS alarm monitor utility lets you capture view and acknowledge the alarm omitted by the device You can run the NI FBUS alarm monitor utility by selecting Start All Programs National Instruments NI FBUS Utilities Alarm Monitor When you open this NI FBUS utility a single frame window appears containing
39. from other users do not accept the template values The parameter settings may not apply to your devices Inserting Templates To access templates do one of the following e Right click the background of the Function Block Application Editor and select the desired template from FBAP Templates e Select File Open Template A dialog box appears asking how to apply the template parameter values to the function block that will eventually replace the template You can choose one of four different options e Click the No button to keep the function block s current values Click this button to ignore any values stored in the template If you cannot ensure that the parameter setting applies to your devices ignore these values e Uncheck the Use Template CHANNEL values checkbox and click the Yes use values button to change the parameter values of the function blocks used to fill the template to match the template parameters except the CHANNEL parameter Click this button if you have set up a PID loop for one set of input and output devices and would like to use the same loop with the same settings for other sets of identical input and output devices In this case you would save your initial PID loop as a template National Instruments Corporation 2 23 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator The channel is device input or output channel for controlling Refer to the Creating Templates se
40. in the Device Type tree and Configuration tree option in the General tab of the Preferences dialog box You can launch this dialog box through View Preferences By default the NI FBUS Configurator uses the customized icons in the trees Function Block instantiation and Deletion The NI FBUS Configurator detects whether a device supports function block instantiation creation and deletion If a device supports instantiation and deletion Instantiate new block appears in the device object menu Access this menu item by right clicking the device or using the menu bar after you select the device When you select Instantiate new block a dialog box appears to show the available block types for this device The NI FBUS Configurator reads the block type information from the device description You may choose the block type and the number of blocks of that type to instantiate To delete a block from a device which supports deletion click in the block and press the lt Delete gt key 3 Note Most devices do not support instantiation and deletion of function blocks For these devices all the available function blocks are pre programmed and appear automatically in the configuration tree under the device National Instruments Corporation 2 11 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Set Device or Block Tags ik Note If you have multiple host machines setting a device or block tag may affect how other hos
41. in the device initiate their own faultstate behavior FEATURE_SEL FEATURES Diagnostic Option 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 Table 4 12 Feature Parameter Options Option Description Unicode The device supports strings in Unicode format Reports The device supports event report messages for alarming If this feature is not selected in the FEATURE_SEL parameter some devices may continue to detect alarms and events but do not report alarms and events over the bus In this case the host must poll the alarm parameters to detect alarm conditions Faultstate The device supports Fault state behavior for output blocks Soft Write Lock The device supports locking of configuration of parameters with the WRITE_LOCK parameter in the resource block With this feature selected and the WRITE_LOCK parameter written to Set writes to all static configuration parameters are disallowed Hard Write Lock The device supports locking of configuration parameters Out Readback The device provides a way for the action of output transducers to be verified through a readback Direct Write The device provides a manufacturer specific way to directly write to T O channels FF_GAIN Scaling Tuning The gain by which the feed forward input is mu
42. menu bar tool bar alarm view and status bar All the alarms captured are parsed and listed in the alarm view In the alarm view each item is corresponding to one alarm which is ordered by their captured time You can save the alarms in the view into a file by selecting File Save and re load them from the file by selecting File Open 3 Note Before you use NI FBUS Alarm Monitor Utility you must configure the alarms in NI FBUS Configurator and download them into the network Refer to the Configuring Alarms section of Chapter 2 Using the NI FBUS Configurator to learn how to configure the alarm Refer to the Download a Project Configuration section of Chapter 2 Using the NI FBUS Configurator to learn how to download the configuration Monitor Alarms Follow these steps to use the NI FBUS alarm monitor utility to monitor alarms 1 Launch the NI FBUS Communications Manager if it is not running by selecting Start All Programs National Instruments NI FBUS NI FBUS Communications Manager 2 Launch the NI FBUS alarm monitor utility by selecting Start All Programs National Instruments NI FBUS Utilities Alarm Monitor National Instruments Corporation F 1 NI FBUS Configurator User Manual Appendix F NI FBUS Alarm Monitor Utility NI FBUS Configurator User Manual Click the Start Capture button on the toolbar or select Run Start to start the alarm monitor When an alarm is captured the Unacknowledged Alarms dialog bo
43. number of ports interfaces to add click OK 3 To delete the offline interface select the offline interface click the Edit button and then click the Delete button to delete this interface Importing Cff File Cff type is the abbreviation of Common File Format which is defined by Fieldbus Foundation and provided by manufacturer to support the offline configuration Before you add and configure an offline device in offline link you must import the manufacturer specific device description files and cff file that shipped with the device or are available from the device manufacturer first To do so complete the following steps 1 Insert the device description disk or CD if supplied by your Fieldbus device manufacturer into the disk drive of the host computer 2 Select Start All Programs National Instruments NI FBUS Utilities Interface Configuration Utility to run the Interface Configuration utility 3 Click the Import DD CFF button on the utility dialog box 4 Click the DD Info button on the Import DD CFF dialog box 5 Click the Browse button in the Import DD CFF dialog box and select CFF Files in the Files of type pull down menu Browse to the cff capability file and click Open Typically the device description files and capability file for your Fieldbus device are supplied on a disk from the manufacturer For each device there is one capability file c and two device description files one ending in
44. off the bus NI FBUS Configurator User Manual 1 10 ni com Chapter 1 NI FBUS Configurator Overview Block Configuration Window Each function block in your application has a block configuration window that you can use to change block parameters and other settings When you read or write data in the block configuration window the Status tab in the status window shows the status of the transactions To open the block configuration window for a block complete one of the following tasks e Double click the name of the function block under the appropriate device in the configuration tree e Double click a function block in the Function Block Application Editor window The block configuration window appears floating over the main window A block configuration window is shown in Figure 1 4 EJA100 EJA AI 1 Al Quay Apply Yalues JEJA AI Al ES 22 w V Periodic Updates 2 sec OOS Auto Manual Process Scaling Tuning Options Alarms Diagnostics Trends Others Parameter Value E MODE_BLK TARGET Auto ACTUAL dun PERMITTED Auto Man 005 EN NORMAL Auto Ba PY VALUE yn ua STATUS QUALITY N SUBSTATUS gt l LIMITS Ep OUT VALUE 0 00322819 ua STATUS QUALITY Good_NonCascade En SUBSTATUS UnacknowledgedBlockAlarm v Write Changes Read All Figure 1 4 Block Configuration Window National Instruments Corporation 1 11 NI FBUS Configurator User Manual Chapter 1 N
45. restart the NI FBUS Configurator If your device still does not show up on the bus check your device documentation for any requirements on network parameter settings The device does not show up in the NI FBUS Configurator 1 National Instruments Corporation Try setting the board to a visitor address Select Start All Programs National Instruments NI FBUS Utilities Interface Configuration Utility Click the appropriate port Click the Edit button Change the Address radio button to Visitor If there is another link master device on the bus set the Device type of the interface board to Basic device Restart NIFB Now see if the device shows up on the network If the undetected device is a link master try setting the NI FBUS interface as a basic device rather than a link master To do this go into the NI FBUS Interface Configuration utility Click the appropriate B 5 NI FBUS Configurator User Manual Appendix B Troubleshooting and Common Questions port Click the Edit button Change the Device type to Basic device Restart NIFB Now see if the device shows up on the network 3 Start NIFB In the NI FBUS Dialog utility right click the open descriptors Choose Expand All Then right click the session and open devices etc See what kind of devices show up If an unknown device shows up the device is probably causing interference The software can tell that something is there but since it cannot communicate wit
46. the Set Device or Block Tags section of Chapter 2 Using the NI FBUS Configurator If the device already has a tag the T3 network parameter might not be the right length Remove the device from the active bus and configure its address separately NI FBUS Configurator User Manual B 8 ni com Appendix B Troubleshooting and Common Questions Why are my MIB parameters all showing up as zero If you have no address assigned the NI FBUS Configurator is not able to read the parameters I get a Read vfdlist fail error There are probably two devices at the same address Change one to a different address Setting Number of Polled Addresses The Fieldbus specification describes how a Link Active Scheduler LAS device probes a list of addresses to allow devices to come online during normal operation The LAS sends a Probe Node PN on the bus monitor packet to each address in its list of addresses every so often during operation where every so often is a time that depends on the number of devices on the link and the setting of the Link Maintenance Token Hold Time parameter The Fieldbus specification describes how to tell the LAS to skip probing certain addresses in the range to speed up how long it takes to detect new devices on the bus or devices that are having their addresses changed The two parameters involved in maintaining the list are called FirstUnpolledNode and NumOfUnpolledNodes and they can be found in the NI FBUS Interf
47. the automatic optimization If you want to reoptimize click the Optimize Schedule button on the schedule window toolbar During the time between scheduled and unscheduled communications the LAS allows unscheduled communications to occur Unscheduled communications are always secondary to scheduled communications The ratio of scheduled to unscheduled time can have an affect on data throughput rates To verify the schedule click the Errors button in the schedule window Y Tip To zoom in and out click the magnifying glass icon in the schedule window Tip With only one device you cannot see data transmission because this device does not transmit any parameters to other devices For some fast devices the blue blocks representing execution times are so short that the blocks are hidden behind the block icons NI FBUS Configurator User Manual 2 36 ni com 3 Chapter 2 Using the NI FBUS Configurator Note An optimized schedule can show that the transmission time overlaps the end time for the function block because the transmission time includes the time that the LAS uses to tell the device to send the data Multiple Loop Representation The following figure shows how the NI FBUS Configurator displays multiple loops in the schedule window interface0 0 ID NIC_PCh y 100mszdv z Ole RI O a Function Block Application 4 Loop Time 500 ms optimized 3051_A1 1 AD gt OUT DEV 02 A0 AO gt BKCAL OUT AVP 0
48. the configuration tree help window status window and device type window You can open additional specialty windows in the middle frame to configure your function block applications change parameters and update the schedule You also can open separate windows for block parameter adjustment on top of the main window The elements of the NI FBUS Configurator main window are shown in Figure 1 1 National Instruments Corporation 1 1 NI FBUS Configurator User Manual Chapter 1 NI FBUS Configurator Overview H Buerkert ce a csr Dresser Y Dynisco E ED Endress Hae E EJ 1090 EP 1200 Dresser Italia S p A Duon System Co Ltd EIM CONTROLS ELOMATIC INTERNATIONAL fe 1007 i 1009 He 100b F 100F 1011 1012 1013 1042 fe 1051 1056 1057 E 5 1059 E W 108f PHIORP Transmitter E 10cc Temperature Transmitter s m alve Division Hauser Pressure Transmitter Differential Pressure Tra Hydrostatic Level Transr Ultrasonic Level Transmit Guided Wave Level Tran Radiometric Density f Le Magnetic Flowmeter Mass Flowmeter Prowirl 73 Ultrasonic Flowmeter Conductivity Transmitter 1200 x 83 Function Block Application ME interface2 0 5 Honeywell ST3000 RB dadas RB2 Test2 ST3000TB Test3 AD Test4 PID Rosemount_1 metso s Offlinelnterfacel 0 EA Network Parameters Radar Level Tran
49. tree The Function Block Application Editor appears in the middle frame of the NI FBUS Configurator You can minimize and maximize this window using the resize buttons in the upper right corner When this window is maximized the resize buttons appear under the main window resize buttons above the help window To connect blocks use the Wiring tool For help using this tool refer to the Wiring Blocks Manually section of Chapter 2 Using the NI FBUS Configurator To switch between the pointer wiring and loop tools in the Function Block Application Editor window press the lt Tab gt key To switch between the pointer and the wiring tool press the spacebar You can drag and drop block or device icons from one window into another Use this method to drag function blocks from the configuration tree into the Function Block Application Editor window NI FBUS Configurator User Manual 1 8 ni com Chapter 1 NI FBUS Configurator Overview Schedule Window The NI FBUS Configurator combines the link active schedule and function block schedules into one diagram as shown in the Figure 1 3 El interface0 0 Schedule BAX interface0 0 ID NIC_PCh x f100ms div Ok 2 O T Function Block Application Q Loop Time I sec optimized EJA AL1 AD gt OUT PidBlock PID gt OUT AOBlock AO gt BKCAL OUT A SS A A A 4 200 300 400 500 Figure 1 3 Link Active and Function Block Schedules inl To view or edit the lin
50. trend An item is also added into the attribute view to give the parameter information and the line s attribute Click Mark Status button on the tool bar or select Run Mark Status to show status of trend at intervals on the screen view In the screen view click the top bottom item on the vertical axis to adjust vertical scope Change the Elapsed Time edit box on the toolbar to adjust the visible time scope of screen view which is the indication amount of the horizontal axis Click the Autoscale button on the tool bar or select Run Autoscale to reset the vertical axis to the default values In the attribute view click the Color sub item to adjust the color of corresponding line Click the Line Style sub item to adjust the style of corresponding line Click the Offset sub item to adjust the vertical position of the corresponding line Select View Options or click the Options button on the tool bar to set the colors of the screen view and the maximum data points of each trend Select View Always On Top to keep the trend window as the top window Click the Stop Capture button on the toolbar or select Run Stop to stop trend monitoring Click the Reset Capture button on the toolbar or select Run Reset to clear the captured trends Click the Save button on the toolbar or select File Save to save all of the captured trends into a file G 2 ni com Technical Support and Professional Services Visit the following sectio
51. waiting for new parameter linkages to be established On Line The device is online and in service Standby The device is online but currently out of service SEL_1 through SEL_3 Process Scaling Tuning Input values for the selector SEL_TYPE Scaling Defines the selector action High Medium or Low SET_FSTATE Faultstate Option Allows the user to set the device faultstate to active This in turn forces all output blocks into their own faultstate behavior SHED_OPT Mode Shedding Option Controls the way blocks enter mode shedding Each option listed below has acompanion No Return option The No Return shedding options change the target mode of the device to the shed mode and prevent the device from re entering RCas or ROut mode after the shed condition has ended Table 4 21 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 National Instruments Corporation 4 29 NI FBUS Configurator User Manual Chapter 4 Parameters Table 4 21 Shed Conditions Continued Shed Mode Behavior 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 Mode Shedding The shed t
52. with the device NIF_ERR_CONFIG_ERROR Some configuration information such as Windows registry information or network configuration information is incorrect NIF_ERR_DATA_NEVER_WRITABLE The specified object is read only National Instruments Corporation A 1 NI FBUS Configurator User Manual Appendix A Error Messages and Warnings NIF_ERR_DEVICE_NOT_PRESENT The requested device is not operational NIF_ERR_EXCEED_LIMIT The device reported that the value exceeds the allowable limit during a write operation NIF_ERR_INVALID_DESCRIPTOR The descriptor you gave is invalid NIF_ERR_MULTIPLE There are duplicate block tags NIF_ERR_NOT_FOUND NI FBUS could not find the specified object NIF_ERR_OBJECT_ACCESS_DENIED The Fieldbus interface does not have the required privileges The access group you belong to is not allowed to acknowledge the event or the password you entered is incorrect NIF_ERR_OBJECT_ACCESS_UNSUPPORTED The device does not support write access to this object NIF_ERR_OBSOLETE_DESC The input descriptor is no longer valid It was closed before a function completed NIF_ERR_ORDINAL_NUM_OUT_OF_RANGE The ordinal number is out of the device range NIF_ERR_PARAMETER_CHECK The device reported a violation of parameter specific checks NI FBUS Configurator User Manual A 2 ni com Appendix A Error Messages and Warnings NIF_ERR_RESOURCES NI FBUS is unable to allocate some system resour
53. 02 An organization that developed a Fieldbus network specifically based upon the work and principles of the ISA TEC standards committees The communications network specification that the Fieldbus Foundation created File Transfer Protocol Glossary 4 ni com Function block Function Block Application Function Block Application Editor window Function block execution schedule H H1 hex HMI Host device HSE VO Index Input parameter IP ISO O National Instruments Corporation Glossary A named block consisting of one or more input output and contained parameters The block performs some control function as its algorithm Function blocks are the core components you control a system with The Fieldbus Foundation defines standard sets of function blocks There are 10 function blocks for the most basic control and I O functions Manufacturers can define their own function blocks The block diagram that represents your control strategy The middle window of the NI FBUS Configurator where you create your block diagram A list of times in the macrocycle when the function block will begin to execute its algorithm The 31 25 kbit s type of Fieldbus Hexadecimal A base 16 numbering system which uses 0 9 and A F Human Machine Interface A graphical user interface for the process with supervisory control and data acquisition capability A computer or controller on a Fieldbus network High Speed Et
54. 10 ni com Appendix A Error Messages and Warnings E BLOCK_NOT_EXIST_IN_CFF The block is undefined in the related cff file The file provided by the manufacturer is incomplete and the block to handle is not defined in it E_MIB_PARAM_NAME_NOT_FOUND The cff file provided by the manufacturer is incomplete the param name of MIB is not defined in the related cff file E_OFF_DEVICE_NODE_INVALID The offline device node is invalid It cannot be configured E_CFF_NOT_FOUND The corresponding cff file is not found under the DD stored directory Please import the c f file provided by the device manufacturer first E_NULL_POINTER A null pointer has occurred E_DEVICE_NOT_FOUND The device you are looking for is not found E_OFFLINE_NOT_SUPPORTED This feature is not currently supported in offline mode E_REVISON_EQUAL The revision should not be equal E_SET_ADDRESS_FAILED Setting address operation failed E_CFF_LOAD_FAILED Failed to load cff file The cff file required is neither found nor correct E_CFF_NOT_LOAD The cff file is not loaded The cff file required is neither found nor correct O National Instruments Corporation A 11 NI FBUS Configurator User Manual Appendix A Error Messages and Warnings E_CFF_SECT_NOT_FOUND The section is not found in the cff file The cff file is incomplete E_CFF_VAR_NOT_FOUND The variable is not found in the cff file The cff file is incomplete
55. 2 PIDI FID gt OUT Q Loop Time 800 ms optimized EJA AI 1 AD gt OUT PidBlock PID OUT AOBlock AO gt BKCAL OUT ms D 100 400 500 200 300 O Loop Time 500 ms optimi o RX GG RAAQAWK CAL OUT a AVP _02 m El A A EAS AS SS tens tein TS RGGGQAA A UT Internal TransmissioN SS Transmission i l A i l 200 300 aoo soo 600 National Instruments Corporation White dividers separate the loops If you want to lock the current schedule for a loop check the Loop Time checkbox above the colored bars The NI FBUS Configurator cannot changing the schedule until you uncheck the checkbox 2 37 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Set Network Parameters To change network parameters such as the Link Active Scheduler LAS and primary time master double click the Network Parameters icon in the configuration tree The Network Parameters dialog box appears This dialog box lists all devices capable of being link master for the link Every device you select in this dialog box receives the LAS when you download configuration If the primary LAS is unavailable one of these devices steps in and continues executing the LAS This behavior provides redundancy for FouNDATION Fieldbus systems Advanced link settings control the interaction of devices over the network These settings are set on a port by port basis
56. 4 23 missing device troubleshooting B 4 missing function blocks B 13 missing information B 12 missing link B 10 mode problems troubleshooting B 1 mode shedding parameters 4 8 MODE_BLK parameter ACTUAL mode table 4 24 common operational modes 2 13 field modes table 4 24 NORMAL mode table 4 24 operational modes table 4 24 overview 2 13 PERMITTED mode table 4 24 TARGET mode table 4 24 monitoring parameters 2 42 multiple loops representation in schedule window 2 37 running at different rates 2 28 National Instruments support and services H 1 network parameters setting 2 38 NIFB process restarting B 16 starting 2 1 ni com NI FBUS Configurator changing software key 2 47 main window components figure 1 2 configuration tree 1 3 device window 1 4 help window 1 4 opening 1 1 overview 1 1 status window Download tab 1 4 Errors tab 1 4 status tab 1 4 middle frame examples figure 1 7 overview 1 6 overview 1 1 starting 2 1 tutorials connecting to network and hardware 3 1 creating basic connections to AI and AO blocks 3 2 PID control of simulated process 3 5 uninstalling B 17 windows block configuration window 1 11 device window 1 10 Function Block Application Editor window 1 8 main window 1 1 middle frame 1 6 network parameters window 1 10 NI FBUS dialog utility examples downloading schedule to interface D 2 getting device list D 2 reading parameter using
57. 5 DI FunctionBlock6 DO gt IN OUT FunctionBlock PID CAS INIBKCAL OUT gt Yokogawa EJA100A S ERCAL IN Alams ResourceBlock5 RB2 D TransducerBlock10 EJATB TFK IN D Trends J gt FunctionBlock30 AI P TREK VAL FunctionBlock31 AD PFF VAL FunctionBlock32 PID Rosemount 3051 National Instruments_4005 Fiel Resourceblock8 RB FunctionBlock3 40 CAS IN OUT gt FunctionBlock46 DI300 BKCAL OUT FunctionBlock47 D0400 2 Alarms P Trends J gt Modify the project as your new design add remove device change function block connection adjust schedule or modify parameter value 8 After modification select File Save to save the new project file Y Tip Referto the Take Link Online section of Chapter 2 Using the NI FBUS Configurator to learn how to apply the new configuration to the field network O National Instruments Corporation 3 11 NI FBUS Configurator User Manual Parameters This chapter contains two parts The first part explains which parameters you might need to modify grouped by functionality The second part of the chapter lists parameters and their descriptions alphabetically Alarming Parameters Alarming parameters allow you to configure alarms and events Collectively alarms and events are referred to as alerts You use alert notifiers to communicate the condition to other devices Table 4 1 Alarming Parameters
58. 9 Connecting Blocks cios eoni a 2 20 Wiring Blocks Manually ooonccnnnccinccconcconnnnnoccnnnnconcconnoconccnanaconccnnns 2 21 Checking for Function Block Application Errors eee eee 2 22 Customizing Your Function Block Application eee 2 22 Using Templates iii sad 2 22 Inserting Templates vomito iii 2 23 Creating Templates siiis ipii riittoisa eoep isisi aieri esposes 2 26 Export Function Block Application Image coooconcnicnnoninonconnnoncononnonnnonccnnnonos 2 26 Defining LOOPS orse A aa E E AE 2 27 Defining Multiple Loops Running at Different Rates 0 eee 2 28 Determining Function Block Execution Time eee 2 29 Changing the Block Execution Order oo cee eeeesceseeeseseeeesecseeeseeseeeseeeeees 2 30 Setting the Stale Limit susineria a a a 2 31 Using Menus and Methods eee ee eeeeseeseeeseceeceseesceeseceeecaeceaeeaeceeesaeeseseseaesaeeeaees 2 31 Using EDDL Extensions ccs i232 ccssstsscssesisdessiscsseastsessisatashevessabiasesubescassbdesevseacavastasnsessess 2 31 Configuring Alarms iii ais 2 34 AA suptaedeeseg ota ce seaagsege adteae ai a a ia 2 35 View and Edita Schedules 5 2 sac cgectes ennonn eiaei adv gees aden iii 2 36 Change the Link Active Schedule ieee eseeeseeseceeeeseeneesseseneeaeeeees 2 36 Multiple Loop Representation eee cee ceesseeeseeeceeeeseeseesseeesecseseateasenaes 2 37 Set Network Parameters econo ictericia iria 2 38 Change Language creiren iriiri ile til 2 38 Save a Project Configura
59. AO or PID blocks Each box indicates the application of the parameter it contains National Instruments Corporation 4 3 NI FBUS Configurator User Manual Chapter 4 Parameters Transducer Value XD_SCALE FIELD_VAL OUT_SCALE pp Range XD_SCALE 0 to 100 Dependent on L_TYPE and OUT_SCALE What it Does The transducer XD_SCALE specifies the OUT_SCALE specifies the scaling in the device transducer scaling field from FIELD_VAL of scale to produces some range of the physical output units It is used in conjunction physical signal signal From this information with L_TYPE The type of output such as Volts the physical signal value is scaling is specified by L_TYPE Amps etc converted to a percentage The options are no scaling direct of the field range linear scaling indirect or square root scaling indirect square root Sample Settings For example if the physical For example if 50 mV at the signal can range from 50 mV transducer corresponds to a to 50 mV you would enter physical temperature of 100 C the following 50 mV corresponds to 400 C and the scaling should be linear 20 XD_SCALE you would enter the following H EU_100 50 EU_0 50 Ele OUT_SCALE UNITS_INDEX mV EU 100 400 DECIMAL 3 EU _0 100 UNITS_INDEX C L DECIMAL 3 e L_TYPE Indirect Calcula
60. BAL_TIME IN_1 BIAS LOW_CUT BYPASS OUT CYCLE_SEL PV CYCLE_TYPE PV_FTIME FF_GAIN RA_FTIME FF_VAL RATE FIELD VAL READBACK FIELD _VAL_D READBACK_D GAIN RESET IN SEL_1 through SEL_3 Parameter Descriptions ACK_OPTION Alarming Allows the block to automatically acknowledge alarms with no outside intervention Use this parameter if you are not interested in acknowledging certain alarms from a block NI FBUS Configurator User Manual 4 10 ni com Chapter 4 Parameters ALARM_HYS Alarming The amount a value must move off an alarm limit in percent of scale for the alarm to be considered clear This parameter helps prevent alarms from constantly toggling on and off when the process value is near the configured alarm limit ALARM_SUM Alarming A summary of the status of alarms in the block Allows alarms to be disabled ALERT_KEY Alarming A user assigned identification number reported in alarm messages from the block that allows HMI applications to sort and filter alarms and events This parameter is set for each function block to indicate which physical unit the function block is associated with BAL_TIME Tuning Time in seconds for the bias or ratio to change from the internal working value to the operator set value Also the time constant used by the integral term of the PID to obtain balance when the output is limited and the block is in Auto Cas or RCas mode BIAS Tuning The bias value in e
61. Block Application Editor window 3 Repeat the previous step until all the blocks you want to use are in the Function Block Application Editor window m Tip You can drag host devices from the configuration tree into the Function Block Application Editor Dragging host devices allows you to configure alarms and trends as described in the Configuring Alarms section and the Configuring Trends section You also can add blocks by completing the following steps 1 Right click in the background of the Function Block Application ia Editor or click the Block button in the toolbar of the Function Block Application Editor National Instruments Corporation 2 19 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator 2 Select the device or interface from the menu that appears and then select the block you want to place on the screen from the menu of function blocks 3 Note You can add a function block to a Function Block Application Editor window only once After you add the function block the NI FBUS Configurator grays out the function block on the menu and in the configuration tree To use outputs of a block as inputs to multiple downstream blocks wire the output to both locations To use outputs of a block in multiple loops refer to the Defining Loops section The following figure shows the Function Block Application Editor window with function blocks e interface0 0 Function Block Application uy Loop
62. D BY ADVERSE FACTORS INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY COMPUTER HARDWARE MALFUNCTIONS COMPUTER OPERATING SYSTEM SOFTWARE FITNESS FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION INSTALLATION ERRORS SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES TRANSIENT FAILURES OF ELECTRONIC SYSTEMS HARDWARE AND OR SOFTWARE UNANTICIPATED USES OR MISUSES OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED SYSTEM FAILURES ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS INCLUDING THE RISK OF BODILY INJURY AND DEATH SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE TO AVOID DAMAGE INJURY OR DEATH THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES INCLUDING BUT NOT LIMITED TO BACK UP OR SHUT DOWN MECHANISMS BECAUSE EACH END USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUC
63. E H 1 Linking Device device window 1 10 network parameters window disabled 1 10 T O parameters 4 7 IN parameter 4 20 IN_1 parameter 4 20 Initialization Manual mode table 4 24 initialization requirements for parameters 4 9 instantiation of function blocks 2 11 instrument drivers NI resources H 1 NI FBUS Configurator User Manual Index IO_OPTS parameter operation bitmasks table 4 20 ITK_VER parameter 4 21 K KnowledgeBase H 1 L L_TYPE parameter 4 21 linearization types table 4 22 language changing 2 38 LIM_NOTIFY parameter 4 22 limiting parameters table 4 7 link active schedule changing 2 36 links adding links 2 2 missing links B 10 LO_ALM parameter 4 22 LO_LIM parameter 4 22 LO_LO_ALM parameter 4 22 LO_LO_LIM parameter 4 22 LO_LO_PRI parameter 4 23 LO_PRI parameter 4 23 Lookout using with Fieldbus B 15 loops See also multiple loops changing block execution order 2 30 defining 2 27 determining function block execution time 2 29 multiple loop representation in schedule window 2 37 multiple loops running at different rates 2 28 setting the Stale Limit field 2 31 LOW_CUT parameter 4 23 NI FBUS Configurator User Manual Index 4 Manual mode MODE_BLK parameter 4 23 overview 2 13 MANUFAC _ID parameter 4 23 MAX_NOTIFY parameter 4 23 MEMORY_SIZE parameter 4 23 methods using 2 31 middle frame examples figure 1 7 overview 1 6 MIN_CYCLE_T parameter
64. E parameter 4 27 RCAS_IN parameter 4 27 RCAS_IN_D parameter 4 27 RCAS_OUT parameter 4 27 RCAS_OUT_D parameter 4 27 read write errors B 7 READBACK parameter 4 28 READBACK_D parameter 4 28 Remote Cascade mode 4 25 C 3 Remote Output mode table 4 25 replacing devices 2 44 RESET parameter 4 28 RESTART parameter restart values table 4 28 restarting devices B 16 NIFB B 16 ROUT_IN parameter 4 28 ROUT_OUT parameter 4 28 RS_STATE parameter device states table 4 29 NI FBUS Configurator User Manual Index 8 S saving project configuration 2 38 scaling parameters Al scaling procedure figure 4 4 AO scaling procedure figure 4 5 L_TYPE 4 3 list of parameters table 4 7 OUT_SCALE 4 3 PID scaling procedure figure 4 6 table 4 7 XD_SCALE 4 3 schedule window overview 1 9 schedules changing link active schedule 2 36 downloading to interface example D 2 multiple loop representation 2 37 SEL_1 through SEL_3 parameter 4 29 SEL_TYPE parameter 4 29 Server Explorer using with Fieldbus B 17 SET_FSTATE parameter 4 29 SHED_OPT parameter shed conditions table 4 29 SHED_RCAS parameter 4 30 SHED_ROUT parameter 4 30 SIMULATE parameter 4 30 SIMULATE_D parameter 4 30 software NI resources H 1 software key changing 2 47 SP parameter 4 30 SP_D parameter 4 30 SP_HI_LIM parameter 4 30 SP_LO_LIM parameter 4 31 SP_RATE_DN parameter 4 31 SP_RATE_UP parameter 4 31 ST_REV parameter
65. FOUNDATION Fieldbus NI FBUS Configurator User Manual August 2011 7 NATIONAL 370514H 01 INSTRUMENTS Worldwide Technical Support and Product Information ni com Worldwide Offices Visit ni com niglobal to access the branch office Web sites which provide up to date contact information support phone numbers email addresses and current events National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 For further support information refer to the Technical Support and Professional Services appendix To comment on National Instruments documentation refer to the National Instruments Web site at ni com info and enter the Info Code feedback 2002 2011 National Instruments Corporation All rights reserved Important Information Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions due to defects in materials and workmanship for a period of 90 days from date of shipment as evidenced by receipts or other documentation National Instruments will at its option repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period National Instruments does not warrant that the operation of the software shall be uninterrupted or error free A Return Material Authorization RMA number must be ob
66. HI_PRI Alarming The priority of the high limit alarm IN Process Scaling Tuning The primary input of the block IN_1 Process Scaling Tuning The secondary input of the block 10_OPTS 1 0 Options Scaling A bitmask used to adjust the way I O blocks AI DI AO and DO operate Table 4 14 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 Causes the setpoint to track the process variable in Man SP PV Track in LO or IMan Causes the setpoint to track the process variable in LO or IMan SP Track Retained Target Causes the setpoint to track the input value of the retained target of the block The retained target of the block is the lowest priority mode set in the target mode field of the MODE_BLK parameter of the block For example if the RCas bit is set in the target mode the setpoint tracks RCAS_IN Increase to Close Remaps the block s scaling so that as the input increases the output decreases NI FBUS Configurator User Manual 4 20 ni com Chapter 4 Parameters Table 4 14 Operation Bitmasks Continued Restart Bitmask Description Faultstate to Value When set the block faultstate behavior sets the output value to the value in FSTATE_VAL When clear the block faultstate behavior le
67. I FBUS Configurator Overview Changing Parameter Settings You can change parameter settings either by clicking the desired field and typing the new value or by selecting the new value from a pull down menu if provided For more information refer to the Editing Block Parameters section of Chapter 2 Using the NI FBUS Configurator Yellow highlighting in the block configuration window indicates that a parameter setting has been changed and does not match the parameter value stored in the device Block Configuration Window Icons As shown in the previous figure an icon to the left of each parameter name color codes and symbolically represents the class of the parameter Table 1 1 describes the classes of the parameters Table 1 1 Block Configuration Window Icons Shape Color Description Circle Green Alarms Represents contained parameters Contained Light blue Tuning parameters cannot be linked to other parameters they are Black Others contained in the block Right arrow Red Represents output that can be sent to another block Left arrow Blue Represents input that can be obtained from another block Block Configuration Window Tabs The block configuration window groups the parameters by functional category For example parameters related to alarms appear on the Alarms tab and parameters related to tuning appear on the Tuning tab Uncategorized parameters appear on the Others tab Some p
68. M Alarming a O E R das 4 19 HAL AD TIM Alarming enint e a Ra 4 19 HIHL PRI Al rmin g senoidal nic id 4 19 H LIM Alarming a r 4 20 HLPRECATMO iaa oia 4 20 IN Process Scaling Tuming concnnccnonnocnonnnoncnnnonaconnononon nono eeraa 4 20 IN_1 Process Scaling Tuning ooooconocnncncnnnnnncnnonanonn cronica nono cononn non ncnnncnnnonnonns 4 20 IO_OPTS I O Options Scaling oononncnnnononinonnoncnnnnnncnnnonnconnrnnonncrnnonncrnncnnoss 4 20 ITK VER A o SI al Ed 4 21 L TYPE Scala tad 4 21 LIM_NOTIFY Alarming eierne haa a oe oa ea 4 22 LO ALM Alarm Dictada 4 22 EOS IM Alarming as 4 22 EQO EO ALM Alarming Jci a a a a 4 22 LO LO EIM Alarming nei orenetan iaia a E e ea e ES 4 22 EO LO PRI Alarming icenian i aaia 4 23 EOSPRI CA lar ras Orso boas o as 4 23 LOW_CUT I O Option Scaling Tuning oooncnnnnnnnnnnnonnonnnonconanoncnnncnncnnconos 4 23 MANUFAC_ID DiagnostiC cccoooonnncconcnonnconnnnonnconncnnnaconcconnncnnncnnnarancnnnnccanncnns 4 23 MAX_NOTIFY Alarming Jie utrpenia s an aas iTi 4 23 MEMORY SIZE DiagnostiC cccnnccnnnonnoninnnnconnconenonnncnnncnnnncnncconnnonnnconccnnacinss 4 23 MIN_CYCLE_T Diagnostic Process ccecceeseeseeeeseeeneeceeeceseeeeareeseeeeaeere 4 23 MODE_BLK Diagnostic Process esceeseeeseeeeneeeseeeeeeeeeeeesaeceeeseneeeaeeree 4 23 NV CYCLE T Diagnostic ei kienean an a a aai 4 25 OUT Process Scaling TUNING rinena En Ena oi anas 4 25 OUT D Process dee os ol
69. Manager by selecting Start All Programs National Instruments NI FBUS NI FBUS Communications Manager Launch the NI FBUS Configurator by selecting Start All Programs National Instruments NI FBUS NI FBUS Configurator Choose Open an Existing fep then double click the file in the list or select More Files and click OK to choose an existing saved configuration project from the Open dialog box The Reconnect Project Links dialog box appears when you open the configuration project file Click No Reconnect Project Links E p Would you like for this project to be reconnected to the Fieldbus link s Automatically reconnect Select correct links No Right click the link you want to modify and select Take Offline If a dialog box appears select Yes Then choose an offline link from the list in the Take Link Offline dialog box and click OK The original link will connect to an offline link and all the devices and configurations will be created in this offline link as well 3 10 ni com Chapter 3 NI FBUS Configurator Tutorials Ol Gls amp 2 BF Loop Time 1 sec H Stale Limit 1 4 Olke ss 5 OfflineInterface1 0 Network Parameters 3 Functionbiock4d CATIOO E Schedule pene a Function Block Application amp OfflineInterface1 0 amp Metso ND9000FF ResourceBlock2 RB2 TransducerBlock2 T FunctionBlock3 40 FunctionBlock4 DI FunctionBlock32 PID FunctionBlock
70. NK This object does not belong on this link NIFCONF_ERR_OD_SIZE_MISMATCH The size of the actual data object does not match the object dictionary size NIFCONF_ERR_OUT_OF_MEMORY Memory is low the NI FBUS Configurator cannot allocate objects Close windows to solve this problem National Instruments Corporation A 7 NI FBUS Configurator User Manual Appendix A Error Messages and Warnings NIFCONF_ERR_PARAMETER_SCHEDULE_CONFLICT A parameter communication has already been scheduled for this time Do not schedule more than one parameter communication at a time on the Fieldbus NIFCONF_ERR_REGISTRY_ERROR Some registry information for your application is missing or corrupt You might need to reinstall the NI FBUS software and the NI FBUS Configurator Refer to your getting started manual for installation instructions NIFCONF_ERR_STANDARD_DD_MISSING The NI FBUS Configurator could not find the standard device description file NIFCONF_ERR_STRING_NOT_FOUND There is a missing resource string NIFCONF_ERR_TEMPLATE_NOT_ASSIGNED The template is not assigned to a valid project object NIFCONF_ERR_TOO_MANY_FB_SCHEDULE_ENTRIES The schedule for this object contains too many entries for the function block schedule of the device Normally bad choices for macrocycle times cause this error Use macrocycle times that are integer multiples of each other to correct this problem NIFCONF_ERR_TOO_MANY_LAS_SCHEDULE_ENTRIES The
71. Process Unused by the block algorithm Used to test interoperability of reads and writes of different parameter types TRK_IN_D Scaling Used to enable tracking of the output value to TRK_VAL When this is enabled the output value of the block takes on the value specified in TRK_VAL NI FBUS Configurator User Manual 4 32 ni com Chapter 4 Parameters TRK_SCALE Scaling The scaling parameter used for the value specified by TRK_VAL TRK_VAL Scaling The value the block will track when tracking is enabled by TRK_IN_D UPDATE_EVT Diagnostic 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 The index information for the parameter that changed and the new value of ST_REV is included in the alert WRITE_ALM Alarming State of the alert generated if WRITE_LOCX is cleared along with a time and date stamp WRITE_LOCK Option The software write lock for the device When this is set to true writes to all configuration parameters of all blocks are disallowed The WRITE_ALM block alarm is active when writes are allowed and clear when they are disallowed WRITE_PRI Alarming Option The priority of the write alarm National Instruments Corporation 4 33 NI FBUS Configurator User Manual Chapter 4 Parameters XD_SCALE Scaling The scaling parameter used to interpret values from the physical I
72. S If you click its field a drop down menu will appear with a checkbox called Uncertain as Good If you select this option and click Write Changes the function block will now treat Uncertain quality received on its input as Good Missing Device Selecting Update Attributes from a device menu on the menu bar or when right clicking the device causes the device description to be reread This is sometimes useful after replacing devices NI FBUS Configurator User Manual B 4 ni com Appendix B Troubleshooting and Common Questions A device does not appear in the configuration tree The communication parameters are incorrect Complete the following steps 1 Check all connections 2 Make sure that the bus is appropriately powered if your devices require it or that their own power supplies are providing power 3 Select Start All Programs National Instruments NI FBUS Utilities Interface Configuration Utility and click the Advanced button 4 Set the following parameter values Parameter Value Number of unpolled nodes Refer to the Setting Number of Polled Addresses section MinInterPduDelay 20 Slot time 10 Max Response delay 8 5 Shut down the NI FBUS Configurator and NIFB process 6 Select Start All Programs National Instruments NI FBUS NI FBUS Communications Manager to restart the nifb process 7 Select Start All Programs National Instruments NI FBUS NI FBUS Configurator to
73. S Data by default There is a subdirectory for each device manufacturer Under the manufacturer there are additional directories for each device If these files are not imported properly any function blocks specific to the device will show up as UNKnown Just copying the ffo and sym files into the nifbus data directory will not work Refer to the Start the NI FBUS Configurator and NIFB Process section of Chapter 2 Using the NI FBUS Configurator Notice that you do not need a device description for the National Instruments interface boards After updating the firmware the NI FBUS Configurator no longer recognizes these as the same function blocks If there is a firmware update which results in a change in item IDs the NI FBUS Configurator cannot recognize the new blocks as being compatible with the old blocks Below is a brute force way to correct the problem 1 Make a backup copy of your project 2 Create a template as described in the Using Templates section of Chapter 2 Using the NI FBUS Configurator Select the blocks that need to be changed to the new item IDs and create a template from them 3 Drop the template you just created into the project When prompted check the CHANNEL values checkbox and choose Yes accept values This will result in the template parameters which you had configured in your original projects being applied to the blocks which you will later open 4 Replace the template blocks with the new
74. S Dialog utility Right click the Open Descriptors icon and select Open Session In the Open Session dialog box that appears click the Open Session button The NI FBUS Dialog utility makes an ni fOpenSession call to the NIFB process This call opens a session descriptor which represents your connection to the NIFB process If the call succeeds the NIFB process is running and responding to requests and a new session descriptor is created under the Open Descriptors icon If the call fails make sure that your NI FBUS Communications Manager process is running and that it has not displayed any error message boxes during startup You can check this by and looking at the ni fb exe console window To open the window select Start All Programs National Instruments NI FBUS NI FBUS Communications Manager Right click the session descriptor icon to see its pop up menu The list that appears represents the NI FBUS Communications Manager API calls you can make with a session descriptor Choose the GetInterfaceList function from the list of choices This choice displays the logical name of all known interfaces Highlight the interface name of your choice and click the OpenLink button In the dialog box that appears click Open Link then click Cancel to close any open dialog boxes Right click the Link icon and choose GetDeviceList The NI FBUS Dialog utility displays a list of active devices on your Fieldbus link Your Fieldbus interface bo
75. TAG PARAM access D 3 waiting for trend D 4 National Instruments Corporation Index 5 Index overview D 1 NI FBUS dialog utility examples download a schedule to an interface D 2 get a device list D 2 read a parameter using TAG PARAM access D 3 wait for a trend D 4 NV_CYCLE_T parameter 4 25 0 option parameters 4 8 Out of Service OOS mode MODE_BLK parameter table 4 24 overview 2 13 Set to OOS Mode checkbox figure 2 3 2 5 2 6 2 9 setting new address 2 9 troubleshooting problems B 2 OUT parameter 4 25 OUT_D parameter 4 25 OUT_HI_LIM parameter 4 25 OUT_LO_LIM parameter 4 25 OUT_SCALE parameter table 4 26 OUT_STATE parameter 4 26 P parameters 4 1 See also block configuration window ACK_OPTION parameter 4 10 AI scaling procedure figure 4 4 ALARM_HYS parameter 4 11 ALARM_SUM parameter 4 11 alarming parameters 4 1 ALERT_KEY parameter 4 11 AO scaling procedure figure 4 5 BAL_TIME parameter 4 11 BIAS parameter 4 11 BKCAL_HYS parameter 4 11 BKCAL_IN parameter 4 11 NI FBUS Configurator User Manual NI FBUS Configurator User Manual Index BKCAL_OUT parameter 4 12 BKCAL_OUT_D parameter 4 12 BLOCK_ALM parameter 4 12 BLOCK_ERR parameter 4 12 error codes table 4 12 BYPASS parameter 4 13 CAS_IN parameter 4 14 CAS_IN_D parameter 4 14 changing settings 1 12 CHANNEL parameter 4 14 CLR_FSTATE parameter 4 14 CONFIRM_TIME parameter 4 14 CONTROL_OPTS parameter ta
76. TS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION INCLUDING WITHOUT LIMITATION THE APPROPRIATE DESIGN PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION Conventions Q bold Fieldbus italic monospace monospace bold monospace italic Platform The following conventions are used in this manual The symbol leads you through nested menu items and dialog box options to a final action The sequence Options Settings General directs you to pull down the Options menu select the Settings item and select General from the last dialog box This icon denotes a tip which alerts you to advisory information This icon denotes a note which alerts you to important information This icon denotes a caution which advises you of precautions to take to avoid injury data loss or a system crash Bold text denotes items that you must select or click in the software such as menu items and dialog box options Bold text also denotes parameter names The generic term fieldbus refers to any bus that connects to field devices This includes Foundation Fieldbus CAN DNET and Profibus In this manual the term Fieldbus refers specifically to the Foundation Fieldbus Italic text denotes variables emphasis a cross reference or an introduction to a key concept Italic text also denotes text that is a placeholder for a word or value that you must supply Text in this font denotes text or ch
77. Time 1 sec A State Limit 1 E Ok FPA RH SOa EJA AI 1 AD 3051_PID PID AOBlock AO OUT gt ae PCAS IN OUT gt Alarms P CAS IN BKCAL OUT P ERCAL OUT be Trends gt gt BECAL IN Alarms gt AU A TRK IN D Trends J gt Trends P gt TRK VAL gt FF VAL Connecting Blocks To send data from one block to another you must connect outputs and inputs You can wire blocks manually or use a template The help window on the right side of the screen describes the input and output parameters and how to connect these parameters The NI FBUS Configurator generates all necessary arrangements for broadcasting data over the bus when you wire the function blocks together When you download your project to the bus the NI FBUS Configurator downloads the scheduling and linkage information to all the link masters on the link NI FBUS Configurator User Manual 2 20 ni com Chapter 2 Using the NI FBUS Configurator Wiring Blocks Manually To wire blocks manually complete the following steps 1 Click the Wiring tool on the Function Block Application Editor toolbar 2 Click one terminal you want to connect Tip You do not have to connect points in any particular order You can start at the input and wire to the output or vice versa 3 To tack down the wire at different points click in the background of the Function Block Application Editor window 3 Tip To toggle the direction of the connection you are dra
78. UN Caution You cannot set network parameters in the HSE segment Do not modify advanced parameters without good reasons If you must modify parameters for certain devices use the recommended settings from the device manufacturer Modifying these parameters can have an adverse affect on data throughput rates If settings are incorrectly modified some devices may disappear off the bus To revert to the default network parameters double click Network Parameters Click the Link Settings tab Press the Press to See Suggested Values pushbutton The next window shows the original settings Change Language Some device manufacturers allow you to change device names and help strings to multiple languages Complete the following steps to change languages 1 Select View Preferences General tab 2 Inthe DD Language Codes field enter the ISO standard two letter language abbreviation Save a Project Configuration To save a configuration select File Save The NI FBUS Configurator saves the entire project including the configuration tree Function Block Application and schedule NI FBUS Configurator User Manual 2 38 ni com Chapter 2 Using the NI FBUS Configurator Download a Project Configuration Besides parameters you must download other configuration to devices before executing function blocks on devices For example you must download function block linkages to allow dataflow from one block to another Also devices need s
79. UT_SCALE from the value in FIELD_VAL OUT OUT_SCALE EUO FIELD_VAL 100 OUT_SCALE EU100 OUT_SCALE EUO T 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 OUT OUT_SCALE EUO SQRT FIELD_VAL 100 OUT_SCALE EU100 OUT_SCALE EUO Uninitialized An invalid setting The device reports a configuration error with an Uninitalized L_TYPE LIM_NOTIFY Alarming A limit on the number of unconfirmed alarm event notification messages the device can have active at once This must be less than or equal to MAX_NOTIFY LO_ALM Alarming The current state of the low alarm along with a time and date stamp LO_LIM Alarming The limit in PV units beyond which the low limit alarm is considered active LO_LO_ALM Alarming The current state of the low low alarm along with a time and date stamp LO_LO_LIM Alarming The limit in PV units beyond which the low low limit alarm is considered active NI FBUS Configurator User Manual 4 22 ni com Chapter 4 Parameters LO_LO_PRI Alarming The priority of the low low limit alarm LO_PRI Alarming The priority of the low limit alarm LOW_CUT 1 0 Option Scaling Tuning With an L_TYPE of Indirect Square Root use this parameter to establish a floor in per
80. _LIM OUT_HI_LIM SP_RATE_DN OUT_LO_LIM SP_RATE_UP SP_HI_LIM STATUS_OPTS National Instruments Corporation 4 7 NI FBUS Configurator User Manual Chapter 4 Parameters Mode Shedding Parameters Mode shedding parameters handle communication failures with a host For remote modes in which a host application periodically writes the cascade input FOUNDATION Fieldbus provides mode shedding to handle failure of the host application For the RCas mode and ROut modes the resource block contains the following two timeout parameters SHED_RCAS and SHED_ROUT If the block is in a remote mode and the block input being used RCAS_IN or ROUT_IN is not updated within the timeout period the block sheds to a higher priority mode The SHED_OPT parameter defines the block actions when mode shedding occurs as described in the table below Table 4 6 Mode Shedding Parameters RCAS_IN SHED_OPT RCAS_IN_D SHED_RCAS ROUT_IN SHED_ROUT The shed condition ends when the host writes the remote input parameter If you select a normal return shed option the block attempts to enter the original remote mode If you select a no return shed option the target mode changes 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 Option Parameters Table 4 7 Option Parameters
81. a measurement of the state of the process such as temperature or level For AO blocks the process value is the current setpoint of the block The process value or primary value for this block For DI and discrete control blocks this represents a measurement of the discrete state of the process For DO blocks the process value is the current discrete setpoint of the block PV_FTIME Scaling Tuning The filter time in seconds used in input blocks For analog blocks it is the time constant for a low pass exponential filter used to damp out rapid oscillations in the input value before using it as the process variable For discrete blocks it is the time the PV must remain constant after a change for the change to be reported NI FBUS Configurator User Manual 4 26 ni com Chapter 4 Parameters PV_SCALE Scaling The scaling parameter used by the process variable of the block Converts from percent of scale to a process variable in engineering units Contains the same subfields as OUT_SCALE PV_STATE Process Index to the text describing the state of a discrete PV RA_FTIME Tuning The filter time constant in seconds for the value to be used in the ratio RATE Tuning The time constant for the derivative component of the PID block A zero disables the derivative term The units are seconds RCAS_IN Mode Shedding Process The cascade input for a control or output block set by a remote host This is propagate
82. ace Configuration utility advanced settings for a port in the DLME Master Info section The following diagram shows how the LAS determines the list Addresses Z Z 0x10 Address Polled for New Devices NumOfUnpolledNodes FirstUnpolledNode Oxff In other words FirstUnpolledNode tells the LAS the beginning of a region of addresses not to probe and NumOfUnpol ledNodes tells the LAS the length of that region So if FirstUnpolledNode was 0x25 and NumOfUnpolledNodes was Oxba then no addresses from 0x25 to Oxdf would be probed That means that if a device with an address of 0x25 were National Instruments Corporation B 9 NI FBUS Configurator User Manual Appendix B Troubleshooting and Common Questions placed on this bus the LAS would not probe it and it would never be able to send or receive packets on the bus 3 Note The reason to have aNumOfUnpolledNodes whose value is nonzero is as follows The LAS probes every address in the list then starts over again at the beginning Because a device cannot come on the bus until its address is probed if the LAS is probing all 255 16 1 240 possible addresses and each probe node request goes out every T milliseconds it might take 240T milliseconds for a device to get on the bus If however the LAS probed only the first 16 addresses and the last 16 addresses it might take 32T milliseconds for the device to get on the bus this results in the new device being
83. ady taken NIFCONF_ERR_BAD_WIRE This wire is not completely attached to an output and input s NIFCONF_ERR_BLOCK_SCHEDULE_CONFLICT A block in this device is already scheduled for this time Do not schedule more than one block in the device at the same time NIFCONF_ERR_BUF_TOO_SMALL The buffer is too small NIFCONF_ERR_CONFIGURING You are configuring this project If you get this error stop configuring the project to continue NIFCONF_ERR_CONFUSED_WIRE This wire is not working The NI FBUS Configurator has removed it NIFCONF_ERR_CORRUPT_FILE The NI FBUS Configurator found a corrupt file object NIFCONF_ERR_COULD_NOT_DETERMINE_SCHEDULE The NI FBUS Configurator cannot fit the schedule of the loop into the current schedule Usually insufficient time or poor choice of loop times cause this error Use integer multiples such as 1 2 4 and so on instead of multiples like 5 7 13 and so on to solve this problem NI FBUS Configurator User Manual A 4 ni com Appendix A Error Messages and Warnings NIFCONF_ERR_COULD_NOT_START_THREAD The NI FBUS Configurator is unable to start a new thread NIFCONF_ERR_DD_SIZE_MISMATCH The actual data size does not match the device description data size NIFCONF_ERR_DEVICE_NOT_ALIVE The device is not responding NIFCONF_ERR_DOWNLOAD_INCOMPLETE The link is only partially configured NIFCONF_ERR_DUPLICATE_ADDRESS The address for this device was found elsewhere in the
84. al Instruments Corporation 2 5 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator A Caution The NI FBUS Configurator creates offline devices on the basis of ffo and cff files If you use incorrect ffo or cff files to create offline devices the devices may not work properly 3 Note You must configure offline interfaces before adding interfaces to the project and adding offline devices to the interfaces Refer to the Configure Offline Interface section of Appendix E NI FBUS Interface Configuration Utility to learn how to configure interfaces through NI FBUS Interface Configuration Utility Y Tip To assure the device type list indicates the latest cff files click the Refresh button on the toolbar of the device type window Click the Hide Device Type Window button to hide the device type window when not adding offline devices Take Link Online Taking a link online moves an offline link to the online state You can take a link online before downloading the offline configuration to the field network To take a link online complete the following steps E 1 Select an offline link and click the Take Online button on the toolbar or right click the offline link and select Take Online The Assign Devices dialog box appears as shown in Figure 2 2 Assign Devices 7 Select Online Link My System interface2 0 v Interface device M Assigned device Offline Device Offline Addr Online Device Online Addr
85. al device settings to the project Click the Done button 2 42 ni com Chapter 2 Using the NI FBUS Configurator Compare Two Configurations Check for Errors You can upload your current bus configuration and compare the configuration against a currently open saved project To compare the current bus configuration and a project click the Verify and Diff button in the configuration tree toolbar You also can select Configure Verify and Diff Configuration You also can compare two different configurations Right click the link and select Compare Configurations To filter the resulting report select the desired boxes in the Filter Options menu With verifying and diffing the NI FBUS Configurator creates a difference report between the contents of your currently loaded project and the bus The difference report includes device parameters function block parameters function block schedules function block application linkages and alarm and trend connections If the NI FBUS Configurator encounters any errors while the NI FBUS Configurator is creating the report The report returns these errors first The related portions of the difference report may be incomplete due to the errors A standalone window displays the report as a tree with branches Expand the branches by clicking the sign Each line of the report may have different color Yellow represents new items New items are items that appear on the bus but not in the curre
86. ameter links to an output of an upstream block In some blocks this parameter may be left unlinked The block uses a local setpoint value typically SP_D instead CHANNEL 1 0 Process Used by I O function blocks to select a physical I O channel The manufacturer defines the mapping CLR_FSTATE Faultstate Option Writing Clear to this parameter causes the device wide faultstate to be cleared and output blocks to resume normal execution Also refer to the SET_FSTATE and FAULT_STATE parameters CONFIRM_TIME Alarming The lower bound on the time the device waits to send alert report messages if no confirmation is received from a host CONTROL_OPTS Option Scaling A list of options used to adjust the way control blocks such as the PID block operate Table 4 11 Control Options Options Description Bypass Enable If set lets you 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 SP PV Track in LO or IMan Causes the setpoint to track the process variable in LO or IMan NI FBUS Configurator User Manual 4 14 ni com Chapter 4 Parameters Table 4 11 Control Options Continued Options Description SP Track Retained Target Causes the setpoint to track the input value of the retained target of th
87. an the Fieldbus alarms window you must create Lookout alarm objects Open Find Project Using NIFB If you want to load a saved process file refer to the Open an Existing Project section of Chapter 2 Using the NI FBUS Configurator for instructions One thing that is often confusing is knowing which configuration tree you are in If you have multiple configuration files open and then open the Function Block Application Editor window you can often lose track of which configuration file they are manipulating Notice that the name of the active file appears in the title bar Choosing File Close will close that file The additional windows Schedule Function Block Application Editor window and so on to the right correspond to the active configuration file If you need to shut down NIFB and restart you do not have to shut down the NI FBUS Configurator After restarting NIFB you can reconnect by right clicking the link the top level in the hierarchy and selecting Take Online or Take Offline Restart Devices You can do a software restart of a device on board processor by double clicking the device resource block Under the Options tab you should find a RESTART parameter Changing this to Processor and writing changes will restart the processor NI FBUS Configurator User Manual B 16 ni com Appendix B Troubleshooting and Common Questions Using Fieldbus with Server Explorer Launch the Server Explorer Create
88. aracters that you should enter from the keyboard sections of code programming examples and syntax examples This font is also used for the proper names of disk drives paths directories programs subprograms subroutines device names functions operations variables filenames and extensions Bold text in this font denotes the messages and responses that the computer automatically prints to the screen This font also emphasizes lines of code that are different from the other examples Italic text in this font denotes text that is a placeholder for a word or value that you must supply Text in this font denotes a specific platform and indicates that the text following it applies only to that platform Contents Chapter 1 NI FBUS Configurator Overview Introduction to the NI FBUS Configurator ooconocnncnconconnconononcnnconnonncnnncnno ronca ncnn cnn ncnnonnos 1 1 NI FBUS Configurator Windows oooococcnonconnnoncnnnonncononononnconncnn con ncan ono nonnn ronca rro ncnccnncnnos 1 1 Device Type Teror ati ida 1 3 Configuration Tres iii o 1 3 Help WOW ia id aa EEA reia 1 4 Status Wind Weena ra ar e elie eae eae r A 1 4 Status Taban a ia 1 4 Download Tabie E E ii 1 4 Errors Vai eder esie Er E a e AA 1 4 Assignment Tab rosin a ta 1 5 Device Live laist Tabarani neiger ae E AR E E ER 1 5 Middle Frame iia A aM A ee hee ald 1 6 Function Block Application Editor WindOW cooocnccconnnononnnonnnnnonncnanonncnnninnon 1 8 Schedule Wind
89. arameters appear on multiple tabs The tabs and their contents that you see will vary depending on the type of block you select NI FBUS Configurator User Manual 1 12 ni com Chapter 1 NI FBUS Configurator Overview You also can customize the tabs of the block configuration window You can add or delete tabs change the tab order in the window and add or remove any block parameters from a tab For more information refer to the Categorizing Block Parameters section of Chapter 2 Using the NI FBUS Configurator Note When you customize a tab of the block configuration window that customization applies to all blocks of the same type even in other projects Block Configuration Window Units Some information in the block configuration window is presented in time however units are not explicitly shown The units are 1 32 of a millisecond For example if Execution Time is listed as 736 you should divide 736 by 32 to get the execution time of 23 8 milliseconds National Instruments Corporation 1 13 NI FBUS Configurator User Manual Using the NI FBUS Configurator Start the NI FBUS Configurator and NIFB Process 1 Install and configure the software and any FouNDATION Fieldbus interfaces as instructed in the getting started manual 2 Install device descriptions as instructed in your getting started manual 3 Install and wire your FoUNDATION Fieldbus device s as instructed in the documentation that came with your
90. ard is also included in this list Example 2 Download a Schedule to an Interface 1 Ze NI FBUS Configurator User Manual Complete all the steps in the Example 1 Get a Device List section Select an interface board by clicking an entry in the device list that has an asterisk on its left Click the Open Device button A new dialog box appears with the identifying information for the interface board already filled in Click the Open Device button on the new dialog box If the call completes successfully a new icon for the device descriptor appears in the tree structure on the screen D 2 ni com Appendix D NI FBUS Dialog Utility Right click the new device icon and select DownloadLASSched Browse to open the schedule file for your device Click the Load amp Activate button A new dialog box appears with identifying information for the device already filled in In the new dialog box click Browse to locate the ini file that contains the LAS schedule you want to download or enter the full path to the file if you know it Click the Download button The NI FBUS Communications Manager downloads the schedule to the interface board and activates it immediately Example 3 Read a Parameter Using TAG PARAM Access 1 Z 3 National Instruments Corporation Open the NI FBUS Dialog utility Click the Actions menu and select Open Session Click the Open Session button If the call succeeds the NIFB process in runnin
91. arming e ennaa ia ETR E 4 16 DV LO_ElM Alarming luli a ee e E E a eieaa 4 16 DV LO2PRE TO 4 17 FAULT_STATE Faultstate Option ooocooocococcconccnonnconnnonnnannnnconacanccnnnccnnccnnns 4 17 FEATURE_SEL FEATURES Diagnostic Option ooooonoccconccconcnonccnonaconncnnno 4 17 FF_GAIN Scaling Tuning 0 eee ec ceeceecseeeseeseesseesseeaeceseeseeeesseseaeeaes 4 17 FE SCALE Saline evocaci n vesstetes secede a a diiniita TEES a ERAS aaas 4 18 FF_VAL Process Scaling TUNINY ooooconnconnccconccnoncconnnonnnannnnconocanccnonccnnccnnns 4 18 FIELD_VAL Process Scaling TUNINE oooncononccnonnnonnconnncnancnnnononccinnccnnccnnns 4 18 FIELD_VAL_D Process Scaling TUNINY oonccnnnncnncnnocncnnnnconcconaconnaconnnonnos 4 18 FREE_SPACE Diagnostic Process ooocccncoccococoncconanonnncnnnccnnnconnoronccnnncconccnnns 4 18 FREE_TIME Diagnostic Process cccssccssceesceceseceeeeeneeceseeeseeceseesneeeanee 4 18 FSTATE_TIME Faultstate Option oooconocococccoonanonononcconanononcnonaroncconcconnncnnos 4 18 FSTATE_VAL Faultstate Option ooooooccoocccococonaconanonnncnncconnnconcconanonncconcanonos 4 18 FSTATE_VAL_D Faultstate OptiOM oooocccooccnocononcconcnonnnanoncnonarancconnccnnncnos 4 18 NN NN 4 19 GRANT DEN Y OPtON comisaria eros airis 4 19 NI FBUS Configurator User Manual viii ni com Contents HARD TYPES JO Process lucio io dd 4 19 FAL ATM Alarming asihin aoaaa kiri eieaa ogi R Aa a 4 19 HI HAT AL
92. ation of the updates to input parameters and mode parameters of function blocks 3 4 1 On the Function Block Application Editor toolbar click the Monitor button or select Configure Monitor This option is available only when the Function Block Application Editor is active In the monitor window select the types of items you want the NI FBUS Configurator to monitor and display Modify the update rate as desired Click the Start Monitoring button to monitor the application The NI FBUS Configurator outlines the mode box for a block in red if the actual mode for the block does not match the target mode which assists in quickly diagnosing system problems Verify a Configuration Quick Verification You can perform a quick check to verify that the parameters on the bus match those in the project for a particular link device or function block 1 Right click the desired object in the configuration tree and select Simple Verify Configuration Click the Verify button The NI FBUS Configurator compares the project settings to the actual settings for the selected object and displays the result in the Result field AN Caution Clicking Upload Changes button modifies the currently open project to match the devices You cannot revert this modification NI FBUS Configurator User Manual If the object settings in the device do not match the project settings you can click the Upload Changes button to upload the actu
93. aves the output value at its current setting Use Faultstate Value on When set causes the output value of output blocks to go to faultstate value immediately after a device restart When clear uses the value in nonvolatile memory Active Target to Man if Faultstate When set sets the target mode of the block to manual mode when faultstate goes active Use PV for BKCAL_OUT When set uses the process variable as the value for BKCAL_OUT instead of the setpoint Low Cutoff When set enables the AI low cutoff parameter ITK_VER L_TYPE Scaling The version of the Interoperability Test Kit with which this device was tested The linearization type This parameter affects the way the value from the transducer is linearized in the analog input block before it is presented as the block output In all cases the FIELD_VAL parameter behaves as follows FIELD_VAL 100 transducer_value XD_SCALE EUO XD_SCALE EU100 XD_SCALE EUO FIELD_VAL can be simply described as the percentage of span reading from the transducer and therefore its units are percent O National Instruments Corporation 4 21 NI FBUS Configurator User Manual Chapter 4 Parameters Table 4 15 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 O
94. ble 4 14 CYCLE_SEL parameter 4 15 CYCLE_TYPE parameter 4 15 DD_RESOURCE parameter 4 15 DD_REV parameter 4 15 DEV_REV parameter 4 16 DEV_TYPE parameter 4 16 diagnostic parameters 4 2 DISC_ALM parameter 4 16 DISC_LIM parameter 4 16 DISC_PRI parameter 4 16 DV_HI_ALM parameter 4 16 DV_HI_LIM parameter 4 16 DV_HI_PRI parameter 4 16 DV_LO_ALM parameter 4 16 DV_LO_LIM parameter 4 16 DV_LO_PRI parameter 4 17 export and import 2 45 FAULT_STATE parameter 4 17 faultstate parameters 4 2 FEATURE_SEL FEATURES parameter table 4 17 FF_GAIN parameter 4 17 FF_SCALE parameter 4 18 FF_VAL parameter 4 18 FIELD_VAL parameter 4 18 FIELD_VAL_D parameter 4 18 FREE_SPACE parameter 4 18 Index 6 FREE_TIME parameter 4 18 FSTATE_TIME parameter 4 18 FSTATE_VAL parameter 4 18 FSTATE_VAL_D parameter 4 18 GAIN parameter 4 19 GRANT_DENY parameter 4 19 HARD_TYPES parameter bitmasks table 4 19 HI_ALM parameter 4 19 HI_HI_ALM parameter 4 19 HI_HI_LIM parameter 4 19 HI_HI_PRI parameter 4 19 HI_LIM parameter 4 20 HI_PRI parameter 4 20 T O parameters 4 7 IN parameter 4 20 IN_1 parameter 4 20 initialization requirements 4 9 IO_OPTS parameter operation bitmasks table 4 20 ITK_VER parameter 4 21 L_TYPE parameter linearization types table 4 22 LIM_NOTIFY parameter 4 22 limiting parameters table 4 7 LO_ALM parameter 4 22 LO_LIM parameter 4 22 LO_LO_ALM parameter 4 22 LO_LO_LIM parameter 4 22
95. cation schedules do not have enough time between them Complete the following steps 1 Edit the schedule to add more time between the function block and communication schedules To edit the schedule double click the Schedule icon in the configuration tree For more information about editing the schedule refer to the View and Edit a Schedule section of Chapter 2 Using the NI FBUS Configurator 2 After you edit the schedule select Configure Download Configuration to download the changes For more information about downloading the configuration refer to the Download a Project Configuration section of Chapter 2 Using the NI FBUS Configurator The PID does not transition to Auto mode If the status of an OUT or BKCAL_OUT parameter on an AI or AO block is Bad Not Connected or Bad No Comm or the downstream block is not in cascade mode complete the following steps 1 Use the Monitor mode to make sure that the AI and AO blocks are publishing correct values 2 Make sure that the LAS executes the communication schedule Use monitoring mode to view the modes inputs and outputs of the block If the LAS is not executing the schedule select Configure Download Configuration to download the configuration National Instruments Corporation B 1 NI FBUS Configurator User Manual Appendix B Troubleshooting and Common Questions For more information about downloading the configuration refer to the Download a Project Configura
96. ce This is usually a memory problem NIF_ERR_RPC_LOST_CONNECTION The connection to the remote target is lost Check the network or the remote target NIF_ERR_RUN_MODE_REQUIRED The NI FBUS Communications Manager is not in the Run Mode Launch the NI FBUS Interface Configuration Utility to switch the current mode to the Run Mode NIF_ERR_SERVER_CONNECTION_LOST The session established with NI FBUS for this descriptor has been closed or lost NIF_ERR_SERVER_NOT_RESPONDING Either the NI FBUS server has not been started or the server in its current state cannot respond to the request NIF_ERR_SM_NOT_OPERATIONAL The device is present but cannot respond because it is at a default address NIF_ERR_SYMBOL_FILE_NOT_FOUND NI FBUS could not find the symbol file NIF_ERR_TIMEOUT The device containing the object is present but did not respond within the timeout period NIF_ERR_WRITE_IS_PROHIBITED The device reported that the WRITE_LOCK parameter value is set The WRITE_LOCK parameter prohibits writing to the name parameter O National Instruments Corporation A 3 NI FBUS Configurator User Manual Appendix A Error Messages and Warnings NIF_ERR_WRONG_MODE_FOR_REQUEST The device reported that the current function block mode does not allow you to write to the parameter NIFCONF_ERR_ADDRESS_OUT_OF_RANGE This address does not fit in the allowable range of addresses NIFCONF_ERR_ADDRESS_USED This address is alre
97. cent of scale for values from the transducer Values below this floor are considered to be zero This feature must first be enabled by setting Low Cutoff in the IO_OPTS parameter 3 Note The 10_Opts parameter Low Cutoff must be enabled MANUFAC_ID Diagnostic The ID of the manufacturer of the device For National Instruments devices it is 0x4E4943 The parameters MANUFAC_ID DEV_TYPE DEV_REV and DD_REV are used in combination for a host tool to locate the Device Description for this device MAX_NOTIFY Alarming The maximum number of unconfirmed alarm event notification messages the device supports MEMORY_SIZE Diagnostic Unused by FieldPoint MIN_CYCLE_T Diagnostic Process The length of the shortest macrocycle the device supports MODE_BLK Diagnostic Process Sets the operational and permitted modes of the block The following table describes the operational and permitted modes of the block National Instruments Corporation 4 23 NI FBUS Configurator User Manual Chapter 4 Parameters Table 4 16 Field Modes Field Mode Description TARGI ET The desired mode of operation of the block This field is writable Several bits may be set in this field and typically the highest priority bit that is set will be considered to be the target mode oos is the highest priority bit ACTUAL A bit reflecting the current state of operation of the block This is a read only fi
98. ces or other project challenges National Instruments Alliance Partner members can help To learn more call your local NI office or visit ni com alliance You also can visit the Worldwide Offices section of ni com niglobal to access the branch office Web sites which provide up to date contact information support phone numbers email addresses and current events National Instruments Corporation H 1 NI FBUS Configurator User Manual Glossary Symbol Prefix Value m milli 103 k kilo 103 Numbers 4 20 mA system A A Actuator Acyclic communication Address Al Alarm Alarm condition Alert Analog AO API National Instruments Corporation Traditional control system in which a computer or control unit provides control for a network of devices controlled by 4 20 mA signals Amperes A device that translates electrical signals into mechanical actions Unscheduled communication on the bus Character code that identifies a specific location or series of locations in memory Analog Input A notification the NI FBUS Communications Manager software sends when it detects that a block leaves or returns to a particular state A notification that a Fieldbus device sends to another Fieldbus device or interface when it leaves or returns to a particular state An alarm or event A description of a continuously variable signal or a circuit or device designed to handle such signals
99. ch the NI FBUS Configurator Bring up the block in question the NI FBUS Configurator will show some block types as UNK this is expected Add the new tab s 8 Close the block configuration window say Yes to Save custom changes ON RS 29 BS x 9 Close the NI FBUS Configurator Do not save the project 10 Launch the NI FBUS Interface Configuration utility again 11 Restore the device description base path that you wrote down in step 3 12 Restart NIFB and launch the NI FBUS Configurator The new tabs should show up in the block configuration window Missing Function Blocks Only some Fieldbus devices and configuration software support the instantiation creation and deletion of function blocks Most devices are shipped with hard coded function blocks The NI FBUS Configurator detects the difference automatically The function blocks in the NI FBUS Configurator show up as unknown UNK Information is stored in Device Description DD files that describe the function blocks available on the device This data is stored in two files the o definitions and the sym names You import device O National Instruments Corporation B 13 NI FBUS Configurator User Manual Appendix B Troubleshooting and Common Questions descriptions in the NI FBUS Interface Configuration utility There is an Import DD button that will copy the ffo and sym files into the correct directory Files install under C NIFBU
100. checkbox 2 Select the poll rate from the drop down list next to the Periodic Updates checkbox The NI FBUS Configurator updates all block parameter values at that rate 3 An icon at the upper left corner of the block configuration window blinks green to indicate you selected Periodic Updates ay Note Ifyou select a fast update rate the NI FBUS Configurator may not read from the bus at this rate due to bus traffic especially if you are already running a process NI FBUS Configurator User Manual 2 18 ni com Chapter 2 Using the NI FBUS Configurator Create and Edit Function Block Applications Function blocks contain an algorithm and multiple parameters to control a process The block diagram displays names of input and output parameters of a function block as shown in the following figure PidBlock PID PIN gt CAS IN P BKCAL IN PTRK IN D PTRK VAL PFF VAL The pointers on the outside of the parameters show the data flow direction of that parameter By default the block tag is at the top the inputs are on the left and the outputs are on the right You can resize the block and move the block s tag relative to the block Add Blocks to the Function Block Application To add blocks to the Function Block Application Editor window complete the following steps pr 1 Double click the Function Block Application icon in the configuration tree 2 Drag blocks from the configuration tree to the Function
101. chedules for function block execution and communication When you download a configuration the NI FBUS Configurator sends the following information over the bus Communication schedule for the LAS Function block execution schedule for devices Function block linkages Alarm configuration Trend configuration Static parameters Complete the following steps to download your project configuration a 1 National Instruments Corporation Click the Download Project button in the configuration tree toolbar or select Configure Download Configuration The Download Configuration dialog box appears Select the configuration object to download Click the Link Masters button to set link masters to receive the primary LAS the primary time master of the link and the LAS The Network Parameters dialog box appears Optional Check the appropriate checkboxes for the download options Refer to the Download Options section for more information In general you should use Clear Devices and Automatic Mode Handling on all downloads To download your configuration changes to the network click the Download button The Download Status progress bar shows what percentage of the configuration is complete While downloading the NI FBUS Configurator displays and updates the Download tab in the status window This window shows the current device name current device settings and configure result If you did not check the Automatic Mode Handling chec
102. ction for more information on creating templates e Check the Use Template CHANNEL values checkbox and choose Yes use values to change the function block parameter values to match all the template parameters including the CHANNEL parameters e Click the Decide Later button to perform no actions but ask the same question for each individual function block when you actually fill the template 3 Tip If you select the Decide Later option you can later browse the template parameter values by right clicking the template block outline and choosing Open or by double clicking the block While the Function Block Application Editor window highlights the template you can drag the template to the desired location Tip Moving the mouse just outside of the Function Block Application Editor window while dragging blocks scrolls this window 3 The following figure shows an example of two templates The template on the left illustrates the appearance of a template when you place the template The template on the right illustrates the appearance of a template when you fill the template NI FBUS Configurator User Manual 2 24 ni com Chapter 2 Using the NI FBUS Configurator Y interface0 0 Function Block Application Loop Time 1 sec al Stale Limit 1 ik 4 e RA a E Qu Sa Template ED EJA AT1 AD Alarms gt Trends gt Open Replace with gt 30515 gt 3051 AL A p ED EJA1OO 3051_AL_2 AD
103. ctively Other settings to try are 0x60000 0x60000 and 0x35000 If these parameters are set inappropriately an identify message can go out before the device is at its address resulting in the device missing its chance to identify itself This problem causes the Set Address sequence to fail This problem has in particular been seen with the Fisher Rosemount 3244MS rev3 How can I get a slow device onto the bus There are timing parameters MIB parameters that can be set for the link including the minimum interPDU delay the maximum response time and NI FBUS Configurator User Manual B 6 ni com Appendix B Troubleshooting and Common Questions the slot time This allows you to accommodate devices with slower response times I am getting an error DD_SIZE_MISMATCH_ERROR The device description file installed in your machine does not match the device 1 Open the resource block for the mismatched device 2 Check the MANUFAC_ID DEV_TYPE DEV_REV and DD_REV 3 Open the NI FBUS Interface Configuration utility and click the DD Info button 4 Find the ffo file in the base directory for the device description 5 Compare the ffo revision number with the manufacturer ID device type device revision and device description revision from the resource block If the revisions are different import the device description file for the correct revision of the device If they are the same revision contact the device ve
104. d eae ct 4 25 OUT HIL EIM Emitidos 4 25 OUT EO EIM Eamiting a ei a a EARE ER R aS 4 25 OUT SCALE Scala iii 4 26 OUT STATE Procesan i 4 26 PV Process Scaling TUNINY ooconnoninnnononononnconnnoncnnnonncan cnn cnno ronca non nc nconncnn 4 26 PVD PIOCESS leticia ria aja 4 26 PV_FTIME Scaling Tuning ccssscsssscsscsssesrsscsesesecscsonssenssesonseenerens 4 26 PV SCALEAScalin nuit 4 27 PV STATE PrOCES cai dde 4 27 RA FTIME TUDO sellada inde caseeecadasaatavasdevessssesessasoshssebeavaiabasas 4 27 RATE Foam aia 4 27 RCAS_IN Mode Shedding Process ooooccconcconcconancnoncnonanoncnonnncnnnarnnncnnccnnnos 4 27 RCAS_IN_D Mode Shedding Process oooonccnonconocncoccconncnnncconcnonncnnncnonacinos 4 27 RCAS OUT CRroceSs ici dl acia deis 4 27 REAS QUT BD PrOGesS deci id 4 27 READBACK Scaling TUNINY ocononocononnonconnnonconncnnonnnonncnnnonn conc cnnonnncnnornncnnoss 4 28 O National Instruments Corporation ix NI FBUS Configurator User Manual Contents READBACK_D Scaling Tuning eee eee seeeeecseceseeeeeseeseesseenseeatenes 4 28 RESET TUD leeis 4 28 RESTART Diagnostic OptiOM ooooccoccoocooncnanconannnonnnonncnn cnn nonanonnonnnonncnnncnncnnos 4 28 ROUT_IN Mode Shedding Process oooooocccocccoccconanononconcconanconccnonccanancnnnannos 4 28 ROUTZ OUT Process ra rias 4 28 RS_STATE Diagnostic Process cooocnoccconcnconnconccnoncconcconnnannncconoconccnnncconccnnns 4 28 SEL_1 throu
105. d to the setpoint of the block when it is in RCas mode If the block is in RCas mode and this parameter is not updated in SHED_RCAS time a parameter in the resource block the block enters mode shedding Mode shedding allows the block to degrade from RCas mode into some higher priority mode RCAS_IN_D Mode Shedding Process The discrete cascade input for a control or output block set by a remote host This is propagated to the setpoint of the block when it is in RCas mode If the block is in RCas mode and this parameter is not updated in SHED_RCAS time a parameter in the resource block the block enters mode shedding Mode shedding allows the block to degrade from RCas mode into some higher priority mode RCAS_OUT Process The back calculation output used by the supervisory host when establishing a Remote cascade loop RCAS_OUT_D Process The discrete back calculation output used by the supervisory host when establishing a Remote cascade loop National Instruments Corporation 4 27 NI FBUS Configurator User Manual Chapter 4 Parameters READBACK Scaling Tuning The valve or actuator position read back from the transducer in transducer units READBACK_D Scaling Tuning The transducer state for the actual discrete valve or actuator position RESET Tuning The time constant for the integral component of the PID block It is measured in seconds per repeat so larger values have less effect and INF effec
106. detailed information NI FBUS Configurator User Manual 2 4 ni com Chapter 2 Using the NI FBUS Configurator H Fisher Controls Flowserve 5 Flowserve Automax 15 Fuji Electric Co Ltd General Electric 5 HMS Industrial Networks Ge Honeywell H HuaKong Technology H ISE MAGTECH F KNICK 15 KROHNE K TEK E B Limitorque Corporation B Magnetrol International E B METTLER TOLEDO Micro Motion Inc H Microcyber Inc National Instruments w 3201 EDDL Simulator WR 4005 Fieldbus Network Controller FP 3000 R03 add Device 5 Neles Jamesbury Refresh H Ohmart Vega Corp E B OVAL Corporation Properties H Pepperl Fuchs i PR Electronics 5 Rosemount Analytical Inc Rosemount Inc ROTORK Bs Bes E SAMSON AG ae SIEMENS AG SMAR Softing GmbH fe SPIRAX SARCO ITALY Figure 2 1 Adding an Offline Device 3 When you add an offline device to the configuration tree the Add device window prompts you to set the FBUS network address and tag of the offline device The NI FBUS Configurator sets the default values The NI FBUS Configurator checks the default address and tag to ensure the address and tag do not conflict with other devices You also can set a different address and tag Click OK to add this offline device Add device E New Address 20 0x14 y New Tag Length lt 32 National Instruments_400 Cancel Nation
107. device Image Display a graphical image in a pop up dialog File El Describe an area of persistent storage Edit Display EZ Group data items together during editing in a pop up dialog Array amp Record Ez Show a logical group of variables or values in a pop up dialog Variable Fa Show selected items variables unit and write as one relations item arrays collections and programs in a pop up dialog Other 3 Show selected items refresh relations variable lists response codes and domains in a pop up dialog NI FBUS Configurator User Manual 2 32 ni com Chapter 2 Using the NI FBUS Configurator An EDDL dialog window box supports the following item types Table 2 2 Item Types Supported by an EDDL Window Dialog Box Item Type Note Page Shown as a tab page with all sub items in it Group Page or Group s sub item Shown as a group box with all sub items in it Chart Page or Group s sub item Displays real time continuous data values from the device It may be displayed as a time based chart a gauge a horizontal bar or a vertical bar Graph Page or Group s sub item Displays the static data stored in the device Image Page or Group s sub item Displays a graphical image Button Page or Group s sub item Defines an action to be executed It could be a nested dialog window or a method Variable Page or Group s sub item Displays the variable or the ele
108. e Programmable Logic Controller PT Publisher Publishing schedule PV NI FBUS Configurator User Manual A single 8 bit value See Object Dictionary Not connected to or installed in the computer Out of Service mode OLE for Process Control A block parameter that sends data to another block One of a set of network visible values that makes up a function block Personal Computer Personal Computer Memory Card International Association Proportional Derivative Protocol Data Unit Proportional Integral Derivative A common control function block algorithm that uses proportions integrals and derivatives in calculation See Programmable Logic Controller Probe Node To repeatedly inspect a variable or function block to acquire data A communications connection on a computer or remote controller A common Fieldbus function block parameter representing some value in the process being controlled A device with multiple inputs and outputs that contains a program you can alter Pass Token A device that has at least one function block with its output value connected to the input of another device Determines when data members are published over the Fieldbus Process Variable Glossary 8 ni com R RA Resource block S s Sample type Scheduled cyclic communications Segment Sensor Server Service Session Stack Stale Subscriber Symbol file National Instruments Corporation Glos
109. e block The retained target of the block is the lowest priority mode set in the target mode field of the MODE_BLK parameter of the block For example if the RCas bit is set in the target mode the setpoint tracks RCAS_IN Direct Acting Defines the relationship between changes to the Pv and changes to the output For example consider a case with a fixed SP while the process variable varies When Direct Acting is set an increase in the process variable causes the control block output value to be increased When Direct Acting is clear an increase in the process variable causes the control block output value to be decreased Track Enable Enables external tracking If Track Enable is true and TRK_IN_Dis true TRK_VAL overwrites the value at the output of the block except when Man is the target mode Track in Manual Enables tracking in Manual mode Use PV for BKCAL_OUT When set uses the process variable as the value for BKCAL_OUT instead of the setpoint Obey SP Limits if Cas or RCas When set confines the setpoint to values within SP_HI_LIM and SP_LO_LIM even when the setpoint comes from another function block No OUT Limits in Man Unused in FieldPoint CYCLE_SEL Tuning Identifies the block execution methods available CYCLE_TYPE Tuning Use this parameter to select the block execution method DD_RESOURCE Diagnostic Unused in FieldPoint DD_REV Diagnostic The re
110. e this number by 32 to get the maximum execution time in milliseconds For example 1f the maximum execution time for a block is 192 dividing this number by 32 gives 6 ms maximum execution time O National Instruments Corporation 2 29 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Changing the Block Execution Order To change the execution order of the blocks complete the following steps pe 1 Inthe Function Block Application Editor click the Execution Order button Numbers appear on the blocks indicating their current order as shown in the following figure Loop Time 1 sec Stale Limit 1 vJ a ae u ie A Ole Qu 2 Click the blocks in the order that you want these blocks to execute Click in the background of the Function Block Application Editor or select another tool The schedule changes accordingly For more information refer to the View and Edit a Schedule section NI FBUS Configurator User Manual 2 30 ni com Chapter 2 Using the NI FBUS Configurator Setting the Stale Limit Stale Limit 1 Click the Stale Limit field to adjust the number of consecutive duplicate values that a function block accepts before the block labels the input data as stale or old data Using Menus and Methods The NI FBUS Configurator supports user methods These methods are a sub set of the FOUNDATION Fieldbus Menus and Methods specification User methods are the methods you explicit
111. e to the TARGET mode first verify that you have downloaded the configuration to the device If the configuration has been downloaded you can diagnose the problem by looking at the BLOCK_ERR parameter of the function block This parameter often identifies the problem For example if the device resource block is off line the BLOCK_ERR parameter should read Resource Block Offline indicating that you must change the resource block to Auto mode before you can change the function block mode Why are discrete states integers instead of booleans Because it allows for multiple state discrete functionality such as off turning on on and turning off Not all devices take full advantage of this Because these parameter values are integers they show up in your HMI as analog Bad Status You receive a status of Bad Device Failure An error exists with the hardware Set the RESTART parameter in the block configuration window to Processor or Default If the problem persists replace the device National Instruments Corporation B 3 NI FBUS Configurator User Manual Appendix B Troubleshooting and Common Questions PID block shows bad quality e The function block is not actually executing on the device Make sure you placed it in the Function Block Application Editor window and downloaded the project e The PID is not subscribing correctly Go to the schedule and pull the blocks apart a bit to allow more time Make sure that the
112. ed The NI FBUS Configurator replaces the missing device with the replacement device When you download your changes the original device settings including linkages tags and parameter values overwrite the settings of the replacement device Reset a Device to Factory Defaults You can clear a field device to reset the device to a state appropriate for shipping To reset a device right click the device name in the configuration tree and select Set to Factory Defaults from the menu that appears The NI FBUS Configurator clears the device and function block tags along with the device address The NI FBUS Configurator also clears all communication information in the device Change Device Type You can change the type of a device between basic device and master device To change the type of a device right click the device name in the configuration tree and select Change Device Type from the menu that appears 3 Note This feature only takes effect on the H1 online device NI FBUS Configurator User Manual 2 44 ni com Chapter 2 Using the NI FBUS Configurator Export amp Import Parameters You can batch edit parameters by using the Export amp Import Parameters feature This feature allows you to export all object parameters to a file such as link device block and so on This feature also allows you to import and change all updated parameter values To batch edit parameters using the Export amp Import Parameters fea
113. eld Only one bit will be set at a time by the block ACTUAL mode is a function of the target mode and the current conditions in which the block is executing Several conditions such as cascade initialization or fault state conditions can cause the ACTUAL mode to differ from the TARGET mode PERMITTED A bitmask indicating which modes are permitted target modes and which are not This field is writable This could be used by the plant operator to disallow certain modes the block would normally be permitted to have as a TARGET mode NORMAL Not used by the block This can be used by an operator to store the normal mode of operation for the block in normal plant operations This field is writable Used by the NI FBUS Configurator to set the TARGET mode after download when the Automatic Mode Handling feature is in effect Table 4 17 Operational Modes Operational Mode Description Out of Service 00S 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 This is not a valid TARGET mode but it is a valid ACTUAL mode Local Override LO Faultstate or an interlock is active and causing the output value of the block to be overridden
114. er the links Device Live List shows the link only when the corresponding box in the drop down list is checked O National Instruments Corporation 1 5 NI FBUS Configurator User Manual Chapter 1 NI FBUS Configurator Overview Middle Frame The contents of the middle frame are determined by what you choose to open there Double clicking certain items in the configuration tree causes a corresponding window to open in the middle frame The items in the configuration tree that open a window in the middle frame are Function Block Application Schedule or any device Double clicking a second item in the configuration tree opens another window on top of the first window in the middle frame To retrieve the first window you should minimize restore or close the second window using the resize buttons shown in Figure 1 2 NI FBUS Configurator User Manual 1 6 ni com Chapter 1 NI FBUS Configurator Overview sur ion ppl E File Network Parameters Configure View Window Help 8 Hide FBAP Grid Hide Help Back Ol B E amp BS 9 mua lowtine tee0 Hfst Linn 1 Ok gt soc a 1 My System lal EJA ALI AD 3 EA AM E a Anderson mean Co G a interface2 0 Al EH GE ASCO Controls LP ma gt EE ALA Por The Anale Use these Es E BEKA Associates A Input Al t E Buerkert K Function Block Application block take buttons to GS csr interface2 0 the
115. erneath the representation of the interface board Double clicking the MIB will bring up a block configuration window where these values can be changed Gl Make the interface PRIMARY_LINK_MASTER_FLAG parameter FALS Make the interface CONFIGURED_LINK_SETTINGS match those of the Rosemount device The values for the CONFIGURED_LINK_SETTINGS on the Rosemount transmitter are in order 10 6 5 37 0 12 186 2 1 0 4 At the time of publication Fisher Rosemount was advising customers to make the following changes to the advanced settings UN Caution Do not modify these parameters without good reason If you must modify parameters for certain devices the device manufacturer will recommend settings National Instruments Corporation B 11 NI FBUS Configurator User Manual Appendix B Troubleshooting and Common Questions Modifying these parameters can have an adverse affect on data throughput rates If settings are incorrectly modified some devices may disappear off the bus Table B 1 Rosemount Advanced Parameter Settings Parameter Value T1 0x17700 T2 0x1D4C00 T3 0x249F0 Slot Time 8 or higher Maximum Response Delay 3 or higher Minimum inter PDU Delay 12 or higher CONFIGURED_LINK_SETTINGS Make the same for all link masters on the link Missing Information A function block is missing symbolic information such as names and help strings The func
116. es button at the bottom of the window to write all the new values If the block contains previous configuration information you may receive a warning that the block is in the wrong mode for the request The following two reasons may cause this warning National Instruments Corporation The device accepts writing request to this parameter only in the oos mode Acknowledge the warning and click the OOS button to switch the device to the oos mode before clicking Write Changes again Change the block back to the original mode after you write the new values The NI FBUS Configurator tries to write an invalid value to a parameter Devices refuse invalid values You must identify the invalid parameter value and use a valid value instead 3 3 NI FBUS Configurator User Manual Chapter 3 NI FBUS Configurator Tutorials 11 12 23 13 14 NI FBUS Configurator User Manual Modify the scaling of the AO module Double click the AO function block Scaling for the AO block is similar to that of the AI block only in the reverse direction PV_SCALE and Pv for an AO block correspond to the OUT_SCALE and OUT of the AI block You can see these values on the bus PV_SCALE EU_100 400 EU_0O 100 Units_Index 2e Decimal 3 XD_SCALE EU_100 50 EU_0O 50 Units_Index mV Decimal 3 L_TYPEindirect Adjust the macrocycle of your configuration The macrocycle is the least common multiple of all the loop times on a link To edit the
117. eters 4 2 FEATURE_SEL FEATURES parameter table 4 17 FF_GAIN parameter 4 17 FF_SCALE parameter 4 18 FF_VAL parameter 4 18 FIELD_VAL parameter 4 18 FIELD_VAL_D parameter 4 18 Fieldbus using with Lookout B 15 using with Server Explorer B 17 FREE_SPACE parameter 4 18 FREE_TIME parameter 4 18 FSTATE_TIME parameter 4 18 FSTATE_VAL parameter 4 18 FSTATE_VAL_D parameter 4 18 Function Block Application Editor 2 19 adding additional applications 2 43 adding blocks 2 19 connecting function blocks wiring blocks manually 2 21 customizing function block application 2 22 export function block application image 2 26 opening 1 8 overview 1 8 templates 2 22 creating templates 2 26 inserting templates 2 23 function block modes See MODE_BLK parameter function blocks See also block configuration window block diagram 2 19 bringing online 2 41 National Instruments Corporation Index 3 Index creating basic connections to AI and AO blocks tutorial 3 2 determining execution time using loops 2 29 instantiation and deletion 2 11 missing function blocks B 13 missing information B 12 symbolic information B 12 G GAIN parameter 4 19 GRANT_DENY parameter 4 19 H HARD_TYPES parameter bitmasks table 4 19 help technical support H 1 window 1 4 HI_ALM parameter 4 19 HI_HI_ALM parameter 4 19 HI_HI_LIM parameter 4 19 HI_HI_PRI parameter 4 19 HI_LIM parameter 4 20 HI_PRI parameter 4 20 HS
118. figured an interface to receive them Use your configuration software package to do this Open the NI FBUS Dialog utility Click the Actions menu and select Open Session Click the Open Session button If the call succeeds the NIFB process in running and responding to requests and a new session descriptor is created under the Open Descriptors icon Right click the session descriptor icon and select WaitTrend A dialog box appears This dialog box waits until the NI FBUS Communications Manager receives a trend from any device on the bus The trend data is displayed in the Results box when the trend is received The Trend dialog continues to wait for and display trends as they are received until you close it with the Cancel button You can wait on trends from all types of descriptors not just session descriptors For example if you wait on a trend from a device descriptor the dialog box only displays trends coming from the device that the specified descriptor represents The same is true of link virtual field device and block descriptors To exit the NI FBUS Dialog utility select File Exit NI FBUS Configurator User Manual D 4 ni com NI FBUS Interface Configuration Utility This appendix briefly describes the NI FBUS interface configuration utility and gives how to use it NI FBUS Interface Configuration Utility Overview The NI FBUS interface configuration utility lets you configure your interfaces as well as impo
119. g and responding to requests and a new session descriptor is created under the Open Descriptors icon Right click the session descriptor icon and select ReadObject In the dialog box that appears enter the name of the parameter to read in the BLOCKTAG PARAM format where BLOCKTAG is the tag of the block containing the parameter and PARAM is the name of the parameter For example to read the out parameter of an Analog Input block called FT 201 enter FT 201 OUT Click the Read button to perform the read operation If the call completes successfully the NI FBUS Dialog utility automatically determines the type of the data and displays it in the Data box If the call fails the error message appears in the Result box Read by name Enter the name of the parameter in the BLOCKTAG PARAM format Read by index Enter the index of the parameter in the BLOCKTAG INDEX format where BLOCKTAG is the tag of the block containing the parameter and INDEX is the index of the parameter Read by device description item Enter the device description item of the parameter in the BLOCKTAG ITEM format where BLOCKTAG is the tag of the block containing the parameter and ITEM is the device description item of the parameter D 3 NI FBUS Configurator User Manual Appendix D NI FBUS Dialog Utility Example 4 Wait fora Trend ays Note You will not be able to receive any trends unless you have configured a device to generate them and con
120. g to network and hardware 3 1 creating basic connections to AI and AO blocks 3 2 PID control of simulated process 3 5 U uninstalling NI FBUS Configurator B 17 units of time in block configuration window 1 13 UPDATE_EVT parameter 4 33 uploading project configuration 2 8 user methods using 2 31 V Verify amp Diff option 2 41 verifying configuration checking for errors 2 43 comparing two configurations 2 43 quick verification 2 42 view modifying in block configuration window 2 16 troubleshooting problems B 15 viewing device properties 2 10 NI FBUS Configurator User Manual Index W warnings A 12 Web resources H 1 wiring function blocks wiring blocks manually 2 21 Write Contained Block Parameters 2 40 WRITE_ALM parameter 4 33 WRITE_LOCK parameter 4 33 WRITE_PRI parameter 4 33 X XD_SCALE parameter scaling parameter values table 4 34 XD_STATE parameter 4 34 NI FBUS Configurator User Manual Index 10 Z Zoom menu Function Block Application Editor 2 21 ni com
121. gging press the spacebar while wiring To zoom in and out click the magnifying glass icon To zoom in drag a rectangle around the area you want to enlarge To zoom out right click the background of the Function Block Application Editor window You also can select different zoom settings from the Zoom menu 4 Click the terminal to which you want to wire When you click the Wiring tool the NI FBUS Configurator performs type checking and highlights valid inputs and outputs when you move the cursor over inputs and outputs For instance the NI FBUS Configurator does not allow you to wire an analog output to a discrete input The following figure shows the BKCAL OUT output of the AO block being wired to the BKCAL IN input of the PID block National Instruments Corporation 2 21 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator E interface0 0 Function Block Application BAX Loop Time 1 sec Stale Limit 1 Orku SALKE eN EJA AL1 AD 3051_PID FID AOBlock AO OUT gt ee CAS IN OUT gt Alarms Pe CAS INJBKCAL OUT gt SECAL OUT Trends P gt BKCAL IN p Alarms J gt AU yy TFK IN D Trends J gt EA TRK VAL EE gt FF VAL Checking for Function Block Application Errors v Click the Check Project for Errors button in the Function Block Application Editor window to perform error checking regenerate the schedule of the application and remove bad wires Customizing Your Funct
122. gh SEL_3 Process Scaling Tuning eee eeeeseereetees 4 29 SEL TYPE AS caldo sind ines a E E 4 29 SET_FSTATE Faultstate OptiON oooocccnoncnoccnonanoncnonnncnnannnncnncnonaconancnnccnnnos 4 29 SHED_OPT Mode Shedding Option oococnnccconcnoncconancnnccnonncnnnannnncnncnonncconass 4 29 SHED_RCAS Mode Shedding cece eeceeeseeeseeceneeeneeeeeceseeesaeeesaeeeneeesaee 4 30 SHED_ROUT Mode Shedding 20 0 eee eeeesceeeseeeseeceeeeeseeceaeeeeecsaeeeneeeeaees 4 30 SIMULATE O po siii dati asain aad a Si Ri aed aa 4 30 SIMULATE_D Option ceecesceseeseeeceesceceeseceeeenecnseeeeeseceeeeaeseeeneenseesees 4 30 SPiGPLrOCESS ias toto edo 4 30 SPD Process ii lio bald 4 30 SP_HI_LIM Limiting Option oooocococnoccnonconconnconcnnncnnconncnn ocn ncnn non ncnncnnnannnnnnos 4 30 SP_LO_LIM Limiting Option cooococccoocnoccnononnnonnnononnnconconncnncon nono nonncnnnnn cnn 4 31 SP_RATE_DN Limiting Option 0coooccoccconconcnoncnnnonccononnncnnoonncon non nonnnrnncnnnnnnos 4 31 SP_RATE_UP Limiting Option oooooocononnnononnnonnnononononnconcnnncnnnonncnnnnnncnnnnn nos 4 31 ST REV Diagnostic 2 sxcccaewiesiecvt coincido aria latinas 4 31 STATUS_OPTS Faultstate Limiting Option oooooonocccocononcconancnnnannnnconncinnoss 4 31 STRATEGY att 4 32 TAG DESC Diagnostic cms dilata icono 4 32 TEST RW Proceso 4 32 TRK IN DSC iii la ecc RE EE 4 32 TRK SCALE Scala dde 4 33 TRE VAL Scale en las 4 33 UPDATE_EVT Diagnostic eninin
123. gurator Overview When you download your configuration the NI FBUS Configurator checks for errors in your project If you have a project error the NI FBUS Configurator warns you and allows you to cancel the download The NI FBUS Configurator automatically regenerates error information each time you change the project However you can force the NI FBUS Configurator to revalidate the project by clicking the Check Project for Errors toolbar button Assignment Tab The Assignment tab shows all the status information for the process of assignment when taking a link online The NI FBUS Configurator retains this information until the next assignment The Assignment tab automatically appears on top when you begin to assign your devices The Assignment tab is updated only when an offline link is taken online Device Live List Tab The Device Live List tab is a quick view window to display all the live links and devices on the local and remote targets This tab lists the tags device IDs and addresses of devices The Device Live List automatically refreshes according to the current links devices status within the fieldbus segments ay Note The Device Live List tab does not detect new links or new targets automatically Tip By default the Device Live List tab shows the online links devices only The offline links devices will be shown only when the Show offline link is checked Use the drop down list at the upper left corner to filt
124. h it it shows up as an unknown device If this is the case then it is probably a problem on the device side The device is not keeping within its time boundaries The device might be trying to transmit before its allotted time or continuing to talk past the allotted time Try increasing the minimum inter PDU delay This is set in the NI FBUS Interface Configuration utility If you click the Port then Edit then Advanced you will see this category under Dlme Basic Info The default is 10 By increasing this time you can increase the minimum amount of time a device must wait before sending another packet Restart NIFB Now see if the device shows up on the network 4 You can try changing bus timing parameters Slot Time Max Response Delay and Min Inter PDU Delay If you want to try this contact the device manufacturer for recommended settings Do not guess at these parameters I have assigned an address to my device but the NI FBUS Configurator is not seeing the device Why In the NI FBUS Interface Configuration utility there is an advanced parameter called First Unpolled Node After the node is specified by this parameter the NI FBUS Configurator will not poll the subsequent N nodes where N is the NumUnpolledNodes Make sure that your device address is being polled The default is 0x25 The second possibility is that the timing parameters T1 T2 T3 are improperly set The default for these are 0x40000 0x40000 and 0x30000 respe
125. he 1O0_OPTS parameter the block uses the value in FSTATE_VAL as the output value If the option is not set the block holds the value it receives at the time the input goes bad until the cascade can be re established NI FBUS Configurator User Manual 4 2 ni com Chapter 4 Parameters The faultstate is a predefined state that outputs go to under certain conditions For example if the valve analog output block loses communication with the block that is giving it information it can be set to close automatically Table 4 3 Faultstate Parameters CLR_FSTATE FSTATE_VAL_D FAULT_STATE SET_FSTATE FSTATE_TIME STATUS_OPTS FSTATE_VAL Scaling Parameters The scaling parameters differ depending on the type of function block For example scaling on an AI is different from scaling on an DI For an Analog Input AD block the most important scaling parameters are as follows L_TYPE The linearization type used in taking the physical transducer value to the block output e XD_SCALE Used to take values from the physical transducer for the T O channel to a percent of scale This percent of scale value is called FIELD_VAL e OUT_SCALE Used in combination with L_TYPE to take the percent of scale to an output value This output value is called OUT The following diagrams assist you in determining the parameters you need to change to obtain the correct scaling for AI
126. heckbox You also can click the Write Save All button to write and save all parameters including changed block tags to the block on the device 3 Note You must set the device mode to the oos mode to write certain parameters of some online devices A dialog box appears to inform you of this behavior if you attempt to write a parameter in any other mode National Instruments Corporation 2 17 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Updating Block Parameters Values ES Fi You can update block parameter values in the block configuration window manually or automatically as described in the following sections Manually Update Block Parameters To update one particular block parameter value manually select the parameter and click the Read Selected Set Selected Default button in the block configuration window toolbar To update all the block parameter values click the Read All Set Defaults button Automatically Update Block Parameters To set the NI FBUS Configurator to update the block parameter values periodically complete the following steps 1 At the top of the block configuration window check the Periodic Updates checkbox Then the NI FBUS Configurator periodically checks the bus for any changes in values for the parameters and refreshes the values in the window An icon at the upper left corner of the block configuration window blinks green when you select the Periodic Updates
127. hernet Input output An integer that the Fieldbus specification assigns to a Fieldbus object or a device that you can use to refer to the object A value in the object dictionary used to refer to a single object A block parameter that receives data from another block Internet Protocol An international standard protocol used in network transmission International Organization for Standardization A technical standards organization that creates international technical standards for computers and communications The ISO is composed of national standards organizations in 89 countries The American National Standards Institute ANSI represents the United States in the ISO Glossary 5 NI FBUS Configurator User Manual Glossary Isolation LAS Link Link Active Schedule Link Active Scheduler Link master device Linkage Linkage object LM Lookout Loop Macrocycle Manufacturer s identification NI FBUS Configurator User Manual A type of signal conditioning in which you isolate the transducer signals from the computer for safety purposes This protects you and your computer from large voltage spikes and makes sure the measurements from the devices are not affected by differences in ground potentials See Link Active Scheduler A FounpatTIon Fieldbus network is made up of devices connected by a serial bus This serial bus is called a link also known as a segment A schedule of times in the macrocycle whe
128. hich is distinguished with different color and style In the attribute view each item is corresponding to one parameter which is ordered by their first captured time You can save all of the trends into a file by selecting File Save and re load them from the file by selecting File Open 3 Note Before you use NI FBUS Trend Monitor Utility you must configure the trends in NI FBUS Configurator and download them into the network Refer to the Configuring Trends section of Chapter 2 Using the NI FBUS Configurator to learn how to configure the trend Refer to the Download a Project Configuration section of Chapter 2 Using the NI FBUS Configurator to learn how to download the project configuration National Instruments Corporation G 1 NI FBUS Configurator User Manual Appendix G NI FBUS Trend Monitor Utility Monitor Trends Follow these steps to practice using the NI FBUS trend monitor utility to monitor trends 1 10 11 NI FBUS Configurator User Manual Launch the NI FBUS Communications Manager if it is not running by selecting Start All Programs National Instruments NI FBUS NI FBUS Communications Manager Launch the NI FBUS trend monitor utility by selecting Start All Programs National Instruments NI FBUS Utilities Trend Monitor Click the Start Capture button on the toolbar or select Run Start to start monitoring the trends When a trend is captured a line is added into the screen view to trace the
129. iate for your process as shown in the following example GAIN 10 RESET 3 5 sec BAL_TIME 0 sec 3 5 NI FBUS Configurator User Manual Chapter 3 NI FBUS Configurator Tutorials 6 Set the PID scaling parameters The PV_SCALE of the PID block should match the OUT_SCALE of the AI block The PV_SCALE of the PID block defines the range of the IN parameter of the PID The OUT_SCALE of the AI block defines the range of the value that the AI passes to the PID Likewise the OUT_SCALE of the PID block should match the PV_SCALE of the AO block The OUT_SCALE of the PID block defines the range of the value that the PID passes to the AO The PV_SCALE of the AO block defines the range of the CAS_IN parameter of the AO PV_SCALE EU_100 400 EU_0 100 Units_Index 2 Decimal 3 OUT_SCALE EU_100 400 EU_0 100 Units_Index C Decimal 3 7 Optional Use a second Al block to specify the setpoint of the PID a Drag another AI block onto the Function Block Application Editor window b Connect the OUT of the new AI block to the CAS_IN of the PID block The OUT_SCALE of the new AI block should match the PV_SCALE of the PID block Adjust the AI and PID parameters as needed An example of how the final Function Block Application Editor window should look is shown in the following figure NI FBUS Configurator User Manual 3 6 ni com Chapter 3 NI FBUS Configurator Tutorials AlBlock AD OUT Alarms j gt
130. ice window 1 10 devices changing type 2 44 connecting to network and hardware tutorial 3 1 missing device troubleshooting B 4 NI FBUS dialog utility examples download a schedule to an interface D 2 get a device list D 2 read a parameter using TAG PARAM access D 3 wait for a trend D 4 NI FBUS Configurator User Manual Index 2 replacing 2 44 resetting to factory defaults 2 44 restarting B 16 setting device addresses 2 8 setting tags 2 12 viewing device properties 2 10 diagnostic parameters 4 2 diagnostic tools NI resources H 1 DISC_ALM parameter 4 16 DISC_LIM parameter 4 16 DISC_PRI parameter 4 16 documentation conventions used in the manual iv NI resources H 1 Download tab status window 1 4 downloading project configuration 2 39 bringing blocks online 2 41 download options Automatic Mode Handling 2 40 Clear Devices 2 40 Verify amp Diff 2 41 Write Contained Block Parameters 2 40 drivers NI resources H 1 DV_HI_ALM parameter 4 16 DV_HI_LIM parameter 4 16 DV_HI_PRI parameter 4 16 DV_LO_ALM parameter 4 16 DV_LO_LIM parameter 4 16 DV_LO_PRI parameter 4 17 E error checking project configuration 2 43 errors BLOCK_ERR error codes table 4 12 error messages A 1 read write errors B 7 Errors tabs status window 1 4 examples NI resources H 1 export and import parameters 2 45 ni com F factory defaults returning to 2 44 FAULT_STATE parameter 4 17 faultstate param
131. ices Clear Devices clears the existing configuration in the devices before downloading Using this option ensures that the linkages you see in the Function Block Application Editor window are the only linkages in the device Otherwise linkages from a previous download may persist Automatic Mode Handling Automatic Mode Handling automatically takes the blocks to the 00S mode as needed during the download process and returns the blocks to the normal modes of operations as read from MODE_BLK NORMAL for each block after the configuration is downloaded If you do not use this option you need to manually change blocks to the oos mode and set the blocks back to the NORMAL mode after the download completes If you do not select Automatic Mode Handling the NI FBUS Configurator shows a table of all the block modes at the start of configuration You can change any of the modes from this table or to set all blocks to the oos mode by using the Set All Targets to OOS button The table appears again at the end of configuration and allows you to set the modes manually or click the Set All to Normal button to set all the NI FBUS Configurator User Manual 2 40 ni com Chapter 2 Using the NI FBUS Configurator blocks into the normal modes You must click the Continue button to write a mode to the bus Verify and Diff This option enables the NI FBUS Configurator to upload the actual configuration from the devices after a download The NI FBUS C
132. ick OK Make configurations for each port and click OK Close the Interface Configuration Utility and launch the NI FBUS Communications Manager by selecting Start All Programs National Instruments NI FBUS NI FBUS Communications Manager Launch the NI FBUS Configurator by selecting Start All Programs National Instruments NI FBUS NI FBUS Configurator In the Create New Project field choose Offline Project select an offline interface link and click OK to create the new offline project The Device Type Tree appears in the left window This tree lists the devices in the hierarchy tree and groups the devices according to the vendor name Drag the offline device you want to add into the offline link from the Device Type Tree and drop the device onto the offline link in the project window The Add Device dialog appears informing you to set network address and device tag You can enter the address and tag or use the default address and tag The NI FBUS Configurator checks the default address and tag values to ensure no conflict with other devices Click OK to add the new offline device 3 8 ni com Chapter 3 NI FBUS Configurator Tutorials 11 After you add all offline devices to the project double click Function Block Application under the offline link to create function block connections and function block schedules File TransducerBlock13 Configure View Window Help Hide FBAP Grid 2 Hide Help basa
133. ime for the RCAS_IN parameter If the block is in RCas mode and the RCAS_IN parameter has not been updated in SHED_RCAS time the block performs mode shedding as determined by the SHED_OPT parameter SHED_ROUT Mode Shedding The shed time for the ROUT_IN parameter If the block is in RCas mode and the ROUT_IN parameter has not been updated in SHED_RCAS time the block performs mode shedding as determined by the SHED_OPT parameter SIMULATE Option Used to bypass the physical I O channel and allow the block to operate normally using a simulated I O channel SIMULATE_D Option Used to bypass the physical I O channel and allow the block to operate normally using a simulated discrete I O channel SP Process The analog setpoint SP_D Process The discrete setpoint SP_HI_LIM Limiting Option The upper limit on an operator entered setpoint for the block If the operator enters a setpoint that exceeds this value the setpoint is considered to be SP_HI_LIM with a status that indicates that it is limited NI FBUS Configurator User Manual 4 30 ni com Chapter 4 Parameters SP_LO_LIM Limiting Option The lower limit on an operator entered setpoint of the block If the operator enters a setpoint below this value the setpoint is considered to be SP_LO_LIM with a status that indicates that it is limited SP_RATE_DN Limiting Option In Auto mode the rate in PV units per second the setpoint can be moved do
134. including negligence Any action against National Instruments must be brought within one year after the cause of action accrues National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control The warranty provided herein does not cover damages defects malfunctions or service failures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable control Copyright Under the copyright laws this publication may not be reproduced or transmitted in any form electronic or mechanical including photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National Instruments Corporation National Instruments respects the intellectual property of others and we ask our users to do the same NI software is protected by copyright and other intellectual property laws Where NI software may be used to reproduce software or other materials belonging to others you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction Trademarks LabVIEW National Instruments NI ni com the National Inst
135. ine complete the following steps Configure an offline interface by following the instructions in the Configure Offline Interface section of Appendix E NI FBUS Interface Configuration Utility Right click the link and select Take Offline or select the link and click the Take Offline button on the toolbar The Take Link Offline dialog appears Take Link Offline E Project online link My System interface2 0 Select correct offline links from list My System Offlinelnterface1 0 My System Offlinelnterfacel 1 Cancel Select the appropriate link in the Take Link Offline dialog box then click OK 2 3 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator A Caution If you take a local link offline during loading or initialization some parameters may not complete the loading or initialization process The values of these parameters become invalid Add Offline Devices To add offline devices to an offline link complete the following steps 1 Select the Window Device Type Window menu item if the device type window is not already shown 2 Drag an offline device from the device type tree in the left hand window and drop the device onto the active offline link of the configuration tree in the project window The device type window shows the devices in hierarchy and group the devices from the same vendor under a folder You can right click the device types and select Property to view
136. information For more information on all the allowable modes refer to the MODE_BLK Diagnostic Process parameter description of Chapter 4 Parameters Configure Block Parameters Categorizing Block Parameters The NI FBUS Configurator allows you to customize the parameter categorization You can add or delete custom tabs on the block configuration window The NI FBUS Configurator saves all custom changes on the computer and associates the changes with this block type Therefore all blocks of this type in all projects use your custom setup If you do not want to change the default categorization skip to the Editing Block Parameters section Adding Tabs Complete the following steps to add a tab to the block configuration window 1 Click the Add or Delete Custom Tab button in the block configuration window toolbar The Add amp Delete Custom Tabs dialog box appears NI FBUS Configurator User Manual 2 14 ni com Chapter 2 Using the NI FBUS Configurator Add amp Delete Custom Tabs E Add Delete Show Block Information Tab r Default Cancel 2 Click the section where you want to add the tab Click the Add button Click the blank name field of the new tab and enter the name of the new tab 4 The Block Information tab contains additional read only information on each block such as execution time Add this tab to your view by checking the Show Block Information Tab checkbox 5 Click the
137. ion Block Application A Click the Text button to type additional information about the application and change text in fields vo Click the Fill button to fill objects on the screen with a color E Click the Fill Color button to select a color to be used with the Fill tool Using Templates Templates are pre defined pre wired control loops You can drop a template into the Function Block Application Editor window as a model for your function block application Templates provide the wiring for common control strategies such as PID loops You also can create your own templates to reduce time required for configuring multiple copies of your own strategies Tip Templates store parameter values as well as wiring connections saving you the time consuming operation of configuring function block parameters when you have multiple copies of the same type of control strategy NI FBUS Configurator User Manual 2 22 ni com Chapter 2 Using the NI FBUS Configurator The NI FBUS Configurator includes the following templates PID Feedback Control Manual Control with PV Indication PD Feedback Control e Track Feedforward Control e Cascade Control e Ratio Control Override Control You can use templates from the NI FBUS software for wiring only The function block settings in your application override values in templates from the NI FBUS software You can choose to apply the values in user defined templates When you use a template
138. is could indicate that the FP AO 200 cannot drive the current request perhaps due to an open circuit Memory Failure 0x0200 The storage for nonvolatile and static parameters was corrupted Lost Static Data 0x0400 The device was unable to restore the values of static parameters after a restart Lost NV Data 0x0800 The device was unable to restore the values of nonvolatile parameters after a restart Readback Check Failed 0x1000 The value read back from the output channel does not match the value the output channel was set to 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 BYPASS Scaling Tuning Allows the normal control algorithm to be bypassed If a control is bypassed the PID uses the setpoint value in percent of scale as the output value and does not attempt to do any PID control 3 Note The CONTROL_OPTS Bypass National Instruments Corporation Enable option must be selected NI FBUS Configurator User Manual Chapter 4 Parameters CAS_IN Process A remote setpoint value This parameter links to an output of an upstream block In some blocks this parameter may be left unlinked The block uses a local setpoint value typically SP instead CAS_IN_D Process A remote setpoint value This par
139. is not permitted due to the FOUNDATION Fieldbus specification NIFCONF_ERR_SPACE_IN_TAG The Space char is not permitted in the middle of the tag due to the FouNDATION Fieldbus specification National Instruments Corporation A 9 NI FBUS Configurator User Manual Appendix A Error Messages and Warnings NIFCONF_ERR_OPERATION_CONFLICT Operation conflict NIFCONF_ERR_UNEXPECTED An unexpected error has occurred NIFCONF_ERR_NO_HOST_DEVICE There is no host device in one or more H1 links NIFCONF_ERR_NO_BLOCK_MATCH No block matches If it happens while assigning devices it means the blocks of an online device can t match the blocks of an offline device NIFCONF_ERR_NO_NP_MATCH No network parameters match If it happens while assigning devices it means the network parameters of an online link can t match that of an offline link NIFCONF_ERR_MAP_UNCOMPLETED Device assignment is uncompleted The device s pdTag address block tag or block parameters are not assigned correctly NIFCONF_ERR_LINK_CANT_ACTIVE The link cannot be set active because the it is either not configured or it is being used Only one instance of a link can be active at a time E_INTERFACE_INVALID The interface is currently invalid It cannot be configured E UNDEFINED The error is undefined E OFFLINE ERROR Offline NI FBUS error This is a general error for the offline link or device NI FBUS Configurator User Manual A
140. it publishes a status of Good Cascade Initialization Acknowledge to signal that it is beginning cascade control The lower block then enters Cascade mode 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 NI FBUS Configurator User Manual C 2 ni com Appendix C Cascade and Remote Cascade Setups 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 Remote Cascades If a host application rather than another block provides the setpoint of a block FouNDATION Fieldbus provides the Remote Cascade mode The remote cascade mode is equivalent to Cascade mode except that the cascade input parameter is RCAS_IN instead of CAS_IN and the back calculation output is RCAS_OUT instead of BKCAL_ OUT Unlike CAS_IN and BKCAL_OUT which are input output parameters RCAS_IN and RCAS_OUT are contained parameters and can only be written by a host application To allow the controlled block to enter Remote Cascade mode the host application must act as the upstream block in the cascade initialization and implement the status handling described above Host Application No N Downstream RCAS_IN NE There is a second remote mode in which a cascade must be initialized Remote Output ROut Unlike RCas mode where the bl
141. k active schedule double click the Schedule icon in the configuration tree The schedule window appears in the middle frame In the schedule window a key to the scheduled objects appears on the left The timing diagram on the right displays the execution times of the function blocks and when data is transmitted on the bus The blue bars on the screen correspond to the function block execution times and the red bars correspond to the data transmission times which consist of LAS notification time and transmission time Y Tip With only one device you cannot see data transmission because the device does not transmit any parameters to other devices For some fast devices the blue block execution bars are so short that the blocks are entirely hidden behind the block icons O National Instruments Corporation 1 9 NI FBUS Configurator User Manual Chapter 1 NI FBUS Configurator Overview B Note An optimized schedule can show that the transmission time overlaps the end of function block execution because the transmission time includes the time that the LAS uses to tell the device to publish the data 45 To change the execution time for a loop click the execution time next to the loop icon and enter the new time Device Window The device window shows the device ID and address of the host device or field device you select From this window you can view and change advanced parameters You can view the values in hex or decimal representation Y
142. k does not calculate the output by using the normal block algorithm The operator writes the output of the block directly 3 Note For offline devices the function block modes are ignored and have no effect The MODE_BLK Parameter The MODE_BLK parameter for a function block is the parameter that contains information on the modes of the block This parameter has the following four fields PERMITTED contains a list of all allowable modes for that block NORMAL is the mode the device manufacturer expects the block to be in during normal operation ACTUAL is the current operating mode of the function block on the device TARGET is a field that is writable by the user Writing this field tells the device to change to the specified mode The device will attempt to change the mode If it is successful the ACTUAL mode changes to reflect the TARGET mode The device manufacturer defines the PERMITTED and the NORMAL fields National Instruments Corporation 2 13 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator B Note Ifthe block is not currently scheduled the block remains in the oos mode regardless of any writes to the TARGET field You can schedule a block by placing the block in a Function Block Application Editor window and downloading the project to the device Refer to the Add Blocks to the Function Block Application section and the Download a Project Configuration section for more
143. kbox click the Set All Targets to OOS button to switch the function blocks to the oos mode After the configuration downloads you must set the blocks back to the normal mode of operation to begin operating 2 39 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Download Options The download configuration dialog box contains multiple options for downloading a configuration Write Contained Block Parameters Write Contained Block Parameters writes all contained parameters from the block configuration windows Contained parameters are internal to the function block such as the scaling and alarm limit settings Use this option when you change parameters in multiple function blocks and do not want to write parameters block by block 3 Note Per the FounDATION Fieldbus specification some contained parameters have default values that are not legal values You can change these parameters to values appropriate for your processes Device manufacturers often allow devices to operate with uninitialized parameter values However any attempts to rewrite the uninitialized value to a parameter result in an error Use Write Contained Block Parameters to generate errors if any parameters are uninitialized Clear these errors by writing a legal value to the parameter or by reading the value into the NI FBUS Configurator from the device Generally these errors are non fatal and the download can continue successfully Clear Dev
144. ltiplied before it is added to the output value of the control block National Instruments Corporation 4 17 NI FBUS Configurator User Manual Chapter 4 Parameters FF_SCALE Scaling The scaling parameter used by the feed forward value of the block FF_VAL Process Scaling Tuning The feed forward value FIELD_VAL Process Scaling Tuning The value from the input channel in percent of scale FIELD_VAL_D Process Scaling Tuning The value from the discrete input channel FREE_SPACE Diagnostic Process The percentage of memory available on the device This value is zero in preconfigured devices since these devices do not allow user configuration FREE_TIME Diagnostic Process Percentage of block processing time that is available to process additional blocks Unused in FieldPoint FSTATE_TIME Faultstate Option Time in seconds to delay from the detection of loss of communications with the host for the output block remotes setpoint until the enaction of the fault state output FSTATE_VAL Faultstate Option The setpoint value to be used on failure y s Note The I O option Failsafe to value must be selected FSTATE_VAL_D Faultstate Option The discrete setpoint value to be used on failure ys Note The I O option Failsafe to value must be selected NI FBUS Configurator User Manual 4 18 ni com Chapter 4 Parameters GAIN Tuning The gain constant used by the PID in calculating the pr
145. ly invoke from the NI FBUS Configurator such as the Set up device method or Calibrate valve method These methods represent specific tasks you want to perform If you double click a function block in the configuration tree and the block has menus and methods associated with the block a menu bar appears above the block configuration window toolbar and the Methods tab appears in the block configuration window The first menu item in the block configuration window is normally Apply values which shows up for all blocks Any additional menus appear to the right of this menu The device description defines the additional menus These menus contain parameter names or method names You can invoke the names by selecting these names The NI FBUS Configurator also shows the Methods menu that contains an entry for each method If you select a parameter name from the menu an edit window for that parameter appears To invoke a method select the method from the menu bar The block configuration window switches to the Methods tab This tab displays all output from the method When the method requires you to enter input enter the input in a box in the Methods tab Methods execute until the methods encounter an error or complete The Methods tab also displays the error information You cannot close the block configuration window while a method is running Using EDDL Extensions Electronic Device Description Language EDDL extensions improve
146. ment s of a record containing two parts the variable s label and its value List Page or Group s sub item Displays the Edit Display Array and other variable related structures Grid Page or Group s sub item Displays a horizontal or vertical grid 3 Note An EDDL window cannot apply parameter changes directly Use the Block dialog to make and save changes for the parameters National Instruments Corporation 2 33 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Configuring Alarms You can configure a device such as an interface in a PC to receive alarms generated by function blocks Complete the following steps to configure alarms 1 Drag the configuration tree icon for the device or interface to which you want to send the alarm to the Function Block Application Editor window Either wire the Alarms output of the block that you want to generate an alarm to the device you want to receive the alarm or check the Receive All Alarms checkbox The following figure shows an example of a configured alarm NI FBUS Configurator User Manual PidBlock PID gt IN P CAS IN BECAL OUT Pp gt BECAL IN PID Alarms Jaa Alarms OUT gt E interface0 0 gt TREK IN D Trends J gt Trends gt TRE VAL O Receive All Trends gt FF VAL O Receive All Alarms Double click the function block where you want to generate the alarm The block configuration window appear
147. meters you want to import Enter the correct file name in the Open dialog box Click the Open button to import parameters from a csv file 2 45 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator B Note Change only the value field in the csv file Changing any other field may damage the csv file To avoid a comma in a field being considered as the delimited character replace the comma with an asterisk Set Preferences To set your preferences in the NI FBUS Configurator select View Preferences The Preferences dialog box appears This dialog box contains the following tabs e Fonts Use this tab to change the font types and sizes on the display e Block View Use this tab to configure the default view for parameters NI FBUS Configurator User Manual Show Spaced View Click this checkbox to add space between parameters Show Detailed View Click this checkbox to show additional type and help strings for the view Show Block Information Click this checkbox to show the Block Information tab which contains additional read only information on each block such as execution time Use Descriptive Labels on Parameters Click this checkbox to show descriptive information about parameters in the block configuration window Use the Dynamic Attributes of Parameters Dynamically Click this checkbox to enable the refresh of dynamic attributes which is defined in DD provided by the device manufactu
148. n devices must publish their output values on the Fieldbus The Fieldbus device that is currently controlling access to the Fieldbus A device that is responsible for keeping a link operational The LAS executes the link schedule circulates tokens distributes time and probes for new devices A device that is capable of becoming the LAS A connection between function blocks An object resident in a device that defines connections between function block input and output across the network Linkage objects also specify trending connections Link Master National Instruments Lookout is a full featured object based automation software system that delivers unparalleled power and ease of use in demanding industrial measurement and automation applications See Control loop The least common multiple of all the loop times on a given link or one iteration of a the process control loop An identifier used to correlate the device type and revision with its device description and device description revision Glossary 6 ni com Menu Method MIB Mode NIFB EXE NI FBUS API NI FBUS Communications Manager NI FBUS Configurator NI FBUS Fieldbus Configuration System NI FBUS process Non volatile memory 0 Object Object description Object Dictionary National Instruments Corporation Glossary An area accessible from the command bar that displays a subset of the possible command choices In the NI
149. n the NI FBUS Dialog utility by selecting Start All Programs National Instruments NI FBUS Utilities Dialog When you open the NI FBUS Dialog utility a window appears containing a single item called Open Descriptors This is the root of a tree that shows an icon for each of the NI FBUS descriptors you open using the NI FBUS Dialog utility The area below the icon remains empty until you make an NI FBUS call to open a descriptor When you open a descriptor the NI FBUS Dialog utility adds an icon representing that descriptor You can use the NI FBUS Dialog utility to perform operations on the descriptors you have opened Select the operation you want to perform on a descriptor by right clicking the descriptor icon and choosing an item on the menu that appears or by selecting the icon with a single click and choosing an item on the Actions menu The choices that appear on the menu depend on the type of descriptor you have selected NI FBUS Dialog Examples These examples describe the typical steps you go through when using the NI FBUS Dialog utility Before you begin the examples open the NI FBUS Dialog utility To exit the NI FBUS Dialog utility select File Exit O National Instruments Corporation D 1 NI FBUS Configurator User Manual Appendix D NI FBUS Dialog Utility Example 1 Get a Device List To practice using the NI FBUS Dialog utility to get a device list complete the following steps 1 2 3 Open the NI FBU
150. ndor to get correct device description files Read Write Errors The Write Contained Block Parameters option when downloading causes all contained parameters to be written not just those that were changed This can cause error messages for parameters that you did not even modify because they are initially set to illegal values as defined in the FouNDATION Fieldbus specification These values are only quasi illegal Devices are often designed to be able to operate with the default illegal values to allow you to quickly bring up a test system To encourage you to set them to values appropriate for your process trying to write the default parameter value causes errors Examples of such parameters are ALERT_KEY L_TYPE and SHED_OPT You are unable to write to a block parameter The parameter is read only the blocks are in an incorrect mode or the data is out of range If the parameter is not read only complete the following steps to solve the problem 1 Change the target mode to Man or 00S and then try to write to the parameter 2 The data might be out of range Check the range and make sure the value is valid National Instruments Corporation B 7 NI FBUS Configurator User Manual Appendix B Troubleshooting and Common Questions A device does not accept a new tag The device is in an invalid state Power the device off and on You receive frequent communication errors when you try to read or wri
151. nections for Cascade Initialization Cascade initialization takes place between two blocks an upstream controlling block and a downstream controlled block In a PID loop the upstream block is the PID block and the downstream block is the AO block In the case of cascaded PID blocks the upstream PID feeds a setpoint into a second PID that is acting as the downstream block In both cases the parameter connections are the same The output OUT parameter of the upstream block is connected to the cascade input CAS_IN parameter of the downstream block This connection controls the setpoint of the downstream block To allow the upstream block to determine the current setpoint of the downstream block you must also connect the backward calculation output BKCAL_OUT parameter of the downstream block with the backward calculation input BKCAL_IN of the upstream block The connections are shown in the following figure National Instruments Corporation C 1 NI FBUS Configurator User Manual Appendix C Cascade and Remote Cascade Setups Upstream Downstream OUT CAS_IN BKCAL_IN BKCAL_OUT 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 If the upstream block publishes a status of Good Non Cascade it d
152. ngineering units used to calculate the function block output BKCAL_HYS Limiting The amount the block output value must move off a limit in percent of scale for the limit status to be turned off BKCAL_IN Limiting Process This parameter links to a downstream block s BKCAL_OUT or SELECT_OUT parameter Use this parameter to initialize a control loop through cascade initialization Cascade initialization allows smooth transfer for a control block from manual to automatic mode To bypass cascade initialization this parameter can be left unwired and manually set to a status of Good non cascade National Instruments Corporation 4 11 NI FBUS Configurator User Manual Chapter 4 Parameters BKCAL_OUT Process A back calculation value published to the BKCAL_IN of an upstream block in a control loop The BKCAL_OUT parameter has the value of the block s current output Before a cascade loop is initialized the upstream block can use this value to smoothly transfer to loop control BKCAL_OUT_D Process An output value published to an upstream discrete block The upstream block can use this value to smoothly transfer to loop control BLOCK_ALM Alarming Diagnostic An alarm parameter used to report error conditions detected within the block such as block Out of Service BLOCK_ERR Diagnostic A list of error conditions for hardware and software components associated with the block Table 4 10 Error Codes
153. ns of the award winning National Instruments Web site at ni com for technical support and professional services e Support Technical support at ni com support includes the following resources Self Help Technical Resources For answers and solutions visit ni com support for software drivers and updates a searchable KnowledgeBase product manuals step by step troubleshooting wizards thousands of example programs tutorials application notes instrument drivers and so on Registered users also receive access to the NI Discussion Forums at ni com forums NI Applications Engineers make sure every question submitted online receives an answer Standard Service Program Membership This program entitles members to direct access to NI Applications Engineers via phone and email for one to one technical support as well as exclusive access to eLearning training modules at ni com eLearning NI offers complementary membership for a full year after purchase after which you may renew to continue your benefits For information about other technical support options in your area visit ni com services or contact your local office at ni com contact Training and Certification Visit ni com training for training and certification program information You can also register for instructor led hands on courses at locations around the world e System Integration If you have time constraints limited in house technical resour
154. nstruments Corporation Save the project before assignment Save the project under a different name after assignment Right click the online link after assignment select the Compare Configurations menu item In the Compare Configurations dialog box that appears check the option From file under the Target Link bound box Input the file name of the project file that was saved before assignment or click the Browse button to select the project file Select the offline link in the Link combo box under the Target Link bound box Click the Diff button to view the results of the comparison 2 7 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Upload Project Configuration a Use the Upload Project button or select Configure Upload Configuration to read a configuration from a configured device and overwrite the current project with the information To prevent overwriting an existing project close all projects and create an empty project before uploading a configuration The NI FBUS Configurator uploads and adds the following items to the project e Function block parameters e Schedules e Linkages for publisher or subscriber e Alarms Trends The NI FBUS Configurator does not upload the LAS schedule The NI FBUS Configurator creates the LAS schedule from the list of linkages and function block schedules by the NI FBUS Configurator s usual scheduling algorithm When the upload is complete you can m
155. nt project Blue represents missing items Missing items are items that appear in the project but not on the bus Orange represents values that differ between the project and the bus Click the Check Project for Errors button in the configuration tree to check for errors in the project Add An Additional Function Block Application Click the Add New FBAP button to add another Function Block Application Editor window to the project To change the name of the second Function Block Application Editor window right click in the configuration tree and select Set Tag National Instruments Corporation 2 43 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Replace Devices You can transfer device settings such as parameters tags and linkages to another device You can transfer device settings regardless whether the original device is functioning or not Complete the following steps to transfer device settings to a replacement field device 1 Connect the new device to bus 2 From the Configure menu select Replace Devices or right click the device to be replaced and select Replace Devices The original device you selected appears in the Missing Device field 3 Inthe Replacement Device field select the new device from the drop down list to replace the Missing Device 4 After you select the desired devices click the OK button 5 Download the configuration with the Clear Devices checkbox check
156. nual 2 28 IN CAS IN BKCAL OUT gt BKCAL IN Alarms P gt PTRK IND Trends gt PTRK VAL PFF VAL ni com Chapter 2 Using the NI FBUS Configurator To create a loop structure complete the following steps 4 1 Click the Loop tool on the Function Block Application Editor toolbar 2 Click the desired location for one corner of the loop and drag the loop around the blocks you want to include in the loop 3 To change the loop execution time double click the box at the upper left of the loop and type the new time Determining Function Block Execution Time Because function blocks must execute serially you must balance between PID loop numbers and the execution rate The device manufacturer specifies the maximum execution time or the worst case execution time for each block To view the maximum execution time of a block complete the following steps 1 Select View Preferences and click the Block View tab 2 Select the Show Block Information checkbox and click OK Now when you double click on a function block a new tab called Block Information will appear Check the parameter EXECUTION_TIME on the Block Information tab for the function block If the number is a hexadecimal number you can change the number to decimal by right clicking and unchecking Hexadecimal Data The decimal value of this parameter is the execution time in 1 32 ms as required by the FouNDATION Fieldbus specification You can divid
157. number of LAS schedule entries exceeds the number of available entries in the LAS device Choose integer multiple macrocycle values and reduce the number of data links that go between devices to correct this problem NIFCONF_ERR_TYPE_INFO_UNAVAILABLE The NI FBUS Configurator cannot read the type information for the object NI FBUS Configurator User Manual A 8 ni com Appendix A Error Messages and Warnings NIFCONF_ERR_UNSCHEDULED_TRAFFIC_CONFLICT The publish time is conflicting with the reserved 128 octet time at the end of a macrocycle This time is used for unscheduled traffic NIFCONF_ERR_WRONG_TYPE This object has the wrong type NIFCONF_ERR_SAVE_OLDVERSION This project is an old version and could not be saved In order to avoid this error you should convert the project to the latest version when you open the project NIFCONF_ERR_FILENAME_EMPTY Empty file name Normally this error occurs when you specify a file without the name NIFCONF_ERR_UNSUPPORT_HSE This project you are opening includes an unsupported HSE feature You must upgrade your NI FBUS Configurator to version 3 0 or later to properly open the project NIFCONF_ERR_CANT_DELETE_ONLY_ONE_LINK The last link in the project cannot be deleted A valid project includes at least one link NIFCONF_ERR_WHEN_DISCONNECT_LINKS The system is busy and the links cannot be disconnected Try your operation at a later time NIFCONF_ERR_EMPTY_TAG The Empty tag
158. ock setpoint is set remotely in ROut mode the block output is set by the host application The back calculation output for Rout mode is ROUT_OUT and the cascade input is ROUT_IN Otherwise cascade initialization proceeds normally N 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 The upstream block signals to the downstream block that cascade initialization has been bypassed by setting its output to a status of Good Non cascade National Instruments Corporation C 3 NI FBUS Configurator User Manual NI FBUS Dialog Utility This chapter describes the NI FBUS Dialog utility and gives examples of how to use it 3 Note Generally you will not want to use the dialog utility since the NI FBUS Configurator has the same functionality and is easier to use NI FBUS Dialog Utility Overview The NI FBUS Dialog utility lets you interact with your devices over the Fieldbus by opening descriptors making single NI FBUS calls and viewing the results You might want to use the NI FBUS Dialog utility to verify installation and device operation or to learn the NI FBUS Communications Manager API You can ru
159. ocnoccnonconcnonconcnnncnncnnncnncan cnn ncnnncnncnn conos 3 1 Tutorial 2 Create Basic Connections to Al and AO Blocks oooonconncnocnnoconnnonncnnccnncnnos 3 2 Tutorial 3 PID Control of a Simulated Process oooonconoccnncnnonnononnononcononancnncnnnonncnnconncnnos 3 5 Tutorial 4 Create Offline Project ieee eeeesecseceseeeeesessecesesseessecsessaeeaeeeseeasenseaes 3 8 Tutorial 5 Modify Saved Project 0 eee cesses cseceseeseeeseseeeesecsaeeseeeeeeaeeseeeaeeeasentenas 3 10 Chapter 4 Parameters Alarming Parameters tivos dp 4 1 Diagnostic AAA O ae E aS E 4 2 Faultst te Parameters eun dat rt 4 2 Scaling Parameters tacit eae doit 4 3 VO Parameters iii A Ai 4 7 Limiting Parameters raran oa e a 4 7 Mode Shedding Parameters secin mr iaa 4 8 Option Parameters ser ninsi e ida Ate 4 8 Parameters That Must Be Initialized onconcninnnncnncnonnnnnonncrnnonncnnncono nono nona non cnn cnn 4 9 Process Parameters tia ii 4 9 FUMING Para Meter indi dieta ia E dio A ida 4 10 Parameter Descriptions tia a a E E iz 4 10 ACK OPTION Alarming 13 2 eaea seen eatin os ei ed tees 4 10 ALARM HYS Alarming oniinn anet iein aeiiae ish 4 11 ALARM SUM Alarming aeee pota a aana ii 4 11 ALERT_KEY Alarming scan ise 4 11 National Instruments Corporation vij NI FBUS Configurator User Manual Contents BAT TIME Tuning leccion elos iii alinea aa disc 4 11 BIAS CUA si ii iii 4 11 BKCECAL HYS Limiting oi tas 4 11 BKCAL_IN Limiting Process
160. odify save or download the project Set Device Addresses The NI FBUS Configurator automatically attempts to set addresses for devices when devices link to the bus You also can manually set device addresses 3 Note The HSE device disables this operation for the IP address and the host device disables this operation for the constant address Devices may disappear off the bus when you reset the addresses Complete the following steps to set the device address 1 In the configuration tree right click the device whose address you want to set and select Set Address The Set Address dialog box appears NI FBUS Configurator User Manual 2 8 ni com gt g National Instruments Corporation Chapter 2 Using the NI FBUS Configurator In the New Address field select the desired address from the drop down list as shown in Figure 2 3 Set Address 3051S ID 0011513051 EJ New Address 23 017 Current Address V Setto DOS mode Cancel Figure 2 3 The Set Address Box Check the Set to OOS Mode checkbox to set the block to the out of service OOS mode which prevents the device from operating in its current control system Note Set to OOS Mode is disabled for offline devices Caution When you set the device address the device loses all linkage communication configuration information and control of the process Do not change a device address after you have configured and are running your process
161. oes not support cascade initialization and the lower block immediately transitions into a Cascade mode This happens in the case where an Analog Input AI block is acting as the upstream block for an Analog Output AO block Since the AI block does not have a back calculation input it does not support cascade initialization If the upstream block does support cascade initialization it publishes a status of Good Cascade on its forward calculation output This signals to the downstream block to begin the cascade initialization process as soon as it is able If the downstream block is unable to begin cascaded control it publishes a status of Good Cascade Not Invited on its backward calculation output This signals to the upstream block that the control path from the downstream block to the process has been broken As soon as the ability to begin control is established the downstream block publishes a status of Good Cascade Initialization Request on its backward calculation output This signals to the upstream block that it should initialize itself for cascade control While the initialization request status is active the downstream block is also publishing its current setpoint to the upstream block This enables the upstream block to prepare for a smooth transfer to automatic control While the upstream block is initializing itself for automatic control it enters an actual mode of Initialization Manual IMan When it is ready to begin control
162. on Utility NI FBUS Interface Configuration Utility Overview eee Configure Offline Interface ooooncnnnnnnnnnnnonnnnncnnnnoncnn cnn cnn nonccnncnnnonncnnnos Importing Cit File pinitos Qodecedesdasescssessapeadebicguzatoasastes Appendix F NI FBUS Alarm Monitor Utility NI FBUS Alarm Monitor Utility Overview ooocococnocnnonnnononaconacanonncinnos Monitor Alarms ica iaa ias Appendix G NI FBUS Trend Monitor Utility NI FBUS Trend Monitor Utility OvervieW ooonconinnocnnonnnononnconncanonncinnos Monitor Trends ups Appendix H Technical Support and Professional Services Glossary Index NI FBUS Configurator User Manual xii ni com NI FBUS Configurator Overview This chapter introduces the NI FBUS Configurator lists the main features and describes the main windows of the application This manual assumes that you are already familiar with the Windows operating system and have read the Founpation Fieldbus Overview manual or are otherwise familiar with using FoUNDATION Fieldbus Introduction to the NI FBUS Configurator You can use the NI FBUS Configurator to configure a FOUNDATION Fieldbus network and keep track of your configuration changes The NI FBUS Configurator is a graphical environment for creating linkages loops and a schedule based on the concepts described in the FounpaTion Fieldbus Overview manual NI FBUS Configurator Windows The NI FBUS Configurator has four resizable windows within the main window
163. on block instantiation create a PID function block a Right click the device in the configuration tree and select Instantiate New Block Select PID Block and click OK Right click the new tag and select Set Tag Change the name of the tag to something like FP PID Open the Function Block Application Editor window Create a PID Feedback control application by using the control templates that come with the NI FBUS Configurator a Right click in an empty area of the Function Block Application Editor window Select FBAP Templates PID Feedback Control A dialog box asks if you want to use the parameters saved in the template Click the No button because the function block parameters are more suitable than parameters in this generic template This operation places a PID template on the Function Block Application Editor window Notice the blocks are grayed out because the blocks are merely shells Assign function blocks to fill in the template blocks a Right click an AI template block highlight Replace With and select an AI function block This block provides the process value to the PID block Right click the AO template block highlight Replace With and select an AO function block This block is the output that the PID block controls Right click the PID template block highlight Replace With and select a PID function block In the PID block configuration window select the Tuning tab Enter parameters appropr
164. on the Show Hide Device IDs button to toggle between aa showing or hiding the device IDs in the configuration tree You can click the Show Hide Transducers button to toggle between showing or hiding the transducer blocks in the configuration tree During the initial bus scan the following state icons sometimes overlap the configuration tree icons z Updating This icon appears when the NI FBUS Configurator is reading or writing to the object i e Error This icon appears when the NI FBUS Configurator detects or encounters an error with the object Q Invalid This icon appears when the indicated object is not responding to the NI FBUS Configurator scan 3 Note Objects may become invalid briefly during the initial bus scan or when changing the device address because the device suspends communication while setting the address National Instruments Corporation 1 3 NI FBUS Configurator User Manual Chapter 1 NI FBUS Configurator Overview Help Window The help window which appears to the right of the middle frame displays help information To view help information for a particular topic move the mouse cursor over the relevant object or parameter Some objects require you to click the object to view the help To toggle between showing or hiding the help window select Window Help Window Status Window The status window which appears below the middle frame displays the current status of the NI FBUS Configurator The status window
165. onfigurator compares the uploaded information to the configuration file Refer to the Compare Two Configurations section for instructions The NI FBUS Configurator reports differences between the configuration file and the actual configuration of the devices Use this option when the configuration on the bus is unknown or when you need to verify whether devices accept all assignments Bringing a Block Online If you do not select Automatic Mode Handling during the download process you must manually change the function blocks back to the normal mode of operation 1 Go to the MODE_BLK parameter of the resource block and set the TARGET to Auto Wait a few seconds and re read the MODE_BLK parameter The ACTUAL field value should become Auto If field value is incorrect examine the parameters on the Diagnostics tab to identify the problem 2 Goto the MODE_BLK parameter of a function block and set the TARGET to Auto 3 Re read the MODE_BLK parameter The ACTUAL field should become Auto If the filed value is incorrect examine the parameters on the Diagnostics tab to identify the problem or refer to your device documentation Once the block goes to the NORMAL mode the block starts to execute on the device National Instruments Corporation 2 41 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Monitoring Parameters After downloading your configuration you can display a graphical represent
166. oportional component of the output GRANT_DENY Option Allows HMI applications to determine access privileges for block parameters 3 Note The device does not use this parameter to restrict parameter access itself It is only for the benefit of host applications HARD_TYPES 1 0 Process A list of available channel types As I O modules are inserted and removed from the device bank bits in this field change to reflect the presence or absence of types of I O channels Table 4 13 Hard Types Bitmask Description Analog Input This bit is set if the device has analog input channels available Analog Output This bit is set if the device has analog output channels available Discrete Input This bit is set if the device has discrete input channels available Discrete Output This bit is set if the device has discrete output channels available HI_ALM Alarming The current state of the high alarm along with a time and date stamp HI_HI_ALM Alarming The current state of the high high alarm along with a time and date stamp HI_HI_LIM Alarming The limit in PV units beyond which the high high limit alarm is considered active HI_HI_PRI Alarming The priority of the high high limit alarm National Instruments Corporation 4 19 NI FBUS Configurator User Manual Chapter 4 Parameters HI_LIM Alarming The limit in PV units beyond which the high limit alarm is considered active
167. ou can open the device window in the following ways En e Double click the Host icon to open the device window for a host device which is the device that hosts the NI FBUS Configurator the PC aa e Double click the Device icon to open the device window for a field device The icon is followed by the device tag and its unique serial identifier te e Double click the HSE H1 Linking Device icon to open the device window for a linking device The icon is followed by the device tag and its unique serial identifier Tip The Host device only occurs in the H1 segment and the HSE H1 Linking Device only occurs in the HSE segment D E e This icon represents the H1 segment HSE This icon represents the HSE segment e This icon represents the H1 Offline link E Network Parameters Window The network parameters window allows you to change the low level advanced configuration parameters for the link To open the network parameters window double click the Network Parameters icon in the configuration tree The network parameters window appears floating over the main window UN Caution This feature is disabled in the HSE segment Do not modify these parameters without good reason If you must modify parameters for certain devices refer to the recommend settings of the device manufacturer Modifying these parameters can have an adverse affect on data throughput rates If settings are incorrectly modified some devices may disappear
168. oubleshooting and Common Questions A device believed to be a link master does not show up in the network parameters window For a link master device to receive the schedule it must be configured to receive it This setting is made by double clicking Network Parameters in the configuration tree and ensuring that the checkboxes for the appropriate link master devices are checked If a device does not appear in this list complete the following steps 1 Right click the interface in the configuration tree and select Advanced View The MIB parameters appear underneath the interface board 2 Double click the MIB to bring up another window Look at the parameter called BOOT_OPERAT_FUNCTIONAL_CLASS The value 2 indicates that the device identifies itself as a link master If this parameter does not equal 2 the device is not identifying itself as a link master Contact your device manufacturer Fisher Rosemount 3244MS rev3 Link Master device does not show up on the bus The Fisher Rosemount 3244MS rev3 temperature transmitters are intrinsically safe link master devices With the default timing settings they do not appear on the bus These devices require the tweaking of some bus parameters for them to show up in the NI FBUS Configurator Revision 2 of the 3244MV works fine without these adjustments These changes are made by right clicking the link the top level in the hierarchy and selecting Advanced View Now the MIB parameters appear und
169. ow y 0 c i be peed vette aon ina amines 1 9 Device WII Wsiiai ese eat hata ss i Sea eee is 1 10 Network Parameters WindoW ooooconocnconnonconnnonconnonncnnorononnccononn nono can ono no nnn cnn ona rcn aran nnnncnnos 1 10 Block Configuration WiNdOW cocccocnnonconnonnnononononnnonnonnconnonnnonncrnnonn non ncnn ono non nro ncnrcnnonnos 1 11 Changing Parameter Settings oooncnnnnnncnncnnoncnnnonncnnnnonononcnnnnn crac conc cono nn crono rancia 1 12 Block Configuration Window cONS oocococnnoninonconcnnnonnnonccnnonnnonn conc cnn cnn ncnncrnno 1 12 Block Configuration Window TabS ooncnnconocnncnnonncononnnonccnnonanonnnonccancrnnonncrnnos 1 12 Block Configuration Window UNitS oconnccnccnonononconcnnncnnnnnnonnncnncnnconccnncrnncrnnonnos 1 13 Chapter 2 Using the NI FBUS Configurator Start the NI FBUS Configurator and NIFB ProcesS ooocnnncnocnnonconnoononnnnnncononanonncrnncnnono 2 1 Create a NEW Project A a See ER 2 1 Open an Existing Project wiicsisl ath eid eh dee tan E 2 2 Take link OC ccs 0 ec sde ale e A O EA 2 3 Add Offline Devices sieve tii neh Beale tA e 2 4 Take lank Mileto 2 6 Upload Project Configuration ooncnnocnonononcononnncnnnoncnanonononnnonnonn non nonn conc iiieasg iere 2 8 Set Device Addresses seare ii is 2 8 View Device Properties essais ne aa ea 2 10 Customize the Device Image lcON ooooonnnonnnnnnonnonnconcnoncnncnnnonncnn conc con con ncnnnnnnono 2 11 Function Block Instantiation and Deletion
170. priately before downloading to avoid unexpected output values The function blocks do not go to the Auto mode until you schedule the function blocks to execute You can schedule function blocks by placing the function blocks in the Function Block Application Editor window and downloading If you want to download the configuration now proceed to step 8 Adjust the scaling For the AI block you can set three types of scaling XD_SCALE OUT_SCALE and L_TYPE For more information about scaling refer to the Scaling Parameters section of Chapter 4 Parameters To change the scaling parameters double click the AI function block In the block configuration window select the Scaling tab Confirm the scaling parameters and check that the other parameters are reasonable 3 2 ni com Chapter 3 NI FBUS Configurator Tutorials 9 To change a parameter click the current value Then enter the new value for your device as shown in the following example XD_SCALE OUT_ EU_100 EU_0O Units_Index Decimal SCALE EU_100 EU_0O Units Index Decimal L_TYPEindirect 50 50 mV 3 400 100 IC 3 Note Ifyou select an L_TYPE of direct the NI FBUS Configurator stops scaling the transducer value by ignoring the OUT_SCALE parameter Normally you should select one of the indirect L_TYPES Refer to the L_TYPE Scaling parameter description of Chapter 4 Parameters for more information 10 Click the Write Chang
171. ption files have been imported the NI FBUS Configurator detects both the device and the function blocks in the device This process takes a few minutes The configuration tree displays all local and remote devices and function blocks connected to the link National Instruments Corporation 3 1 NI FBUS Configurator User Manual Chapter 3 NI FBUS Configurator Tutorials Tutorial 2 Create Basic Connections to Al and AO Blocks NI FBUS Configurator User Manual Double click Function Block Application in the configuration tree A blank window appears to the right of the configuration tree This window is the Function Block Application Editor window Drag one of each of the following types of function blocks from the configuration tree to the Function Block Application Editor window AI block e AO block Use the wiring tool to connect data together to pass the data value from one function block to another function block Connect the AI and AO modules together Use the pointer tool to organize the blocks or nudge wires The Zoom menu has several options to make the code within the Function Block Application Editor more manageable as shown in the following diagram AlBlock AD A AOBlock A0 RA OUT P OUT D gt BKCAL OUT P gt Alarms Pe PON Alarms gt Sees Download the configuration so that the function blocks can begin executing However if the device controls a real world signal configure the parameters appro
172. r around the desired blocks and wires or using the lt Ctrl gt key while clicking the desired blocks and wires With the Function Block Application Editor window open select File Save Template Choose to save only selected items or the entire Function Block Application By default the NI FBUS Configurator saves all templates in the fcs templates directory under your installation of NI FBUS If a template is in that directory this template automatically appears as an available template in the template menu Export Function Block Application Image You can export the image of configured function block application as a bitmap file With the Function Block Application Editor window open select File Export Fbap Image NI FBUS Configurator User Manual 2 26 ni com Chapter 2 Using the NI FBUS Configurator Defining Loops A loop is a group of connected function blocks that execute at a specified rate You can define multiple loops in one Function Block Application The following figure shows an example of two separate loops running at the same rate You can add loops running at the same rate to a Function Block Application without using a loop structure interface0 0 Function Block Application Loop Time 1sec 24 Stale Limit 1 H Olr wi FARM OE 3051_AL1 A EJA AL1 AD OUT OUT Alarms gt Alarms P Trends J gt Trends J gt Trends Pe Trends P MSN ESA PidBlock PID IN OUT CAS INBKCAL OUT P gt
173. r to Chapter 4 Parameters for complete descriptions of the parameters and the values To edit a block parameter value complete the following steps 1 Double click in a function block to open the block configuration window 2 Ifa record is collapsed click the plus sign to see the values of the record or array parameters 3 Use the cursor to select the parameter value you want to change You can select the desired setting from a drop down menu or type in the new value If a parameter value is grayed out this parameter is read only and you cannot change the value After you change a parameter value an asterisk appears by the parameter name and the field turns yellow E 4 Click the Write Save Changes button on the block configuration window toolbar to apply your changes If the device accepts the new setting the asterisk and yellow color disappear If the device does not accept the new setting ensure the setting is valid for your device Refer to your device documentation for valid settings of this parameter Y Tip If you do not want to write or save the new value to the device you can undo your change to the block configuration window by reading the parameter value stored in the device or c f file as described in the Manually Update Block Parameters section 5 If you do not click the Write Save Changes button you can apply your changes when downloading the configuration by checking the Write Contained Block Parameters c
174. rameter 4 30 SIMULATE_D parameter 4 30 SP parameter 4 30 SP_D parameter 4 30 SP_HI_LIM parameter 4 30 SP_LO_LIM parameter 4 31 SP_RATE_DN parameter 4 31 SP_RATE_UP parameter 4 31 ST_REV parameter 4 31 STATUS_OPTS parameter status options table 4 31 STRATEGY parameter 4 32 TAG_DESC parameter 4 32 TEST_RW parameter 4 32 TRK_IN_D parameter 4 32 TRK_SCALE parameter 4 33 TRK_VAL parameter 4 33 tuning parameters 4 10 UPDATE_EVT parameter 4 33 WRITE_ALM parameter 4 33 WRITE_LOCK parameter 4 33 WRITE_PRI parameter 4 33 XD_SCALE parameter scaling parameter values table 4 34 XD_STATE parameter 4 34 performance problems B 10 PID control of simulated process tutorial 3 5 PID scaling procedure 4 6 polled addresses setting number of B 9 preferences setting 2 46 printing project configuration 2 48 problems See troubleshooting and common questions process parameters 4 9 programming examples NI resources H 1 projects creating new project 2 1 downloading configuration 2 39 bringing blocks online 2 41 download options 2 40 NI FBUS Configurator User Manual Index opening existing projects 2 2 printing 2 48 problems with opening finding B 16 saving configuration 2 38 uploading project configuration 2 8 PV parameter 4 26 PV_D parameter 4 26 PV_FTIME parameter 4 26 PV_SCALE parameter 4 27 PV_STATE parameter 4 27 Q quick verification 2 42 R RA_FTIME parameter 4 27 RAT
175. rcuitry in a computer Typically a bus is the expansion vehicle to which I O or other devices are connected Examples of PC buses are the ISA and PCI buses See Link Active Scheduler Glossary 2 ni com C C Channel Character string name Configuration object Contained parameter Control loop Control strategy CSV Cyclic D Data Link Layer Data link time synchronization dB DD Descriptor Device Device address Device Description National Instruments Corporation Glossary Celsius A pin or wire lead to which you apply or from which you read the analog or digital signal See Tag See Linkage A parameter that does not receive or send data and is contained within a function block A set of connections between blocks used to perform a control algorithm See Function Block Application A text file using the Comma Delimited format Closed loop control The second lowest layer in the ISO seven layer model layer two The Data Link Layer splits data into frames to send on the physical layer receives acknowledgment frames and retransmits frames if they are not received correctly It also performs error checking to maintain a sound virtual channel to the next layer A time distribution message broadcast on the Fieldbus so that all devices have exactly the same data link time Decibel See Device Description A number returned to the application by the NI FBUS Communications Manager
176. re is sufficient unscheduled time left in the schedule Download the project after changing the scheduler or Function Block Application Editor e If this still does not solve the problem and your configuration file contains the entire application download with the Clear Devices box checked I am using a PID loop to control a 4 20 mA signal The range for my analog input block is 4 20 mA The quality of the reading of my PID block is Uncertain when it reaches the setpoint 20 mA Why The value the analog input is reading when the PID reaches the setpoint is 20 mA The device reports the quality as Uncertain because the device is able to read inputs only up to 20 mA If you actually have an input of 21 mA the device will read this as 20 mA since this is the maximum range setting If the input is 20 mA the device will read this also as 20 mA For this reason it is impossible to know whether a reading of 20 mA is actually a good reading or not The device reports Uncertain status so that the user is aware that signal value might not really be 20 mA To make sure that you get a quality of Good you simply increase the range to something slightly larger than your maximum expected value You also can force the NI FBUS Configurator to treat Uncertain as Good This is done on a function block by function block basis Double click the block for which you would like to change this setting Under the Options tab locate the parameter called STATUS_OPT
177. rer Enable the Scaling Factor on the Arithmetical Parameters Click this checkbox to enable the scaling factor on the arithmetic parameters which is defined in DD Use the Display format and Edit format of Parameters Click this checkbox to enable the different formats for display of parameters defined in DD 2 46 ni com Chapter 2 Using the NI FBUS Configurator e General Use this tab to select which windows appear when you start the NI FBUS Configurator However the Automatically Set the pdTag and Node address option is used to determine whether NI FBUS Configurator automatically sets the tag or address of the factory default device Refer to the Set Device Addresses section of this chapter for more information e Links Use this tab to change the software key as described in the Changing the Software Key section Log Settings Use this tab to set the information log settings as described in the Log Information section Status Log File Input or select the file name to store status information Download Log File Input or select the file name to store download information Assignment Log File Input or select the file name to store assignment information When to Log Click to log in real time Click Quit Program to log only before NI FBUS Configurator quits Add Timestamp on Each Item Check this option to append timestamp at the end of each information item Timestamp Format The options define the fo
178. res a value every 2 s 7 Set the Sample Type Select Instant or Average from the Sample Type drop down list Instant trends the actual value Average trends all samples National Instruments Corporation 2 35 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator B Note Ifyou want to view trends on a host computer that computer must have trend viewing software installed The NI FBUS Configurator does not have trend viewing functionality View and Edit a Schedule The NI FBUS Configurator automatically determines the execution order and timing of the schedule based on your control strategy network and device factors and the loop execution rate you choose The NI FBUS Configurator also automatically optimizes the schedule The Link Active Scheduler LAS is a device that dictates both scheduled and unscheduled communication according to the schedule downloaded to interface0 0 ID NIC_ATF it The Primary LAS field on the schedule window displays the name of the device that is the primary LAS for the system Change the Link Active Schedule To change the schedule complete the following steps HL 1 2 3 E 4 Double click the Schedule icon in the configuration tree The schedule window appears Click the Scale field to display or change the time and divisions on the timing diagram Use the cursor to drag the function blocks in the schedule as desired Dragging bars in the schedule shuts off
179. rmat to display the timestamp Maximum Size of The File The size limit of each log file Deny other process to modify the files Check this option to prevent other processes or programs from modifying the log file Changing the Software Key The NI FBUS Configurator by default is licensed for use on one machine with up to four Fieldbus links If you want to use more than four links ports on your boards you need a link upgrade for each link in excess of four To purchase additional licenses contact National Instruments at ni com fieldbus to obtain an order form for link upgrade s 850283 0 Part number for a one link upgrade of the National Instruments Corporation NI FBUS Configurator 2 47 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator You can find the current software key under Help About FCS You need to provide the software serial number and the current software key when ordering If you have not previously purchased any link upgrades your key will be blank After you obtain a new key complete the following steps to change the key 1 2 3 Print Select View Preferences The Preferences dialog box appears Click the Links tab On the Links tab click the Show About Dialog button The About dialog box appears Click the Set SW Key button enter the new key and click the OK button Click the OK button to close the About dialog box The number of Links Allowed on the
180. roject ie st att B 16 Using NIBB cios iio ie lia ita de B 16 Restart Device Sucina less B 16 Using Fieldbus with Server Explorer oooconcninnnocinnnnonconcnnnonnnonncnncnn conc cnnnrnnornncnncancc nono B 17 Uninstalling the Software csi ets tala dientes B 17 Appendix C Cascade and Remote Cascade Setups Cascade IIA IZAN ma a td at did d oia C 1 Parameter Connections for Cascade Initializati0W oooooocnononoanncnnononnnocononnonacononannnnos C 1 Mode and Status Behavior During Cascade Initializati0N o ooncnnnnnnnnnnicnnonoccnncncnncanos C 2 Remote Cascades iaa oases ee i a nde nevbutennedesbaabek dance dabseabeus sedaeee eevee C 3 Bypassing Cascade Initialization oooconncnonnnonnonnconcononononnnonacon con ncnn nr ncnnn ronca non cnn ncnncnnos C 3 Appendix D NI FBUS Dialog Utility NI FBUS Dialog Utility OvervieW oooocooncnnonionnonnnoncnnncononanonncnnonn conan nono nnc rn nono rancia connnns D 1 NEFBUS Dialog Examples cuca ieoerdenp E D 1 Example 1 Get a Device LiSt oooncnnnnnncnnnnonnonnconnonncnnnonnnnnnonncnnconcconnrnncnno nono D 2 Example 2 Download a Schedule to an Interface ooooncnnoninnnnnnnnnninconnnaninnoss D 2 Example 3 Read a Parameter Using TAG PARAM Acc ce osses D 3 Example 4 Wait for a Trend 0 0 ce cecceescecesceeseeceaeeeseeeeaecsseeesneceaeecseeeeeeesaes D 4 National Instruments Corporation xi NI FBUS Configurator User Manual Contents Appendix E NI FBUS Interface Configurati
181. rs an error with the object G e Invalid This icon appears when the indicated object is not responding to the NI FBUS Configurator scan iy Note Objects become invalid during the initial bus scan or when changing the device address The reason is that the device suspends communication while setting the device address Open an Existing Project To open an existing project complete the following steps 1 When you start the NI FBUS Configurator the Start Up dialog box appears automatically If you want to open an existing project at any other time select File Open browse to the file you want to edit and click Open NI FBUS Configurator User Manual 2 2 ni com Take Link Offline Chapter 2 Using the NI FBUS Configurator In the Start up dialog box the recently accessed files appear in the bottom listbox Select the Open an Existing Project option Optional To open other files double click More Files in the listbox Choose the file item in the listbox click the OK button or double click the file item to open it directly Taking a link offline moves a local online link to an offline state Working with an offline link is faster than working with an online link You can take a local link offline to speed up configuration such as setting pdTag and node address and then take the link back online for use iy Note You cannot take a remote link offline National Instruments Corporation To take a local link offl
182. rt the device description and cff file You can run the NI FBUS interface configuration utility by selecting Start All Programs National Instruments NI FBUS Utilities Interface Configuration Utility When you open the NI FBUS interface configuration utility a dialog box appears containing the currently configured interfaces Use buttons on this dialog box to launch the interface configuration dialog box and import the device description and cff file Note Refer to getting started manual to get how to configure the online interface USB 8486 PCI FBUS PCMCIA FBUS HSE H1 LD and import the device description National Instruments Corporation E 1 NI FBUS Configurator User Manual Appendix E NI FBUS Interface Configuration Utility Configure Offline Interface Offline interface is a special virtual interface which has almost the same behaviors of online interface based on the interface card in the Configurator It enables user to simulate the online configuration without any interface card or physical devices Using Configurator you can switch the online interface with offline interface which can speed up your configuration and make the remote configuration control easier To add an offline interface complete the following steps 1 Launch the interface configuration utility and click the Add Interface button 2 Inthe Choose interface type dialog box choose the offline type then click the Continue button select the
183. ruments corporate logo and the Eagle logo are trademarks of National Instruments Corporation Refer to the Trademark Information at ni com trademarks for other National Instruments trademarks Other product and company names mentioned herein are trademarks or trade names of their respective companies Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency partnership or joint venture relationship with National Instruments Patents For patents covering National Instruments products technology refer to the appropriate location Help Patents in your software the patents txt file on your media or the National Instruments Patent Notice at ni com patents Export Compliance Information Refer to the Export Compliance Information at ni com legal export compliance for the National Instruments global trade compliance policy and how to obtain relevant HTS codes ECCNs and other import export data WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS 1 NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN 2 IN ANY APPLICATION INCLUDING THE ABOVE RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRE
184. s In the block configuration window click the Alarms tab to view or change alarm information such as the high and low limits of an alarm condition alarm priorities and so on 2 34 ni com Chapter 2 Using the NI FBUS Configurator Configuring Trends You can configure a device such as an interface in a PC to receive trends from function blocks Complete the following steps to configure trends 1 Drag the configuration tree icon for the device or interface to which you want to send the trend to the Function Block Application Editor window 2 Either wire the Trends output of the block to the device you want to receive the trend or check the Receive All Trends checkbox The following figure shows an example of a configured trend PidBlock PID gt IN OUT gt A E interface0 0 PCAs IN BECAL OUT gt BECAL IN Alarms gt gt Alarms A a TRK IN D Trends Ppa Trends TRK VAL C Receive All Trends FF VAL O Receive All Alarms 3 Double click the function block from which you want to send a trend The block configuration window appears 4 Inthe block configuration window click the Trends tab Check the Trend column checkbox next to the parameter you want to trend 6 Set the sample Interval of the trend in loops sample The interval is a multiple of any loop macrocycle time of this block For example if the interval is 2 loops sample and the loop macrocycle time is 1 s the trend acqui
185. s not enough time in this macrocycle to schedule all the function blocks and parameters Increase the macrocycle time of the loop to get more free time A macrocyle generally must be at least 10 ms NIFCONF_ERR_MAXIMUM_LOOPS_EXCEEDED The maximum number of loops you can configure on this link is exceeded NIFCONF_ERR_MISSING_NIFBUS_PATH The install path for NEFBUS Configurator is not in the Windows registry NIFCONF_ERR_MULTI_LAS Multiple primary Link Active Schedulers are defined Only one primary LAS is allowed on a link NIFCONF_ERR_MULTI_TM Multiple time masters are defined Only one time master per link is allowed NI FBUS Configurator User Manual A 6 ni com Appendix A Error Messages and Warnings NIFCONF_ERR_NO_CONVERSION There is no conversion for this data type NIFCONF_ERR_NO_DATA No data NIFCONF_ERR_NO_LAS SELECTED A schedule has been created but no LAS is selected NIFCONF_ERR_NO_LM_SELECTED A schedule has been created but no link master is selected NIFCONF_ERR_NO_OBJECT_SELECTED Nothing is selected NIFCONF_ERR_NO_PRINTER_DEVICE_CONTEXT The NI FBUS Configurator cannot draw the document because of an incorrect device context for the selected printer NIFCONF_ERR_NO_TM_SELECTED No time master is selected NIFCONF_ERR_NO_UNSCHEDULED_TIME_LEFT The auto scheduler ran out of unscheduled time Increase the macrocycle time s to allow more free time for scheduling NIFCONF_ERR_NOT_ON_LI
186. sary Ratio A special block containing parameters that describe the operation of the device and general characteristics of a device such as manufacturer and device name Only one resource block per device is allowed Seconds Specifies how trends are sampled on a device whether by averaging data or by instantaneous sampling Communication that occurs at the same time during each control cycle See Link A device that responds to a physical stimulus heat light sound pressure motion flow and so on and produces a corresponding electrical signal Device that receives a message request Services allow user applications to send messages to each other across the Fieldbus using a standard set of message formats A communication path between an application and the NI FBUS Communications Manager A set of hardware registers or a reserved amount of memory used for calculations or to keep track of internal operations Data that has not been updated for stale_limit number of macrocycles where the stale limit is a parameter of the connection A device that has at least one function block with its input value connected to the output of another device A Fieldbus Foundation or device manufacturer supplied file that contains the ASCII names for all the objects in a device Glossary 9 NI FBUS Configurator User Manual Glossary T Tag Timeout Traditional system Transducer block Trend Trend function U
187. schedule double click the Schedule icon from the configuration tree If you use a fast device you can change the Loop Time to 0 1 second for this configuration If the macrocycle is too low a warning appears on the Errors tab Download your configuration by clicking the Download Project button In the download configuration window that appears select Clear Devices and Automatic Mode Handling Click the Download button to download your configuration Downloading can take several minutes to complete When finished a dialog box appears informing you that the download is complete Test your configuration a Click the Monitoring Mode button in the Function Block Application Editor window b In the dialog box that appears select Monitor Block Outputs Monitor Wired Parameters and set the rate to two seconds c Click Start Monitoring You also can monitor the configuration using the block configuration window for any individual function block Observe the values and changes in the parameters Check the Periodic Updates box to cause the parameters to be read at the specified rate when the block is running 3 4 ni com Chapter 3 NI FBUS Configurator Tutorials Tutorial 3 PID Control of a Simulated Process This tutorial assumes you have completed Tutorial 2 which describes how to modify function blocks write parameters and test a configuration 1 National Instruments Corporation If your device supports functi
188. set the Activate member to FALSE 2 Add all the items you are interested in 3 Activate the OPCclient object by going through Edit Connections dialog box and setting the Activate member to TRUE This will configure the MVC items 4 To open a previously saved Ikp process file follow a similar deactivation activation procedure What do I do if Fieldbus objects do not appear in Lookout If you want to use the native Fieldbus objects in Lookout you have to delete the lookout dat file in the Lookout directory This file is an index file that tells Lookout what objects it has available Fieldbus objects are not available by default Lookout will regenerate the Lookout dat file the National Instruments Corporation B 15 NI FBUS Configurator User Manual Appendix B Troubleshooting and Common Questions next time it is started When it regenerates the file it will see that Fieldbus software has been installed and will make the Fieldbus objects available How do I use Fieldbus Alarms in Lookout In Lookout there is a separate alarms window for Fieldbus alarms Under the Options menu choose Fieldbus to show this window The window can also be shown using traditional Lookout datamember ShowAlarms Refer to the entry for National Instruments Fieldbus in the Lookout object reference manual also available from the Help menu within Lookout Note that if you want alarms to appear in the standard Lookout alarm window rather th
189. smitter Schedule 3 Function Block Application SS OfflineInterface1 0 4 Metso ND9000FF Rosemount 3051 Prowirl 72 Er Yokogawa EJA100A ResourceBlock5 RB2 TransducerBlock7 EJATB r El Remote Systems J a c Terrv 9014 a onfigurator File interface0 0 Configure View Window Help Hide FBAP Grid 2 Hide Help bael O12 Gis 42 8 2am a BLOCK ABB E E My System TransducerBlockl1 0 gt Anderson menes Co s interface2 0 EJATB ASCO Controls LP y ce E ALMA 2 aaah Pdo EJA transducer block BEKA Associates sais connected to Al Block help Double click or right click on this item to edit block parameters This interface can be used to tag the block and to alter parameters in the block read data object success PARAMETER SAVE_CONFIG_NOW read data object success PARAMETER DOWNLOAD_MODE read data object success 11 01 19 LINK interface0 0 is currently idle Status Download Errors Assignment Live List 11 01 20 Ready 07 3106 11 03 17 1 Object Menu based on object selected in configuration tree 2 Configuration Tree 3 Middle Frame 4 Help Window 5 Status Window 6 Device Type Tree NI FBUS Configurator Figure 1 1 NI FBUS Configurator Main Window Elements At the upper right corner of the screen you may see two sets of resize buttons The outer set of buttons controls the NI FBUS Configurator and
190. t machines on an operating network access a device 1 PC 101 PID 2 3 Launch the Set Tag dialog box in one of the following ways e Inthe configuration tree right click the device or block whose tag you want to change and select Set Tag e Select the object menu item from the main menu bar and select Set Tag e Double click the device or block in the configuration tree to launch the block configuration window Then click the Device Tag field in the block configuration window In the New Tag field enter the tag you want to assign Make sure the Set to OOS Mode checkbox contains a checkmark Note Set to OOS Mode is disabled for offline devices UN Caution You cannot set tags for the host device because the device keeps in constant communication You cannot set tags for an HSE H1 linking device because this device contains the H1 host device When you set the device tag the device loses all linkage communication configuration information and control of the process You should not change device tags after you have configured your process 4 Click the Set button The NI FBUS Configurator sets the block or device to the oos mode before setting the new tag If the device or block does not go to the 00S mode the NI FBUS Configurator notifies you You must determine whether to continue to set the tag You should not try to set the tag without putting the device in the 00S mode 3 Note Setting a tag may take a few minu
191. tained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty National Instruments believes that the information in this document is accurate The document has been carefully reviewed for technical accuracy In the event that technical or typographical errors exist National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition 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 EXCEPT AS SPECIFIED HEREIN NATIONAL INSTRUMENTS MAKES NO WARRANTIES EXPRESS OR IMPLIED AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of action whether in contract or tort
192. te to a device e Other devices are actively and frequently polling the device causing reads to time out Reduce polling Make sure you disable periodic updates If you have scheduled other devices to poll this device frequently try changing the poll rate e The device is in an invalid state Use the RESET parameter to cycle power and reset the device A device does not transmit alarms or trends Either you have not configured them yet or there is not enough time on the schedule For instructions on how to configure alarms and trends refer to the Configuring Alarms section and the Configuring Trends section of Chapter 2 Using the NI FBUS Configurator respectively If a device does not publish the data you configured it to transmit complete the following steps 1 Edit the schedule to add more time to the communication schedule To edit the schedule double click the Schedule icon in the configuration tree For more information about editing the schedule refer to the View and Edit a Schedule section of Chapter 2 Using the NI FBUS Configurator 2 If your project reads and polls information continuously turn off polling to see if the device publishes the data To turn off polling uncheck the Periodic Updates checkbox at the top of the block configuration window Set Address Problems A device does not accept a permanent address The device does not have a tag For instructions on setting the tag refer to
193. tes a 5 NI FBUS Configurator User Manual After you set the tag double click the block icon to launch the block configuration window On the Process tab change the block from the oos mode to a desired mode usually Auto by selecting the desired Target mode from the MODE_BLK parameter For a description of modes refer to the Function Block Modes section 2 12 ni com Chapter 2 Using the NI FBUS Configurator Function Block Modes The most common operational modes for function blocks on devices are Automatic Auto Cascade Cas Manual Man and Out Of Service OOS In the Automatic mode the block runs under the normal automatic control using a local setpoint value in the normal block algorithm to determine the output value In the Cascade mode the block receives setpoint values from another function block The block that receives the values uses the values in the normal block algorithm to determine the output value A linkage object connects the two blocks The linkage object is created implicitly when you wire the output of one function block to the input of another as described in the Create and Edit Function Block Applications section For example a PID function block receives its setpoints from an upstream block In the Out Of Service mode the block does not run at all You need to set the function block to the Out Of Service mode to change certain parameters of some devices In the Manual mode the bloc
194. that the parameters are never written to nonvolatile memory Note that nonvolatile parameters are stored to nonvolatile memory when they are changed by a user over the network The NV_CYCLE_T parameter sets the rate at which changes caused by the device itself are stored to nonvolatile memory OUT Process Scaling Tuning The current output value of the block OUT_D Process The current output value of a discrete block OUT_HI_LIM Limiting A limit for the maximum output value from a block in modes other than manual OUT_LO_LIM Limiting A limit for the minimum output value from a block in modes other than manual National Instruments Corporation 4 25 NI FBUS Configurator User Manual Chapter 4 Parameters OUT_SCALE Scaling The scaling parameter used for the output parameter Table 4 18 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 not used by the NI FBUS Configurator OUT_STATE Process Index to the text description of the discrete output state PV Process Scaling Tuning PV_D Process The process value or primary value for this block For AI and control blocks such as PID this represents
195. the data organization graphical visualization and persistent data storage for a field device through the use of dialog boxes charts graphs images dynamic variables and so on The robust graphical interface which may incorporate cursor pan and zoom functionality to inspect the details provides a comfortable and convenient way to make operational decisions National Instruments Corporation 2 31 NI FBUS Configurator User Manual Chapter 2 Using the NI FBUS Configurator Complete the following steps to access the EDDL elements and functions of a device 1 Add the EDDL device in the online or offline mode 2 Open the Block dialog box of your selected block You can access the EDDL elements through menu items Note The NI FBUS Configurator may take a few minutes or longer to open an EDDL window depending on the number of elements in the window The following table shows the menu item types supported by the Block dialog box and the action performed for each Table 2 1 Block Dialog Menu Items Item Type Icon Action Menu Ce To expand sub items or open an EDDL dialog window depending on its style Method Ea Execute a defined action showing the operation process and result in the Method tab of the Block dialog Chart m Activate a chart and display real time continuous data values read from the device in the chart Graph Activate a graph and display the static data stored in the
196. the inner set controls the active window in the middle frame To see other windows in the middle frame minimize the active window in the middle frame User Manual 1 2 ni com Chapter 1 NI FBUS Configurator Overview Device Type Tree The device type tree window which appears to the most left side of NI FBUS Configurator displays the existing device types already imported into NI FBUS The device types are grouped by vendor name Click the symbol to view the device types belonging to each manufacturer Click the Hide Device Type Window button to hide the device type window select Window Device Type Window to show the device type window 3 Note You can dock the device type window on the right side of the main window To do so drag the device type window and drop to the right side of the main window or select View Preferences select the General page and check the Dock Device Type Window in the Right Side box to move the device type window to the right side Configuration Tree The configuration tree appears to the left of the middle frame This tree displays local and remote configurable objects that connect to the NI FBUS Configurator When you select an object in the configuration tree its own menu appears as the main menu bar Object menu item You also can view the items on this menu by right clicking the object To configure or view an object settings double click its icon in the configuration tree TI You can click
197. tion esesssessesecesesescssescnsesesonscsaescessnecesseecsseseseneessens 2 38 Download a Project Configuration eee cecceseceeeesecseeeseeseecaeessesaeeesecaecneeseseaeaes 2 39 Download Options iiiver ten aiaiai aaia i as 2 40 Write Contained Block Parameters oooncnnccnnnnonononcnnncnncnnccnncnnncnncnnno 2 40 Clear Deyi E Sri eare era aasa ia E a aa cous eed ra SEEE aS 2 40 Automatic Mode Handling coocniccnononononnnonncnnonncnnnonnnonnannccnncnnccnncnnnoo 2 40 Verity and Dilo e E A EARS 2 41 NI FBUS Configurator User Manual vi ni com Contents Bringing a Block Onine niisiis isiti to ieden ii aiia 2 41 Monitori Parameters cial ias ERES 2 42 Verity a Configurations sesona idas e de 2 42 Quick Verifica caricias il N 2 42 Compare Two Configurations oooonccnonononconononcnnnonnnnnnnnncnnconnonn non nc ron onn conc cnncinno 2 43 Check for Errors cid ii 2 43 Add An Additional Function Block Application ooooncnoncnonnnononnnnnnnoncononncnnnrnnonncrnncnnos 2 43 Replace Devices oct rn aia 2 44 Reset a Device to Factory Defaults ssnsdin asia KS K Ea iae 2 44 Change Device Ty pees iriiritia ausaria a Ea da iE EEE A ERARAS Sa ass rara i 2 44 Export amp Import Parameters sistitin i i 2 45 Set Preferent A E E A T a a as 2 46 Changing the Software Key cimil ansiada i VK a a 2 47 Praia E 2 48 Log Information iii ado ipiisis 2 49 Chapter 3 NI FBUS Configurator Tutorials Tutorial 1 Connect to Network and Hardware oooo
198. tion block has no device description and the block does not correspond to the standard function blocks defined by FOUNDATION Fieldbus You may need to import the device descriptions To do so refer to the Missing Symbolic Information section Another possibility is that the NI FBUS Configurator cannot read pertinent block information from the device Reset the device Missing Symbolic Information If a function block is missing symbolic information such as names and help strings you may need to import the Device Descriptions DDs For more information about device description files refer to the Device Description Files section of the Founpation Fieldbus Overview manual NI FBUS Configurator User Manual B 12 ni com Appendix B Troubleshooting and Common Questions Add Delete Tabs The NI FBUS Configurator crashes when you try to add or delete tabs in the block configuration window for a block which has menus and or methods The best solution would be to customize the existing tabs Complete the following steps to add your own tabs to a block with menus and methods 1 Select Start All Programs National Instruments NI FBUS Utilities Interface Configuration Utility to run the NI FBUS Interface Configuration utility Click the DD Info button The DD Info dialog box appears Write down your existing device description base path Clear out the device description base path and close the program Restart NI FBUS and laun
199. tion section of Chapter 2 Using the NI FBUS Configurator 3 Make sure the target mode of both the PID and AO blocks is set to Cas The AI block does not transition to Auto mode from 00S mode The configuration is incorrect or incomplete Complete the following steps 1 Make sure that the resource block is in Auto mode 2 Make sure the xD_SCALE fields are set to the value specified by the vendor 3 Set the target mode of the AI block to Auto The function blocks are in oos mode The resource block is in oos mode Set the target mode of the resource block to Auto then set function block to their normal mode AI block will not go to Auto mode The block must be scheduled to execute done by placing it in the Function Block Application Editor window and downloading before it can go into Auto mode If the block still will not go into Auto try the following solutions Check that the resource block is in Auto e Look at the BlockError parameter on the Diagnostics tab This will often give reasons for staying in OOS mode e For FieldPoint you can look at the LAST_BLOCK_EVENT parameter e Make sure that the parameter L_TYPE has been initialized and other parameters are set properly The Fieldbus device stays in oos mode even though the resource block MODE_BCK TARGET Auto and MODE_BCK ACTUAL Auto The Fieldbus device needs to be configured Start by dragging the function block in question such as an
200. tions transducer_value XD_SCALE EUO FIELD_VAL XD_SCALE EU100 XD_SCALE EUO OUTDirect transducer_value OUTIndirect FIELD_VAL OUT_SCALE EU100 OUT_SCALE EUO OUT_SCALE EUO 100 FIELD_VAL OUTIndirect Square Root YV 100 OUT_SCALE EU100 OUT_SCALE EUO OUT_SCALE EUO Figure 4 1 Al Scaling Procedure NI FBUS Configurator User Manual 4 4 ni com Chapter 4 Parameters RCAS_IN or CAS_IN SP_RATE_DN SP_RATE_UP a SP_HI_LIM Limiting if enabled SP_LO_LIM SP the limited input FSTATE_TIME FSTATE_VAL Fault State Behavior if enabled PV_SCALE PV_SCALE specifies the scaling from process units to FIELD_VAL of scale FIELD_VAL of scale XD_SCALE Transducer produces some Transduber Value physical signal in Volts Amps etc Figure 4 2 AO Scaling Procedure O National Instruments Corporation 4 5 NI FBUS Configurator User Manual Chapter 4 Parameters IN CAS_IN Filter PV_FTIME SP_RATE_DN SP_RATE_UP o d SP_HI_LIM if enabled PV SP_LO_LIM SP PV_SCALE PV_SCALE PV in of Scale ae Note FF_VAL is an external o value proportional to Sa of Scale disturbance in the control Control a loop This value will T be converted to percent RATE of output scale using FF_SCALE The percent O of scale val
201. tively disables the integral term RESTART Diagnostic Option Allows the user to restart the device remotely Table 4 19 Restart Values Value Behavior Restart Resource Restarts the device Restart to Defaults Restarts the device restoring all parameter values to default values Restart Processor Restarts the device as if the power was cycled ROUT_IN Mode Shedding Process The cascade input set by a remote host This is propagated to the output of the block when it is in ROut mode If the block is in Rout mode and this parameter is not updated in SHED_ROUT time a parameter in the resource block the block enters mode shedding Mode shedding allows the block to degrade from ROut mode into some higher priority mode ROUT_OUT Process This is the back calculation output used by the host when trying to establish a remote output loop While the loop is being established it is the current value of the output channel and can be used by the host to initialize for smooth transfer of control RS_STATE Diagnostic Process The current state of the device NI FBUS Configurator User Manual 4 28 ni com Chapter 4 Parameters Table 4 20 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
202. tor User Manual Chapter 2 Using the NI FBUS Configurator 2 Inthe Start Up dialog box all interfaces in the local and remote systems appear Select the link s you want to include in your project in the Added Link s checklist 3 Select Offline Project to filter the online links 4 Click OK The NI FBUS Configurator scans the FouNDATION Fieldbus network and checks addresses and object tags If a device does not have an address or a tag the NI FBUS Configurator assigns one to the device However the NI FBUS Configurator does not assign addresses or tags if you deselected the Automatically Set the pdTag and Node address option If the NI FBUS Configurator detects duplicate tags the NI FBUS Configurator appends a numeric identifier to the original device or block tag You can click the Refresh button to refresh links in the local and remote systems You need to install the NI FBUS cRIO support feature to use this button kp Note You must launch the NI FBUS Communications Manager to access local links After you complete the preceding steps the configuration tree appears displaying all the Fieldbus objects on the link or links you chose in step 3 During the initial bus scan the following state icons sometimes overlap the configuration tree icons z e Updating This icon appears when the NI FBUS Configurator is reading or writing to the object a e Error fThis icon appears when the NI FBUS Configurator detects or encounte
203. ts Fieldbus Network Controller Manufacturer Type Category Model Name NATIONAL INSTRUMENTS H1 Device Class MANUFAC_ID DEV_TYPE DEV_REV OD_REV ITK Version PD Tag Device ID Node Address National Instruments Fieldbus Network Controller Other FP 3000 Link Master 0x4E4943 0x4005 0x03 0x01 NULL National Instruments_4005 Fiel 4E49434005030101MNationa44c9715b0 17 0x11 Figure 2 4 Device Properties Dialog Box To view the properties of a device select the device from the Device Type tree or Configuration tree Open the property dialog by using one of the following ways e Right click the device and click Properties from the shortcut menu Double click the device e For offline devices only Select the device in the Device Type tree and click View Properties in the toolbar of the Device Type window NI FBUS Configurator User Manual 2 10 ni com Chapter 2 Using the NI FBUS Configurator Customize the Device Image Icon Complete the following steps to customize the device image 1 Open the Device Properties dialog box 2 Double click the Device Image area 3 Select the image file from the Open File dialog box and click OK After you customize the device image the NI FBUS Configurator updates the corresponding icon s in the Device Type tree and the Configuration tree Tip To use the regular icons in the Device Type tree and the Configuration tree deselect the Use Customized Icon
204. ture complete the following steps 1 National Instruments Corporation Create a new project or open an existing project Wait until all devices in the project are in the normal state Right click an object with the parameters you want to export in the Configuration Tree and select Export Parameters Check the following options according to your application e Export Trends Click this checkbox to export the trends e Export MIB Click this checkbox to export the MIB parameters e Export Readonly Parameters Click this checkbox to export the read only parameters e Export Detailed Information Click this checkbox to export detailed information including data type help and so on e Customize Parameters Click this checkbox to select a custom set of parameters you want to export Enter the correct file name in the Save as dialog box Click the Save button to export parameters as a csv file Open the exported file using a spreadsheet program to edit the value column Right click the object with the parameters you want to import in the Configuration Tree and select Import Parameters Check the following options according to your application e Import Trends Click this checkbox to import the trends e Import MIB Click this checkbox to import the MIB parameters e Write Changes Click this checkbox to write the changes after import e Customize Parameters Click this checkbox to select a custom set of para
205. ue will be BYPASS if enabled multiplied by FF_GAIN in CONTROL_OPTS gt and added to the control the switch flips output if feed forward is enabled Fr _vaL FF SCALE O FF_GAIN Feed Forward if enabled Adjustment to prevent reset windup and to of Scale initialize the control loop Adjustment BKCAL_IN TRK_VAL OUT_SCALE Engineering Value Output Tracking TRK_SCALE OUT_HI_LIM Limiting OUT_LO_LIM if enabled TRK_IN_D lt If enabled in CONTROL_OPTS the switch flips OUT Figure 4 3 PID Scaling Procedure NI FBUS Configurator User Manual 4 6 ni com Chapter 4 Parameters Table 4 4 Scaling Parameters BYPASS I O_OPTS READBACK CONTROL_OPTS TYPE READBACK_D FF_GAIN LOW_CUT SEL_1 through SEL_3 FF_SCALE OUT SEL_ TYPE FF_VAL OUT_SCALE TRK_IN_D FIELD_VAL PV TRK_SCALE FIELD_VAL_D PV_FTIME TRK_VAL IN PV_SCALE XD_SCALE IN_1 1 0 Parameters T O parameters are related to the physical I O follows CHANNEL HARD_TY IO_OPTS LOW_CUT Pl Limiting Parameters The I O parameters are as Limiting is to prevent a calculated value such as a value from a PID block from rising above or dropping below a certain value Table 4 5 Limiting Parameters BKCAL_HYS SP_LO
206. ur view 2 16 opening 1 11 removing tabs 2 15 tabs 1 12 units of time 1 13 updating block parameters automatically 2 18 manually 2 18 block parameters See block configuration window block tags setting 2 12 BLOCK_ALM parameter 4 12 BLOCK_ERR parameter error codes table 4 12 BYPASS parameter 4 13 C CAS_IN parameter 4 14 CAS_IN_D parameter 4 14 Cascade Initialization bypassing C 3 mode and status behavior during C 2 overview C 1 parameter connections C 1 remote cascades C 3 Cascade mode See also Remote Cascade mode MODE_BLK parameter table 4 25 overview 2 13 change device type 2 44 CHANNEL parameter 4 14 CLR_FSTATE parameter 4 14 common questions See troubleshooting and common questions NI FBUS Configurator User Manual Index configuration tree 1 3 configurations printing 2 48 verifying checking for errors 2 43 comparing two configurations 2 43 quick verification 2 42 CONFIRM_TIME parameter 4 14 connecting function blocks checking for errors 2 22 creating basic connections to AI and AO blocks tutorial 3 2 wiring blocks manually 2 21 connecting to network and hardware tutorial 3 1 CONTROL_OPTS parameter table 4 14 conventions used in the manual iv CYCLE_SEL parameter 4 15 CYCLE_TYPE parameter 4 15 D DD_RESOURCE parameter 4 15 DD_REV parameter 4 15 deleting function blocks 2 11 DEV_REV parameter 4 16 DEV_TYPE parameter 4 16 device type changing 2 44 dev
207. ve Level Tran E Offlineinterface1 0 E ue assign cy E gone lt i Ales D f E y 1013 Radiometric Density Le EA Metso ND9000FF BA Gent pales le 1042 Magnetic Flowmeter 4 gy Hiara y m f 1051 Mass Flowmeter 3 DP FF VAL applicatic a f 1056 Prowirl 72 E 3 Yokogawa EJA100A 68 1057 Prowirl 73 ResourceBlock5 RB2 a 4 5 1059 Ultrasonic Flowmeter TransducerBlock7 EJATB Es JE 108f pH ORP Transmitter FunctionBlock33 AD ADBlod A0 E 1090 Conductivity Transmitter FunctionBlock34 AD y E 10cc Temperature Transmitter FunctionBlock35 PID J 6d 1200 1200 1 1 4 Remote Systems s m gt ED Terrv 9014 DEVICE EJA100 ID 5945430003DEM0136 FBAP_VED FbapVfd 0 BLOCK EJA AI 2 AI PARAMETER MODE_BLK read data object success 11 07 38 LINK interface0 0 is currently idle 11 07 39 Status Download Errors Assignment Live List 4 Ready 07 31 06 11 09 22 Figure 1 2 Window View Options National Instruments Corporation 1 7 NI FBUS Configurator User Manual Chapter 1 NI FBUS Configurator Overview Function Block Application Editor Window The Function Block Application Editor is the graphical interface you use to create your FOUNDATION Fieldbus control strategy also known as the block diagram in the NI FBUS Configurator a You can open the Function Block Application Editor by double clicking the Function Block Application icon in the configuration
208. vision of the device description used by the device National Instruments Corporation 4 15 NI FBUS Configurator User Manual Chapter 4 Parameters DEV_REV Diagnostic The revision of the device DEV_TYPE Diagnostic The manufacturer s model number for the device DISC_ALM Alarming The current state of the discrete alarm along with a time and date stamp DISC_LIM Alarming The discrete input state in which an alarm should be generated DISC_PRI Alarming Priority of the discrete alarm DV_HI_ALM Alarming The current state of the deviation high alarm along with a time and date stamp DV_HI_LIM Alarming The deviation limit between the PID block setpoint and process value in engineering units beyond which the deviation high alarm is considered active DV_HI_PRI Alarming The priority of the deviation high alarm DV_LO_ALM Alarming The current state of the deviation low alarm along with a time and date stamp DV_LO_LIM Alarming The deviation limit between the PID block setpoint and process value in engineering units beyond which the deviation low alarm is considered active NI FBUS Configurator User Manual 4 16 ni com Chapter 4 Parameters DV_LO_PRI Alarming The priority of the deviation low alarm FAULT_STATE Faultstate Option The current status of the device faultstate It can be set and cleared with SET_FSTATE and CLR_FSTATE If it is set all output blocks
209. wnwards 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 If set to zero the set point is used immediately SP_RATE_UP Limiting Option In Auto mode the rate in PV units per second the setpoint can be moved upwards If the setpoint moves faster than SP_RATE_UP the block acts as if the setpoint is moving upwards at the maximum rate with a status bit that indicates that it is limited If set to zero the set point is used immediately ST_REV Diagnostic ST_REV is incremented by one each time a static parameter is modified STATUS_OPTS Faultstate Limiting Option A collection of options that affect the status behavior of the block Table 4 22 Status Options Option Meaning IFS if Bad IN Set the status of the block output to initiate faultstate if the IN parameter goes bad IFS if Bad CAS_IN Set the status of the block output to initiate faultstate if the CAS_IN parameter goes bad Use Uncertain as Good If set blocks will treat the Uncertain status on an input parameter as if it were a Good status If clear Uncertain status is treated as Bad Propagate Failure Forward If the status of the IN parameter of the block is Bad Device_Failure or Bad Sensor_Failure the failure will be propagated to the oUT parameter No alarm will be generated
210. x will appear Click the Act button to acknowledge the selected alarm Click Act All to acknowledge all of the alarms in the dialog box You can automatically acknowledge the alarm by selecting Run Auto Acknowledge or click the Auto Acknowledge button on the toolbar if this option is checked the Unacknowledged Alarms dialog box will not appear after an alarm is captured Click the Reset Capture button on the toolbar or select Run Reset to clear currently captured alarms Select Run Max Size to set the maximum number of alarms that can be stored in the alarm view Click the Stop Capture button on the toolbar or select Run Stop to stop the alarm monitoring Click the Save button on the toolbar or select File Save to save all of the alarms in the alarm view into a file F 2 ni com NI FBUS Trend Monitor Utility This appendix briefly describes the NI FBUS trend monitor utility and gives how to monitor trends NI FBUS Trend Monitor Utility Overview The NI FBUS trend monitor utility lets you capture and view the trends of parameters omitted by the device You can run the NI FBUS trend monitor utility by selecting Start All Programs National Instruments NI FBUS Utilities Trend Monitor When you open this NI FBUS utility a single frame window appears containing menu bar tool bar screen view attribute view as well as status bar In the screen view each line is corresponding to the trend of one parameter w

Download Pdf Manuals

image

Related Search

Related Contents

Operation & Service Manual  Sensori a dislocatore con gabbia 249 Fisherr  Rubbermaid Commercial Products RCP 4486 BLA Instructions / Assembly  14 Digital Signage 3D_spec - CIE  Philips SHAVER 3000 PowerTouch Electric shaver HQ6925  Sony TJS-1 Operating Instructions  scottadams4uk-vic-manual - Museum of Computer Adventure Game  

Copyright © All rights reserved.
Failed to retrieve file