Command Series Migration to MOD 30ML™ Tutorial and Reference Guide for Command Series Migration to MOD 30ML Training
MicroMod Automation, Inc. The Company MicroMod Automation is dedicated to improving customer efficiency by providing the most cost-effective, application-specific process solutions available. We are a highly responsive, application-focused company with years of expertise in control systems design and implementation. We are committed to teamwork, high quality manufacturing, advanced technology and unrivaled service and support.
Command Series Migration to MOD 30ML CONTENTS CONTENTS Page BOOK 1 SECTION 1 – FUNCTIONCODES - INTRODUCTION HOW TO USE THIS BOOK .................................................................................................. 1-1 ENVIRONMENT BLOCKS.................................................................................................... 1-2 I/O AND COMMUNICATION BLOCKS................................................................................. 1-5 FUNCTION BLOCKS ....................
Command Series Migration to MOD 30ML CONTENTS BOOK 2 – FUNCTION CODE GALLERY COMPOUNDS REFERENCE SECTION 1 – PRE-CONFIGURED CONTROL STRATEGIES 1 PRE-CONFIGURED SIGLE LOOP PID CONTROL ............................................................. P1-1 2. PRE-CONFIGURED DUAL LOOP PID CONTROL .............................................................. P2-1 3 PRE-CONFIGURED SIGLE LOOP PID WITH REMOTE SP ...............................................
Command Series Migration to MOD 30ML CONTENTS 20 FUNCTION CODE 35 – TIMER............................................................................................ 35-1 21 FUNCTION CODE 36 – QUALIFIED OR ............................................................................. 36-1 22 FUNCTION CODE 37 – AND (2 INPUT) .............................................................................. 37-1 23 FUNCTION CODE 38 – AND (4 INPUT) ........................................................
Command Series Migration to MOD 30ML CONTENTS iv
BOOK 1 SECTION 1 FUNCTION CODES – INTRODUCTION
Function Codes – Introduction HOW TO USE THIS BOOK This book is meant for users of Bailey SLC, CLC controllers who are migrating to the new generation MicroMod MOD 30ML controllers. Though both Bailey controllers and MicroMod controllers are microprocessor based programmable controllers, the configuration and the programming approach to them is different. This book should help a Bailey user to understand the MOD 30ML controller with minimum time spent in learning the new technology.
Command Series Migration to MOD 30ML Function Codes – Introduction The user database is configurable and writable to make the instrument perform a variety of executable functions. The basic logical element of the database is a function block. Function blocks are grouped to form multiple process loops. Loops in turn are grouped into sets that are scanned (executed) at the same rate. Up to five different scan rates can be configured through the interface block.
Command Series Migration to MOD 30ML Function Codes – Introduction Display Interface Block(DIF): This block is used in MOD 30ML only.
Command Series Migration to MOD 30ML Function Codes – Introduction Figure 1 .1.
Command Series Migration to MOD 30ML Function Codes – Introduction I/O AND COMMUNICATION MODULE BLOCKS: These blocks specify the physical I/O complement of the instrument.
Command Series Migration to MOD 30ML Function Codes – Introduction Type Description Availability Input Function Blocks or signal conditioning blocks: VCI Voltage or current MOD 30ML and Modcell TI Thermocouple input MOD 30ML and Modcell RTI RTD input MOD 30ML and Modcell TTI Thermocouple transmitter input MOD 30ML and Modcell RTTI RTD Transmitter input MOD 30ML and Modcell RI Resistance input MOD 30ML and Modcell DI Digital input MOD 30ML and Modcell Communication function blocks ML
Command Series Migration to MOD 30ML Function Codes – Introduction NM Notification Message MOD 30ML and Modcell SM Supervisory Message MOD 30ML and Modcell RSK Ramp – Soak Profile block MOD 30ML and Modcell TOT Totalizer MOD 30ML and Modcell TM Timer block MOD 30ML and Modcell SEQ Sequencer MOD 30ML and Modcell 1-7
Command Series Migration to MOD 30ML Function Codes – Introduction A typical instrument database as function block diagram configured in ViZapp is shown in the next figure: A typical instrument database has the environment blocks, I/O blocks, communication blocks, and loop compounds. Figure 1 .2. Instrument database Algorithm function blocks are configured inside a loop compound to implement control strategies. Each loop compound has a loop block (LP) by default.
Command Series Migration to MOD 30ML Function Codes – Introduction Figure 1 .3.
Command Series Migration to MOD 30ML Function Codes – Introduction FUNCTION BLOCK EXECUTION ORDER: The order in which the blocks in the database are executed is known as the Function Block execution order. The execution order is set at the top level where the loop compounds are added to the database. The default execution order for the loop compounds is the order in which they are placed in the database.
Command Series Migration to MOD 30ML Function Codes – Introduction COMPOUNDS: Function blocks in a database can be compounded (grouped) into a single group. This may be done to functionally or visually organize the blocks in a database. Compounds can be created at the top level or inside loop compounds. To compound a set of function blocks, first select them and then select Objects – Compound from the ViZapp menu bar.
Command Series Migration to MOD 30ML Function Codes – Introduction Figure 1 .6. Inside a Compound • Figure 1 .7. Bailey FC Gallery 1 - 12 You can ungroup a compound by un-compounding it. Select the compound by clicking on it and then select Objects from the menu bar and then select UnCompound from the drop-down menu as shown in the next figure.
Command Series Migration to MOD 30ML Function Codes – Introduction • a This will un-group the function blocks and place them where the grouped compound was. When you uncompound a compound, the function blocks come out selected. You can move all of them to a desired location by dragging them with the left mouse button pressed.
Command Series Migration to MOD 30ML Function Codes – Introduction • You can also double-click on the Compound Internals and then select from the displayed list of function blocks inside and then select the block and then the attribute to connect to. • This will complete the connection for the process variable input. The connection will look like in the next figure: Figure 1 .10.
Command Series Migration to MOD 30ML Function Codes – Introduction LOOP COMPOUNDS Loop compound is a special compound that contains a loop block. Loop compounds are placed at the top level of a function block diagram (where the IF, DIF, SE and ST blocks are located). All the function blocks other than Input, Output, Modules, Communication and System blocks have to be configured inside a loop compound.
Command Series Migration to MOD 30ML Function Codes – Introduction Figure 1 .13. Cancel Connection To add a loop compound: Select the Loop Cpd (Loop compound) block from the Algorithms window add it to the document. Do this by first locating the block in the menu by selecting the All submenu at the bottom and then by dragging the scroll bar on the right up/down. See the next figure: Figure 1 .14.
Command Series Migration to MOD 30ML Function Codes – Introduction • Loop compounds also have jump objects when connections are made from or to the outside of the compound. • Refer to the previous section (COMPOUNDS) for more information.
Command Series Migration to MOD 30ML Function Codes – Introduction THE CONFIGURATION PROCESS The steps involved configuring a MOD 30ML or Modcell controller are listed below: 1. Create a Workspace document in ViZapp 2. Create a Project document in ViZapp 3. Add a new instrument database for each controller to the project document. 4. Configure the instrument database in ViZapp. 5. Save and compile the instrument database 6.
Command Series Migration to MOD 30ML Function Codes – Introduction Procedure for adding the Display Tag to the Display Interface Block Each display configured in the MOD 30ML has a unique display tag. • Open the display block by double-clicking on it. See the next figure: • As an example, the default display tag name configured in this compound is FIC-100. Figure 1 .15. PID Display During runtime, you can scroll through the displays in this list by pressing the Tag button on the instrument.
Command Series Migration to MOD 30ML Function Codes – Introduction Figure 1 .16. DIF block Click on the New button on this block as shown in figure below: Figure 1 .17.
Command Series Migration to MOD 30ML Function Codes – Introduction A text edit box will appear in the area below and you will see a text edit cursor blinking. Type the name of your display tag (FIC-100 for example). a If you had more than one display blocks in your configuration, you will need to add their display tags in the DIF block as explained in the above step.
Command Series Migration to MOD 30ML Function Codes – Introduction PID CONFIGURATION REFERENCE The PID block in the MOD 30ML/Modcell is versatile and extremely powerful. We will focus only on the parameters that we would typically use in a CLC or SLC controller. • Open the PID block by double-clicking on it. The General tab will be displayed by default as shown below: Figure 1 .19. Bailey FC Gallery 1 - 22 • Change the values as desired for the parameters as shown in the figure above.
Command Series Migration to MOD 30ML Function Codes – Introduction Figure 1 .20. PID Control Tab • Select the Algorithm Type and change it to ESEO. This stands for a PID algorithm that does the Proportional action on the Error, uses a Standard Integral action and Derivative action on the Error and the Manual Reset is set to Off.
Command Series Migration to MOD 30ML Function Codes – Introduction M 8 MICRO-SCAN. Reset response is turned on and is operating with MICROSCAN algorithm. It can be used with either externally generated adaptive gain or reset, but not with external feedback. Manual reset must be turned off. The Standard Algorithm and Microscan Algorithm have different antireset windup characteristics that affect how they approach limits. Otherwise, the two algorithms integrate the same.
Command Series Migration to MOD 30ML Function Codes – Introduction The valid actions for CATYPE are: EOOO Gain on error, Reset off, Pre-Act off, manual reset off. OSOO Gain off, standard Reset, Pre-Act off, manual reset off PSOO Gain on process, standard Reset, Pre-Act off, manual reset off. ESOO Gain on error, standard Reset, Pre-Act off, manual reset off. OMOO Gain off, MICRO-SCAN Reset, Pre-Act off, manual reset off. PMOO Gain on process, MICRO-SCAN Reset, Pre-Act off, manual reset off.
Command Series Migration to MOD 30ML Function Codes – Introduction • Click on the Setpoint tab to select the Setpoint configuration options. See the next figure: • Change the Setpoint limits to desired values. Setpoint values to the PID algorithm are limited to these numbers. • Setpoint modes limited is used to apply limits to the setpoint when it is in a certain mode. The limits can be applied to: None, Local, Remote, Track or their combinations. See the next figure: Figure 1 .21.
Command Series Migration to MOD 30ML Function Codes – Introduction • Click on the Output tab to select the output configuration options. See the next figure: • Change the output limits and range to desired values: Click on the Output tab of the PID block. See the next figure: • The output limits are applied to the active output when the proper output modes limited condition is met. Output values from the PID algorithm are limited to these numbers.
Command Series Migration to MOD 30ML Function Codes – Introduction block or it can be an internal value in the PID block that can be manually changed by the user from the faceplate. This is in contrast to the SCL/CLC PID where the Track (S3 – Track Reference Signal) of the PID block is enabled with the help of TS (S4 – track switch signal) for anti reset windup during a Manual to Auto transfer.
BOOK 1 SECTION 2 GALLERY TUTORIAL
Function Codes – Gallery Tutorial FOREWORD The ViZapp (Visual Application Designer) software has a library of function block compounds that represent the function codes of the Bailey SLC Controller. These compounds are created with the MOD 30ML/MODCELL function blocks. Each of the compounds in the gallery is pre-configured to offer SLC functionality with in the MOD 30ML controller. This will make the migration from SLC to MOD 30ML, a much easier process and reduce engineering time.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial INSTRUCTIONS – CREATING A NEW WORKSPACE, PROJECT AND DOCUMENT 1. Launch ViZapp: Select Programs from the Windows Start menu. Select ViZapp from the menu. The ViZapp configurator will launch as shown in the next figure. As you will notice, the configurator will be blank with no workspace loaded on the screen. Figure 2 .1. ViZapp Configurator Note that the configurator screen has two frames (left and right). 2.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .3. New Workspace • By default, the workspace file is created in the Project folder that is located inside the folder where the ViZapp software is installed. For example: C:\Program Files\ViZApp\Project. • We will change the location for the purpose of this lab. Click on the little button next to the Location field.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial • The New dialog box will redisplay • Type a name for your workspace in the name field. For the purpose of this lab, we will type CLASS as the name. See the next figure. Click on OK. The ViZapp Configurator will redisplay with the workspace that is created as shown in the next figure: Figure 2 .5. New Workspace Figure 2 .6.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial • Notice that the workspace Class is added to the project tree. We will create a new project next. Click on the workspace name Class in the project tree to select it and then right-click on it. A context menu will be displayed as shown in the next figure: • Select New Project from this menu. The New dialog box will be redisplayed as shown in the next figure: • We will type the name Class for the project for the purpose of this lab.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .9. Class Workspace • The left frame shows the project tree. The Workspace is at the root of this tree and contains the Project, and other components such as Event Log and Components. • The newly created workspace is given the same name as that of the project. The project sub-tree or branch contains the components Security and Tags. 3.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .10. New Document • The New dialog box shows the Document tab now. Select the type MOD Function Block diagram by clicking on it and then type the name PIDLab for the document in the Name field. • This document will be created in the project folder \class automatically and will be added to your Class project by default. See figure above. 4. When you create a new project, a file with the project name and file extension .
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .11. Choose Instrument Version • Select MOD 30ML 2 from this list as our instrument version by clicking on it and then click on the Close button. • The Configurator will redisplay as shown below. The instrument database will be opened on the right frame and the environment blocks (IF, SE, ST and DIF) for the MOD 30ML database will be loaded.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Each instrument will have its own database. The databases of the instruments will be added to the corresponding project. This is done for convenience and the grouping is done based on functionality or geography or logic. For example, for a process area like a boiler house that has 2 boilers, there can be 2 projects called Boiler1 and Boiler2. Each project will have databases of the controllers that control the boiler.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial CONFIGURING SCAN GROUPS AND LOOP COMPOUNDS 5. Let us first configure a scan group: There could be as many as five scan groups in an instrument database. The control loops (database blocks connected together) are grouped into Loop Compounds. The Loop Compounds can be assigned to any of these scan groups. All the blocks and compounds in a particular scan group will be executed at the same scan rate configured for the group.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial M/A Station – Function Code 21 Analog output AO – Function Code 29 Figure 2 .15. Typical Loop Configuration in CLC 03/04 In the case of SLC or CLC, the display faceplate operator interface functionality is automatic and does not need any user configuration.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial • Select the Loop Cpd (Loop compound) block from the Algorithms window add it to the document. Do this by first locating the block in the menu by selecting the All submenu at the bottom and then by dragging the scroll bar on the right up/down. See the next figure: • Drag the Loop Cpd block (Loop Compound) from the Algorithms menu on the left frame to the right frame.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial • Type a description "This compound is for the Flow Control Loop" • Click on OK to close the Properties. Figure 2 .18. Loop Compound Properties 9. Open the loop compound: • Right-Click on the Control compound (Loop compound you just named) again and select Open compound at the bottom of this menu.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .19. Open Compound • 2 - 14 The loop compound will open as shown below and will have a Loop block (LP) by default.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .20. Inside the Loop Compound A loop compound is a compound or group that contains a loop block. You configure other blocks and compounds inside the loop compound. The compound can be added to one of the five scan groups defined in the Interface block. All the blocks inside the compound will be executed at that scan rate. 10. Open the Loop block (LP-1) by double-clicking on it.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .21. Loop Block • 2 - 16 Close the Loop block by clicking on the OK button.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial ADDING COMPOUND FROM THE GALLERY 11. We will now use a compound from the Bailey Function Code section of the gallery to configure this control loop. Compound Gallery: Pre-configured control loops and applications are stored in the Gallery in the Vizapp Software. The gallery is basically a library of preconfigured function blocks that are also connected for performing control and calculation tasks.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .23. Bailey FC Gallery 2 - 18 • The compounds in this gallery have been given names. Some of the names FC# where # is the Bailey function code number. There is a compound named FC156 PID (PV / LOCAL SP) in the gallery. This compound can be used to configure the MOD 30ML for the CLC Single loop control functionality. Select this compound from the list by clicking on it.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .24. Bailey FC Gallery • The exported compound will be placed inside the loop compound with in the instrument document as shown in the figure above. • The function blocks that make this compound are located inside this new compound. It is basically a grouped set of function blocks. • Click on an empty area of the database to unselect the compound.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial ADDING I/O 12. The loaded compound has all the function blocks for doing the PID control but does not have inputs and outputs required for the PID. We will use the built-in analog input and output of the MOD 30ML. • The MOD 30ML has 2 built-in inputs and outputs and you can choose the first or second. If you have already used up both the built-in inputs and outputs, you can add a module for the additional input.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial • Resize the block by dragging one of the handles (corner or side) Figure 2 .26. Move, Resize and Configure 14. Configure these blocks: • Configure the Analog Input block. • Double-click on the AIN block to open its Properties menu as shown below: • Type FT-100 as the name. • Select Current as the Input type from the drop-down menu. • Type the Input number as 2 and Description as shown in the above figure.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial • The next function block VCI, is a signal conditioning block. This block is used for converting the analog input range (voltage or current) to engineering units. The default configuration of this block is as shown in the next figure: • Type the name and description for this block as shown above. Move the cursor to the Linearization Type field and click on the down arrow.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .29. PID Options Tab • Click on OK to accept the changes and close the block.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial MAKING CONNECTIONS 15. The next step is to connect the blocks together. • Click on the Multi-Segment connection item on the Algorithms menu to enable connection mode. See figure below: • Move to the workspace on the right and click on the AIN block’s (FT-100 – source block) output connection point as shown in the next figure. Notice that moving the cursor over the output of a block, shows a fly-by box.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .33. Connecting blocks • The connection will now be complete. The connection line will have the source name and destination name displayed right on it as shown in the above figure. The input connection points are on the left side of the blocks and the output connection points are on the right hand side. There might be more than one input or output for each block.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .35. Right Angle connection • Click on the output point of the FY-100 block. This point is the result of the FY-100 input function block. The fly-by box will say R when you click on the output. • Drag the line to the FC156 PID (PV/LOCAL SP) compound and click on it. See the figure below: • The Choose Parameter menu will be displayed as shown in the next figure: Figure 2 .36.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .37. Choose Parameter • Select PID.S1 from the list and then click on OK. This will complete the connection for the process variable input. The connection will look like in the next figure: Figure 2 .38.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .39. Cancel Connection 17. • Connect the PID output from the compound to the analog output: Select the connector and then click on the FC156 PID (PV/LOCAL SP) compound and click on it. The Choose Parameter menu will be displayed as shown below: Select PID.N from the menu and click on OK. Figure 2 .40. Choose Parameter • 2 - 28 Drag the connection line to left of the AOUT block and connect to the Input point.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .41.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial CHANGING ENGINEERING RANGES AND ALARM TRIP VALUES 18. • The FC156 PID (PV/LOCAL SP) has default values for the process variable range (0 to100). We need to change this to 0 – 200 to match the input range defined in step 14. Open the compound by first selecting it and then by clicking on the right mouse button. A context sensitive menu will appear as shown in the next figure: Figure 2 .42.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .44. ENG block • Select the Inputs tab of this block. Double-click on the number for the input ENGHI (Engineering High). See the above figure. • Change the value of Internal data to 200. Click on OK.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .45. ENG block 2 - 32 • Repeat the above process to configure the Low process alarm by changing the ALMLO input of the ENG block. • Click on OK and then OK on the ENG block configuration.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial If you press the ALARM key on the faceplate when the alarm is active, the instrument will display the custom alarm display as shown in the next figure: Figure 2 .46.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial CONFIGURING DISPLAY TAG FOR THE PID DISPLAY 19. Each display configured in the MOD 30ML has a unique display tag. The FC156 PID (PV/LOCAL SP) has a pre-configured display. • Open the display block PID Display by double-clicking on it. See the next figure: • The default display tag name configured in this compound is PID-101. Change it to FIC100. See the next figure: Figure 2 .47.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .48. PID Display • Click on OK to close the block.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial 20. Close the compound: • First click on a blank area of the function block diagram to de-select any block or connection selected. Figure 2 .49. Close Compound • Click on the right mouse button to show the context sensitive menu as shown in the figure above. • Select Close Compound from the menu. • You should be back in the level where the loop compound, Loop blocks are located. See the next figure: Figure 2 .50.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial 21. Add the Display Tag to the Display Interface Block: The next step is to add the display tag of the display block we configured in the previous steps to the display list in the display interface block. During runtime, you can scroll through the displays in this list by pressing the Tag button on the instrument. • Start by opening the DIF (Display Interface) block as shown in the figure below: Figure 2 .51.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .52. Closing Compound a 2 - 38 • A text edit box will appear in the area below and you will see a text edit cursor blinking. • Type the name of your display tag (FIC-100). Refer to the next figure. If you had more than one display blocks in your configuration, you will need to add their display tags in the DIF block as explained in the above step.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .53. Closing Compound • Refer back to the figure 1-37 for the display block set up. The Instrument tag field displays a unique tag name for the instrument. An instrument can have multiple displays each with its own tag name. The instrument tag is useful in identifying the instrument. • Click on the OK button when you are done.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial SAVING DOCUMENTS 22. Save your Document. Figure 2 .54. File Menu 2 - 40 • It is essential to save your document at frequent intervals. • Refer to the above figure. The highlighted item is the instrument document. Click on the Save button on the toolbar at the top to save the document. You can also save a document by selecting File-Save from the menu bar. This saves the instrument document.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial SETTING UP COMMUNICATIONS WITH MODBUS 23. We need to setup communications for communicating with the MOD 30ML instrument so that we can download the database to the instrument. We will use the built-in RS-232 port of the instrument to download to the instrument via Modbus. The instrument supports up to 2 communication ports.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial The connections for the port are available in the terminals in the back. In the case of an instrument that is not NEMA4, the RS 232 port is also available in the front at the bottom of the faceplate. • Add a MSC block (Modcell serial communications) to the workspace by dragging it from Algorithms menu. Double-click on it to configure.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial COMPILING THE DATABASE It is necessary to compile the database without errors before downloading to the instrument. Only compiled databases can be downloaded to the instrument. 24. Select Instrument-Compile from the menu bar. Figure 2 .58. Instrument Compile • The Compile Setup dialog box as shown below will appear. Click on OK (Do not reassign block occurrence numbers).
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .60. Interface File Options for Modbus • 2 - 44 If the database has errors, it will not be compiled successfully.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial Figure 2 .61. Information Window • You can double-click on an error to open the block that has a configuration problem. If the database has no errors, there is a message saying that the Compile was completed without error. • Also look for messages on database size and current consumption of the instrument.
Command Series Migration to MOD 30ML Function Codes – Gallery Tutorial 2 - 46
BOOK 2 REFERENCE SECTION 1 PRE-CONFIGURED CONTROL STRATEGIES
Pre-configured Single Loop PID Control GENERAL DESCRIPTION The advanced PID controller function code implements a proportional integral derivative controller. This control strategy has a loop compounds (SINGLE LOOP CONTROL) with PID loops with local setpoint, I/O and other function blocks. UTILIZATION The loop compound has the function code compound FC156 – PID internally.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control EXPLANATION Configuration with this compound requires understanding of the compound and how the PID block is configured in the MOD 30ML/Modcell controllers. Following is the reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier. INPUTS – OUTPUTS The I/O table is identical to both the loop compounds.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control of the PID block. Change the value for GAIN MULTIPLIER INPUT. S12 ENG Input – GAIN Floating Point Proportional Gain Kp. Enter in the ENG block. Open the Inputs tab and select GAIN to change the value. S13 ENG Input – RESET Floating Point Integral Reset in resets/min (RPM) Ki. Enter in the ENG block. Open the Inputs tab and select the input RESET to change the value.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control the first loop. P1- 4 S22 N/A N/A N/A S23 N/A N/A N/A SPTI PID Input – Floating Point Setpoint track input. Connect to the PID.SPTI signal of the compound.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To configure the inputs: Open the AIN block AIN1 for input 1. See figure below: Figure P1.2. PID with Local SP You can change the Input Type and Linearization Type for the built-in input 1 here. Specify the Input Signal Range also. The VCI block ENG UNITS 1 in the loop compound is used for converting the voltage, millivolts or current input signal to engineering units.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control Figure P1.3. PID with Local SP You will need to use a different input function block if the input selected in the AIN block is other than voltage / current.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To change the display tag name for the PID: Open the display block PID Display inside the compound FC156 PID (PV / LOCAL SP) and change the Display Tag under the Display tab. See figure below: Figure P1.4. PID with Local SP Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure P1.5. PID with Local SP Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure P1.6.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure P1.7.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN, RESET, PREACT) and change the value. See figure below: Figure P1.8.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure P1.9. PID with Local SP The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure P1.10.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To change the Algorithm Type (S18): Open the PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure P1.11. PID with Local SP For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To change the Control Action (S21): Open the PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure P1.12.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To enable Setpoint Tracking (FC21-S14): Open the PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure P1.13.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control Notice that the only setpoint mode allowed is LOCAL: Figure P1.14.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To change the process variable high alarm (FC21-S7): Open the PAD block HIGH ALARM. Change the value of the Trip Value by typing. See figure below: Figure P1.15.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control To change the process variable low alarm (FC21-S8): Open the PAD block LOW ALARM. Change the value of the Trip Value by typing. See figure below: Figure P1.16.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID Control a Refer to the following sections from the Function Codes – Gallery Tutorial chapter: Saving Documents Setting up communications Compiling the database a P1- 20 Refer to chapter 4 in the ViZapp Training manual (IB-VIZAPP-TUT) after completing the above sections for setting up the OPC Server and downloading the database to the MOD 30ML Controller.
Pre-configured Dual Loop PID Control GENERAL DESCRIPTION The advanced PID controller function code implements a proportional integral derivative controller. This control strategy has two independent loop compounds (SINGLE LOOP CONTROL 1 and SINGLE LOOP CONTROL 2) each with PID loops with local setpoint, I/O and other function blocks. UTILIZATION Both the loop compounds have the function code compound FC156 – PID.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control EXPLANATION Configuration with this compound requires understanding of the compound and how the PID block is configured in the MOD 30ML/Modcell controllers. Following is the reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier. INPUTS – OUTPUTS The I/O table is identical to both the loop compounds.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control S11 PID Input – S11 Floating Point Gain Multiplier input for the PID. Connect to the PID.S11 signal of the compound or change in the Control tab of the PID block. Change the value for GAIN MULTIPLIER INPUT. S12 ENG Input – GAIN Floating Point Proportional Gain Kp. Enter in the ENG block. Open the Inputs tab and select GAIN to change the value. S13 ENG Input – RESET Floating Point Integral Reset in resets/min (RPM) Ki.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control N PID Output – N Floating Point Output of the compound. PID.N is already Connected to the Input attribute of the built-in output block AOUT1 for the first loop. Output of the compound. PID.N is already Connected to the Input attribute of the built-in output block AOUT2 for the second loop. P2- 4 S22 N/A N/A N/A S23 N/A N/A N/A SPTI PID Input – Floating Point Setpoint track input. Connect to the PID.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To configure the inputs: Open the AIN block AIN1 for input 1. See figure below: Figure P2.2. Dual loop PID with Local SP You can change the Input Type and Linearization Type for the built-in input 1 here. Specify the Input Signal Range also. The VCI block ENG UNITS 1 in the loop compound is used for converting the voltage, millivolts or current input signal to engineering units.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control Figure P2.3. Dual loop PID with Local SP You will need to use a different input function block if the input selected in the AIN block is other than voltage / current.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To change the display tag name for the PID: Open the display block PID Display inside the compound FC156 PID (PV / LOCAL SP) and change the Display Tag under the Display tab. See figure below: Figure P2.4. Dual loop PID with Local SP Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure P2.5. Dual loop PID with Local SP Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure P2.6.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure P2.7.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN, RESET, PREACT) and change the value. See figure below: Figure P2.8.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure P2.9. Dual loop PID with Local SP The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure P2.10.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To change the Algorithm Type (S18): Open the PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure P2.11. Dual loop PID with Local SP For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To change the Control Action (S21): Open the PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure P2.12.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To enable Setpoint Tracking (FC21-S14): Open the PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure P2.13.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control Notice that the only setpoint mode allowed is LOCAL: Figure P2.14.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To change the process variable high alarm (FC21-S7): Open the PAD block HIGH ALARM. Change the value of the Trip Value by typing. See figure below: Figure P2.15.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control To change the process variable low alarm (FC21-S8): Open the PAD block LOW ALARM. Change the value of the Trip Value by typing. See figure below: Figure P2.16.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID Control a Refer to the following sections from the Function Codes – Gallery Tutorial chapter: Saving Documents Setting up communications Compiling the database a P2- 20 Refer to chapter 4 in the ViZapp Training manual (IB-VIZAPP-TUT) after completing the above sections for setting up the OPC Server and downloading the database to the MOD 30ML Controller.
Pre-configured Single Loop PID with Remote SP GENERAL DESCRIPTION The advanced PID controller function code implements a proportional integral derivative controller. This control strategy has a loop compounds (REMOTE SETPOINT PID) with PID loops with REMOTE setpoint, I/O and other function blocks. UTILIZATION The loop compound has the function code compound FC156 – PID with Remote SP internally.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP EXPLANATION Configuration with this compound requires understanding of the compound and how the PID block is configured in the MOD 30ML/Modcell controllers. Following is the reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP compound or change in the Control tab of the PID block. Change the value for GAIN MULTIPLIER INPUT. S12 ENG Input – GAIN Floating Point Proportional Gain Kp. Enter in the ENG block. Open the Inputs tab and select GAIN to change the value. S13 ENG Input – RESET Floating Point Integral Reset in resets/min (RPM) Ki. Enter in the ENG block. Open the Inputs tab and select the input RESET to change the value.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP P3 - 4 S23 N/A N/A N/A SPTI PID Input – Floating Point Setpoint track input. Connect to the PID.SPTI signal of the compound. N PID Output – N Floating Point Output of the compound. Connect from the PID.N signal of the compound.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To configure the inputs: Open the AIN block AIN1 for input 1. See figure below: Figure P3 .2. PID with Remote SP You can change the Input Type and Linearization Type for the built-in input 1 here. Specify the Input Signal Range also. The VCI block ENG UNITS 1 in the loop compound is used for converting the voltage, millivolts or current input signal to engineering units.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP Figure P3 .3. PID with Remote SP You will need to use a different input function block if the input selected in the AIN block is other than voltage / current.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To change the display tag name for the PID: Open the display block PID Display and change the Display Tag under the Display tab. See figure below: Figure P3 .4. PID with Remote SP Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure P3 .5. PID with Remote SP Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure P3 .6.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure P3 .7.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN, RESET, PREACT) and change the value. See figure below: Figure P3 .8.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure P3 .9. PID with Remote SP The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure P3 .10.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To change the Algorithm Type (S18): Open the PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure P3 .11. PID with Remote SP For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To change the Control Action (S21): Open the PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure P3 .12.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To enable Setpoint Tracking (FC21-S14): Open the PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure P3 .13.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP Remote Setpoint Configuration Options: Open the PID block and select the Remote Setpoint tab. See figure below: Figure P3 .14. PID with Remote SP When the setpoint mode is REMOTE, the active setpoint is the remote setpoint value multiplied by the ratio and added to the bias. This may be an external connection or internal value.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP Auto Bias: Bias value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint bias input must be NONE. Auto Ratio: Ratio value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint ratio input must be NONE.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To change the process variable high alarm (FC21-S7): Open the PAD block HIGH ALARM. Change the value of the Trip Value by typing. See figure below: Figure P3 .16.
Command Series Migration to MOD 30ML Pre-configured Single Loop PID with Remote SP To change the process variable low alarm (FC21-S8): Open the PAD block LOW ALARM. Change the value of the Trip Value by typing. See figure below: Figure P3 .17.
Pre-configured Dual Loop PID with Remote SP GENERAL DESCRIPTION The advanced PID controller function code implements a proportional integral derivative controller. This control strategy has two independent loop compounds (SINGLE LOOP 1 REMOTE SP PID and SINGLE LOOP 2 REMOTE SP PID) each with PID loops with remote setpoint, I/O and other function blocks. UTILIZATION Both the loop compounds have the function code compound FC156 – PID with Remote SP.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier. INPUTS - OUTPUTS Signal Block Type Description S1 PID Input – S1 Floating Point Result (R) of the VCI block VCI1 is already connected to PID.S1 signal of the compound for the first loop. Result (R) of the VCI block VCI1 is already connected to PID.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP S10 N/A N/A N/A S11 PID Input – S11 Floating Point Gain Multiplier input for the PID. Connect to the PID.S11 signal of the compound or change in the Control tab of the PID block. Change the value for GAIN MULTIPLIER INPUT. S12 ENG Input – GAIN Floating Point Proportional Gain Kp. Enter in the ENG block. Open the Inputs tab and select GAIN to change the value.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP S21 PID Input – Discreet Controller Action. Choose the action in the PID block. Open the General tab and select the desired CONTROLLER ACTION. S22 N/A N/A N/A S23 N/A N/A N/A SPTI PID Input – Floating Point Setpoint track input. Connect to the PID.SPTI signal of the compound. N PID Output – N Floating Point Output of the compound. PID.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To configure the inputs: Open the AIN block AIN1 for input 1. See figure below: Figure P4.2. Dual PID with Remote SP You can change the Input Type and Linearization Type for the built-in input 1 here. Specify the Input Signal Range also. The VCI block ENG UNITS 1 in the loop compound is used for converting the voltage, millivolts or current input signal to engineering units.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP Figure P4.3. Dual PID with Remote SP You will need to use a different input function block if the input selected in the AIN block is other than voltage / current.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP Figure P4.4.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To change the display tag name for the PID: Open the display block PID Display inside the compound FC156 PID (PV / REMOTE SP) in the first loop compound and change the Display Tag under the Display tab. See figure below: Figure P4.5. Dual PID with Remote SP Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure P4.6. Dual PID with Remote SP Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure P4.7.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure P4.8.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN, RESET, PREACT) and change the value. See figure below: Figure P4.9.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure P4.10. Dual PID with Remote SP The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure P4.11.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To change the Algorithm Type (S18): Open the PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure P4.12. Dual PID with Remote SP For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To change the Control Action (S21): Open the PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure P4.13.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To enable Setpoint Tracking (FC21-S14): Open the PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure P4.14.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP Remote Setpoint Configuration Options: Open the PID block and select the Remote Setpoint tab. See figure below: Figure P4.15. Process Variable Hi Alarm Dual PID with Remote SP When the setpoint mode is REMOTE, the active setpoint is the remote setpoint value multiplied by the ratio and added to the bias. This may be an external connection or internal value.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP Auto Bias: Bias value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint bias input must be NONE. Auto Ratio: Ratio value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint ratio input must be NONE.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To change the process variable high alarm (FC21-S7): Open the PAD block HIGH ALARM. Change the value of the Trip Value by typing. See figure below: Figure P4.17.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP To change the process variable low alarm (FC21-S8): Open the PAD block LOW ALARM. Change the value of the Trip Value by typing. See figure below: Figure P4.18.
Command Series Migration to MOD 30ML Pre-configured Dual Loop PID with Remote SP a Refer to the following sections from the Function Codes – Gallery Tutorial chapter: Saving Documents Setting up communications Compiling the database a P4- 22 Refer to chapter 4 in the ViZapp Training manual (IB-VIZAPP-TUT) after completing the above sections for setting up the OPC Server and downloading the database to the MOD 30ML Controller.
Pre-Configured – Cascade Control GENERAL DESCRIPTION This is a pre-configured loop compound that has inputs, outputs, complete Cascade loop PID control and display. The MOD 30ML loop compound Cascade Loop uses Input, Output blocks, PID blocks, PAD (Process Alarm Display) blocks and a variety of other blocks to perform a fullpledged Cascade loop (master – slave). The PID is advanced with feed-forward control, bump-less transfers and other features.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control EXPLANATION Configuration with this loop compound requires understanding of the compound and how the PID block is configured in the MOD 30ML/Modcell controllers. Following is the reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control GAIN MULTIPLIER INPUT. S11 PID2 Input – S11 Floating Point Gain Multiplier input for the PID2. Connect to the PID2.S11 signal of the compound or change in the Control tab of the PID2 block. Change the value for GAIN MULTIPLIER INPUT. S11 PIDFAIL Input – S11 Floating Point Gain Multiplier input for the failover PID (PIDFAIL). Connect to the PIDFAIL.S11 signal of the compound or change in the Control tab of the PIDFAIL block.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control P5- 4 S18 PID1, PID2, PIDFAIL Input – S18 Count Algorithm Type. Choose the type in the respective PID block. Open the Control tab and select the value using the ALGORITHM TYPE drop-down menu. S19 N/A N/A N/A S21 PID1, PID2, PIDFAIL Input – S21 Discreet Controller Action. Choose the action in the respective PID block. Open the General tab and select the desired CONTROLLER ACTION.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To configure the inputs: Open the AIN block AIN1 for input 1. See figure below: Figure P5.2. Cascade PID You can change the Input Type and Linearization Type for the built-in input 1 here. Specify the Input Signal Range also. The VCI block ENG UNITS 1 in the loop compound is used for converting the voltage, millivolts or current input signal to engineering units.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control Figure P5.3. Cascade PID You will need to use a different input function block if the input selected in the AIN block is other than voltage / current.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To change the display tag name for the PID: Open the display block Display1 and change the Display Tag under the Display tab. See figure below: Figure P5.4. Cascade PID Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database. See the section: Procedure for adding the Display Tag to the Display Interface Block in the chapter Introduction for more information.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To enable feedforward control and change the feedforward type (S6): Open the PID block (PID1) and select the Options tab. See figure below: Figure P5.5. Cascade PID Connect the desired signal to the feedforward input (PID1.S6) of the compound.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID1.S11, PID2.S11 and PIDFAIL.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure P5.6.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To change the value of the Manual Reset input (S5): To enter a local value, open the respective PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure P5.7.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN_1, GAIN_2, GAIN_F, RESET_1, RESET_2, RESET_F, PREACT_1, PREACT_2, PREACT_F) and change the value. See figure below: Figure P5.8.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To change the value of the Derivative Lag Constant (S15): Open the respective PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure P5.9. Cascade PID The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To change the value of the Output Limits (S16, S17): Open the respective PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure P5.10.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To change the Algorithm Type (S18): Open the respective PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure P5.11. Cascade PID For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To change the Control Action (S21): Open the respective PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure P5.12.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To enable Setpoint Tracking (FC21-S14): Open the respective PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure P5.13.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To change the process variable high alarm (FC21-S7): Open the desired PAD block (PID1HIALM for PID1 or PID2HIALM for PID2). Change the value of the Trip Value by typing. See figure below: Figure P5.14.
Command Series Migration to MOD 30ML Pre-Configured – Cascade Control To change the process variable low alarm (FC21-S8): Open the desired PAD block (PID1LOALM for PID1 or PID2LOALM for PID2). Change the value of the Trip Value by typing. See figure below: Figure P5.15.
Pre-configured PID Ratio with Remote SP GENERAL DESCRIPTION The advanced PID controller function code implements a proportional integral derivative controller. This control strategy has a loop compound that performs with PID with remote setpoint and ratio, I/O and other function blocks. UTILIZATION Load this compound at the top level (where the IF, DIF, SE and ST blocks are located) of the function block diagram. Internally the loop compound has the compound Function Code 156 – Cascade.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier. INPUTS - OUTPUTS P6- 2 Signal Block Type Description S1 PID Input – S1 Floating Point Result (R) of the VCI block ENG UNITS 1 is already connected to PID1.S1 signal of the compound. Process Input signal.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP S12 ENG Input – GAIN Floating Point Proportional Gain Kp. Enter in the ENG block. Open the Inputs tab and select GAIN to change the value. S13 ENG Input – RESET Floating Point Integral Reset in resets/min (RPM) Ki. Enter in the ENG block. Open the Inputs tab and select the input RESET to change the value. S14 ENG Input – PREACT Floating Point Derivative rate in minutes Kd. Enter in the ENG block.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP N PID Output – N Floating Point Output of the compound. PID.N is already Connected to the Input attribute of the built-in output block AOUT1. Output of the compound. Connect from the signal of the compound.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To configure the inputs: Open the AIN block AIN1 for input 1. See figure below: Figure P6.2. PID Ratio with Remote SP You can change the Input Type and Linearization Type for the built-in input 1 here. Specify the Input Signal Range also. The VCI block ENG UNITS 1 in the loop compound is used for converting the voltage, millivolts or current input signal to engineering units.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP Figure P6.3. PID Ratio with Remote SP You will need to use a different input function block if the input selected in the AIN block is other than voltage / current.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To change the display tag name for the PID: Open the display block PID Display and change the Display Tag under the Display tab. See figure below: Figure P6.4. PID Ratio with Remote SP Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure P6.5. PID Ratio with Remote SP Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure P6.6.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure P6.7.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN, RESET, PREACT) and change the value. See figure below: Figure P6.8.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure P6.9. PID Ratio with Remote SP The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure P6.10.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To change the Algorithm Type (S18): Open the PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure P6.11. PID Ratio with Remote SP For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To change the Control Action (S21): Open the PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure P6.12.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To enable Setpoint Tracking (FC21-S14): Open the PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure P6.13.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP Remote Setpoint Configuration Options: Open the PID block and select the Remote Setpoint tab. See figure below: Figure P6.14. Process Variable Hi Alarm PID Ratio with Remote SP When the setpoint mode is REMOTE, the active setpoint is the remote setpoint value multiplied by the ratio and added to the bias. This may be an external connection or internal value.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP Auto Bias: Bias value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint bias input must be NONE. Auto Ratio: Ratio value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint ratio input must be NONE. Remote setpoint bias input (RSPBI): The remote setpoint bias input is added to the remote setpoint input when the setpoint mode is REMOTE.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To change the process variable high alarm (FC21-S7): Open the PAD block HIGH ALARM. Change the value of the Trip Value by typing. See figure below: Figure P6.16.
Command Series Migration to MOD 30ML Pre-configured PID Ratio with Remote SP To change the process variable low alarm (FC21-S8): Open the PAD block LOW ALARM. Change the value of the Trip Value by typing. See figure below: Figure P6.17.
BOOK 2 REFERENCE SECTION 2 FUNCTION CODE COMPOUNDS
Function Code 1- Function Generator GENERAL DESCRIPTION This function approximates a nonlinear output to input relationship. The input range is divided into sections and a linear input to output relationship is setup for each section. This function then computes an output that is related to the input according to the linear relationships. UTILIZATION The MOD 30ML/MODCELL compound FC1 used here has two function blocks namely the Piecewise table (PW) block and a Linearization (LN) block. Figure 1 .1.
Command Series Migration to MOD 30ML Function Code 1- Function Generator Figure 1 .2. Function Generator compound INPUTS - OUTPUTS Signal Type Description S1 Input Floating Point Connect the signal to be linearized to the FC1 LN.S1 signal of the compound. This is in turn connected to the INPUT attribute of the LN block. N Output Floating Point Connect from the FC1 – LN.N signal of the compound. This is in turn connected to the R (result) attribute of the LN block. This is the linearized result.
Function Code 2- Manual Set Constant GENERAL DESCRIPTION The output of the Manual Set Constant or the Signal Generator is an analog signal developed within the function that is equal to . This function provides a tunable output value in engineering units. UTILIZATION The MOD 30ML/MODCELL compound FC2 used here has a function block namely the Expression block. Figure 2 .1. FC2 Compound The Expression block used in this compound has one input named S1 configured as a floating point.
Command Series Migration to MOD 30ML Function Code 2- Manual Set Constant Millisecond time Format: hh:mm:ss.xxx (xxx in millisecond) Hex Hexadecimal Momentary discrete 0 or 1 ASCII ASCII Characters/String INPUTS - OUTPUTS Figure 2 .2. 2-2 Signal Type Block Description S1 Input – S1 Floating Point FC2 (EX block) Initial value of the input is typed in the input configuration. The value of the input can be changed from instrument display if configured.
Command Series Migration to MOD 30ML Error! No text of specified style in document. APPLICATIONS This compound is meant for storing of values that be used in applications such as Setpoint, signal scaling or Biasing, and wherever you need a constant value.
Command Series Migration to MOD 30ML Function Code 2- Manual Set Constant 2-4
Function Code 3 - Lead / Lag GENERAL DESCRIPTION The output of a lead/lag function code equals the product of the time function and the input value. Specifications S3 and S4 provide lead (S3) or lag (S4) functions. Function code 3 also serves as a lead/lag filter. UTILIZATION The MOD 30ML/MODCELL compound FC3 used here has 3 EX function blocks (Expression blocks). Figure 3 .1. Function Code 3 The Expression block FC3 has an input called S1. The input for which Lead / Lag is required is connected to this.
Command Series Migration to MOD 30ML Function Code 3 - Lead / Lag EXPLANATION Function code 3 causes the output of the function block to lead or lag changes in the input signal .
Command Series Migration to MOD 30ML Function Code 3 - Lead / Lag Lag Function : To select the lag function, leave S3 at its initial value (0) and enter a number for S4. The equation then becomes: Y = YL + S3 * ( S1 - S1L) S4 + DT Lead Function : To select only a lead function, leave S4 at its initial value of zero and enter a number for S3.
Command Series Migration to MOD 30ML Function Code 3 - Lead / Lag 3-4
Function Code 6 – High / Low Limiter GENERAL DESCRIPTION This block limits the output signal to a range that lies between a specified high and low limit. The output equals the input when the input is between the limits. Output N equals the high limit when the input is higher than the high limit and equals the low limit when the input is lower than the low limit. UTILIZATION The MOD 30ML/MODCELL compound FC6 used here has an EX function block (Expression block) Figure 6 .1.
Command Series Migration to MOD 30ML Function Code 6 – High / Low Limiter 6-2
Function Code 7 – Square Root GENERAL DESCRIPTION This function computes the square root of the input signal in engineering units. The output equals a factor (k) times the square root of the input. The equation for this function is: Y = S2 S1 S1 = Input value. S2 = Gain value (k) in engineering units. Y = Output value (Y = 0 if S1 <= 0). UTILIZATION The MOD 30ML/MODCELL compound FC3 used here has an EX function block (Expression block). Figure 7 .1.
Command Series Migration to MOD 30ML Function Code 7 – Square Root N Output – R Floating Point Connect from the FC7.N signal of the compound. Output from the FC7 block is the result of the calculation. NOTES The VCI block (signal conditioning function block for Voltage or Current inputs from AIN or VCIM blocks) has both Square root and Modified Square root built-in in the block itself. You can linearize the input in the function block itself. The VCI function block configuration is as shown below.
Command Series Migration to MOD 30ML Function Code 7 – Square Root Figure 7 .3.
Command Series Migration to MOD 30ML Function Code 7 – Square Root 7-4
Function Code 8 – Rate Limiter GENERAL DESCRIPTION The output of this block equals the input until the input rate of change exceeds the limit value (S3 and S4). When the rate of change of the input is greater than the limit, the output changes at the rate established by the limit until the output equals the input. UTILIZATION The MOD 30ML/MODCELL compound FC9 used here has a group of EX function blocks (Expression block) to perform rate limiting. Figure 8 .1.
Command Series Migration to MOD 30ML Function Code 8 – Rate Limiter INPUTS - OUTPUTS Signal Block S1 RATELIM Input – S1 Floating Point Connect to the RATELIM.S1 signal of the compound. Input to the rate limiter. S2 RATELIM Input – S2 LOGIC Connect to the RATELIM.S2 signal of the compound. Track enable switch. FALSE – track enabled, TRUE – track not enabled. Default value: FALSE S3 INCLIM Input – S3 Floating Point Enter value for the S3 input of the INCLIM expression block. Increase rate limit.
Command Series Migration to MOD 30ML Function Code 8 – Rate Limiter To verify this, check the execution order of the blocks. Select Objects – Set Execution Order – List Mode from the menu bar. The Execution Order dialog will be displayed as shown in the next figure: Figure 8 .2. Blocks Execution Order You can change the execution order of blocks by moving the blocks up or down by first selecting the desired block and then by clicking on the Move Up or Move Down button. Figure 8 .3.
Command Series Migration to MOD 30ML Function Code 8 – Rate Limiter To change the Increase Rate Limit S3: Open the EX block INCLIM. Select the Inputs tab. Select the input S3 by doubleclicking on the number. The Specify Input Value dialog will be displayed as shown I the next figure. Type the desired value in the Internal Data field. Figure 8 .4. Blocks Execution Order after rearranging To change the Decrease Rate Limit S4: Open the EX block DECLIM. Select the Inputs tab.
Command Series Migration to MOD 30ML Function Code 8 – Rate Limiter Figure 8 .5.
Command Series Migration to MOD 30ML Function Code 8 – Rate Limiter 8-6
Function Code 9 – Analog Transfer GENERAL DESCRIPTION This function selects one of two inputs depending on Boolean input . The output of function code 9 equals the input determined by the state of input . There are two time constants to provide smooth transfer in both directions. UTILIZATION The MOD 30ML/MODCELL compound FC9 used here has a combination of EX function blocks (Expression block) and Timer (TM) blocks. Figure 9 .1.
Command Series Migration to MOD 30ML Function Code 9 – Analog Transfer S2 S1/S2 Input – S2 Floating Point Connect to the S1/S2.S2 signal of the compound. S3 S3 Input – S3 Boolean (Discrete) Connect to the S3.S3 signal of the compound.
Command Series Migration to MOD 30ML Function Code 9 – Analog Transfer Figure 9 .2. Blocks Execution Order You can change the execution order of blocks by moving the blocks up or down by first selecting the desired block and then by clicking on the Move Up or Move Down button. Figure 9 .3. Blocks Execution Order after rearranging Click on OK after rearranging the execution order. To change the transfer time (S4) for S1: Open the TM block S4. The General tab will be displayed as shown in the next figure.
Command Series Migration to MOD 30ML Function Code 9 – Analog Transfer Figure 9 .4. Timer block S4 To change the transfer time (S5) for S2: Open the TM block S5. The General tab will be displayed as shown in the next figure. Type the desired value in ms format (hh:mm:ss.mss) in the Timer Limits - High field.
Command Series Migration to MOD 30ML Function Code 9 – Analog Transfer Figure 9 .5.
Command Series Migration to MOD 30ML Function Code 9 – Analog Transfer 9-6
Function Code 10 – High Select GENERAL DESCRIPTION This function selects and outputs the input with the highest algebraic value. UTILIZATION The MOD 30ML/MODCELL compound FC10 used here has an EX function block (Expression block). Figure 10 .1. Function Code 10 The Expression block FC10 has four inputs called S1, S2, S3 and S4. You can connect as many as 4 inputs into this block. The result (R) of this EX block is the highest of the 4 inputs..
Command Series Migration to MOD 30ML Function Code 10 – High Select S4 FC10 Input – S4 Floating Point Connect to the FC10.S4 signal to the High Selector. N FC10 Output – R Floating Point Connect from the FC10.N output signal from the High Selector. APPLICATIONS The most common use of function code 10 is to select the highest value. You can also use this compound for finding the highest value for 2 or 3 inputs by setting a fixed value for the unused inputs.
Function Code 11 – Low Select GENERAL DESCRIPTION This function selects and outputs the input with the lowest algebraic value. UTILIZATION The MOD 30ML/MODCELL compound FC11 used here has an EX function block (Expression block). Figure 11 .1. Function Code 11 The Expression block FC11 has four inputs called S1, S2, S3 and S4. You can connect as many as 4 inputs into this block. The result (R) of this EX block is the lowest of the 4 inputs..
Command Series Migration to MOD 30ML Function Code 11 – Low Select N FC11 Output – R Floating Point Connect from the FC11.N output signal from the Low Selector. APPLICATIONS The most common use of function code 10 is to select the lowest value. You can also use this compound for finding the lowest value for 2 or 3 inputs by setting a fixed value for the unused inputs. This value can typically be a very high value that is higher than the highest value the connected inputs can assume.
Function Code 12 – High / Low Compare GENERAL DESCRIPTION This function has two outputs. When the input is equal to or exceeds the high limit, output N equals logic 1. When the input is equal to or less than the low limit, output N+1 equals logic 1. If the value of the input is between the assigned limits, both outputs are logic 0. UTILIZATION The MOD 30ML/MODCELL compound FC12 presents High/Low compare. Figure 12 .1. Function Code 12 EXPLANATION The compound uses 2 EX blocks.
Command Series Migration to MOD 30ML Function Code 12 – High / Low Compare INPUTS - OUTPUTS 12 - 2 Input Block Type Description S1 HIGHLIM Input – S1 Floating Point Connect to the FC12.S1 signal of the compound. Input to the High Compare. S2 HIGHLIM Input – S2 Floating Point Value of High limit / alarm point S3 LOWLIM Input – S3 Floating Point Value of Low limit / alarm point N HIGHLIM Output – N Floating Point Output of High Compare.
Command Series Migration to MOD 30ML Function Code 12 – High / Low Compare NOTES To change the High alarm point / high limit: Open the HIGHLIM expression block and select the Inputs tab. Open the S2 input and specify a value. See the next figure: Figure 12 .2. High Select Function Inputs To change the Low alarm point / high limit: Open the LOLIM expression block and select the Inputs tab. Open the S3 input and specify a value.
Command Series Migration to MOD 30ML Function Code 12 – High / Low Compare Figure 12 .3.
Function Code 14 - Summer GENERAL DESCRIPTION This function computes the algebraic sum of up to four inputs with unity gain. The output equation is: Output (EU) = S1 + S2 + S3 + S4 UTILIZATION The MOD 30ML/MODCELL compound FC14 used here has an EX function block (Expression block) with four inputs S1, S2, S3 and S4. Output value is the algebraic sum of the four input signals Figure 14 .1.
Command Series Migration to MOD 30ML Function Code 14 - Summer Figure 14 .2. Function Code 14 Input Configuration INPUTS - OUTPUTS 14 - 2 Signal Block Type Description S1 FC14 Input – S1 Floating Point Connect to the FC14.S1 signal of the compound. Input1 to the summer function. S2 FC14 Input – S2 Floating Point Connect to the FC14.S2 signal of the compound. Input2 to the summer function S3 FC14 Input – S3 Floating Point Connect to the FC14.S3 signal of the compound.
Function Code 15 – Summer (2 Inputs) GENERAL DESCRIPTION This function performs a weighted sum of two inputs. By choosing the proper gains and inputs this block can perform proportional, bias or difference functions. It also can be used as a scaler for non-zero based signals by referencing the second input to a constant block.
Command Series Migration to MOD 30ML Function Code 15 – Summer (2 Inputs) Figure 15 .2. Function Code 15 INPUTS - OUTPUTS 15 - 2 Signal Block Type Description S1 FC15 Input – S1 Floating Point Connect to the FC15.S1 signal of the compound. Input1 to the summer function. S2 FC15 Input – S2 Floating Point Connect to the FC15.S2 signal of the compound. Input2 to the summer function. S3 FC15 Input – S3 Floating Point Connect to the FC15.S3 signal of the compound.
Function Code 16 – Multiply GENERAL DESCRIPTION This function performs a multiplication of two input signals (S1 by S2) with the result multiplied by a constant gain parameter S3. The following equation describes the operation of this function: Output = S3 * ( S1 * S2) UTILIZATION The MOD 30ML/MODCELL compound FC17 used here has an EX function block (Expression block). Figure 16 .1.
Command Series Migration to MOD 30ML Function Code 16 – Multiply Figure 16 .2. Function Code 16 INPUTS - OUTPUTS 16 - 2 Signal Block Type Description S1 FC16 Input – S1 Floating Point Connect to the FC16.S1 signal of the compound. Input1 to the multiplier function. S2 FC16 Input – S2 Floating Point Connect to the FC16.S2 signal of the compound. Input2 to the multiplier function. S3 FC16 Input – S3 Floating Point Connect to the FC16.S3 signal of the compound.
Function Code 17 – Divide GENERAL DESCRIPTION This function causes one input S1 to be divided by a second input S2 and the quotient to be multiplied by a constant S3. The following equation describes the operation of this function: Output = S3 * ( S1 / S2) UTILIZATION The MOD 30ML/MODCELL compound FC17 used here has an EX function block (Expression block). The MOD 30ML/MODCELL compound FC17 used here has an EX function block (Expression block). Figure 17 .1.
Command Series Migration to MOD 30ML Function Code 17 – Divide Figure 17 .2. Function Code 17 INPUTS - OUTPUTS 17 - 2 Signal Block Type Description S1 FC17 Input – S1 Floating Point Connect to the FC17.S1 signal of the compound. Input1 to the divider function. S2 FC17 Input – S2 Floating Point Connect to the FC17.S2 signal of the compound. Input2 to the divider function. S3 FC17 Input – S3 Floating Point Connect to the FC17.S3 signal of the compound.
Function Code 20 – Indicator Station GENERAL DESCRIPTION This function displays 3 inputs in one display one at a time. UTILIZATION The MOD 30ML/MODCELL compound FC20 uses a display block to display the 3 inputs. Figure 20 .1. Function Code 20 EXPLANATION Up to 3 variables or inputs can be connected to the display block. The display block has 3 inputs configured. The display shows the display tag on line 1 and the input number on line 2. The value of the input is shown on line 6.
Command Series Migration to MOD 30ML Function Code 20 – Indicator Station Figure 20 .2. Function Code 14 Input Configuration Add the Display Tag to the Display Interface Block: During runtime, you can scroll through the displays in this list by pressing the Tag button on the instrument. • 20 - 2 Close the compound the loop compound to go the top level of the instrument function block diagram.
Command Series Migration to MOD 30ML Error! No text of specified style in document. Figure 20 .3. Closing Compound • Click on the New button on this block as shown in figure below: Figure 20 .4.
Command Series Migration to MOD 30ML Function Code 20 – Indicator Station • A text edit box will appear in the area below and you will see a text edit cursor blinking. • Type the name of your display ta. Refer to the next figure. a If you had more than one display blocks in your configuration, you will need to add their display tags in the DIF block as explained in the above step.
Command Series Migration to MOD 30ML Error! No text of specified style in document. INPUTS - OUTPUTS Signal Block Type Description S1 DISPLAY Input – S1 Floating Point Connect to the FC20.S1 signal of the compound. Input1 to the display function. S2 DISPLAY Input – S2 Floating Point Connect to the FC20.S2 signal of the compound. Input2 to the display function S3 DISPLAY Input – S3 Floating Point Connect to the FC20.S3 signal of the compound.
Command Series Migration to MOD 30ML Function Code 20 – Indicator Station 20 - 6
Function Codes 25 and 41 – Analog/Digital Input GENERAL DESCRIPTION This function can be used to acquire an input (analog, digital or any other data type supported by the MOD 30ML or Modcell) over the peer-to-peer network ICN (Instrument Communication Network) from any other member on the network. UTILIZATION The MOD 30ML/MODCELL compound FC25 and 41 uses an IC (Input Communication) block to receive an input over the ICN. Figure 25 .1.
Command Series Migration to MOD 30ML Function Codes 25 and 41 – Analog/Digital Input To configure the ICN communication in an instrument database, you will need IC and OC blocks. IC blocks (Input Communication) are used for receiving data into an instrument and OC blocks (Output Communication) are used for sending data out of the instrument. It is important to have an IC and OC pair for each variable transferred over ICN.
Command Series Migration to MOD 30ML Function Codes 25 and 41 – Analog/Digital Input Figure 25 .3. Function Code 25 and 41 To configure the source of the data: Click on the Data Source tab of the block. See the next figure. Specify the following: Instrument Number – This is the ICN address of the instrument sending data. This is the equivalent of S1 in the Bailey Function code 25 or 41. OC Number – This is the occurrence number of the OC block (FC 28) configured in the sending instrument.
Command Series Migration to MOD 30ML Function Codes 25 and 41 – Analog/Digital Input Figure 25 .4. IC Block INPUTS - OUTPUTS 25 - 4 Signal Block Type Description N IC Output – N Floating Point / Other data type Connect from the IC.N signal of the compound. Input received over the ICN.
Function Code 28 – Analog/Digital Output GENERAL DESCRIPTION This function can be used to send an output (analog, digital or any other data type supported by the MOD 30ML or Modcell) over the peer-to-peer network ICN (Instrument Communication Network) to any other member on the network. UTILIZATION The MOD 30ML/MODCELL compound FC28 uses an OC (Output Communication) block to send an output over the ICN. Figure 28 .1.
Command Series Migration to MOD 30ML Function Code 28 – Analog/Digital Output To configure the ICN communication in an instrument database, you will need IC and OC blocks. IC blocks (Input Communication) are used for receiving data into an instrument and OC blocks (Output Communication) are used for sending data out of the instrument. It is important to have an IC and OC pair for each variable transferred over ICN.
Command Series Migration to MOD 30ML Function Code 28 – Analog/Digital Output Instrument Number – This is the ICN address of the instrument where the data is sent to. This is the equivalent of S1 in the Bailey Function code 28. OC Number – This is the occurrence number of the OC block (FC 25 or 41) configured in the receiving instrument. This is the equivalent of S2 in the Bailey Function code 28. Port Number – This is the port number of the ICN communication channel in the sending instrument. Figure 28 .
Command Series Migration to MOD 30ML Function Code 28 – Analog/Digital Output 28 - 4
Function Code 33 – NOT GENERAL DESCRIPTION Function code 33 performs a logical negation of the input (the output is the opposite of the input). UTILIZATION The MOD 30ML/MODCELL compound FC33 used here has an EX function block (Expression block). Figure 33 .1. Function Code 33 The EX block has one input S1 that need to be connected to the attribute that needs a logical negation. INPUTS - OUTPUTS Signal Block Type Description S1 FC33 Input – S1 Floating Point Connect to the FC33.
Command Series Migration to MOD 30ML Function Code 33 – NOT 33 - 2
Function Code 34 – Memory (RS Flip Flop) GENERAL DESCRIPTION This function memorizes its previous output when both inputs are logic 0. S1 is the set (S) input, and S2 is the reset (R) input. When both inputs have the value logic 1, the output assumes the override state specified by S4. Specification S3 is the initial state flag. The value specified in will be the output after power up or a controller reset.
Command Series Migration to MOD 30ML Function Code 34 – Memory (RS Flip Flop) Figure 34 .2.
Function Code 35 – Timer GENERAL DESCRIPTION The timer function code performs pulsed timing function. The duration of time delay is specified by S3. UTILIZATION The MOD 30ML/MODCELL compound FC35 used here has a TIMER block and a few EX function blocks (Expression block). Figure 35 .1. Function Code 35 The compound has one input S1 that is Boolean (discrete) in type. The pulse time duration for the output (S3) can be changed in the timer block’s (TIMER) configuration as shown in the next figure.
Command Series Migration to MOD 30ML Function Code 35 – Timer Figure 35 .2. Function Code 35 S3 INPUTS – OUTPUTS 35 - 2 Signal Block Type Description S1 TIMER PULSE Input – S1 Boolean Connect to the FC35.S1 signal of the compound. Input to the Timer function. S2 N/A N/A N/A S3 TIMER Configured Value – ms time Type a value in the TIMER block’s configuration. N NOT4 Output – R Boolean Connect from the FC35.N signal of the compound. Result of the calculation.
Command Series Migration to MOD 30ML Error! No text of specified style in document. EXPLANATION I/O Elapsed Time < S3 Elapsed Time > S3 INPUT OUTPUT The output becomes logic 1 whenever the input becomes logic 1. If the input returns to logic 0 before the time delay (S3) ends, the output will remain logic 1 for the entire interval.
Command Series Migration to MOD 30ML Function Code 35 – Timer 35 - 4
Function Code 36 – Qualified OR GENERAL DESCRIPTION The qualified OR function code monitors the status of up to eight digital inputs and produces an output signal based upon conditions set by S9 and S10. The output is a logic 1 or 0 and is based upon the number of inputs being less than, equal to, or greater than the number specified in S9 and the condition set by S10. UTILIZATION The MOD 30ML/MODCELL compound FC36 uses an EX block with 10 inputs. S1 thru S8 are the inputs for the logical OR function.
Command Series Migration to MOD 30ML Function Code 36 – Qualified OR To specify the value of S9, open the EX block and click on the Inputs tab. Double-click on the number for S9. See the figure below. Type a value for S9 in the Specify Input Data field. Figure 36 .2. Function Code 36 Input Configuration To specify the value of S10, open the EX block and click on the Inputs tab. Double-click on the number for S9. See the figure below. Type a value for S10 in the Specify Input Data field.
Command Series Migration to MOD 30ML Function Code 36 – Qualified OR Figure 36 .3. INPUTS - OUTPUTS Signal Block Type Description S1 FC36 Input – S1 Boolean (Discrete) Connect to the FC36.S1 signal of the compound. Input S1 to the OR function. S2 FC36 Input – S2 Boolean (Discrete) Connect to the FC36.S2 signal of the compound. Input S2 to the OR function. S3 FC36 Input – S3 Boolean (Discrete) Connect to the FC36.S3 signal of the compound. Input S3 to the OR function.
Command Series Migration to MOD 30ML Function Code 36 – Qualified OR 36 - 4 S7 FC36 Input – S7 Boolean (Discrete) Connect to the FC36.S7 signal of the compound. Input S7 to the OR function. S8 FC36 Input – S8 Boolean (Discrete) Connect to the FC36.S8 signal of the compound. Input S8 to the OR function. S9 FC36 Input – S9 COUNT Specify a value I the block configuration. S9 specifies the number of inputs that must equal logic 1. S10 FC36 Input – S3 Boolean (Discrete) Connect to the FC36.
Function Code 37 – AND (2 input) GENERAL DESCRIPTION The 2-input AND function code performs the logical AND function. The output is logic 1 when both inputs are logic 1. UTILIZATION The MOD 30ML/MODCELL compound FC37 uses an EX block with 2 inputs. S1 and S2 are the inputs for the logical AND function. Figure 37 .1. Function Code 37 INPUTS - OUTPUTS Signal Block Type Description S1 FC37 Input – S1 Boolean (Discrete) Connect to the FC37.S1 signal of the compound. Input S1 to the AND function.
Command Series Migration to MOD 30ML Function Code 37 – AND (2 input) Truth Table Figure 37 .2.
Function Code 38 – AND (4 input) GENERAL DESCRIPTION The 4-input AND function code performs the logical AND function. The output is logic 1 when all the inputs are logic 1. UTILIZATION The MOD 30ML/MODCELL compound FC38 uses an EX block with 4 inputs. S1 thru S4 are the inputs for the logical AND function. Figure 38 .1. Function Code 38 INPUTS - OUTPUTS Signal Block Type Description S1 FC38 Input – S1 Boolean (Discrete) Connect to the FC38.S1 signal of the compound. Input S1 to the AND function.
Command Series Migration to MOD 30ML Function Code 38 – AND (4 input) N Truth Table Figure 38 .2. Function Code 38 Truth Table 38 - 2 FC38 Output – R Boolean (Discrete) Connect from the FC.38.N signal of the compound. Result of the logic.
Function Code 39 – OR (2 input) GENERAL DESCRIPTION The 2-input OR function code performs the logical OR function. The output is logic 1 if either or both of the inputs ( and ) are logic 1. The output is logic 0 when both inputs are logic 0. UTILIZATION The MOD 30ML/MODCELL compound FC39 uses an EX block with 2 inputs. S1 and S2 are the inputs for the logical OR function. Figure 39 .1.
Command Series Migration to MOD 30ML Function Code 39 – OR (2 input) 39 - 2
Function Code 40 – OR (4 input) GENERAL DESCRIPTION The 4-input OR function code is used to perform the logical OR function. The output is logic 1 when one or more inputs equal logic 1. When no inputs equal logic 1, the output is logic 0. UTILIZATION The MOD 30ML/MODCELL compound FC40 uses an EX block with 4 inputs. S1 thru S4 are the inputs for the logical OR function. Figure 40 .1.
Command Series Migration to MOD 30ML Function Code 40 – OR (4 input) Truth Table Figure 40 .2.
Function Code 51- Manual Set Constant GENERAL DESCRIPTION The output of the Manual Set Constant or the Signal Generator is an analog signal developed within the function that is equal to . This function provides a tunable output value in engineering units. UTILIZATION The MOD 30ML/MODCELL compound FC51 used here has a function block namely the Expression block. Figure 51 .1. FC51 Compound The Expression block used in this compound has one input named S1 configured as a floating point.
Command Series Migration to MOD 30ML Function Code 51- Manual Set Constant INPUTS - OUTPUTS Signal Type Block Description S1 Input – S1 Floating Point FC2 (EX block) Initial value of the input is typed in the input configuration. The value of the input can be changed from instrument display if configured. N Output Floating Point FC2 Connect from the R (result) attribute of the EX block. This is the manual set constant value.
Function Code 59- Digital Transfer GENERAL DESCRIPTION This function code selects one of two digital inputs, depending on a transfer switch signal. The state of the transfer switch is determined externally, either by automatic control or by an operator. UTILIZATION The MOD 30ML/MODCELL compound FC59 used here has a function block namely the Expression block. Figure 59 .1.
Command Series Migration to MOD 30ML Function Code 59- Digital Transfer 59 - 2
Function Code 65 – Digital Sum with Gain GENERAL DESCRIPTION This function computes the weighted sum of up to four Boolean inputs. The output equation is: Output = S5* S1 + S6* S2 + S7*S3 + S8*S4 It can be used to initiate a control action based on the number of Boolean inputs that have a status of logic 1. These inputs could represent the status of pumps, valves, motors, etc.
Command Series Migration to MOD 30ML Function Code 65 – Digital Sum with Gain Figure 65 .2. Function Code 65 Input Configuration INPUTS - OUTPUTS 65 - 2 Signal Block Type Description S1 FC65 Input – S1 Discrete (Boolean) Connect to the FC65.S1 signal of the compound. Input1 to the summer function. S2 FC65 Input – S2 Discrete (Boolean) Connect to the FC65.S2 signal of the compound. Input2 to the summer function S3 FC65 Input – S3 Discrete (Boolean) Connect to the FC65.
Command Series Migration to MOD 30ML Function Code 65 – Digital Sum with Gain S6 FC65 Input gain parameter – S6 Floating Point Connect to the FC65.S2 signal of the compound. Input2 to the summer function S7 FC65 Input gain parameter – S7 Floating Point Connect to the FC65.S3 signal of the compound. Input3 to the summer function S8 FC65 Input gain parameter – S8 Floating Point Connect to the FC65.S4 signal of the compound.
Command Series Migration to MOD 30ML Function Code 65 – Digital Sum with Gain 65 - 4
Function Code 156 – PID with Local SP GENERAL DESCRIPTION The advanced PID controller function code implements a proportional integral derivative controller. UTILIZATION The MOD 30ML/MODCELL compound FC156 – PID with Local SP uses a PID block, PAD (Process Alarm Display) blocks and a variety of other blocks to perform a fullpledged PID with PV and Local Setpoint. The PID is advanced with feed-forward control, bump-less transfers and other features. Load this compound inside a loop compound. Figure 156 .1.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP EXPLANATION Configuration with this compound requires understanding of the compound and how the PID block is configured in the MOD 30ML/Modcell controllers. Following is the reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP GAIN to change the value. S13 ENG Input – RESET Floating Point Integral Reset in resets/min (RPM) Ki. Enter in the ENG block. Open the Inputs tab and select the input RESET to change the value. S14 ENG Input – PREACT Floating Point Derivative rate in minutes Kd. Enter in the ENG block. Open the Inputs tab and select the input PREACT to change the value. S15 PID Input – Floating Point Derivative Lag constant Ka.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP S23 N/A N/A N/A SPTI PID Input – Floating Point Setpoint track input. Connect to the PID.SPTI signal of the compound. To change the display tag name for the PID: Open the display block PID Display and change the Display Tag under the Display tab. See figure below: Figure 156 .2.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure 156 .3. Function Code 156 PID with Local SP Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure 156 .4.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure 156 .5.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN, RESET, PREACT) and change the value. See figure below: Figure 156 .6.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure 156 .7. Function Code 156 PID with Local SP The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure 156 .8.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To change the Algorithm Type (S18): Open the PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure 156 .9. Function Code 156 PID with Local SP For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To change the Control Action (S21): Open the PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure 156 .10.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To enable Setpoint Tracking (FC21-S14): Open the PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure 156 .11.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP Notice that the only setpoint mode allowed is LOCAL: Figure 156 .12.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To change the process variable high alarm (FC21-S7): Open the PAD block HIGH ALARM. Change the value of the Trip Value by typing. See figure below: Figure 156 .13.
Command Series Migration to MOD 30ML Function Code 156 – PID with Local SP To change the process variable low alarm (FC21-S8): Open the PAD block LOW ALARM. Change the value of the Trip Value by typing. See figure below: Figure 156 .14.
Function Code 156 – PID (Cascade) GENERAL DESCRIPTION The advanced PID controller function code implements a proportional integral derivative controller. UTILIZATION The MOD 30ML/MODCELL compound FC156 – PID (Cascade) – 3 Element Drum uses PID blocks, PAD (Process Alarm Display) blocks and a variety of other blocks to perform a full-pledged Cascade loop (master – slave). The PID is advanced with feedforward control, bump-less transfers and other features. Load this compound inside a loop compound.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) EXPLANATION Configuration with this compound requires understanding of the compound and how the PID block is configured in the MOD 30ML/Modcell controllers. Following is the reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) of the PID2 block. Change the value for GAIN MULTIPLIER INPUT. S11 PIDFAIL Input – S11 Floating Point Gain Multiplier input for the failover PID (PIDFAIL). Connect to the PIDFAIL.S11 signal of the compound or change in the Control tab of the PIDFAIL block. Change the value for GAIN MULTIPLIER INPUT. S12 ENG Input – GAIN_1, GAIN_2, GAIN_F Floating Point Proportional Gain Kp. Enter in the ENG block.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) 156c - 4 S19 N/A N/A N/A S21 PID1, PID2, PIDFAIL Input – S21 Discreet Controller Action. Choose the action in the respective PID block. Open the General tab and select the desired CONTROLLER ACTION. N AMSTATION Output – N Floating Point Output of the compound. Connect from the AMSATION.N signal of the compound.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To change the display tag name for the PID: Open the display block Display1 and change the Display Tag under the Display tab. See figure below: Figure 156c .2. Function Code 156 Cascade PID Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To enable feedforward control and change the feedforward type (S6): Open the PID block (PID1) and select the Options tab. See figure below: Figure 156c .3. Function Code 156. Cascade PID Connect the desired signal to the feedforward input (PID1.S6) of the compound.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID1.S11, PID2.S11 and PIDFAIL.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure 156c .4.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To change the value of the Manual Reset input (S5): To enter a local value, open the respective PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure 156c .5.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN_1, GAIN_2, GAIN_F, RESET_1, RESET_2, RESET_F, PREACT_1, PREACT_2, PREACT_F) and change the value. See figure below: Figure 156c .6.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To change the value of the Derivative Lag Constant (S15): Open the respective PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure 156c .7. Function Code 156 Cascade PID The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To change the value of the Output Limits (S16, S17): Open the respective PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure 156c .8.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To change the Algorithm Type (S18): Open the respective PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure 156c .9. Function Code 156 Cascade PID For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To change the Control Action (S21): Open the respective PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure 156c .10.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To enable Setpoint Tracking (FC21-S14): Open the respective PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure 156c .11.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To change the process variable high alarm (FC21-S7): Open the desired PAD block (PID1HIALM for PID1 or PID2HIALM for PID2). Change the value of the Trip Value by typing. See figure below: Figure 156c .12.
Command Series Migration to MOD 30ML Function Code 156 – PID (Cascade) To change the process variable low alarm (FC21-S8): Open the desired PAD block (PID1LOALM for PID1 or PID2LOALM for PID2). Change the value of the Trip Value by typing. See figure below: Figure 156c .13.
Function Code 156 – PID with Remote SP GENERAL DESCRIPTION The advanced PID controller function code implements a proportional integral derivative controller. UTILIZATION The MOD 30ML/MODCELL compound FC156 – PID with Remote SP uses a PID block, PAD (Process Alarm Display) blocks and a variety of other blocks to perform a full-pledged single loop. The PID is advanced with feed-forward control, bump-less transfers and other features. Load this compound inside a loop compound. Figure 156r .1.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP EXPLANATION Configuration with this compound requires understanding of the compound and how the PID block is configured in the MOD 30ML/Modcell controllers. Following is the reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP Floating Point GAIN to change the value. S13 ENG Input – RESET Floating Point Integral Reset in resets/min (RPM) Ki. Enter in the ENG block. Open the Inputs tab and select the input RESET to change the value. S14 ENG Input – PREACT Floating Point Derivative rate in minutes Kd. Enter in the ENG block. Open the Inputs tab and select the input PREACT to change the value.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP N 156r - 4 PID Output – N Floating Point Output of the compound. Connect from the PID.N signal of the compound.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To change the display tag name for the PID: Open the display block PID Display and change the Display Tag under the Display tab. See figure below: Figure 156r .2. Function Code 156 PID with Remote SP Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure 156r .3. Function Code 156 PID with Remote SP Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure 156r .4.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure 156r .5.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN, RESET, PREACT) and change the value. See figure below: Figure 156r .6.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure 156r .7. Function Code 156 PID with Remote SP The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure 156r .8.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To change the Algorithm Type (S18): Open the PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure 156r .9. Function Code 156 PID with Remote SP For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To change the Control Action (S21): Open the PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure 156r .10.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To enable Setpoint Tracking (FC21-S14): Open the PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure 156r .11.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP Remote Setpoint Configuration Options: Open the PID block and select the Remote Setpoint tab. See figure below: Figure 156r .12. PID with Remote SP When the setpoint mode is REMOTE, the active setpoint is the remote setpoint value multiplied by the ratio and added to the bias. This may be an external connection or internal value.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP Auto Bias: Bias value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint bias input must be NONE. Auto Ratio: Ratio value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint ratio input must be NONE. Remote setpoint bias input (RSPBI): The remote setpoint bias input is added to the remote setpoint input when the setpoint mode is REMOTE.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To change the process variable high alarm (FC21-S7): Open the PAD block HIGH ALARM. Change the value of the Trip Value by typing. See figure below: Figure 156r .14.
Command Series Migration to MOD 30ML Function Code 156 – PID with Remote SP To change the process variable low alarm (FC21-S8): Open the PAD block LOW ALARM. Change the value of the Trip Value by typing. See figure below: Figure 156r .15.
Function Code 156 – PID Ratio with Remote SP GENERAL DESCRIPTION The advanced PID controller function code implements a proportional integral derivative controller. UTILIZATION The MOD 30ML/MODCELL compound FC156 – PID Ratio with Remote SP uses a PID block, PAD (Process Alarm Display) blocks and a variety of other blocks to perform a full-pledged Cascade loop (master – slave). The PID is advanced with feed-forward control, bump-less transfers and other features. Load this compound inside a loop compound.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier. INPUTS - OUTPUTS 156rr - 2 Signal Block Type Description S1 PID Input – S1 Floating Point Connect to the PID.S1 signal of the compound. Process Input signal. S1Q QUALLOGIC Output – S1Q Boolean (Discrete) Connect to the QUALLOGIC.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP Floating Point Inputs tab and select the input RESET to change the value. S14 ENG Input – PREACT Floating Point Derivative rate in minutes Kd. Enter in the ENG block. Open the Inputs tab and select the input PREACT to change the value. S15 PID Input – Floating Point Derivative Lag constant Ka. Enter the value in the PID block.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To change the display tag name for the PID: Open the display block PID Display and change the Display Tag under the Display tab. See figure below: Figure 156rr .2. Function Code 156 PID Ratio with Remote SP Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure 156rr .3. Function Code 156 PID Ratio with Remote SP Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure 156rr .4.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure 156rr .5.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the ENG function block (Expression block) and select the Inputs tab. Double click on the number next to the desired input GAIN, RESET, PREACT) and change the value. See figure below: Figure 156rr .6.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure 156rr .7. Function Code 156 PID Ratio with Remote SP The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure 156rr .8.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To change the Algorithm Type (S18): Open the PID block and open the Control tab. Change the type for the control algorithm by selecting the desired option from the Algorithm Type drop-down menu. See figure below: Figure 156rr .9. Function Code 156 PID Ratio with Remote SP For more information about the Algorithm Type, click on the Help button or refer to the Tutorial in this book.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To change the Control Action (S21): Open the PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure 156rr .10.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To enable Setpoint Tracking (FC21-S14): Open the PID block and open the Options tab. Check the box Enable Setpoint Tracking. Connect a setpoint tracking input to the SPTI attribute of the PID block. See figure below: Figure 156rr .11.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP Remote Setpoint Configuration Options: Open the PID block and select the Remote Setpoint tab. See figure below: Figure 156rr .12. PID Ratio with Remote SP When the setpoint mode is REMOTE, the active setpoint is the remote setpoint value multiplied by the ratio and added to the bias. This may be an external connection or internal value.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP Auto Bias: Bias value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint bias input must be NONE. Auto Ratio: Ratio value of remote setpoint is automatically manipulated to balance transitions to remote. Remote setpoint ratio input must be NONE.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP To change the process variable high alarm (FC21-S7): Open the PAD block HIGH ALARM. Change the value of the Trip Value by typing. See figure below: Figure 156rr .14. Process Variable High Alarm PID Ratio with Remote SP To change the process variable low alarm (FC21-S8): Open the PAD block LOW ALARM. Change the value of the Trip Value by typing.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP Figure 156rr .15.
Command Series Migration to MOD 30ML Function Code 156 – PID Ratio with Remote SP 156rr - 18
Function Code 156 – PID with Manual/Auto Station GENERAL DESCRIPTION The PID with Manual/Auto station function basically performs Manual / Auto function for the input. When the controller is in AUTO, the output matches the input. The user can change the output by forcing the controller to MAN (manual) mode. UTILIZATION The MOD 30ML/MODCELL compound FC156 – PID Manual/Auto Station uses a PID block and a variety of other blocks to perform PID Manual/Auto Station.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station EXPLANATION Configuration with this compound requires understanding of the compound and how the PID block is configured in the MOD 30ML/Modcell controllers. Following is the reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station S12 M/A Input – GAIN Floating Point Proportional Gain Kp. Enter in the M/A block under the General tab. S13 M/A Input – RESET Floating Point Integral Reset in resets/min (RPM) Ki. Enter in the M/A block under the General tab. S14 M/A Input – PREACT Floating Point Derivative rate in minutes Kd. Enter in the M/A block under the General tab. S15 M/A Input – Floating Point Derivative Lag constant Ka.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station To change the display tag name for the PID: Open the display block PID Display and change the Display Tag under the Display tab. See figure below: Figure 156ma . 2. Function Code 156 PID with Local SP Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure 156ma . 3. Function Code 156 PID with Local SP Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure 156ma . 4.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure 156ma . 5.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure 156ma . 6. Function Code 156 PID with Local SP The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure 156ma . 7.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station To change the Control Action (S21): Open the PID block and open the General tab. Change the Controller Action by selecting the desired option (Direct or Reverse). See figure below: Figure 156ma . 8.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station Note that the OP (Output) of the PID block is connected to the SPTI (Setpoint Track Input). Figure 156ma . 9.
Command Series Migration to MOD 30ML Function Code 156 – PID with Manual/Auto Station Notice that the only setpoint mode allowed is REMOTE: Figure 156ma . 10.
Function Code 156 – Auto Bias Station GENERAL DESCRIPTION The PID with Auto Bias Station is basically a Manual/Auto station that performs Manual / Auto function for the input. When the controller is in AUTO, the output matches the input. The user can change the output by forcing the controller to MAN (manual) mode. The Auto Bias function adds an automatic bias to the output when the controller is switched from Manual to Auto thereby ensuring a bump-less transfer.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station EXPLANATION Configuration with this compound requires understanding of the compound and how the PID block is configured in the MOD 30ML/Modcell controllers. Following is the reference that includes listing of most commonly used / changed attribute and inputs and outputs. Necessary block configuration tabs are also explained to make it easier.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station MULTIPLIER INPUT. S12 AUTO BIAS Input – GAIN Floating Point Proportional Gain Kp. Enter in the AUTO BIAS block. Open the General tab and type a value in the BASE GAIN – BASE VALUE filed. S13 AUTO BIAS Input – RESET Floating Point Integral Reset in resets/min (RPM) Ki. Enter in the AUTO BIAS block. Open the General tab and type a value in the BASE RESET RATE – BASE VALUE filed.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station To change the display tag name for the PID: Open the display block PID Display and change the Display Tag under the Display tab. See figure below: Figure 156ab .2. Function Code 156 Auto Bias Station Display Block The display tag name also needs to be entered into the DIF (Display Interface Block) at the top level of the database.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station To enable feedforward control and change the feedforward type (S6): Open the PID block and select the Options tab. See figure below: Figure 156ab .3. Function Code 156 Auto Bias Station Connect the desired signal to the feedforward input (PID.S6) of the compound.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station To connect / change the value of the Gain Multiplier input (S11): Make a connection into the PID.S11 signal of the compound. To enter a local value, open the respective PID block and select the Control tab. Check the Internal checkbox in the Gain Multiplier Input field and enter a value in the value in the text field. See the next figure: Figure 156ab .4.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station To change the value of the Manual Reset input (S5): To enter a local value, open the PID block and select the Control tab. Enter a value in the Manual Reset – Base Value field. See figure below: Figure 156ab .5.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station To change the values of the following: Proportional Gain - S12 Integral Reset – S13 Derivative Rate – S14 To enter a local value, open the PID block and select the General tab. Type values for Base Gain – Base Value, enable the Base Reset Rate and Base Pre-act Time and type value for the Base Values. See figure below: Figure 156ab .6.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station To change the value of the Derivative Lag Constant (S15): Open the PID block and open the Control tab. Change the Input Filter Type to Pre-act, User. Type a value in floating point units in the Input Filter Time field. See figure below: Figure 156ab .7. Function Code 156 Auto Bias Station The filter time in minutes (floating point value) when USER is specified as the filter type. Otherwise, it is 0.0. 0.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station To change the value of the Output Limits (S16, S17): Open the PID block and open the Output tab. Change the values for the Output Limits – Low and High and Output range – Low and High. See figure below: Figure 156ab .8.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station Note that the OP (Output) of the PID block is connected to the SPTI (Setpoint Track Input). Figure 156ab .9.
Command Series Migration to MOD 30ML Function Code 156 – Auto Bias Station Notice that the only setpoint mode allowed is REMOTE: Figure 156ab . 10.
Function Code 165 - Moving Average GENERAL DESCRIPTION The moving average function code computes a moving average from n samples taken at a defined interval. The sample buffer fills with an input value at the end of each cycle. At every sample interval, the current input value replaces the oldest value in the buffer. At each sample interval, a new average is calculated. UTILIZATION The MOD 30ML/MODCELL compound FC165 uses Ex (expression) and Timer blocks. Figure 165 .1.
Command Series Migration to MOD 30ML Function Code 165 - Moving Average INPUTS - OUTPUTS 165 - 2 Signal Type Block Description S1 Input – S1 Floating Point FC165 Connect to the FC165.S1 signal of the compound. Averaged Value. S2 Input – S2 Count FC165 Connect to the FC165.S2 signal of the compound. S3 Input – S3 ms time FC165 Configure it in the timer block (TIME). Sample Interval. S4 Input – S1 Floating Point FC165 Connect to the FC165.S4 signal of the compound.
BOOK 2 REFERENCE SECTION 3 EXTRAS
Extras – Reject to Manual GENERAL DESCRIPTION The Reject to Manual compound sends a logical Zero output when its digital input does a low to high transition. UTILIZATION The MOD 30ML/MODCELL compound Reject to Manual uses an Ex (expression) and a Supervisory message block. Figure R .1. Reject to Manual There are 2 inputs to this compound. The SQUALLOGIC.S1 is a discrete input. Connect any discrete signal to this input.
Command Series Migration to MOD 30ML Extras – Reject to Manual INPUTS - OUTPUTS Signal Type Block Description S1 Input – S1 Discrete QUALLOGIC (EX) Connect to the QUALLOGIC.S1 signal of the compound. Averaged Value. S2 Input – S2 Short State TRIGGER (SM) Connect to the TRIGGER.S2 signal of the compound. APPLICATIONS This compound can be used for an on demand write (on a low to high transition of the S2 input) for any attribute of a function block.
The Company’s policy is one of continuous product improvement and the right is reserved to modify the information contained herein without notice, or to make engineering refinements that may not be reflected in this bulletin. Micromod Automation assumes no responsibility for errors that may appear in this manual. © 2004 MicroMod Automation, Inc. Printed in USA IB-SLCRETRO-CFG 4/2005 MicroMod Automation, Inc. 75 Town Centre Drive Rochester, NY USA 14623 Tel. 585-321 9200 Fax 585-321 9291 www.