Mitsubishi Electric a2 Series Programming Manual

Mitsubishi Electric a2 Series Programming Manual

Simple application controllers
Table of Contents

Advertisement

PROGRAMMING MANUAL
α
2 SIMPLE APPLICATION CONTROLLER

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric a2 Series

  • Page 1 PROGRAMMING MANUAL α 2 SIMPLE APPLICATION CONTROLLER...
  • Page 2 α • If in doubt about the operation or use of the Series Controller please consult the nearest Mitsubishi Electric distributor. • This manual is subject to change without notice.
  • Page 3 α 2 Simple Application Controllers α 2 SIMPLE APPLICATION CONTROLLERS PROGRAMMING MANUAL Manual number : JY992D97101 Manual revision : B Date : Oct. 2003...
  • Page 4 Mitsubishi users are always welcomed. This page has been designed for you, the reader, to fill in your comments and fax them back to us. We look forward to hearing from you. Fax numbers: Your name: ........... Mitsubishi Electric................. America (01) 847-478-2253 Your company: ..........
  • Page 5 α 2 Simple Application Controllers α Guidelines for the safety of the user and protection of 2 Simple Application controllers α This manual provides information for the use of 2 Simple Application controllers. The manual has been written to be used by trained and competent personnel. The definition of such a person or persons is as follows;...
  • Page 6 α Simple Application Controllers...
  • Page 7: Table Of Contents

    α 2 Simple Application Controllers Table of Contents Safety Guidelines ................iii 1. Introduction ................1-1 1.1 Special Features of the Controller ............1-1 1.2 Model Name ..................1-2 2. Function Block Programming ............ 2-1 2.1 Block Type and the FBD base .............. 2-1 2.1.1 Inputs ...................
  • Page 8 α Series Applications Controller 4. Direct Programming ..............4-1 4.1 Block Availability ................... 4-1 4.2 Connecting Blocks ................4-1 4.2.1 To connect the blocks from the left (signal provider) block to right (signal receiver) block..............4-1 4.2.2 To connect the blocks from the right (signal receiver) block to left (signal provider) block.
  • Page 9 α Series Applications Controller 6. Function Blocks ................. 6-1 6.1 Definitions ..................... 6-6 6.2 Abbreviations ..................6-6 6.3 Boolean block ..................6-7 6.4 Set/Reset Block ..................6-9 6.5 Pulse Block ..................6-11 6.6 Alternate Block ..................6-13 6.7 Delay Block ..................6-14 6.8 One Shot Block ...................
  • Page 10 α Series Applications Controller 6.30 GSM/SMS Block ................6-76 6.30.1 Input Signal ................6-78 6.30.2 Output Signal ................6-78 6.30.3 Word Output ................6-78 6.30.4 Short Message Service (SMS) ..........6-79 6.30.5 Comment/Signal Number ............6-79 6.30.6 Setting ..................6-79 6.30.7 Destination ................
  • Page 11: Introduction

    α Introduction 1 2 Simple Application Controllers Introduction α 2 Series Controllers provides supervisory control for use in the home, office, factory or α wherever you need it. The 2 Series Controllers offers flexible I/O control for varied applications: Applications α...
  • Page 12: Model Name

    α Introduction 1 2 Simple Application Controllers 6 ) High current output The Relay outputs can handle 8A per common (COM) in the main units: AL2-14MR-* (O01-6); AL2-24MR-D (O01-04). Transistor outputs are 1A/point in the extension module. 7 ) GSM Function α...
  • Page 13: Function Block Programming

    α Function Block Programming 2 2 Simple Application Controllers Function Block Programming α 2 Series Controller is programmed with a user-friendly method of combining special- purpose dedicated function blocks. The task is broken down into various stages which can be represented by a number of function blocks.
  • Page 14: Inputs

    α Function Block Programming 2 2 Simple Application Controllers 2.1.1 Inputs α 2 Series Controller will accept both digital (On/Off) and analog (mV value based) α electrical information through the system Inputs. Please refer to the 2 Hardware Manual for electrical information, wiring diagrams and input specifications.
  • Page 15: System Memory Bits

    α Function Block Programming 2 2 Simple Application Controllers 2.1.3 System Memory Bits These System Memory Bits can provide predefined signals - Always On, Always Off, 0.5 second On, 0.5 second Off, or provide information about the Real Time Clock time or errors etc.
  • Page 16: Outputs

    α Function Block Programming 2 2 Simple Application Controllers 2.1.5 Outputs α Table 2.4: Outputs for the 2 Series Controller Outputs Description O01 - 09 Signal output A01 - 04 AS-interface Output EO1 - E04 Extension Output Disconnected to AS-interface network OFF: Connect to AS-interface network The back light is “OFF”...
  • Page 17: Programming Methods

    α Function Block Programming 2 2 Simple Application Controllers Programming Methods 2.2.1 Direct Programming Direct Programming uses the keys on the front panel to create the program and enter any required data values. The method for Direct Programming is explained in Chapter 4 of this manual.
  • Page 18 α Function Block Programming 2 2 Simple Application Controllers MEMO 2 - 6...
  • Page 19: System Menu

    α System Menu 3 2 Simple Application Controllers System Menu Menu Options Instructions α There are Systems Menus to help guide the user through the options available in the 2. The α TopMenu has a Run Mode that is accessed while the 2 is in operation or a Stop Mode that is α...
  • Page 20: The Stop Mode

    α System Menu 3 2 Simple Application Controllers The Stop Mode 3.2.1 Top Menu α When the 2 is first turned On, the Input/Output Image Table will appear. Press the “OK” and “ESC” keys simultaneously to move to the TopMenu. (If the TopMenu cannot be accessed the Menu Key has been set to “Not Use”), •...
  • Page 21 α System Menu 3 2 Simple Application Controllers Figure 3.2: ClockSet Menu in Stop Mode Operation C l o c k s e l o c k s e t d d / mm / y y y y l o c k s e t 2 9 / 6 / 2 0 0 3 7 : 5 9 S u n...
  • Page 22: The "Others

    α System Menu 3 2 Simple Application Controllers 3.2.2 The “Others... • Version: α Displays CPU Version of the 2 Series Controller. • Scan Time: Monitor the Current, Maximum, or Minimum program scan times. Upon controller reset current, Maximum and Minimum values for scan times are reset to 0. •...
  • Page 23 α System Menu 3 2 Simple Application Controllers Figure 3.2: Others Menu in Stop Mode operation O t h e r s . . . V e r s i o n V e r s i o n V e r * . * * S c a n T i me S c a n T i me S c a n T i m...
  • Page 24 α System Menu 3 2 Simple Application Controllers Figure 3.3: Serial Com in Stop Mode operation S e r i a l C o m Mo d e m I n i t Mo d e m I n i t 0 1 N o t U s e C o mma n d...
  • Page 25 α System Menu 3 2 Simple Application Controllers Figure 3.5: GSM Menu in Stop Mode operation C o m f o r ma t * GSM I n i t GSM I n i t C o mmn d D e l a y T i me GS R e mo t e GS R e mo t e F o r b i t...
  • Page 26 α System Menu 3 2 Simple Application Controllers Figure *.*: Analog Inputs Setup Menu. I 0 1 I 0 1 n a l o g Mo d e N o r ma l P T 1 0 0 I 0 2 : I 0 2 I 0 2 Mo d e...
  • Page 27 α System Menu 3 2 Simple Application Controllers Adding Function Blocks P r og r a mSc r een F B S e l e c t F B P a r a me t e r Add FB S e t u p F B O 01 C h a n g e N...
  • Page 28: The Run Mode Top Menu

    α System Menu 3 2 Simple Application Controllers The Run Mode Top Menu α When the 2 program is running, the LCD defaults to the Image Table screen. According to the Menu Key setting, proceed to the Stop Mode of the Top Menu by using the “OK” and the “ESC”...
  • Page 29 α System Menu 3 2 Simple Application Controllers Figure 3.14: Monitor Screen in Run Mode. Settings for Function Blocks Mon i t o r S c r een F B S e t t i n B002 P - I S e t B003 (OK, ESC, +, -,...
  • Page 30 α System Menu 3 2 Simple Application Controllers Figure 3.9: Others Menu in Run Mode operation O t h e r s . . . V e r s i o n V e r s i o n V e r * . * * S c a n T i me S c a n T i me S c a n T i me...
  • Page 31 α System Menu 3 2 Simple Application Controllers Figure 3.10: Serial Com in Run Mode operation S e r i a l C o m Mo d e m I n i t Mo d e m I n i t 0 1 N o t U s e C o mma n d C o mma n d...
  • Page 32 α System Menu 3 2 Simple Application Controllers Figure 3.12: GSM Menu in Run Mode operation C o m f o r ma t * GSM I n i t GSM I n i t C o m a n d D e l a y T i me GSR e mo t e GS R e mo t e...
  • Page 33: The Edit Menu

    α System Menu 3 2 Simple Application Controllers The Edit Menu α The Edit Menu can be entered when the 2 is in the ProgEdit or Monitor main programming screen. If entering options or connecting FBs, these procedures have to be finished or canceled before the Edit Menu can be entered.
  • Page 34: Option Screen Setup

    α System Menu 3 2 Simple Application Controllers Option Screen Setup Various options have been provided for ease of use or for safety purposes. Please set as your needs require. All of the options in this section can be accessed from either the Run or the Stop Menu.
  • Page 35: Radioclock - Dcf77 Decoding

    α System Menu 3 2 Simple Application Controllers 3.6.4 RadioClock - DCF77 Decoding The RadioClock function enables the reception of time information broadcasted by radio signal on 77.5 kHz from Frankfurt Germany. Special hardware is required for this feature. Refer to the Alpha 2 Hardware Manual for more information.
  • Page 36: Summertime

    α System Menu 3 2 Simple Application Controllers 3.6.5 SummerTime The Summertime menu will display six choices when entered. Cancel - Turns off the Summertime clock setting. Manual On - Moves the clock one hour ahead immediately and will remain ON until cancelled. Date Type - Set the On date, Off date, and Time adjustment.
  • Page 37: Disppass

    α System Menu 3 2 Simple Application Controllers 3.6.6 DispPass α 2 Series Controller with three distinct security levels, limiting the users’ DispPass provides the ability to make changes to program parameters (i.e. the SetPeriod parameter of the SpeedDetect FB). A non-authorized user will be able to navigate the display screen from field to field, but will not be able to make changes without, first, entering the appropriate password.
  • Page 38: Password

    α System Menu 3 2 Simple Application Controllers 3.6.7 Password The password consists of four digits and will prohibit entry into the ProgEdit, Monitor, Disp Pass and Serial Com modes only. All other menu options can be accessed when a Password is used.
  • Page 39: Memory Cassette

    α System Menu 3 2 Simple Application Controllers 3.6.9 Memory cassette The Memory Cassette EEPROM is the active memory whenever it is properly installed in α α α α 2 controller. The controller must be powered down before installing/removing the memory cassette or an error will occur.
  • Page 40: Analog Inputs

    α System Menu 3 2 Simple Application Controllers 3.6.10 Analog Inputs The Analog Inputs can be configured for three different modes: Normal, TC and PT100. Normal mode is used for ordinary analog signals. TC and PT100 modes should be used with the AL2-2TC-ADP and AL2-2PT-ADP modules respectively.
  • Page 41: Lcd Displays

    α System Menu 3 2 Simple Application Controllers To change the temperature scale setting (Stop Mode only): 1 ) Select “Others...” from the TopMenu while in Stop Mode. 2 ) Select “Analog In.” 3 ) Select “TempScale.” 4 ) Select “Celsius” or “Fahrenheit.” Note: In Run Mode, the temperature scale can be checked but cannot be changed.
  • Page 42: Block Items

    α System Menu 3 2 Simple Application Controllers Block Items Each block item contains an individual diagram that shows the block number, available number of input pins, the output pin if applicable, and the block mnemonic. Connections between blocks can be viewed at the pin locations when connected blocks are shown individually on the LCD.
  • Page 43: Direct Programming

    α Direct Programming 4 2 Simple Application Controllers Direct Programming α α 2 can be programmed using the front panel keys on the 2 series controller. When the α function block diagram is complete, the program can be logically entered into the 2.
  • Page 44: To Connect The Blocks From The Right (Signal Receiver) Block To Left (Signal Provider) Block

    α Direct Programming 4 2 Simple Application Controllers 3 ) Step 3: The block accepting the signal will display as many of its input pins as possible (at times they will not all fit on-screen). Pins that have been used will show as filled triangles; pins that are open will show as “>”...
  • Page 45: Methods To Create A Function Block

    α Direct Programming 4 2 Simple Application Controllers Methods to Create a Function Block The two methods of creating a Function Block. The New FB option in the Edit Menu and AddFB option when connecting two blocks. 4.4.1 New FB To use the New FB option, proceed to the Edit Menu (Chapter 3) using the “ESC”...
  • Page 46: Movement Between Function Blocks

    α Direct Programming 4 2 Simple Application Controllers Movement between Function Blocks There are a number of ways to move from one item to another when in the ProgEdit or Monitor modes. 4.6.1 Movement Between Unconnected Blocks Movement between System Inputs, System Outputs, Keys, and M bits can be accomplished with the “+”...
  • Page 47: The Monitor Mode

    α Direct Programming 4 2 Simple Application Controllers The Monitor Mode Function Block values and Output status can be manipulated from the Monitor option. α 2 defaults back to the I/O status screen. Press the “ESC When placed in the Run mode, the and OK”...
  • Page 48: Forcing Outputs On/Off

    α Direct Programming 4 2 Simple Application Controllers 4.8.2 Forcing Outputs ON/OFF Outputs can be forced ON/OFF if there is no direct conflict with the program. To force an Output On, proceed to the position where the Output name and number are flashing and press the “OK”...
  • Page 49: The Logic Function Blocks

    α The Logic Function Blocks 5 2 Simple Application Controllers The Logic Function Blocks Logic Function Blocks operate by reading whether signals are ON or OFF and then setting the α status of their Outputs accordingly. There are six types of logic blocks available in the Series - AND, OR, NAND, NOT, NOR, XOR.
  • Page 50: The And Block

    α The Logic Function Blocks 5 2 Simple Application Controllers The AND Block The AND block comes ON when all the inputs are ON. Any Input that is OFF will keep the Output turned OFF. Unused inputs are considered to be ON. If no Input pins are connected, the block output is OFF.
  • Page 51: The Or Block

    α The Logic Function Blocks 5 2 Simple Application Controllers The OR Block The Output comes ON when any input is ON. The Output remains OFF only if all the inputs are OFF. Unused Inputs are considered to be OFF Output Table 5.3: OR Logic gate Input 1...
  • Page 52: The Not Block

    α The Logic Function Blocks 5 2 Simple Application Controllers The NOT Block The NOT block takes a signal and inverts it - an Input that is ON has an Output that is OFF, and vice versa. The Output comes ON when the input is OFF. The Output is OFF when the input is ON.
  • Page 53: The Nand Block (Not And)

    α The Logic Function Blocks 5 2 Simple Application Controllers The NAND Block (Not AND) The Output comes ON if any or all inputs are OFF. If every input is ON, the Output turns OFF. Unused Inputs are considered to be ON. If no Input pin is used, the block output is OFF.
  • Page 54: The Nor Block (Not Or)

    α The Logic Function Blocks 5 2 Simple Application Controllers The NOR Block (Not OR) The Output comes ON when all the inputs are OFF. The Output remains OFF if any input is ON. If no Input pin is used, the block output is OFF. Unused Inputs are considered to be OFF This block is equivalent to an OR block followed by a NOT block N O R...
  • Page 55: Function Blocks

    α Function Blocks 6 2 Simple Application Controllers Function Blocks α 2 series controller is fundamentally based on function block programming. The blocks provide a wide range of possible operations and have been preprogrammed for ease of use. Some Function Blocks have parameters that can be tailored to meet individual requirements in the programs.
  • Page 56 α Function Blocks 6 2 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section Time The Time Switch Function Block uses a Switch predefined time schedule to control the ON 6.10 [TS] and OFF status of the output. The Time Switch maintenance Function Time Block uses a predefined time schedule to...
  • Page 57 α Function Blocks 6 2 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section T h e S c h m i t t Tr i g g e r F u n c t i o n B l o ck compares an input value to preset high and Schmitt low limits.
  • Page 58 α Function Blocks 6 2 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section Multiplicati The MUL Function Block is used to multiply 20 Byte 6.26 two input values. [MUL] Division The DIV Function Block is used to divide 20 Byte 6.27 [DIV]...
  • Page 59 α Function Blocks 6 2 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section The Set/Reset Function Block either holds an output ON (set) or releases the output OFF (reset.) Priority can be given to either Retentive i n p u t p i n i f b o t h i n p u t s h av e b e e n Set/Reset...
  • Page 60: Definitions

    α Function Blocks 6 2 Simple Application Controllers Definitions DirectSet - Enter a value using the “+” and “-” keys. Analog In - An analog input value from a System Input (A01, A02, A03,... A08). FB Value - A value contained in a Function Block (T, t, N, n, Direct set, etc.) Word Comparison - a 16 bit output value from a Function Block.
  • Page 61: Boolean Block

    α Function Blocks 6 2 Simple Application Controllers Boolean block The function block creates a logical operation using Boolean algebra consisting of AND, OR, NAND, XOR and NOT gates. It is possible to express the Logic functions in the form of an equation.
  • Page 62 α Function Blocks 6 2 Simple Application Controllers α Setup of the Boolean Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 63: Set/Reset Block

    α Function Blocks 6 2 Simple Application Controllers Set/Reset Block The function block will set or reset an output according to the input condition. When the SET input is energised, the Output is ON. When the RESET input is energised, the Output is OFF. When both inputs are energised simultaneously, the Output will follow the Priority Setting signal.
  • Page 64 α Function Blocks 6 2 Simple Application Controllers α Setup of the Set/Reset Function Block directly from the 2 Series Controller 1 ) Allocate the set and reset pins for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 65: Pulse Block

    α Function Blocks 6 2 Simple Application Controllers Pulse Block The function block emits a single pulse at any of the following user defined times: Table 6.6: Pulse Function Block Function Set Item Description Input pin for pulse operation Sends a single pulse depending on the function block conditional setup.
  • Page 66 α Function Blocks 6 2 Simple Application Controllers α Setup of the Pulse Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 67: Alternate Block

    α Function Blocks 6 2 Simple Application Controllers Alternate Block The function block inflicts a reversal of the ON and OFF state of the output as and when the input is given to the input pin. Table 6.7: Alternate Function Block Function Set Item Description...
  • Page 68: Delay Block

    α Function Blocks 6 2 Simple Application Controllers Delay Block The function block delays the signal to an output for a set length of time. The On or Off delays can be set individually or in combination. Ex. The On Delay Time is set to 5 seconds. The Delay Block Input signal comes ON;...
  • Page 69 α Function Blocks 6 2 Simple Application Controllers 2 ) ON delay timer Input pin I Input pin C Output ON OFF On delay Shorter than On delay On delay Time On delay time Time Time 3 ) OFF delay timer Input pin I Input pin C Output...
  • Page 70: One Shot Block

    α Function Blocks 6 2 Simple Application Controllers One Shot Block The function block gives a single Output pulse for a controlled duration of time. If the Set Time is 0.0 seconds, the block will function like the Pulse block. The Reset Input returns the Output to the OFF condition and will override the Input pin.
  • Page 71 α Function Blocks 6 2 Simple Application Controllers α Setup of the One Shot Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 72: Flicker Block

    α Function Blocks 6 2 Simple Application Controllers Flicker Block The function block provides a method to give a patterned ON/OFF Output signal. The user can set independent ON and OFF times for the Output. The output pattern can be dependent on an input signal, or can be performed for a preset cycle time or number of repetitions.
  • Page 73 α Function Blocks 6 2 Simple Application Controllers 3 ) Time control action registered number of times registered number of times Input pin I ON OFF Output Off time Off time On time On time On time On time α Setup of the Flicker Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block.
  • Page 74 α Function Blocks 6 2 Simple Application Controllers 8 ) Using the “ ” keys highlight the Time option and press the “OK” key. The Time can be entered using the “+” or “-” keys. B 0 0 1 : F L T i me 0 .
  • Page 75: Timesw Block

    α Function Blocks 6 2 Simple Application Controllers 6.10 TimeSW Block The real time clock within the TimeSW block can be programmed for date or weekly schedule operation. Up to 50 time settings can be programmed into each Function Block and up to 200 α...
  • Page 76: For The Date Operation

    α Function Blocks 6 2 Simple Application Controllers 6.10.2 For the Date operation: The Date calendar screen is shown at the right. The setting options include the year/month/ day, hour (0-23), minute, and the Output ON or OFF action. → The example shows a time switch that will turn ON on August 3rd, 2002 at 9:00 AM (Note - 9:00 PM is designated on the 24 hour clock as 21:00).
  • Page 77: To Edit Time Switches

    α Function Blocks 6 2 Simple Application Controllers 6.10.5 To Edit Time Switches Enter the Function Block Setup Menu. The currently selected time switch number will be flashing in the top right hand corner. Use the “+” or “-” key to go to the time switch desired to edit and press the “OK”...
  • Page 78: Counter Block

    α Function Blocks 6 2 Simple Application Controllers 6.11 Counter Block The function block counts input pulses and turns the Output ON when a preset limit is reached. The counter counts up only to a maximum value of 32767 and increments on the rising pulse. Normal inputs count to a maximum of 20Hz, however, with an extension module attached inputs EI1 or EI2 can count to a maximum of 1KHz.
  • Page 79: Up/Down Counter Block

    α Function Blocks 6 2 Simple Application Controllers 6.12 Up/Down Counter Block The function block counts upwards and downwards and will turn the Output ON at the Preset (or greater) value. The values are updated on the rising edge. Input pulses are counted to a maximum of 20Hz.
  • Page 80 α Function Blocks 6 2 Simple Application Controllers 2 ) Counter Operation of input pin U, input pin D, input C, input pin P , current value and output Input pin U Input pin D Input pin C Input pin P Current value of up-down counter Set value (-4)
  • Page 81: Compare Block

    α Function Blocks 6 2 Simple Application Controllers 6.13 Compare Block The function block compares value 1 (V1) with value 2 (V2) using an operational based instruction based upon the following conditions: =, >, >=, <, <= or <>. If current values satisfy the operational expression then the output status is ON.
  • Page 82 α Function Blocks 6 2 Simple Application Controllers 6 ) Or press the “ESC” key to return to the function block data input type menu, select the Analog In selection and press the “OK” key B 0 0 1 : CP Cmp V a l A n a l o g A 0 1...
  • Page 83: Analog Output

    α Function Blocks 6 2 Simple Application Controllers 6.14 Analog Output The digital value on the word input pin is converted to a corresponding output voltage or current on the specified channel on the AL2-2DA module. One of two output modes can be selected, voltage or current output.
  • Page 84 α Function Blocks 6 2 Simple Application Controllers 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown B 0 0 1 : CN S e t u p F B C h a n g e N o D e l e t e F B 3 ) Highlight “Setup FB”...
  • Page 85 α Function Blocks 6 2 Simple Application Controllers 10 )Select the appropriate FB output and press “OK using the “+” and “-” keys. After selecting the appropriate function block, select the FB value to be used. The controller will return to the “Setup FB”...
  • Page 86: Offset Block

    α Function Blocks 6 2 Simple Application Controllers 6.15 OFFSET Block The function block is used to adjust an Analogue Input value according to the following linear expression: Y=A/B∗X+C from which the values obtained through the analogue input channels X:A01-A08 are set. Table 6.16: Offset Gain Function Block Function Set Item...
  • Page 87 α Function Blocks 6 2 Simple Application Controllers α Setup of the Offset Gain Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 88 α Function Blocks 6 2 Simple Application Controllers 9 ) Using the “ ” arrows highlight the high and low limit values. B 0 0 1 : OG y = A / B ∗ x L i m i t : L , 10 )Press the “OK”...
  • Page 89: Display Block

    α Function Blocks 6 2 Simple Application Controllers 6.16 Display Block The function block displays the specified information from the connected function block. Allows information to be displayed on the LCD screen. The Position line sets the starting point for the data or message to be displayed.
  • Page 90: Editing Data Onscreen

    α Function Blocks 6 2 Simple Application Controllers 6.16.2 Editing Data Onscreen Values in Function Blocks, time, and date can be changed using the front panel keys. During the function block setup, when the type of data to be shown onscreen is chosen - i.e. Function Block, Date, or Time - type the “+”...
  • Page 91 α Function Blocks 6 2 Simple Application Controllers 6 ) Highlight the Strings option using the “ ” arrows and press the “OK” key to accept. Either a Flicker or Scroll option can be selected to represent the string. If neither is elected then a fixed position is indirectly chosen..
  • Page 92 α Function Blocks 6 2 Simple Application Controllers 13 )If a Time Switch is required to be displayed press the “OK” when TS Data is highlighted in step 5. B 0 0 1 : DP S S e e T i me B 0 0 1 14 )If Date is required to be displayed press the “OK”...
  • Page 93: Zone Compare Block

    α Function Blocks 6 2 Simple Application Controllers 6.17 Zone Compare Block This function checks whether a value is within a specified range. There are three values - the Low Limit (L), Input Value (I), and High Limit (H). These values can be Set Directly, be Analogue Inputs, or by Function Block values.
  • Page 94 α Function Blocks 6 2 Simple Application Controllers α Setup of the Zone Compare Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 95: Schmitt Trigger Block

    α Function Blocks 6 2 Simple Application Controllers 6.18 Schmitt Trigger Block The Schmitt Trigger is used to compare an Input value against a specified high and low limits thus turn the Output ON/OFF when certain conditions are met. There are three values that must be set - the Input Value, the Low Limit and the High Limit.
  • Page 96 α Function Blocks 6 2 Simple Application Controllers 1 ) High Value > Low Value Input pin I Limit (H) Input value (I) Limit (L) Output ON OFF 2 ) Low value > High value Input pin I Limit (L) Input value (I) Limit (H) Output...
  • Page 97 α Function Blocks 6 2 Simple Application Controllers α Setup of the Schmitt Trigger Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 98: Hour Meter Block

    α Function Blocks 6 2 Simple Application Controllers 6.19 Hour Meter Block The Hour Meter is used to track the amount of time that a device has been in operation. This can be very useful for preventative maintenance schedules or for performing feasibility studies. The timing starts at the receipt of an Input signal and retains the accumulated time through system shutdowns or power failures.
  • Page 99 α Function Blocks 6 2 Simple Application Controllers α Setup of the Hour Meter Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 100: Speed Detect Block

    α Function Blocks 6 2 Simple Application Controllers 6.20 Speed Detect Block The function block measures the signal input frequency for a set user defined period of time. The frequency is constantly compared to a preset high and low threshold values and the output is set ON if the conditions are satisfied.
  • Page 101 α Function Blocks 6 2 Simple Application Controllers 1 ) Upper limit > Lower limit Normal input max. 20Hz Input pin Count input pin Clear input pin Current value of counter Set cycle Upper limit: 7 Lower limit: 4 Speed output value Output pin Interrupt input terminal for AL2-4EX max.1kHz...
  • Page 102 α Function Blocks 6 2 Simple Application Controllers 2 ) Upper limit < Lower limit Normal input max. 20Hz Input pin Count input pin Clear input pin Current value of counter Set cycle Lower limit: 7 Upper limit: 4 Speed output value Output pin Interrupt input terminal for AL2-4EX max.
  • Page 103 α Function Blocks 6 2 Simple Application Controllers 3 ) Upper limit = Lower limit Normal input max. 20Hz Input pin Count input pin Clear input pin Current value of counter Set cycle Upper limit: 5 Lower limit: 5 Speed output value Output pin Interrupt input terminal for AL2-4EX max 1KHz...
  • Page 104 α Function Blocks 6 2 Simple Application Controllers α Setup of the Speed Detect Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 105: Pulse Width Modulation

    α Function Blocks 6 2 Simple Application Controllers 6.21 Pulse Width Modulation The function block emits a continuous pulse train output when an input is given at a preset duty cycle. Table 6.22: Pulse Width Modulation Function Set Item Description Input pin for the pulse width modulation function block 1) The PWM function operates concurrently with the input pin status set ON.
  • Page 106 α Function Blocks 6 2 Simple Application Controllers α Setup of the Pulse Width Modulation Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 107: Pid Block

    α Function Blocks 6 2 Simple Application Controllers 6.22 PID Block The PID Function Block contains the α2 implementation of PID, a control method used to obtain stable control over a system variable. The chapter describes, in detail, the necessary parameter adjustments for using the PID Function Block properly.
  • Page 108: Parameter List And Pid Details

    α Function Blocks 6 2 Simple Application Controllers 2) PID Operation when Auto-tuning was interrupted Clear PID operation with old parameters PID operation CLEAR AT RUNNING 3) Error Occurance Error occured ERROR 6.22.1 Parameter List and PID Details. Table 6.24: List of the PID Parameters, Parameter Parameter Description Range...
  • Page 109 α Function Blocks 6 2 Simple Application Controllers Table 6.25: PID Equations − Filtered Process Value á −1 αβ − β Filtered Set Value − − β − Deflection (Error Value) Integration Value − Derivative Value − − − C o n t r o l Va l u e C h a n g e i n ∆...
  • Page 110: Setting The Input Values, Sv And Pv

    α Function Blocks 6 2 Simple Application Controllers Table 6.26: List of Additional Variables used in the PID equations Variable Description Integration Time Sample Time ∆MV Change in Manipulated Value for the current sample α Proportional gain coefficient (See Control Response) α...
  • Page 111 α Function Blocks 6 2 Simple Application Controllers Note: Other PID systems may calculate proportional control based on the magnitude of the current deflection only. Table 6.27: Units for K Units Type of Word data Default Value Range · Analog input ·...
  • Page 112 α Function Blocks 6 2 Simple Application Controllers Derivative Time and Derivative Gain, T and K . D-control acts together with the proportional part of PID-control. For changes in the PV, the Derivative component will supplement the P-control depending on the rate of change of the PV. Derivative Control initially outputs a large corrective action which dissipates rapidly over time.
  • Page 113: Limiting The Manipulated Value

    α Function Blocks 6 2 Simple Application Controllers Control Response. When changes in the SV are necessary, the user can select whether the changes from the initial SV to the final SV should be immediate or gradual. There are three options for speed at which SV changes: slow, normal and fast.
  • Page 114: Setting Kp, Ti, And Td With Auto-Tuning

    α Function Blocks 6 2 Simple Application Controllers 6.22.5 Setting K , and T with Auto-tuning Auto-tuning can automatically calculate and set the K , and T control parameters, eliminating the need for the user to set them manually. Auto-tuning measures and uses the characteristic responses of the system to determine the parameter settings for the PID function block.
  • Page 115: Pid Troubleshooting

    α Function Blocks 6 2 Simple Application Controllers The controller then records the way that the PV behaves and derives the correct parameter using the Ziegler and Nichols formulas below. See Figures 6.22e and 6.22f for the definintions of a, τ and τ Table 6.29: The Ziegler and Nichols formulas Unit Proportional gain K...
  • Page 116: Error Codes

    α Function Blocks 6 2 Simple Application Controllers Response when T is increased: The PV stabilizes slowly with less searching (overshoot and undershoot) for the SV. Response when T is increased: The PV stabilizes quickly. There is more searching (overshoot and undershoot) for the SV. 6.22.7 Error Codes Error Codes are reported by the PID Function Block via the string output pin.
  • Page 117 α Function Blocks 6 2 Simple Application Controllers 5 ) After selecting the appropriate constant, analog input or word output, press the “OK” button to return to the function block settings menu. B 0 0 1 : P I S e t P r o c e s S a mp l e T i 6 ) Highlight and select Process Val using the “OK”...
  • Page 118 α Function Blocks 6 2 Simple Application Controllers 13 )Press the “OK” button and enter a T value using the “+” and “-” buttons. B 0 0 1 : P I D 4 . 0 14 )Press the “OK” button to return to the function block settings menu. Highlight T using the “...
  • Page 119 α Function Blocks 6 2 Simple Application Controllers 21 )Press the “OK” button and enter an Upper Limit value using the “+” and “-” buttons. B 0 0 1 : P I D U p p e r L i m i t 22 )Press the “OK”...
  • Page 120 α Function Blocks 6 2 Simple Application Controllers 29 )Press the “OK” button to choose from Forward or Reverse operation. B 0 0 1 : P I D D i r e c t i o n R e v e r s e F o r w a r d 30 )Highlight AT Result to select the type of control to be employed after auto-tuning finishes.
  • Page 121: Retentive Alternate Block

    α Function Blocks 6 2 Simple Application Controllers 6.23 Retentive Alternate Block This block is equivalent to the Alternate Function block described in section 6.4 but includes a the retention function. When the retention function is ON, the Retentive Alternation (RAL) output will act as a latched output and remember the ON/OFF settings in the case of a power failure.
  • Page 122: Addition Block

    α Function Blocks 6 2 Simple Application Controllers 6.24 Addition Block The function block is used to summate inputs A and B hence produce the resultant Y. Table 6.32: Addition Function Block Function Set Item Description Input pin for addition function block This function block operates the expression Y=A+B.
  • Page 123: Subtraction Block

    α Function Blocks 6 2 Simple Application Controllers 6.25 Subtraction Block The function block is used to subtract inputs B from A hence produce the resultant Y. Table 6.33: Subtraction Function Block Function Set Item Description Input pin for subtraction function block This function block operates the expression Y=A-B.
  • Page 124: Multiplication Block

    α Function Blocks 6 2 Simple Application Controllers 6.26 Multiplication Block The function block is used to multiply inputs A and B hence produce the resultant Y. Table 6.34: Multiplication Function Block Function Set Item Description Input pin for multiplication function block This function block operates the expression Y=A∗B.
  • Page 125: Division Block

    α Function Blocks 6 2 Simple Application Controllers 6.27 Division Block The function block is used to divide inputs A and B hence produce the quotient Q and remainder R. Table 6.35: Division Function Block Function Set Item Description Input pin for division function block This function block operates the expression Q=A/B, R=A%B The value of Q, R, A and B is in the range: -32768 to 32767 a) A,B...
  • Page 126: Calculation Block

    α Function Blocks 6 2 Simple Application Controllers 6.28 Calculation Block The function block creates an expression using up to four input word data (A, B, C and D) using five operators (+, -, * , /, %) and outputs the calculation result to Y. A maximum of 64 terms can be included in the calculation expression.
  • Page 127 α Function Blocks 6 2 Simple Application Controllers α Setup of the Calculation Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 128: Shift Block

    α Function Blocks 6 2 Simple Application Controllers 6.29 Shift Block The function block uses a shift control signal (T) to map the current ON/OFF state of the input pin (I) to the ouput pin. The operation of this FB is similar to the behavior of a D flip-flop. The function block can set or reset the status of the output with the input pins, Set (S) and Reset (R).
  • Page 129 α Function Blocks 6 2 Simple Application Controllers 2 ) 3-Bit Shift Operation Input pin Shift pin Reset pin 3-Bit Shift Operation Timing Diagram 3 ) 3-Bit Shift Operation 2 Shift pin 3-Bit Shift Operation 2 Timing Diagram OFF ON OFF ON OFF ON 6 - 75...
  • Page 130: Gsm/Sms Block

    α Function Blocks 6 2 Simple Application Controllers 6.30 GSM/SMS Block The GSM/SMS function block, when used with a GSM modem, provides SMS (Short Message α Service) communication between the 2 Series Controller and a mobile device or computer. Pin code. Gateway and Mobile access information from an SMS Service Provider is necessary to use the SMS function properly.
  • Page 131 α Function Blocks 6 2 Simple Application Controllers 1 ) SMS Operation Timing Diagram Transmission request is ignored while sending SMS Message. Input pin SMS Message Message Message Output pin 1 scan time *Communication failure will tell the GSM/SMS FB to retry three times in two minutes. 2 ) Sample VLS Program: SMS - Retry Sending Data Completed Send...
  • Page 132: Input Signal

    α Function Blocks 6 2 Simple Application Controllers 6.30.1 Input Signal α 2 controller will send the SMS message to the chosen destination when the input pin is activated. The operation will continue until the message is sent or the retries have been completed even if the Input pin is turned OFF during the process.
  • Page 133: Short Message Service (Sms)

    α Function Blocks 6 2 Simple Application Controllers 6.30.4 Short Message Service (SMS) The GSM/SMS Function Block sends the SMS message to the address chosen in the Short Message Service dialog box. Each GSM/SMS FB can only send a message to one address.
  • Page 134: Sms Setting Dialog Box

    α Function Blocks 6 2 Simple Application Controllers 6.30.8 SMS Setting Dialog Box The SMS Setting Dialog box is accessed from the Short Message Service (SMS) dialog box in any GSM/SMS Function Block by clicking the Setting button on the example window above. The SMS Setting dialog box is not specific to a single Function Block.
  • Page 135: Error Messages

    α Function Blocks 6 2 Simple Application Controllers 6.30.12 Error Messages The Status of the GSM communication can be checked in the right hand side of the Diagnosis of Controller (Controller ! Diagnosis of Controller) dialog box. This dialog box cannot be accessed while the controller is running.
  • Page 136 α Function Blocks 6 2 Simple Application Controllers Data Length D a t a L e n g t h Select a Data length of 7 or 8 bits. 8 b i t s 7 b i t s Parity P a r i t y Select from three options for Parity - None, Odd or Even.
  • Page 137 α Function Blocks 6 2 Simple Application Controllers Enter the PIN Code P I N C o e It is necessary to enter a PIN code received from the Service Provider S e t α 2 controller is used to send SMS packets. Use the “+” and [ ∗...
  • Page 138 α Function Blocks 6 2 Simple Application Controllers Validity Period S e t The Validity Period is a request to the SMS Service Provider to keep the message on their Server for a length of time. Each Service . 0 h Provider may have their own policies on the allowable time messages can be kept.
  • Page 139 α Function Blocks 6 2 Simple Application Controllers CME Error GSM S t This CME Error status gives information to the functioning of Mobile r o r Equipment (ME), please refer to the GSM modem manual for more details. Table 6.42: Mobile Equipment Error Codes Value Description Value...
  • Page 140 α Function Blocks 6 2 Simple Application Controllers Signal Strength (SigStreng) GSM S t Check the signal strength of the GSM modem signal. Generally good S i g S t r e operation is possible with a signal strength of 10% or more. Table 6.44: Signal Strength Reference Table Value % Receiving Level...
  • Page 141: Random One Shot Block

    α Function Blocks 6 2 Simple Application Controllers 6.31 Random One Shot Block This Function Block is equivalent to the One Shot function block except that the new block has only randomly generated pulse time. An Upper and Lower Time Limit value can be set in increments of 10 ms (0.00 to 327.67 seconds), 100 ms (00.0 - 3267.7 seconds), and 1 second (0 - 32767 seconds) for the random number generation.
  • Page 142 α Function Blocks 6 2 Simple Application Controllers 3 ) Press the “OK” key to set the Time unit for the random delayed output. Choose either a 10ms, 100ms or 1s time interval using the “ ” keys to highlight the option and press the “OK”...
  • Page 143: Delayed One Shot Block

    α Function Blocks 6 2 Simple Application Controllers 6.32 Delayed One Shot Block This block is equivalent to a combination of the Delay and the One Shot function block. Set an ON delay for the rising pulse of the Input signal or an OFF delay for the falling pulse. This FB will process the ON delay time before turning the Output ON for the OneShot pulse time and/or delay the Output resetting until the OFF delay time has processed.
  • Page 144 α Function Blocks 6 2 Simple Application Controllers 2 ) Delayed One-Shot (Delay starts when ON to OFF. Run mode Input pin Clear pin Reset operation Output pin Not active Delayed One-shot Reset delayed timer Delayed Time Time (shorter than set time) Time shorter than set time of One-shot time...
  • Page 145 α Function Blocks 6 2 Simple Application Controllers 4 ) Return to the function block edit screen. Using the “Up and Down” keys to highlight the Setup FB and press the “OK” key. B 0 0 1 : D S D e l y T m O n e S h...
  • Page 146: Delayed Alternate Block

    α Function Blocks 6 2 Simple Application Controllers 6.33 Delayed Alternate Block The function block is used to generate a delayed alternate pulse to the output pin of the function block. Table 6.47: Delayed Alternate Function Block Function Set Item Description Input pin for delayed alternate function block Clear pin for delayed alternate function block...
  • Page 147 α Function Blocks 6 2 Simple Application Controllers α Setup of the Delayed Alternate Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 148: Retentive Set Reset Block

    α Function Blocks 6 2 Simple Application Controllers 6.34 Retentive Set Reset Block The function block operates is identical in operational procedure as the Set/ Reset function block, however, a retentive option has been provided for the user to hold the state of the output after the power has been turned OFF.
  • Page 149 α Function Blocks 6 2 Simple Application Controllers α Setup of the Retentive Set/Reset Function Block directly from the 2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK” key with the cursor in the function block. The function block edit screen is displayed as shown.
  • Page 150: Control Display Manager

    α Function Blocks 6 2 Simple Application Controllers 6.35 Control Display Manager Display Manager controls the sequence of user screens to be displayed according to the signal that specifies each user screens. When N04 has been turned ON, Display Manager becomes α...
  • Page 151: Operation Image

    α Function Blocks 6 2 Simple Application Controllers 6.35.1 Operation Image: S ta tus scre e n o r U se r scre e n (D ispla y fu n ctio n b lo ck un d e fin e d b y d isp lay m a n a ge r) W h e n N 0 4 is tu rn ed O F F , d isp la y W h e n N 0 4 is tu rn ed O N ,...
  • Page 152: To Set Display Manager

    α Function Blocks 6 2 Simple Application Controllers 6.35.2 To Set Display Manager: 1) Double click the “Display Manager” button on the FBD base window. 2) Click the “Insert CDP” button to Insert CDP function block for the control user screen function 6 - 98...
  • Page 153 α Function Blocks 6 2 Simple Application Controllers 3) Choose the “CDP (Control Display Function)” icon to add a DP (Display function block) for each user screen.. 4) Click the “Add DP” button to add DP function block(s) for the CDP function block. It is possible to add a maximum of 10 DPs into 1 CDP .
  • Page 154 α Function Blocks 6 2 Simple Application Controllers 5) Choose the “Display” icon for indication BF (Function Block) or Analog value, and click “Connect” button. When not displaying them, please go to step 7).. 6) Click the “Connect” button to display the FB value or the Analog Input value - Free: Displays the Text, Date or Time.
  • Page 155 α Function Blocks 6 2 Simple Application Controllers 7) Double-click the “Display” icon or click the “Open” button to set parameters. Further information about parameters of the Display function block can be found in the programming manual and “Help” on the AL-PCS/WIN-E. On completion of the parameter settings, click the “OK”...
  • Page 156 α Function Blocks 6 2 Simple Application Controllers Choosing “FB Word Output” on step 6) Choosing “Analog Input” on step 6) 6 - 102...
  • Page 157 α Function Blocks 6 2 Simple Application Controllers 8) Double-click the “CDP” icon or click the “Open” button to set parameter. C h a n ge scre e n sign a l D isp laye d scre e n 9) Select the signal for changing user screens from the pull-down menu options. 6 - 103...
  • Page 158: Connect Block

    α Function Blocks 6 2 Simple Application Controllers 10) Select the next displayed user screen from the pull-down menu options. When completing the control key setting, click the "OK" button. 11) When completing the control key’s setting, click the “OK” button. 6.36 Connect Block The Connect function block is an internal device used to show the memory used by input bits,...
  • Page 159: Let's Make A Program

    α Let’s Make a Program 7 2 Simple Application Controllers Let’s Make a Program α Let’s create a sample program from beginning to end. Power up the 2 and press any key to go the TopMenu. Option Settings Before starting to program, we can set any desired options from the following list. Refer to Chapter 3 for option settings •...
  • Page 160: Input The Program

    α Let’s Make a Program 7 2 Simple Application Controllers Input the Program The options are set and the Function Block diagram is finished. It is time to start inputting the program. From the TopMenu enter ProgEdit to begin programming using the front keys as described in Chapter 4 Direct Programming.
  • Page 161: Scroll Through The Function Blocks By Number (Section 4.6.1)

    α Let’s Make a Program 7 2 Simple Application Controllers 7.3.2 Scroll through the Function Blocks by Number (Section 4.6.1) When the Output has been connected, move one space to the right so that the Output number “01” is flashing. Use the “+” key to scroll through to Input I02. (You will scroll through the Outputs, Keys, M bits, and finally get to the Inputs).
  • Page 162: Use The Newfb Command

    α Let’s Make a Program 7 2 Simple Application Controllers 7.3.4 Use the NewFB command Use the “ESC” key to enter the Edit Menu again. On this occasion enter the New FB option. Scroll to the Set/Reset FB and select with the “OK” button. The SR diagram should now appear on the LCD.
  • Page 163: Set Up The Function Block Parameters (Section 4.5.1)

    α Let’s Make a Program 7 2 Simple Application Controllers Set up the Function Block Parameters (Section 4.5.1) The options for the Function Blocks now need to be Set. Move left until the SR Function Block number (03) is flashing. Press the “OK” to enter the FB Edit Menu and press “OK”...
  • Page 164: Exit The Function Block Diagram Board

    α Let’s Make a Program 7 2 Simple Application Controllers Use the “+” button to enter a value of 20.0 seconds in the T timer. Move down to the t timer and enter the value of 5.0 seconds. The “OK” button will accept the data for the entire screen. If the “OK”...
  • Page 165: Appendix

    α Appendix 8 2 Simple Application Controllers Appendix Associated Manuals Manual Name Manual No. Description This manual contains hardware explanations of α wiring, installation and specification, etc. JY992D97901 2 Hardware Manual α regarding the 2 Series Controller. This manual contains explanations of operation α...
  • Page 166: System Keys

    α Appendix 8 2 Simple Application Controllers System Keys Key Name Key number Key Function Used to enter menu options, confirm data entry, and manually force inputs ON/OFF in the monitor function. Used to cancel an operation, move to a higher level screen, or to move to a new menu.
  • Page 167: Boolean Gates

    α Appendix 8 2 Simple Application Controllers Boolean Gates Logic Logic Block Memory Section Block Description Displayed Reference State T h i s f u n c t i o n exe c u t e s l o g i c a l A N D operation on given input signals.
  • Page 168 α Appendix 8 2 Simple Application Controllers Function Blocks Memory FB Name FB Symbol Description of Function Block Section The Boolean Function Block uses Boolean algebra to control the ON/OFF state of an Boolean output. An operational expression consists [BL] of either the AND, OR, NOR, XOR or NOT form.
  • Page 169 α Appendix 8 2 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section The Time Switch maintenance Function Time Switch Block uses a predefined time schedule to control the ON and OFF status of the 6.10 [TSm] output.
  • Page 170 α Appendix 8 2 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section The Hour Meter Function Block holds the output status ON for a maximum of 32767 hours, 59 minutes and 59 seconds. If the Hour Meter input pin is turned OFF the elapsed time 19 Byte...
  • Page 171 α Appendix 8 2 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section Division The DIV Function Block is used to divide 20 Byte 6.27 [DIV] two input values. The CAL Function Block is used to perform Calculation a calculation from the combination of 6.28...
  • Page 172 α Appendix 8 2 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section The Control Display Function allows the user to control the LCD image screens. The Control f u n c t i o n b l o c k c a n o n l y b e s e t i n Display AL-PCS/WIN-E software for Alpha Series 6.35...
  • Page 173: Pid Formulas

    α Appendix 8 2 Simple Application Controllers PID Formulas Table 8.1: PID Equations − Filtered Process Value á −1 αβ β − Filtered Set Value − − β − Deflection (Error Value) Integration Value − Derivative Value − − − C o n t r o l Va l u e C h a n g e i n ∆...
  • Page 174 α Appendix 8 2 Simple Application Controllers Table 8.2: List of Additional Variables used in the PID equations Variable Description Deflection for current sample Deflection of previous sample Intergration Value for current sample Derviative Gain Proportional Gain Output Value for current sample (Manipulated Value) Measured Value (filtered) for current sample Measured Value (filtered) for previous sample fn-1...
  • Page 175 • All examples and diagrams shown in this manual are intended only as an aid to understanding the text, not to guarantee operation. Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples.
  • Page 176 HEAD OFFICE: MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310 HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN JY992D97101B Effective Oct. 2003 (MEE) Specifications are subject to change without notice.

This manual is also suitable for:

Al2-mr-a seriesAl2-mr-d series

Table of Contents