SMC Networks aPNEUALPHA2 Series Programming Manual

Simple application controller
Table of Contents

Advertisement

Quick Links

PROGRAMMING MANUAL
α
PNEUALPHA2
SIMPLE APPLICATION CONTROLLER

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the aPNEUALPHA2 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for SMC Networks aPNEUALPHA2 Series

  • Page 1 PROGRAMMING MANUAL α PNEUALPHA2 SIMPLE APPLICATION CONTROLLER...
  • Page 2 α PneuAlpha2 Simple Application Foreword • This manual contains text, diagrams and explanations which will guide the reader in the α correct programming and operation of the series controller. PneuAlpha2 α • Before attempting to install or use the Series Controller this manual should be PneuAlpha2 read and understood.
  • Page 3 α PneuAlpha2 Simple Application Controllers α PNEUALPHA2 SIMPLE APPLICATION CONTROLLERS PROGRAMMING MANUAL Manual number : PROG0903 Manual revision : A Date : Oct 2003...
  • Page 4 α PneuAlpha2 Simple Application Controllers FAX BACK SMC Pneumatics has a world wide reputation for its efforts in continually developing and push- ing 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 pro- cess of improvement, the comments of the SMC users are always welcomed.
  • Page 5 α PneuAlpha2 Simple Application Controllers α Guidelines for the safety of the user and protection of PneuAlpha2 simple Application controllers α This manual provides information for the use of PneuAlpha2 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 α PneuAlpha2 Simple Application Controllers...
  • Page 7: Table Of Contents

    α PneuAlpha2 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 PneuAlpha2 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 PneuAlpha2 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 PneuAlpha2 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

    α Introduction 1 PneuAlpha2 Simple Application Introduction α PneuAlpha2 Series Controllers provides supervisory control for use in the home, office, α factory or wherever you need it. The PneuAlpha2 series Controllers offers flexible I/O control for varied applications: Applications α PneuAlpha2 Series is designed to be used for automatic applications including: Lighting, air-conditioning or watering control Opening and shutting of gates...
  • Page 12: Model Name

    α Introduction 1 PneuAlpha2 Simple Application 7 ) GSM Function α PneuAlpha2 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 α Introducing a Communication Device concept in the PneuAlpha2 Series Controllers allowing 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 PneuAlpha2 Simple Application Function Block Programming α PneuAlpha2 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 PneuAlpha2 Simple Application 2.1.1 Inputs α PneuAlpha2 Series Controller will accept both digital (On/Off) and analog (mV value α based) electrical information through the system Inputs. Please refer to the PneuAlpha2 Hardware Manual for electrical information, wiring diagrams and input specifications. Depending on the chosen controller there are either 14 or 24 input version types of the α...
  • Page 15: System Memory Bits

    α Function Block Programming 2 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 2.1.5 Outputs α Table 2.4: Outputs for the PneuAlpha2 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 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application MEMO 2 - 6...
  • Page 19: System Menu

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

    α System Menu 3 PneuAlpha2 Simple Application 3.2.2 The “Others... • Version: α Displays CPU Version of the PneuAlpha2 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 PneuAlpha2 Simple Application 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 me...
  • Page 23 α System Menu 3 PneuAlpha2 Simple Application Figure 3.3: Serial Com in Stop Mode operation Figure 3.4: Communication Format in Stop Mode Operation 3 - 5...
  • Page 24 α System Menu 3 PneuAlpha2 Simple Application Figure 3.5: GSM Menu in Stop Mode operation Figure 3.6: Communication Format in Stop Mode operation 3 - 6...
  • Page 25: The Run Mode Top Menu

    α System Menu 3 PneuAlpha2 Simple Application The Run Mode Top Menu α When the PneuAlpha2 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”...
  • Page 26 α System Menu 3 PneuAlpha2 Simple Application Figure 3.8: TopMenu in Run Mode Operation 3 - 8...
  • Page 27 α System Menu 3 PneuAlpha2 Simple Application Figure 3.9: Others Menu in Run Mode operation 3 - 9...
  • Page 28 α System Menu 3 PneuAlpha2 Simple Application Figure 3.10: Serial Com in Run Mode operation Figure 3.11: Communication Format in Run Mode Operation 3 - 10...
  • Page 29 α System Menu 3 PneuAlpha2 Simple Application Figure 3.12: GSM Menu in Run Mode operation Figure 3.13: Communication Format in Run Mode operation 3 - 11...
  • Page 30 α System Menu 3 PneuAlpha2 Simple Application Figure 3.14: Monitor Screen in Run Mode. 3 - 12...
  • Page 31: The Edit Menu

    α System Menu 3 PneuAlpha2 Simple Application The Edit Menu α The Edit Menu can be entered when the PneuAlpha2 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 32: Clockset

    α System Menu 3 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application The OtherCom function provides the user with an on-line programming feature using α dedicated protocol. Refer to the PneuAlpha2 Communication Manual for detailed explana- tion 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 PneuAlpha2 Simple Application To Remove the “ProtectSW” Feature: 1 ) Install the ECC-PNAL2-EEPROM-2. Refer to the ECC-PNAL2-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 PneuAlpha2 Simple Application 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

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

    α Direct Programming 4 PneuAlpha2 Simple Application 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;...
  • Page 39: Methods To Create A Function Block

    α Direct Programming 4 PneuAlpha2 Simple Application 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

    α Direct Programming 4 PneuAlpha2 Simple Application 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

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

    α Direct Programming 4 PneuAlpha2 Simple Application 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

    α The Logic Function Blocks 5 PneuAlpha2 Simple Application 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 α...
  • Page 44: The And Block

    α The Logic Function Blocks 5 PneuAlpha2 Simple Application 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

    α The Logic Function Blocks 5 PneuAlpha2 Simple Application 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 Table 5.3: OR Logic gate Input 1 Input 2 Input 3...
  • Page 46: The Not Block

    α The Logic Function Blocks 5 PneuAlpha2 Simple Application 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)

    α The Logic Function Blocks 5 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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 Table: 5.7: NOR Logic gate...
  • Page 49: Function Blocks

    α Function Blocks 6 PneuAlpha2 Simple Application Function Blocks α PneuAlpha2 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 α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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 19 Byte...
  • Page 52 α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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

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

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

    α Function Blocks 6 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application α Setup of the Pulse Function Block directly from the PneuAlpha2 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 61: Alternate Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 2 ) ON delay timer 3 ) OFF delay timer α Setup of the Delay Function Block directly from the PneuAlpha2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK”...
  • Page 64: One Shot Block

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

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 3 ) Time control action α Setup of the Flicker Function Block directly from the PneuAlpha2 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 68 α Function Blocks 6 PneuAlpha2 Simple Application 8 ) Using the “ ” keys highlight the Time option and press the “OK” key. The Time can be entered using the “+” or “-” keys. 9 ) The Count can be entered using the “+” or “-” keys. 10 )Press the “OK”...
  • Page 69: Timesw Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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: Pneualpha2 Series Applications Controller

    α Function Blocks 6 PneuAlpha2 Simple Application 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.
  • Page 73: Up/Down Counter Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application 2 ) Counter Operation of input pin U, input pin D, input C, input pit P, current value and output α Setup of the Up/Down Counter Function Block directly from the PneuAlpha2 Series Controller 1 ) Allocate the input pin to be used for the function block.
  • Page 75: Compare Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application 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 7 ) Or press the “ESC” key to return to the function block data input type menu, select the FB Value selection and press the “OK”...
  • Page 77: Offset Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application α Setup of the Offset Gain Function Block directly from the PneuAlpha2 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 79 α Function Blocks 6 PneuAlpha2 Simple Application 9 ) Using the “ ” arrows highlight the high and low limit values. 10 )Press the “OK” and a Directset of the Low limit can be entered using the “+ and -” keys. 11 )Press the “OK”...
  • Page 80: Display Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 13 )If a Time Switch is required to be displayed press the “OK” when TS Data is highlighted in step 5. 14 )If Date is required to be displayed press the “OK” when Date is highlighted in step 5. 15 )If a Time is required to be displayed press the “OK”...
  • Page 84: Zone Compare Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application α Setup of the Zone Compare Function Block directly from the PneuAlpha2 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 86: Schmitt Trigger Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 1 ) High Value > Low Value 2 ) Low value > High value 3 ) High value = Low Value Note: *1 For Analog or FB value inputs the lower and higher limits are not equal. 6 - 39...
  • Page 88 α Function Blocks 6 PneuAlpha2 Simple Application α Setup of the Schmitt Trigger Function Block directly from the PneuAlpha2 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 89: Hour Meter Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application α Setup of the Hour Meter Function Block directly from the PneuAlpha2 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 91: Speed Detect Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application 1 ) Upper limit > Lower limit Normal input max. 20Hz Interrupt input terminal for ECC-PNAL2-4EX max.1kHz 6 - 44...
  • Page 93 α Function Blocks 6 PneuAlpha2 Simple Application 2 ) Upper limit < Lower limit Normal input max. 20Hz Interrupt input terminal for ECC-PNAL2-4EX max. 1KHz 6 - 45...
  • Page 94 α Function Blocks 6 PneuAlpha2 Simple Application 3 ) Upper limit = Lower limit Normal input max. 20Hz Interrupt input terminal for ECC-PNAL2-4EX max 1KHz 6 - 46...
  • Page 95 α Function Blocks 6 PneuAlpha2 Simple Application α Setup of the Speed Detect Function Block directly from the PneuAlpha2 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 96: Pulse Width Modulation

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application α Setup of the Pulse Width Modulation Function Block directly from the PneuAlpha2 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: Retentive Alternate Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application α Setup of the Calculation Function Block directly from the PneuAlpha2 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: Shift Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application 2 ) 3 bit shift Operation 1 (1) 3 ) 3bit shift Operation 1 (2) 4 ) 3bit shift operation 2 (1) 5 ) 3bit shift operation 2 (2) 6 - 58...
  • Page 107: Gsm Sms Block

    α Function Blocks 6 PneuAlpha2 Simple Application 6.28 GSM SMS Block α The function block is used for communication between the PneuAlpha2 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 α Function Blocks 6 PneuAlpha2 Simple Application 1 ) GMS Operation Communication failure will tell the SMS function block to retry on three occasions in a period of two minutes. 2 ) SMS- Retry Sending Data 6 - 60...
  • Page 109: Input Signal

    α Function Blocks 6 PneuAlpha2 Simple Application 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 ECC-PNAL-PCS/WIN-E.
  • Page 110: Short Message Service (Sms)

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application Data Length Select a Data length send parameter of 7 or 8 bits. Parity Select from three options for Parity - None, Odd or Even. Stop Bits Choose the number of stop bits - 1 bit or 2 bits. Baud Rate Select the baud rate - 9600 or 19200 bps.
  • Page 114 α Function Blocks 6 PneuAlpha2 Simple Application Enter the PIN Code It is necessary to enter a PIN code received from the Service Provider α when the PneuAlpha2 controller is used to send SMS packets. Use the “+” and “-” keys to choose the digits of the code and the “ ” and “...
  • Page 115 α Function Blocks 6 PneuAlpha2 Simple Application Validity Period 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 Provider may have their own policies on the allowable time messages can be kept.
  • Page 116 α Function Blocks 6 PneuAlpha2 Simple Application CME Error This CME Error status gives information to the functioning of Mobile Equipment (ME), please refer to the GSM modem manual for more details. Table 3.2: Mobile Equipment Error Codes Value Description Value Description No Error...
  • Page 117 α Function Blocks 6 PneuAlpha2 Simple Application Signal Strength (Sigstreng) Check the signal strength of the GSM modem signal. Generally good operation is possible with a signal strength of 10% or more. Table 3.4: Signal Strength Reference Table Value % Receiving Level -113 dBm or less -111 dBm...
  • Page 118: Random One Shot Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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

    α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 3 ) Delayed One Shot sample program 4 ) Delayed One Shot comparison sample program α Setup of the Delayed One Shot Function Block directly from the PneuAlpha2 Series Controller 1 ) Allocate the input pin to be used for the function block. 2 ) Press the “OK”...
  • Page 122 α Function Blocks 6 PneuAlpha2 Simple Application 5 ) Highlight DelayTime from the list of options and press the “OK” key. The Delay Time can be entered using the “ , , + and -” keys. 6 ) Highlight OneShot from the list of options and press the “OK” key to enter times. The One Shot Time can be entered using the “...
  • Page 123: Delayed Alternate Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application α Setup of the Delayed Alternate Function Block directly from the PneuAlpha2 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 125: Retentive Set Reset Block

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

    α Function Blocks 6 PneuAlpha2 Simple Application 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

    α Function Blocks 6 PneuAlpha2 Simple Application 6.33.1 Operation Image: 6 - 80...
  • Page 129: To Set Display Manager

    α Function Blocks 6 PneuAlpha2 Simple Application 6.33.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 - 81...
  • Page 130 α Function Blocks 6 PneuAlpha2 Simple Application 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 PneuAlpha2 Simple Application 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 α Function Blocks 6 PneuAlpha2 Simple Application 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 ECC-PNAL-PCS/WIN-E. On completion of the parameter settings, click the “OK”...
  • Page 133 α Function Blocks 6 PneuAlpha2 Simple Application Choosing “FB Word Output” on step 6) Choosing “Analog Input” on step 6) 6 - 85...
  • Page 134 α Function Blocks 6 PneuAlpha2 Simple Application 8) Double-click the “CDP” icon or click the “Open” button to set parameter. 9) Select the signal for changing user screens from the pull-down menu options. 6 - 86...
  • Page 135: Connect Block

    α Function Blocks 6 PneuAlpha2 Simple Application 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, system bits, AS-interface bits, and the operation keys.
  • Page 136 α Function Blocks 6 PneuAlpha2 Simple Application MEMO 6 - 88...
  • Page 137: Lets Make A Program

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

    α Lets Make a Program 7 PneuAlpha2 Simple Application 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)

    α Lets Make a Program 7 PneuAlpha2 Simple Application 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 num- ber “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 140: Use The Newfb Command

    α Lets Make a Program 7 PneuAlpha2 Simple Application 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)

    α Lets Make a Program 7 PneuAlpha2 Simple Application 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

    α Lets Make a Program 7 PneuAlpha2 Simple Application 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”...
  • Page 143: Appendix

    α Appendix 8 PneuAlpha2 Simple Application Appendix Associated Manuals Manual Name Manual No. Description This manual contains hardware explanations of α PneuAlpha2 Hardware " wiring, installation and specification, etc. JY992D97901 α Manual regarding the PneuAlpha2 Series Controller. α This manual contains explanations of operation PneuAlpha Software JY992D74001 regarding ECC-PNAL-PCS/WIN-E Programming...
  • Page 144: System Keys

    α Appendix 8 PneuAlpha2 Simple Application 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

    α Appendix 8 PneuAlpha2 Simple Application 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

    α Appendix 8 PneuAlpha2 Simple Application 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 α Appendix 8 PneuAlpha2 Simple Application 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 α Appendix 8 PneuAlpha2 Simple Application 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 α Appendix 8 PneuAlpha2 Simple Application 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 α Appendix 8 PneuAlpha2 Simple Application 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 α PneuAlpha2 Simple Application Under no circumstances will SMC Pneumatics be liable or responsible for any con- sequential damage that may arise as a result of the installation or use of this equip- ment. All examples and diagrams shown in this manual are intended only as an aid to understanding the text, not to guarantee operation.
  • Page 152 SMC Pneumatics (UK) Limitted, Vincent Avenue, Crownhill, Milton Keynes, Bucks. MK8 0AN JY992D97101A Effective Oct 2003...

Table of Contents