Mitsubishi AL2 Series Programming Manual

Mitsubishi AL2 Series Programming Manual

Simple application controller
Table of Contents

Advertisement

α
2
SIMPLE APPLICATION CONTROLLER

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi AL2 Series

  • Page 1 α 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 α Simple Application Controllers α SIMPLE APPLICATION CONTROLLERS PROGRAMMING MANUAL Manual number : JY992D97101 Manual revision : A Date : Apr. 2002...
  • Page 4 Simple Application Controllers FAX BACK Mitsubishi has a world wide reputation for its efforts in continually developing and pushing back the frontiers of industrial automation. What is sometimes overlooked by the user is the care and attention to detail that is taken with the documentation. However,to continue this process of improvement, the comments of the Mitsubishi users are always welcomed.
  • Page 5 α Simple Application Controllers α Guidelines for the safety of the user and protection of Simple Application controllers α This manual provides information for the use of 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

    α Simple Application Controllers Table of Contents Safety Guidelines ................iii 1. Introduction ................1-1 1.1 Special Features Display messages and Function Block data ..... 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 block to right block....4-1 4.2.2 To connect the blocks from the right block to left block....4-2 4.3 Disconnect Two Blocks .................
  • Page 9 α Series Applications Controller 6.11 Counter Block ................... 6-24 6.12 Up/Down Counter Block ..............6-25 6.13 Compare Block ................. 6-27 6.14 OFFSET Block .................. 6-29 6.15 Display Block ..................6-32 6.15.1 Displaying Data Onscreen ............6-32 6.15.2 Editing Data Onscreen ............. 6-33 6.16 Zone Compare Block ................
  • Page 10 α Series Applications Controller 7. Lets Make a Program ..............7-1 7.1 Option Settings ..................7-1 7.2 The Function Block Diagram ..............7-1 7.3 Input the Program ................. 7-2 7.3.1 Adding Function Blocks by the Left to Right method (Section 4.2.1) 7-2 7.3.2 Scroll through the Function Blocks by Number (Section 4.6.1) ..
  • Page 11: Introduction

    Applications where high reliabilities such as nuclear power control, railway facilities, airline facilities, vehicles, combustion equipment and medical equipment are required. Applications in life critical situations Please contact a Mitsubishi distributor for more information. Special Features Display messages and Function Block data 1 ) Display messages and Function Block data α...
  • Page 12: Model Name

    α Introduction 1 Simple Application Controllers 7 ) GSM Function α2 Series Controller uses GSM to send a SMS to a mobile phone or a dedicated E-mail account via a standard service provider. 8 ) Dedicated Protocol α 2 Series Controllers allowing the Introducing a Communication Device concept in the user to monitor, modify and enter current and set values in Function Blocks via dedicated protocol controlled from a personal computer.
  • Page 13: Function Block Programming

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

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

    α Function Block Programming 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 Simple Application Controllers 2.1.5 Outputs α 2 Series Controller Table 2.4: Outputs for the 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 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 this manual beginning at Chapter 4.
  • Page 18 α Function Block Programming 2 Simple Application Controllers MEMO 2 - 6...
  • Page 19: System Menu

    α System Menu 3 Simple Application Controllers System Menu Menu Options Instructions α 2. The There are Systems Menus to help guide the user through the options available in the α 2 is in operation or a Stop Mode that is TopMenu has a Run Mode that is accessed while the α...
  • Page 20 α System Menu 3 Simple Application Controllers Figure 3.1: TopMenu in Stop Mode operation To pMe n u 1 0 : 1 9 F r i Ru n / S t o p Run Mode Ru n S t o p Ru n →...
  • Page 21: The "Others

    α System Menu 3 Simple Application Controllers 3.2.2 The “Others... • Version: α Displays CPU Version of the 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 22 α System Menu 3 Simple Application Controllers Figure 3.2: Others Menu in Stop Mode operation O t h e r s . . . Ve r s i o n Ve r s i o n Ve r * . * * Sc a nT i me Sc a nT i me Sc a nT i me...
  • Page 23 α System Menu 3 Simple Application Controllers Figure 3.3: Serial Com in Stop Mode operation Se r i a l Com Mo d emI n i t Mo d emI n i t 0 1 No t Us e Com ma n d Com ma n d Mo d em De l...
  • Page 24 α System Menu 3 Simple Application Controllers Figure 3.5: GSM Menu in Stop Mode operation Comf o r ma t * GSMI n i t GSMI n i t Com mn d De l a y T i me GS Remo t e GS Remo t e Fo r b i t Pe r mi t...
  • Page 25: The Run Mode Top Menu

    α System Menu 3 Simple Application Controllers Adding Function Blocks Pr ogr amSc r een FBSe l e c t FBPa r ame t e r Add FB Se t u pFB O 01 Ch a n g eN Connect EO 04 De l a y e dA De l e t eFB (OK, ESC, +, -,...
  • Page 26 α System Menu 3 Simple Application Controllers Figure 3.8: TopMenu in Run Mode Operation To pMe n u 1 0 : 1 9 F r i Ru n / S t o p Stop Mode S t o p I : • 2 • • 5 • • 9 •...
  • Page 27 α System Menu 3 Simple Application Controllers Figure 3.9: Others Menu in Run Mode operation Ve r s i o n Ve r s i o n Ve r * . * * Sc a n T i me Sc a nT i me Sc a n T i me Mo n i t o r Cu r .
  • Page 28 α System Menu 3 Simple Application Controllers Figure 3.10: Serial Com in Run Mode operation Se r i a l Com Mo d emI n i t Mo d emI n i t 0 1 No t Us e Com ma n d Com ma n d Mo d em De l a y...
  • Page 29 α System Menu 3 Simple Application Controllers Figure 3.12: GSM Menu in Run Mode operation Comf o r ma t * GSMI n i t GSMI n i t Com a n d De l a y T i me GSRemo t e GS Remo t e Fo r b i t...
  • Page 30 α System Menu 3 Simple Application Controllers Figure 3.14: Monitor Screen in Run Mode. Settings for Function Blocks Mon i t o r Sc r een FBSe t t i n B002 P - I Se t B003 (OK, ESC, +, -, Individual for each Function Block.
  • Page 31: The Edit Menu

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

    α System Menu 3 Simple Application Controllers 3.6.3 ClockSET To set the Clock: 1 ) From the TopMenu, scroll to “ClockSet” and press the “OK” key. 2 ) From the options that appear, choose “ClockSet” and press the “OK” key. 3 ) Use the arrow keys to move an area that needs to be changed.
  • Page 33: Password

    α System Menu 3 Simple Application Controllers 3.6.5 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 34: Memory Cassette

    α System Menu 3 Simple Application Controllers The OtherCom function provides the user with an on-line programming feature using α 2 Communication Manual for detailed explanation dedicated protocol. Refer to the concerning Dedicated Protocol parameters. 3.6.7 Memory cassette The Memory Cassette EEPROM is the active memory whenever it is properly installed in α...
  • Page 35: Lcd Displays

    α System Menu 3 Simple Application Controllers To Remove the “ProtectSW” Feature: 1 ) Install the AL2-EEPROM-2. Refer to the AL2-EEPROM-2 instruction manual. 2 ) Select “Others” in the Top Menu. 3 ) Select “ProgTran.” 4 ) Select “ProtectSW”. 5 ) Choose “Off“ to de-activate the feature. LCD Displays There are a number of types of data and/or information that can be displayed on the LCD display besides the menus listed previously.
  • Page 36: Block Items

    α System Menu 3 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 37: Direct Programming

    α2 Direct Programming 4 Simple Application Controllers Direct Programming α α 2 can be programmed using the front panel keys on the 2 series controller. When the α 2. The function block diagram is complete, the program can be logically entered into the following sections will describe how to connect/disconnect function blocks, set program parameters, add Function Blocks, and move around within the program.
  • Page 38: To Connect The Blocks From The Right Block To Left Block

    α2 Direct Programming 4 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 39: Methods To Create A Function Block

    α2 Direct Programming 4 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” key. Scroll to the New FB option and press the “OK”...
  • Page 40: Movement Between Function Blocks

    α2 Direct Programming 4 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 41: The Monitor Mode

    α2 Direct Programming 4 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 42: Forcing Outputs On/Off

    α2 Direct Programming 4 Simple Application Controllers 4.8.2 Forcing Outputs ON/OFF Outputs can be forced ON/OFF if they do not have a 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 43: The Logic Function Blocks

    α2 The Logic Function Blocks 5 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 44: The And Block

    α The Logic Function Blocks 5 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 45: The Or Block

    α2 The Logic Function Blocks 5 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 Input 2...
  • Page 46: The Not Block

    α The Logic Function Blocks 5 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 47: The Nand Block (Not And)

    α2 The Logic Function Blocks 5 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 48: The Nor Block (Not Or)

    α The Logic Function Blocks 5 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 Output...
  • Page 49: Function Blocks

    α Function Blocks 6 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 50 α2 Function Blocks 6 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 51 α Function Blocks 6 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 Hour hours, 32767 minutes and 59 seconds. If Meter the input pin is turned OFF the elapsed time 19 Byte...
  • Page 52 α2 Function Blocks 6 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section Calcula- The CAL Function Block is used to perform tion a calculation from the combination of 6.26 [CAL] different Arithmetic function blocks. This Shift Function Block is used to transfer the Shift Input status just before the Input Shift signal is set ON.It has a bit input pin, a shift...
  • Page 53 α Function Blocks 6 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section The Connect function block is an internal device used to show the memory used by input bits, system bits, AS-interface bits, and the operation keys. No function block Connect appears on screen or shows as being used 10 Btye...
  • Page 54: Definitions

    α2 Function Blocks 6 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 55: Boolean Block

    α Function Blocks 6 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 56 α2 Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Boolean Function Block directly from the 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 57: Set/Reset Block

    α Function Blocks 6 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 58 α2 Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Set/Reset Function Block directly from the 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 59: Pulse Block

    α Function Blocks 6 Simple Application Controllers Pulse Block The function block emits a single pulse at any of the following user defined times: Table 6.5: Pulse Function Block Function Set Item Description Input pin for pulse operation Sends a single pulse depending on the function block conditional setup.
  • Page 60 α2 Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Pulse Function Block directly from the 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 61: Alternate Block

    α Function Blocks 6 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.6: Alternate Function Block Function Set Item Description...
  • Page 62: Delay Block

    α2 Function Blocks 6 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 63 α Function Blocks 6 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 64: One Shot Block

    α2 Function Blocks 6 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 65 α Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the One Shot Function Block directly from the 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 66: Flicker Block

    α2 Function Blocks 6 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 67 α Function Blocks 6 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 α 2 Series Controller Setup of the Flicker Function Block directly from the 1 ) Allocate the input pin to be used for the function block.
  • Page 68 α2 Function Blocks 6 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. B0 0 1 : FL T i me 0 .
  • Page 69: Timesw Block

    α Function Blocks 6 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 70: For The Date Operation

    α2 Function Blocks 6 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 71: To Edit Time Switches

    α Function Blocks 6 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 72: Series Applications Controller

    α2 Function Blocks 6 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 73: Up/Down Counter Block

    α Function Blocks 6 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 74 α2 Function Blocks 6 Simple Application Controllers 2 ) Counter Operation of input pin U, input pin D, input C, input pit 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) Output...
  • Page 75: Compare Block

    α Function Blocks 6 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 76 α2 Function Blocks 6 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 B0 0 1 : CP CmpVa l An a l o g I n A0 1 7 ) Or press the “ESC”...
  • Page 77: Offset Block

    α Function Blocks 6 Simple Application Controllers 6.14 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.14: Offset Gain Function Block Function Set Item...
  • Page 78 α2 Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Offset Gain Function Block directly from the 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 79 α Function Blocks 6 Simple Application Controllers 9 ) Using the “ ” arrows highlight the high and low limit values. B0 0 1 : OG y =A / B∗ x L i mi t : L , 10 )Press the “OK” and a Directset of the Low limit can be entered using the “+ and -” keys. B0 0 1 : OG L i mi L ow...
  • Page 80: Display Block

    α2 Function Blocks 6 Simple Application Controllers 6.15 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 81: Editing Data Onscreen

    α Function Blocks 6 Simple Application Controllers 6.15.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 82 α2 Function Blocks 6 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 83 α Function Blocks 6 Simple Application Controllers 13 )If a Time Switch is required to be displayed press the “OK” when TS Data is highlighted in step 5. B0 0 1 : DP S Se e t T i me B0 0 1 14 )If Date is required to be displayed press the “OK”...
  • Page 84: Zone Compare Block

    α2 Function Blocks 6 Simple Application Controllers 6.16 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 85 α Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Zone Compare Function Block directly from the 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 86: Schmitt Trigger Block

    α2 Function Blocks 6 Simple Application Controllers 6.17 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 87 α Function Blocks 6 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 3 ) High value = Low Value...
  • Page 88 α2 Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Schmitt Trigger Function Block directly from the 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 89: Hour Meter Block

    α Function Blocks 6 Simple Application Controllers 6.18 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 90 α2 Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Hour Meter Function Block directly from the 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 91: Speed Detect Block

    α Function Blocks 6 Simple Application Controllers 6.19 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 92 α2 Function Blocks 6 Simple Application Controllers 1 ) Upper limit > Lower limit Normal input max. 20Hz Input pin OFF ON Count input pin Clear input pin Current value of counter Set cycle Upper limit: 7 Lower limit: 4 Speed output value Output pin...
  • Page 93 α Function Blocks 6 Simple Application Controllers 2 ) Upper limit < Lower limit Normal input max. 20Hz Input pin OFF ON Count input pin Clear input pin Current value of counter Set cycle Lower limit: 7 Upper limit: 4 Speed output value Output pin...
  • Page 94 α2 Function Blocks 6 Simple Application Controllers 3 ) Upper limit = Lower limit Normal input max. 20Hz Input pin OFF ON Count input pin Clear input pin Current value of counter Set cycle Upper limit: 5 Lower limit: 5 Speed output value Output pin...
  • Page 95 α Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Speed Detect Function Block directly from the 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 96: Pulse Width Modulation

    α2 Function Blocks 6 Simple Application Controllers 6.20 Pulse Width Modulation The function block emits a continuous pulse train output when an input is given at a preset duty cycle. Table 6.20: 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 97 α Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Pulse Width Modulation Function Block directly from the 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: Retentive Alternate Block

    α2 Function Blocks 6 Simple Application Controllers 6.21 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 99: Addition Block

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

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

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

    α2 Function Blocks 6 Simple Application Controllers 6.25 Division Block The function block is used to divide inputs A and B hence produce the quotient Q and remainder R. Table 6.25: 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 103: Calculation Block

    α Function Blocks 6 Simple Application Controllers 6.26 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 104 α2 Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Calculation Function Block directly from the 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: Shift Block

    α Function Blocks 6 Simple Application Controllers 6.27 Shift Block The function block uses a shift input signal in correlation with an input signal to set the output ON. The function block can also Set or Reset the status of the output from the dedicated input pins.
  • Page 106 α2 Function Blocks 6 Simple Application Controllers 2 ) 3 bit shift Operation 1 (1) Input pin Shift pin Reset pin 3 ) 3bit shift Operation 1 (2) 4 ) 3bit shift operation 2 (1) Shift pin 5 ) 3bit shift operation 2 (2) OFF ON OFF ON OFF ON...
  • Page 107: Gsm Sms Block

    α Function Blocks 6 Simple Application Controllers 6.28 GSM SMS Block α The function block is used for communication between the 2 Series Controller connected to a GSM modem and a mobile telephone or personal computer via SMS (Short Message Service). Table 6.28: GMS Function Block Function Set Item...
  • Page 108 α2 Function Blocks 6 Simple Application Controllers 1 ) GMS Operation Transmission request is ignored while sending SMS Message. Input pin SMS Message Message Message Output pin 1 scan time Communication failure will tell the SMS function block to retry on three occasions in a period of two minutes.
  • Page 109: Input Signal

    α Function Blocks 6 Simple Application Controllers The GSM Function block will send the SMS packet when the input pin is activated. To input or edit the GSM/SMS parameters, double click on the GSM/SMS icon to open the Short Message Service dialog box in AL-PCS/WIN-E.
  • Page 110: Short Message Service (Sms)

    α2 Function Blocks 6 Simple Application Controllers 6.28.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 111: Sms Setting Dialog Box

    α Function Blocks 6 Simple Application Controllers 6.28.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. The SMS Setting dialog box is not specific to a single Function Block.
  • Page 112: Error Messages

    α2 Function Blocks 6 Simple Application Controllers 6.28.12 Error Messages The Status of the GSM communication can be checked in the right hand side of the “Controller/Diagnosis of Controller” dialog box. This dialog box cannot be accessed while the controller is running. The CME and CMS Error boxes give information to the functioning of Mobile Equipment (ME), please refer to the GSM modem manual for more details.
  • Page 113 α Function Blocks 6 Simple Application Controllers Data Length Da t a L e n g t h Select a Data length send parameter of 7 or 8 bits. 8 b i t s 7 b i t s Parity Pa r i t y Select from three options for Parity - None, Odd or Even.
  • Page 114 α2 Function Blocks 6 Simple Application Controllers Enter the PIN Code P I N Co e It is necessary to enter a PIN code received from the Service Provider Se t α 2 controller is used to send SMS packets. Use the “+” and [ ∗...
  • Page 115 α Function Blocks 6 Simple Application Controllers Validity Period Se 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 116 α2 Function Blocks 6 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 3.2: Mobile Equipment Error Codes Value Description Value...
  • Page 117 α Function Blocks 6 Simple Application Controllers Signal Strength (Sigstreng) GSM S t Check the signal strength of the GSM modem signal. Generally good S i gS t r e operation is possible with a signal strength of 10% or more. Table 3.4: Signal Strength Reference Table Value % Receiving Level...
  • Page 118: Random One Shot Block

    α2 Function Blocks 6 Simple Application Controllers 6.29 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 119 α Function Blocks 6 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 120: Delayed One Shot Block

    α2 Function Blocks 6 Simple Application Controllers 6.30 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 121 α Function Blocks 6 Simple Application Controllers 3 ) Delayed One Shot sample program • Delay Start: ON to OFF (Off to On)* • Delay Time: 1s • One-Shot Time: 1s 4 ) Delayed One Shot comparison sample program From On to Off •...
  • Page 122 α2 Function Blocks 6 Simple Application Controllers 5 ) Highlight DelayTime from the list of options and press the “OK” key. The Delay Time can be entered using the “ , , + and -” keys. B0 0 1 : D S De l a y t me 0 1 s...
  • Page 123: Delayed Alternate Block

    α Function Blocks 6 Simple Application Controllers 6.31 Delayed Alternate Block The function block is used to generate a delayed alternate pulse to the output pin of the function block. Table 6.31: Delayed Alternate Function Block Function Set Item Description Input pin for delayed alternate function block Clear pin for delayed alternate function block 1) Time units: 10ms, 100ms or 1s (*Note)
  • Page 124 α2 Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Delayed Alternate Function Block directly from the 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 125: Retentive Set Reset Block

    α Function Blocks 6 Simple Application Controllers 6.32 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 126 α2 Function Blocks 6 Simple Application Controllers α 2 Series Controller Setup of the Retentive Set/Reset Function Block directly from the 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 127: Control Display Manager

    α Function Blocks 6 Simple Application Controllers 6.33 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 effective.
  • Page 128: Operation Image

    α2 Function Blocks 6 Simple Application Controllers 6.33.1 Operation Image: Status screen or User screen (Display function block undefined by display manager) When N04 is turned OFF, display When N04 is turned ON, the status screen or user screen by display user screen by the display function block on the FBD controlled display manager.
  • Page 129: To Set Display Manager

    α Function Blocks 6 Simple Application Controllers 6.33.2 To Set Display Manager: 1) Double click the “Display Manager” button on the FBD base window. Display Manager button 2) Click the “Insert CDP” button to Insert CDP function block for the control user screen function 6 - 81...
  • Page 130 α2 Function Blocks 6 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 131 α Function Blocks 6 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 132 α2 Function Blocks 6 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 133 α Function Blocks 6 Simple Application Controllers Choosing “FB Word Output” on step 6) Choosing “Analog Input” on step 6) 6 - 85...
  • Page 134 α2 Function Blocks 6 Simple Application Controllers 8) Double-click the “CDP” icon or click the “Open” button to set parameter. Change screen signal Displayed screen 9) Select the signal for changing user screens from the pull-down menu options. 6 - 86...
  • Page 135: Connect Block

    α Function Blocks 6 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.34 Connect Block The Connect function block is an internal device used to show the memory used by input bits,...
  • Page 136 α2 Function Blocks 6 Simple Application Controllers MEMO 6 - 88...
  • Page 137: Lets Make A Program

    α2 Lets Make a Program 7 Simple Application Controllers Lets Make a Program α 2 and press any key to Lets create a sample program from beginning to end. Power up the 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 138: Input The Program

    α2 Lets Make a Program 7 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 139: Scroll Through The Function Blocks By Number (Section 4.6.1)

    α2 Lets Make a Program 7 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 Out- puts, Keys, M bits, and finally get to the Inputs).
  • Page 140: Use The Newfb Command

    α2 Lets Make a Program 7 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 141: Set Up The Function Block Parameters (Section 4.5.1)

    α2 Lets Make a Program 7 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 OK again to enter the Setup FB option.
  • Page 142: Exit The Function Block Diagram Board

    α2 Lets Make a Program 7 Simple Application Controllers Use the “+” button to enter the T timer of 20 seconds. 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” button is pressed before all the data on the screen is input, re-enter the screen and input the data.
  • Page 143: Appendix

    α2 Appendix 8 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 144: System Keys

    α2 Appendix 8 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 145: Boolean Gates

    α2 Appendix 8 Simple Application Controllers Boolean Gates Logic Logic Block Memory Section Block Description Displayed Reference State This function executes logical AND opera- tion on given input signals. The input sig- nals connected should be of bit input type 19 Byte only.
  • Page 146: Function Blocks

    α2 Appendix 8 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, NAND,NOR,XOR or NOT form.
  • Page 147 α2 Appendix 8 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section The Time Switch maintenance Function Time Block uses a predefined time schedule to Switch m control the ON and OFF status of the 6.10 [TSm] output.
  • Page 148 α2 Appendix 8 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 Hour hours, 32767 minutes and 59 seconds. If Meter the input pin is turned OFF the elapsed time 19 Byte 6.18...
  • Page 149 α2 Appendix 8 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section Calcula- The CAL Function Block is used to perform tion a calculation from the combination of 6.26 [CAL] different Arithmetic function blocks. This Shift Function Block is used to transfer the Shift Input status just before the Input Shift signal is set ON.It has a bit input pin, a shift...
  • Page 150 α2 Appendix 8 Simple Application Controllers Memory FB Name FB Symbol Description of Function Block Section The Connect function block is an internal device used to show the memory used by input bits, system bits, AS-interface bits, and the operation keys. No function block Connect appears on screen or shows as being used 10 Btye...
  • Page 151 α Simple Application Controllers Under no circumstances will MITSUBISHI ELECTRIC be liable or responsible for any consequential damage that may arise as a result of the installation or use of this equipment. All examples and diagrams shown in this manual are intended only as an aid to understanding the text, not to guarantee operation.
  • Page 152 HEAD OFFICE: MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310 TELEX:J24532 CABLE MELCO TOKYO HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN JY992D97101A Effective Apr. 2002 (MEE) Specifications are subject to change without notice.

This manual is also suitable for:

Al2-24mr-d

Table of Contents