Home
AL2 Programming Manual
Contents
1. Any Input that is OFF will keep the Output turned OFF Unused inputs are considered to be ON 1 00 If no Input pins are connected the block output is OFF 2 gt 0 1 gt 01 3 gt 25 4 gt AND a W 3 4 gt AND Table 5 2 AND Logic gate Input 1 Input 2 Input 3 Input 4 Output On On On On On On On On Off Off On On Off On Off On Off On On Off Off On On On Off On On Off Off Off On Off Off On Off Off Off On On Off Off On On Off Off On Off On Off Off Off On Off On Off On Off Off Off Off Off On Off Off Off Off Off On Off Off Off Off Off On Off Off Off Off Off Off MITSUBISHI 5 2 02 Simple Application Controllers The Logic Function Blocks 5 5 2 The OR Block The Output comes ON when any input is ON The Output remains OFF only if all the inputs are OFF t 00 Unused Inputs are considered to be OFF 2 1 gt 01 3 gt lt 4 2 Output M gt a 4 gt OR 4 gt OR Table 5 3 OR Logic gate Input 1 Input 2 Input 3 Input 4 Output On On On On On On On On Off On On On Off On On On Off On On On Off On On On On On On Off Off On On Off On Off On On Off Off On On Off On On Off On Off On Off On On Off Off On On On On Off Off Off On Off On Off Off On Off Off On Off
2. Set value 4 SM EE 5 Output ON OFF Setup of the Up Down Counter Function Block directly from the 02 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 B001 UD xSetup FE Change No Delete FB 3 Press the OK Key and enter the Up Down counter function block settings using the a and w keys The DirectSet of the count settings can be entered B001 UD DirectSet NS UU n 0 Press the OK Key and an Analog In function block value can be entered B001 UD xDirectSet Analog n FB Value Press the OK key and using the ESC key return to the function block edit screen 4 Ci x MITSUBISHI 6 26 02 Simple Application Controllers Function Blocks 6 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 gt gt lt lt or lt gt If current values satisfy the operational expression then the output status is ON Table 6 13 Compare Function Block Function Set Item Description Input pin for compare operation 000 l P 0 i FB CP The follow
3. 02 Simple Application Controllers Appendix 8 FB Name FB Symbol Description of Function Block Memory Section 000 The Time Switch maintenance Function Time P Block uses a predefined time schedule to Switch m control the ON and OFF status of the 2 6 10 TSm TSm output The function block can be setup ES from the TopMenu via the front panel keys The Counter Function Block increments the 000 current value by one as and when the input pin receives a signal When the current ONT E FS value reaches the set value the output is 16 Byte 6 11 CN set ON The counter current value is reset as and when the clear pin receives an input The Up Down Function block positively or U gt 000 negatively increments the counter until a U D D gt P T set value is reached thereby setting the Counter G output ON A preset signal can also equal 22 Byte 6 12 UD p UD the set value regardless of the current value for the function block and thereby setting the output ON 000 The Compare Function Block monitors the Ix PLO current value of the input pin in relation to a Compare i preset expression The expression consists 17 Byte 6 13 CP CP of gt gt lt lt or lt gt If the compared value y i L satisfies the expression subsequently the output pin is set on 000 Offset I gt P The Offset Gain Function Block is based Gain upon a linear function Y A B X C to which 22Bvte 6 14 OG OG the v
4. MITSUBISHI 3 10 02 Simple Application Controllers System Menu 3 Figure 3 12 GSM Menu in Run Mode operation GSM gt Comf ormat GSMI ni GSMRemote PI NCode Set SMS GSMStatus 4 GSMInit Command DelayTime GSRemote Forbit Permit ed PINCode Setup eee 4 Set SMS SMSC 1 SMSC2 DA1 DA2 DA3 VP 4 GSMStatus Status CMEError CMSError SigString Figure 3 13 Communication Format in Run Mode operation Comformat Datalength 8 bits 7 bits Parity None Odd Even Stopbit 1 bit 2 bits Baudrate 9600 bps 19200 bps a MITSUBISHI 02 Simple Application Controllers System Menu 3 Figure 3 14 Monitor Screen in Run Mode Settings for Function Blocks Monit or Screen Y l 01 _ 01 003 02 FBSetting Giao _ 8002 SR I J gt Setup ad 8003 gt In In RSR Out OK ESC 1 Individual for each Function Block A V 4 pro fe al lt Edi tMenu Black 4FB ProgSize 4 Memo r y 1 4141 CN TEN m gt Jump i P MI OKEANE EOB Exit MITSUBISHI 3 12 02 Simple Application Controllers System Menu 3 3 4 3 5 3 6 3 6 1
5. Input Input Number Description Signal 101 115 Maximum of 15 Inputs are allocated for use AS i E01 E04 Maximum of 4 AS interface inputs are allocated for use Analog A01 A08 Maximum of 8 Analog inputs are allocated for use on input 101 to 108 Extension El01 EI04 Maximum of 4 Extension inputs are allocated for use 2 1 2 Front Panel Keys The front panel keys can enter data into the program memory move through menus or programs select programming options or be used as extra inputs when the program is running There are eight keys which are referenced as K01 K08 Table 2 2 Front panel keys for the 062 Series Controller Key Name Key number Key Function OK K01 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 ESC K02 move to a new menu y K03 Used to connect or add function blocks increase Direct Set input values or times or move through programs or menus T K04 Used to disconnect function blocks decrease Direct Set values or times or move through programs or menus A K05 Scroll up through menu options menus keys FB Inputs Outputs etc v K06 Scroll down through menu options menus keys FB Inputs Outputs y etc gt K07 Move to the right on the LCD display FB program or Jump command 08 Move to the
6. 6 23 MITSUBISHI vi a2 Series Applications Controller 6 11 Counter BIOCK Dt e Eee eR aras Ea EOD eui ruo 6 24 6 12 Up Down Gounter BIOCK 2 3 nes a su action 6 25 6 13 Compare BIOCK 6 27 BAS ORFSET BIOGK 2o rete eet reet 6 29 5 15 Display Block morae 4e o Ie o mtt qud iota 6 32 6 15 1 Displaying Data Onscreen 6 32 6 15 2 Editing Data Onscreen eeeeeecneeenee ener 6 33 6 16 Zone Compare BIOGK 322 nie Doo sait abe b Re ets 6 36 6 17 Schmitt Trigger Block 3 5 oe pat poda eae eee 6 38 6 18 Hour Meter Block 21er rLocte serie pede Qeena crue Den enda eade essa sse zoo 6 41 6 19 Speed Delect Block 255 ooo rd peor better eie ate ee re eran 6 43 6 20 Pulse Width Modulation ioa ie tre d Nariel nde tee 6 48 6 21 Retentive Alternate Block 6 50 6 22 Addition BIOCK ises 2 aite onere tastes 6 51 p z95ubliracuormbBloGk etic x ie reote t ite eu 6 52 6 24 Multiplication Block 6 53 6 25 DIVISION 6 54 6 26 Calculation Block 34 6 55 O27 Shift BIOGK s rean e a a tee e aa 6 57 0 20 GSM SMS Bl cken ee eee eedd 6 59 5 28 1
7. Interrupt input terminal for AL2 4EX max 1KHz movon nnnm AL2 4EX Clear input pin 10 Current value of 2 2 0 H2 1 1 1 1 counter N V N i xod Processing time i i i y y 3 Upper limit 6 Lower lirrit 6 value Output pin l ON a MITSUBISHI 6 46 02 Simple Application Controllers Function Blocks 6 Setup of the Speed Detect Function Block directly from the 062 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 B001 SPD Setup FB Change No Delete FB 3 Press the OK Key and enter the function block settings using the a and v keys B001 SPD xPeriod Speed L H 4 Press the OK key with Period highlighted and the user can enter a T and t value using the a v and keys B001 SPD Period T 1 008 t 0 00s 5 Press the OK key to return to the function block settings screen Highlight the Speed L H optio
8. Term Description Y Operation result A B C andD_ Input value Calculation sign for addition Calculation sign for subtraction Calculation sign for multiplication Calculation sign to request the Quotient Calculation sign to request the reminder a MITSUBISHI 02 Simple Application Controllers Function Blocks 6 Setup of the Calculation Function Block directly from the o2 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 B001 CAL xSetup FE Change No Delete FB 3 Press the OK Key and enter the function block settings using the a and v keys The Calculate operation y must be specified BOO1 CAL 3 4 While the cursor is flashing use the a and v keys to select the appropriate character or constant for your intended calculation The following items are offered A B C D 70 0 8001 CAL 3 y A ConstantA 0 5 DirectSet values Analog In or FB Value can all be entered for each constant B001 CAL xDirectSet Analog In FB Value 6 Return to the FBd using the ESC key MITSUBISHI 6 56 02 Simple Application Controllers Function Blocks 6 6 27 Shift Block The function block uses a sh
9. 101 DAL 002 CL 102 Delay Time 1s 3 Delayed Alternate comparison sample program 101 DL AL 002 102 n ON Delay Time 1s 10 x 100ms OFF Delay Time Os 0x 100ms s MITSUBISHI 6 75 02 Simple Application Controllers Function Blocks 6 Setup of the Delayed Alternate Function Block directly from the 02 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 3 Press the OK key to set the Time unit for the delayed alternate output Choose either a 10ms 100ms or 1s time interval using the a and v keys to highlight the option and press the OK key when ready 4 Return to the function block edit screen Using the a and v keys highlight the Setup FB and press the OK key B001 DAL Time unit Setup FB Change No Delete FB Time unit 10 ms 100 ms B001 DAL Del ayTime T 0 1s t Os 5 Press the OK to accept subsequently use the ESC key to return to the FBd MITSUBISHI 02 Simple Application Controllers Function Blocks 6 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
10. Command DelayTime yz PEER Modemi ni Modemi nit Conmand DelayTime DelayTime Os gt GSM gt 7 __ Comformat GSMInit GSMRemote PINCode Set SMS GSMStatus OtherCom L X OtherCom OtherCom Kk Comformat StationNo StationNo LinkBlock No 0 Ot herCom L9 OtherCom Comformat lt LinkBlock StationNo LinkBlock 0 Rd Figure 3 4 Communication Format in Stop Mode Operation Comformat Datalength 8 bits 7 bits m Parity None Odd Even zas Stopbit 1 bit 2 bits Baudrate 300 bps 600bps 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps a MITSUBISHI 3 5 02 Simple Application Controllers System Menu 3 Figure 3 5 GSM Menu in Stop Mode operation GSM Comf ormat GSMI ni t GSMRemo t e PINCode Set SMS GSMStatus GSMInit Commnd DelayTime GSMRemote Forbit Permit PINCode Setup ere gt la Set SMS SMSC1 SMSC2 DA1 DA2 DA3 VP GSMStatus Status CMEError CMSError SigSeing Figure 3 6 Communication Format in Stop Mode operation Comformat Datalength 8 bits 7 bits
11. Setup 4 Password OOOO DispPass Level 1 Level2 Level3 4 Setup Di spPass Level1 OOOO gt MenuKey No Use ON ESC Key 4 Cancel Manua I On DataType UK Type US Type EU Type gt Sunme r T i me 4 Sunme rT ime 31 03 30 10 60min gt Setup 4 LightTime 2m a MITSUBISHI 02 Simple Application Controllers System Menu 3 Figure 3 10 Serial Com in Run Mode operation SerialCom 8 4 4 s NotUse _ ModemI ni gt Modemli ni 01 Modem lt Command Command DelayTime yz Modemlnit gt Modemi nit Command DelayTime DelayTime Os gt GSM gt D y__ Comformat GSMInit GSMRemote PINCode Set SMS GSMStatus OtherCom L X OtherCom OtherCom L P Comformat StationNo StationNo LinkBlock No O Ot her Com L X OtherCom Comformat lt LinkBlock StationNo LinkBlock 0 ee lt lt Figure 3 11 Communication Format in Run Mode Operation Comformat Datalength 8 bits 7 bits m Parity None Odd Even zas Stopbit 1 bit 2 bits 25 Baudrate 300 bps 600 bps 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps
12. Clear pin l Output pin OFF ON lt Keep ON OFF state of Output pin MITSUBISHI 6 50 02 Simple Application Controllers Function Blocks 6 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 The value of Y A and B is in the range 32768 to 32767 FB a A B Constant value Setting range 32768 to 32767 000 Analog value Is PLO FB value 1 Word Output ADD When the input pin is ON Y A B is executed and the word output will be given the result When the input pin is OFF the expression is not executed and the Y value will retain the last result Output 2 Bit Output Operation result Y 32768 Output pin turned ON and the operation result Y will be set to 32767 Operation result Y gt 32767 Output pin turned ON and the operation result Y will be set to 32767 Setup of the Addition Function Block directly from the o2 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 8001 ADD Set up FB Change No Delete FB 3 Press the OK Key and enter the function block settings using th
13. 3 The largest schedule number is given priority when more than one time switch function block occurs on the same day Setting the First Time Switch Enter the Function Block Setup Screen and the message No Setting Data will appear Press the OK key to enter the NewData Screen The New Data screen lets you choose between using a calendar type of setting Date or a repetitive type of setting Weekly Each TimeSW Block can mix Date and Weekly time switches indiscriminately B001 TS 01 NewData Week y Date After choosing the type of time switch a screen will appear with a time switch number flashing in the top right corner This screen is used to select the time switch to edit by using the or keys The only time switch available to begin is TS 01 Press the OK key to display the option screen shown at right 8001 TS 01 Edi tData NewData DelData EditData Edit the data for the time switch number shown in the top line NewData Add anew time switch Time switch numbers will increment from the highest current number DelData Deletes a time switch Higher numbered time switches will decrement Choose EditData and enter data as described in the following sections a MITSUBISHI 6 21 02 Simple Application Controllers Function Blocks 6 6 10 2 For the Date operation The Date calendar screen is shown at the right The setting optio
14. Connect button When not displaying them please go to step 7 Display Manager 6 Click the Connect button to display the FB value or the Analog Input value Free Displays the Text Date or Time Default setting FB Word Output Displays FB value Choose function blocks from list Analog Input Displays Analog Input value Choose Analog Input port When completing connection click the OK button Set Connection 9l 2 MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 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 button Choosing Free on step 6 Display of B06 EG 807 eos Comment User Option Sting O O C Date M Display Comment Time M Display Signal Number gt Special Key Eassword Security Level fp Starting position of Text String Property Hs Fixed ij T Period Y E C Flicker gt E x 100ms Interval Length C Scroll fic x 100ms K OK Cancel Help a MITSUBISHI 6 84 02 Simple Application Controllers Function Blocks 6 Choosing FB Word Output on step 6 Display of 806 por
15. Press the OK key to accept all the changes Press the ESC key to return to the Top Menu having discarded the clockset options NOOR To set the daily correction 1 From the TopMenu scroll to ClockSet and press the OK key 2 From the options that appear choose Correct and press the OK key 3 Set the daily correction time with the or keys 4 Press the OK key to accept the value and press the ESC key to return to the Top Menu Note The date setting can be displayed as yyyy mm dd dd mm yyyy or mm dd yyyy by manipulating the and keys The day of the week will update automatically as the date is changed 3 6 4 SummerTime The Summertime menu will display six choices when entered Cancel Turns off the Summertime clock setting Manual On Moves the clock one hour ahead immediately and will remain ON until cancelled Date Type Set the On date Off date and Time adjustment UK Type Last Sunday of March to the last Sunday of October US Type First Sunday of April to the last Sunday of October EU Type Last Sunday of March to the last Sunday of October The time changes for the UK type take place at 1 00 AM in the Spring and 2 00 AM in the Autumn Time changes in the EU setting take place at 2 00 AM in the Spring and 3 00 AM in the Autumn The date settings are equivalent If the display time has been adjusted for the Summertime setting an
16. 2 3 4 5 Allocate the input pin to be used for the function block Press the OK key with the cursor in the function block The function block edit screen is displayed as shown Press the OK Key and enter the function block settings using the a and w keys B0O01 ST Setup FB Change No Delete FB BORI ST inputVal Limi tzL H 0 Press the OK key with the InputVal highlighted and the user can enter a the appropriate Input Val data from either a DirectSet Analog In or other FB Values Boo1 ST DirectSet nalog Tn FB Value The Low and High limit can be given Input Val data from either a DirectSet Analog In or other FB Values Press the ESC key to return the edit screen for the function block and the user can change the low or high limits either by DirectSet Analog In or FB Value MITSUBISHI 02 Simple Application Controllers Function Blocks 6 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 When the Set Time value is reached the block Output will turn ON The Hour Meter will continue recording time after the Output time is reached A sign
17. 3 6 2 The Edit Menu The Edit Menu can be entered when the OQ 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 Press the ESC key at any place in the main programming screen to enter the Edit Menu e ProgSize Shows the numbers of FBs used and percentage of program memory used Jump Leads to a screen that shows available places to go in the program M system bits I system Inputs O System Outputs K Keys 1 8 E ASi Inputs A ASi Outputs N Control bits EI External Board inputs EO External Board outputs and B Function Blocks existing in the program Choose the desired block with the arrow keys and press the OK key to jump to that spot in the program New FB Create a new Function Block from one of the available FBs Exit Exits to the Top Menu Mnemonic Gives a mnemonic display of the current programming rung Enter the programming mode by pressing the OK key or return to the Edit Menu using the ESC key Not available in Monitor Mode The Function Block Edit Menu The Function Block Edit Menu can be entered only while in the ProgEdit or Monitor mode Move to the Function Block to edit and press the OK key when the Function Block number is flashing Setup FB Optimise variables in the Function Blocks for your applica
18. Boo1 FL Count i N 0 n 0 10 Press the OK key to accept the time values and subsequently press the ESC key to return to the function block edit screen MITSUBISHI 6 20 02 Simple Application Controllers Function Blocks 6 6 10 6 10 1 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 function blocks can be used in any program The total memory for a 02 program is 5000 bytes the number of time switches available will be limited by the program memory Switch setting numbers must be created with the NewData option To input or update the data scroll to the desired time switch press the OK key and use the EditData function The difference between TS and TSm is allowable maintenance m from the TopMenu in the 02 controller for direct programming Table 6 10 Time Switch Function Block Function Set Item Description A function block can register 50 set schedules or less The function EB capacity for a controller is 200 blocks The real time clock functionality is restricted by the 5000 byte memory capacity for the EO controller PLO 1 The ON and OFF status of the output is controlled by the F scheduled calendar TS Output 2 The date assignment is given priority if both date and week p assignments occur on the same scheduled day
19. NER LOREM e gt 5 N Z i ls gru ELEME e id 2 oi See ih oe I 2 B o t3EEM lt lt arr EAM PET i OL SE il BS 1 gt gt 455 a x 3 5 25 m Em as pepe Lage BELLE oes eee eee o i lo gt lt Saaier Slo o T E DEIAN gt 8 S a S E a ge eue Ad E Lue cmo eene 8 ThE 5 i i Ss ao eee telat aoe ce been gt a c d oO i 5 5 ge S g sop y 5 is 3 555 8 ER j 3 3 EEJ T E fy HEE amp 8 fum E t5 f HE S E be 2go 3 E EST amp Bt Sod zgd 38 2 B d 3 i 38 gt lt olx O 88 gt a MITSUBISHI 02 Simple Application Controllers Function Blocks 6 3 Upper limit Lower limit Normal input max 20Hz Input pin OFF ON Count input pin iU Clear input pin Current value of 2 2 2 2730 counter gt 1 lt i at Setcyde n i Lower limit 5 Nag ee ISCHIA ais lt lt gt Speed output Pd value ne Output pin i ON
20. Parity None Odd Even Stopbit 1 bit 2 bits aa gt Baudrate 300 bps 600 bps 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps s MITSUBISHI 3 6 02 Simple Application Controllers System Menu 3 Adding Function Blocks ProgramScreen 7 EN 01 Fesetect FBParameter pa iB ABs AND SetupFB In Kj ChangeNo Connect EO 04 DelayedAL De e t eFB 5 23 f Function Block Specific or Skips to 2 Changes Function Block Number t the nedt E 5 Deletes Function Block from N AM FBD x Edi tMenu Block OFB ProgSize Memo r y 0 F m gt Jump gt gt Jump MI OKEANE I EOB FBSelect NewFB k AND DelayedAL Exit gt MO 1 gt Mnemonic 4 3 3 The Run Mode Top Menu When the 72 program is running the LCD defaults to the Image Table screen According to the Menu Key setting proceed to the Stop Mode of the Top Menu by using the OK and the ESC keys or reset the controller by powering down e Stop Takes the O2 out of Run mode Setup TS Provides a simple method to edit Time Switches from the Top Menu Monitor Monitor the program settings while in the Run mode and perform limited editing to FB parameters The existing programming steps cannot be modified
21. Please verify with the Service Provider whether the International code is needed at the beginning of the phone number Click the Gateway circle to input data in order to send an e mail Use the Name as an optional memo area Enter the e mail access code from the Service Provider in the Phone Number box These destination numbers will be valid for all SMS function blocks E mails can be sent to as many addresses as the 02 memory allows SMS messages can be sent to a maximum of three telephone numbers a MITSUBISHI 6 63 02 Simple Application Controllers Function Blocks 6 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 Diagnosis of Controller x Version 0 21 ped l Status Input Terminals 15 Response from GSM modem Analog Inputs 8 Initial successful Output Terminals B Set PIN Gade E Network registration finished Inputs oc GSM CME Error Error Code No Errors GSM CMS Error Run Status Running Remote Access successful P Wii Pss SMS is sending or retrying foem bn E s SMS is waiting for sending Clock Status Going SMS failed in sending Used Memory 75 4700 SMS failed in sending due to wrong setting Used Blocks 2 200 lt 2 o Errors Max Scan Time ms 3 CME Ens Min Scan Time ms CMS Error No Errors Curr
22. Set SMS Short Message Service Parameters The SMS menu is used to set the telephone numbers for the Service sysc4 Provider the destination numbers for cellular phones the access code SMSC2 for e mail messages and the Validity Period of the messages DA1 The SMS Service Provider Mobile Access Number SMSC1 Set SMS The SMSC1 is the number used to access the Service Provider section SMSC1 for mobile phones Choose the digits and symbols using the a and ck v keys After the digit is set move to the left or right with the and 9 0123 keys Do not press the OK key until the command has been entered in its entirety The SMS Service Provider Gateway Access Number SMSC2 Set SMS 01 The SMSC2 is the number used to access the E mail gateway SMSC2 telephone number of the SMS Service Provider Choose the digits and EK symbols using the a and v keys After the digit is set move to the 9 0123 left or right with the and 4 keys Do not press the OK key until the command has been entered in its entirety This number may be the same as used in SMSC1 Destination Address DA1 DA2 DA3 Enter the destination mobile telephone number or the Service Provider e mail gateway code on this screen Choose the digits and symbols TE using the a and v keys After the digit is set move to the leftor 9 yo123 right with the a
23. keys B001 DL OnDelay T 0 ts t 0 0s 6 Press the OK key to accept the time figures and subsequently press the ESC key to return to the function block edit screen s MITSUBISHI 6 15 02 Simple Application Controllers Function Blocks 6 6 8 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 Table 6 8 One Shot Function Block Function Set Item Description Input pin for one shot operation C Clear input pin resets the state of the output regardless of the input Time units 10ms 100ms or 1s Note FB The One Shot time T and t can be set using the chosen time units 000 I gt PLO A Time or Input priority can be set C os The following items are applicable for the one shot function block 1 A period of Os to 32767s for a single pulse output can be set 2 The output is turned ON during the single shot time duration as Output and when the input pin receives a signal 3 The output is cleared as and when the clear pin receives a signal 4 The following items are available for other function blocks a One Shot b Current One Shot Note The set time cannot be less than one scan time for the controller otherwise the One Shot Function Blo
24. 79 M 4 8 3 Add Delete Function Blocks in the Monitor Mode The user cannot Add or Delete Function Blocks while in the Monitor mode MITSUBISHI 4 6 02 Simple Application Controllers The Logic Function Blocks 5 5 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 02 Series AND OR NAND NOT NOR XOR Analog signals cannot be processed by the Logic blocks This chapter has been formulated to have a description of the Function Block a diagram of the Function Block as seen on the LCD Display and a logic table to show how the Output is controlled by the input signals Table 5 1 Boolean Logic function blocks Logic Logic Block ANE Memory Section po Displayed Description Use Reference T 00 This function executes logical AND operation on given input signals The input AND 2 gt H signals connected should be of bit input 19 Bvte 5 1 3 gt type only 4 Bit input pins and 1 Bit output y 4 AND pin If all the inputs are ON then the output gt L_ is ON otherwise output is OFF t 00 This function executes logical OR operation on given input signals The input signals OR 2 gt o connected should be of bit input type only 4 19 Byte 5
25. Alternate fi as and when the input pin receives a signal 13 Byt 6 6 AL C AL The output will be set ON when the input ye i pin goes high and remain ON until the input receives the second rising edge 000 The Delay Function Block provides an ON Dela I gt P HO delay timer and an OFF delay timer Time IDL 6 intervals for either situation can be set The 19 Byte 6 7 DL time unit can be set to 10ms 100ms or 1s i increments The One Shot Function Block awaits a 000 signal supplied to the input pin thereafter One Shot I gt PLO setting the output according to the specified OS C time The timing parameters control the 17 Byte 6 8 OS state of the output depending on the priority setting The time unit can be set to 10ms 100ms or 1s increments 000 I gt PLO The Flicker Function Block changes the ON Flicker F and OFF state of the output according to a 19 Byte 6 9 FL FL preset flicker time The time unit can be set y to 10ms 100ms or 1s increments a MITSUBISHI 6 1 02 Simple Application Controllers Function Blocks 6 FB Name FB Symbol Description of Function Block Memory Section 000 Time PLO The Time Switch Function Block uses a Switch predefined time schedule to control the ON 2 6 10 TS TS and OFF status of the output 000 The Time Switch maintenance Function Time P Block uses a predefined time schedule to Switch m co
26. Output 1 The following items are available for other function blocks a Set Period b Current Period Note The Speed Detect function SPD block can use only 1 high speed frequency D Max 1kHz in any one program Subsequent SPD function blocks can only use a maximum of 20Hz for high speeding counting a MITSUBISHI Function Blocks 6 LLU L TUL Set cycle Count input pin Input pin Clear input pin 1 Upper limit gt Lower limit Normal input max 20Hz 02 Simple Application Controllers Lower linit 4 Speed output Upper limit 7 llc dl value Current value of counter Output pin Interrupt input terminal for AL2 4EX max 1kHz 22m i 6 MEI ease
27. i 0 0 0 0 Output OFF ON Setup of the Counter Function Block directly from the 02 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 BOO1 CN Setup FE Change No Delete FB 3 Press the OK Key and enter the counter function block settings using the a and v keys BOO1 CN Count N 1 n 0 4 Press the OK Key and return to the function block edit screen MITSUBISHI 6 24 02 Simple Application Controllers Function Blocks 6 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 Table 6 12 The Counter Function Block Function Set Item Description U Increments a positive count to the up down counter function block Increments a negative count to the up down counter function block Clear pin for the function block D C P Preset signal input pin for the up down function block 000 The set value of the function block can be selected from the following three sources 1 Preset value from 32768 to 32767 iie UD VTOUC Output 1 Increments a positive count if a signal is
28. 6 Q2 Simple Application Controllers Appendix 8 FB Name FB Symbol Description of Function Block Memory Section 000 Calcula I gt PLO The CAL Function Block is used to perform tion a calculation from the combination of 3 6 26 CAL CAL different Arithmetic function blocks l 000 This Shift Function Block is used to transfer Shift T gt P LO the Shift Input status just before the Input SFT S signal is set ON It has a bit input pin a shift 19 Byte 6 27 R gt SFT input pin a set input pin a reset input pin and a bit output pin i peo The GSM SMS Function Block sends the SMS F LCD screen as a SMS message to either a 6 6 28 SMS SMS mobile phone handset or an E mail account for remote maintenance purposes 000 Random I gt P HO The Random One Shot Function Block One Shot C emits a random length single pulse to the 19 Byte 6 29 ROS ROS output 000 Delayed I gt PLO The Delayed One Shot Function Block One Shot C emits a single pulse after a controlled delay 20 Byte 6 30 DOS DOS to the output 000 Delayed I gt P lie The Delayed Alternate Function Block Alternate 6 alternates the status of the output with each 16 Byte 6 31 DAL DAL pulse after a controlled delay The Set Reset Function Block either holds an output ON set or releases the output 000 OFF reset Priority can be given to either Retentive S gt P LO input pin if both inputs have
29. 808 Comment User Option i IV Special Key IM Display Comment Security Level Graph v Display Signal Number E in r Starting position of Text X Password gt Max Length fa r Display Ratio 1 C 140 C 1 100 C 1 1000 Warning Message is overlapped Choosing Analog Input on step 6 Display of 806 B0 809 Comment User Option M Special key Basswood M Display Comment pes Graph v Display Signal Number zi 7 TERN in ax eng 1 fi fi m Starting position of Text a x E F mopar khato 6 1 1 Y F fi F C Vio ae C 7 100 C vt Sig amp nalogV al m Warning Message is overlapped s MITSUBISHI 02 Simple Application Controllers Function Blocks 6 8 Double click the CDP icon or click the Open button to set parameter Control Display CDP Ea 804 B06 v Display Comment Comment B04 Change screen signal Displayed screen Cancel Help 9 Select the signal for changing user screens from the pull down menu options Control Display CDP LX B04 5 v Display Comment Comment B04 Cancel Help MITSUBISHI 6 86 Q2 Simple Application Controllers Function Blocks 6 10 Select the next displayed user screen from the pull down menu options When completing t
30. Analog input 0 10V 0 500 The DC input type for the 062 Series accepts 0 10V signals with a resolution of 0 500 5 High Speed Counter max 1kHz The 02 Series has two dedicated high speed counters when using AL2 4EX EI1 and EI2 6 High current output Relay output is 8A COM in the main unit AL2 14MR O01 6 AL2 24MR D O01 04 and the transistor output is 1A point in the extension module a MITSUBISHI 1 1 02 Simple Application Controllers Introduction 1 7 GSM Function The 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 Introducing a Communication Device concept in the 02 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 9 Built in EEPROM The built in EEPROM eliminates the need for battery backed data 10 Supports 6 languages The language option under the TopMenu can be changed to display English German French Italian Spanish and Swedish 11 LCD Screen Enhanced LCD screen size allows the user to view data clearer and permits the 02 Series Controller to display bar graphs and other new intricate data representation items 12 Increased Memory The CPU memory for the new o2 Series Controller allows a maximum of 200 function blocks to create a program algorithm and contains a 5000 byte capaci
31. Block Diagram FBD base The Function Block Diagram provides the base for which all programming actions for the 02 is performed Both the 02 controller and the AL PCS Win E software use the FBD base The FBD base contains a Title rectangle on the top Input rectangles on the left and Output rectangles on the right The FBD base is also known as FBD wiring area All the components should be placed only within the FBD base rectangle except for the input and output signals which can be placed in the FBD wiring area or in the Input or Output rectangles MITSUBISHI 2 4 02 Simple Application Controllers Function Block Programming 2 2 2 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 2 2 2 AL PCS WIN E Programming Software Ver 2 00 This windows based software allows the user to drag and drop the desired Function Block icons onto the FBD base and construct a program The program is downloaded to the 02 controller via the AL 232CAB cable The visual on screen connections make the software easy to grasp for beginners and experienced users alike The AL PCS WIN E Programming Software is fully explained in the Software Manual Figure 2 1 AL PCS WIN E Programming Software Ver 2 00 foe I Ma aimes 1 Slat ee No
32. Input Signal essei eae a a a a thls dla eth et ad 6 61 6 29 2 Qutpu t Sigal irit i a lee elt a a a ens 6 61 6 28 3 Word Output c m 6 61 6 28 4 Short Message Service SMS sse 6 62 6 28 5 Comment Signal Number 6 62 6 20 6 Selling ice edd pta idee beets a dae 6 62 p 28 1T DestiNatior coto rode 6 62 6 28 8 SMS Setting Dialog BOX 6 63 6 28 9 SMS Service Center uicit eoe rena bob Leo dod ee be iaa axi eee ca 6 63 6 28 10 Valid Period uc creacion Fre Fo t cane Ene Ore esee oct ket 6 63 6 28 11 Destinator scio estt Rng ote 6 63 6 28 12 Error Messages ons deco eet aee ptos eus 6 64 6 29 Random One Shot Block 6 70 6 30 Delayed One Shot Block 6 72 6 31 Delayed Alternate Block 6 75 6 32 Retentive Set Reset Block 6 77 6 33 Control Display Manager oca tenerte eo etant hotter eere 6 79 6 33 1 Operation Image eee nnn 6 80 6 33 2 To Set Display Manager ieu ne LED deb ies 6 81 6 34 Connect BIOGK 22 roca eta uere eta re RR IS Hd p Uta e SEN AES CIN QE RA RURR Dia 6 87 a MITSUBISHI vi a2 Series Appl
33. K02 bids C ee aea move to a higher level screen or to D K03 Used to connect or add function blocks increase Direct Set input values or times or move through programs or menus gt K04 Used to disconnect function blocks decrease Direct Set values or times or move through programs or menus Scroll up through menu options menus keys FB Inputs Outputs A K05 etc Scroll down through menu options menus keys FB Inputs Outputs v K06 etc gt K07 Move to the right on the LCD display FB program or Jump command 08 Move to the left on the LCD display FB program or Jump command 8 3 System Bits System Bit Description M01 Always ON M02 Always OFF M03 Alternate 0 5 seconds ON 0 5 seconds OFF M04 ON when Real Time Clock data error occurs M05 ON when Summer time schedule is activated M06 ON when AS interface communication Error occurs M07 ON when communication Error caused by AS interface power failure occurs M08 ON when Stop mode turns to Run mode in the a2 Series The ON signal acts as a pulse output and then turns OFF Mog OFF when Stop mode turns to Run mode in the 02 Series The OFF signal acts as a pulse output and then turns ON M10 Reserved M11 Reserved M12 ON when CD DCD signal is turned ON receiving CD signal from the modem M13 ON when it is possible to access the GSD network M14 ON when the o2 series controller is accessed via AL
34. OFF Stop mode ON ON ON l A L iH HE n Shift pin T t t ON Output pin ON ON ON a a a Set pin l PI Reset pin ON MITSUBISHI 6 57 02 Simple Application Controllers Function Blocks 6 2 3 bit shift Operation 1 1 Input pin 101 p SFT 3 3bit shift Operation 1 2 101 4 3bit shift operation 2 1 101 SFT D C01 SFT 4 002 102 n eem l 003 5 3bit shift operation 2 2 101 OFF ON 102 OFF ON 001 ON OFF 002 OFF ON OFF 003 OFF ON OFF s MITSUBISHI 6 58 02 Simple Application Controllers Function Blocks 6 6 28 GSM SMS Block The function block is used for communication between the 02 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 F
35. ON ON to OFF or OFF to ON 2 The clear selection resets the output regardless of the input given 1 Alternate Operation Input pin ON OFF ON Input pinC OFF Output ON OFF a MITSUBISHI 6 13 02 Simple Application Controllers Function Blocks 6 6 7 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 five seconds later the Delay Block Output will come ON The Output signal stays ON as long as the Input signal is ON The Output signal turns OFF at the same time the Input signal turns OFF The Clear Input will turn the Output OFF and cancel the current operation The Clear pin over rides the Input pin if both signals are ON simultaneously The On Delay option will delay the Output from turning ON for a set time after the Input comes ON The Off Delay will delay the Output from turning OFF for a set time after the Input has turned OFF Table 6 7 Delay Timer Function Block Function Set Item Description Input pin for delay timer operation Clear input pin resets the state of the output regardless of the input G given FB Time units 10ms 100ms or 1s Note The following items are applicable for
36. Real Time Clock The clock shows the current time as Set by the User The Summertime mode is shown by an preceding the time if activated LCD Function Display up to 12 different letters or characters on each of four lines Options include character strings design your own message function block data or analog data a MITSUBISHI 8 17 02 Simple Application Controllers System Menu 3 3 8 3 8 1 3 8 2 3 8 3 3 8 4 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 Input Blocks The Input Blocks consist of System Inputs 101 115 Key Inputs K01 K08 and System Bits MO1 M14 The input number is shown in the top right hand corner the type of input in the lower right hand corner and the output pin is shown on the far right of the block Input Blocks provide information to the Function Blocks or Outputs Function Blocks The individual Function Blocks are described in detail in Chapters 5 and 6 Function Blocks can have from O to 4 input pins shown on the left of the diagram and an output shown on the far right Some function blocks have data that can be used for comparison purposes only or are used to display data onscreen These blocks have no output pins The nu
37. 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 8001 SUB xSet up FB Change No Delete FB 3 Press the OK Key and enter the function block settings using the a and v keys The Subtraction operation y A B must be specified BOO1 SUB Out put Val 754 8 0 4 Using the and keys highlight Constant A and press the OK key to enter either a Directset Analog In or FB Value B001 SUB xDirectSet Analog In FB Value 5 Repeat step 4 for Constant B and return to the FBd using the ESC key MITSUBISHI 02 Simple Application Controllers Function Blocks 6 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 000 MUL Input pin for multiplication function block FB This function block operates the expression Y A B The value of Y A and B is in the range 32768 to 32767 a AB Constant value Setting range 32768 to 32767 Analog value FB value Output 1 Word Output When the input pin is ON Y A B is executed and the word output will be given the result When the input pin is OFF the expression is not executed and
38. Simple Application Controllers Function Blocks 6 6 Highlight the Strings option using the a and v 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 B001 DP Pos 12 1 Flicker Scroll 7 Press the OK key when either the Flicker or Scroll option is required Set the Length L and the Time T of the string using the and keys B001 DP Pos 12 1 L 1 T 0 0s 8 Press the OK key to enter the character string for the Display Function Block A combination of a and v and the and arrows is needed to enter the entire string Press the OK key to accept B001 DP Pos 12 1 E f 9 If Analog In data is required to be displayed press the OK when Analog In is highlighted in step 5 The following screen will be displayed If an alternate Analog channel is being used press the and keys to select the correct channel B001 DP Pos 12 1 Analog In 401 0 10 Press the OK key with A01 channel is flashing and either a value or graph can be viewed for incoming analog data Press the OK key for value and return to the previous screen otherwise highlight graph using the a and v and similarly press the OK key to set the graphical parameters B001 DP Analog In Value
39. The Function Block Edit Menu inte elec reet ieee 3 13 3 6 Option Screen Setup odisse e eek eto np paar aon Neu aa ke RE R RE MURUA GA 3 13 M M EE 3 13 3 6 2 Change the Language Setting 3 13 34 9 CIOCKSET dieu ted AU tetate oi etate situ i Da ud ET 3 14 3 6 4 SummerTime cc ao ecocteteacod atin Pe To eror qe RE Geh RUP IE par 20 aa 2d puad ud AR e PC 3 14 3 0 5 PASSWOTA MDC 3 15 3 0 0 onal COM ar nit aea dead a Gus b ed a e a as 3 15 320 7 Memory Cassetten deedeetee t en eee eee fedett 3 16 37 LOD Displays Em 3 17 au T IMAGE able esee ee ete basti 3 17 da 2 LCD FUNCION 4 cines tare end pr S EN dcdetaasdetiaenue hanes ORIS RRREAR EARS 3 17 3 8 Block Hems o ease descrtoctt nes ooo a De Dpo miae e aee oU or 3 18 Input BIOGKS Ta Le e tob Een 3 18 3 9 2 PUNCHON BlOCKS cusa treten tg o ase oci nde dea oni ton dup i nad R SR UE 3 18 so S OUIDUEBIOCKS Ero ekz ls En 3 18 3 8 4 Connected BloCks 1 teet len ance intuens 3 18 MITSUBISHI v a2 Series Applications Controller 4 Direct Programiilldg suis civestccarssiacesivsesdoaedsecedytaccesepvadiddaner deserts 4 1 4 1 Block Availability 22 coto tet rettet etiustess tioni 4 1 4 2 Connecting Blocks soie eo qut fetten de aei ads 4 1 4 2 1 To connect the blocks from the left block to right block 4 1 4 2 2 To connec
40. a specified range There are three values the Low Limit L Input Value 1 and High Limit H These values can be Set Directly be Analogue Inputs or by Function Block values The Output can be given a Set or Reset priority Set Priority The Output turns ON when the Input Value is equal to or between the High and Low Limits Reset Priority The Output turns ON when the Input Value is outside the High and Low Limits Table 6 16 Zone Compare Function Block Function Set Item Description Input pin for zone compare operation The following conditions apply to the function block 1 Low compare value L a Range 32768 to 32767 with initial value set at 0 b Analogue data A01 A08 c Other function block data EB 2 Input input value I a Range 32768 to 32767 with initial value set at 0 000 b Analogue data A01 A08 I gt P HO c Other function block data ZC 3 High compare value H a Range 32768 to 32767 with initial value set at 0 b Analogue data A01 A08 c Other function block data Output status 1 ON in the zone The value from the input pin is compared with the preset high and low values and sets the output ON when the zonal compare condition is Output satisfied Otherwise the output is OFF 2 OFF in the zone The value from the input pin is compared with the preset high and low values and sets the output OFF when the zonal compare condition is satisfied Otherwise the outp
41. diagram aa MITSUBISHI 6 49 02 Simple Application Controllers Function Blocks 6 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 Every time the input pin receives a signal the ALT Output changes its ON OFF status The Output alternates turning ON and OFF A Clear input signal over rides the input signal and turns the Output OFF Table 6 21 Retentive Alternate Function Block Function Set Item Description Input pin for retentive alternate function block C Clear input pin resets the state of the output regardless of the input given be FB Retentive alternation of the output status F The output is affected in the following operation eS RAL 1 Reverse the ON OFF state of the output whenever the input sig nal s ON OFF operation to the input pin is turned ON ON to OFF or Output OFF to ON 2 The clear selection resets the output regardless of the input given 3 Remember Output Signal after a Power Cut Retentive Alternation time chart Run mode Stop mode Stop mode Power OFF Run mode i Input pin OFF ON
42. eei etc edt e Hen e tee heed ante 5 3 5 3 The NOT BIOCK iiec tutos i ones ia ae eek io a Eme s eed 5 4 5 4 The XOR Block Exclusive OR 5 4 5 5 The NAND Block Not AND 5 5 5 6 The NOR Block Not OR 2er o Dni le quee ie octets 5 6 6 Function BIOCKS oe pe NE ec oet ve Los 6 1 64 DellnillOlls 422 cii i ob e eh ed il oar bit d ose oa EM 6 6 BZ A previas EE E PEE 6 6 p 9 Bool amp adm block uo DOE Eat ieu dose Eso MONI dde ease 6 7 BA 5el ReserBlOCk 395525 E p e EE rex i aorta isa bu dis 6 9 5 5 Pulse BloGK 35s en eoe o EURO oto co ha ah a StI 6 11 6 6 Alternate BlOCK ES 6 13 6 7 Delay BIOGK co deleta tested peels tects Gd 6 14 6 One SDOEBIOCK aere kasen diae meta rro ud dude EON adden cuentas 6 16 69 illo i is 6 di 6 18 6 10 Time SW BIOGK xc ae tei 6 21 6 10 1 Setting the First Time Switch 2 2 6 21 6 10 2 For the Date operation 6 22 6 10 3 For the Weekly Operation 6 22 6 10 4 To Enter New Time Switches 6 22 6 10 5 To Edit Time Switches eot tecto iat scent 6 23 6 10 6 To Delete Time Switch Data
43. memory will be retained ProgTran only appears if a cassette is installed Verify Cassette gt the cassette writes to the 02 Cassette lt the cassette reads from the 02 and ProtectSW are the options available a MITSUBISHI 8 3 02 Simple Application Controllers System Menu 3 Figure 3 2 Others Menu in Stop Mode operation Others Version ScanTime Password DispPass MenuKey Summer T i me SerialCom LightTime gt Progclear ProgTran 2 Version Ver ScanTime Moni tor Reset l ScanTime Cur Max Min Oms 12ms Oms ScanTime Moni tor gt Reset Reset ScanTime OK or ESC Setup Password OOOO DispPass Level1 Level2 Level3 4 Setup DispPass Level 1 OOOO MenuKey No Use ON ESC Key SummerT ime Cancel Manua On DataType UK Type US Type EU Type Sunme r T ime 31 03 30 10 60min Setup LightTime 2m ProgClear OK or ESC MITSUBISHI 02 Simple Application Controllers System Menu 3 Figure 3 3 Serial Com in Stop Mode operation SerialCom 4 4 Not Use _ ModemI ni gt Modemli ni t01 Modem lt Command
44. messages i can be read 000 The Zone Compare Function Block Zone I gt PLO identifies whether the input value lies within Compare a specified upper and lower limited zonal 20 Byte 6 16 ZC ZC area and if so changes the status of the output accordingly The Schmitt Trigger Function Block 000 compares an input value to preset high and Schmitt I gt P Te low limits The output is ON when the input Trigger value reaches the high limit and then falls 19 Byte 6 17 ST ST below the lower limit The function only processes the data when the function block is receiving an input signal MITSUBISHI 6 2 02 Simple Application Controllers Function Blocks 6 Memory Use Section FB Name FB Symbol Description of Function Block The Hour Meter Function Block holds the 000 output status ON for a maximum of 32767 P nd hours 32767 minutes and 59 seconds If HM Hour Meter C HM the input pin is turned OFF the elapsed time 19 Byte 6 18 will hold its value until either the clear pin resets the time or the input pin is turned ON again The Speed Detect Function Block is used 12 000 to count the incoming pulses max 20Hz Speed u gt P Lo with an extension module max of 1kHz Detect C for a set period of time The upper and 25 Byte 6 19 SPD SPD lower limits can be set from 32768 to E 32767 and the Period interval s set range is 1 to 32767 in 10ms increments The Puls
45. of improvement the comments of the Mitsubishi users are always welcomed This page has been designed for you the reader to fill in your comments and fax them back to us We look forward to hearing from you Fax numbers YOU name eise Mitsubishi Electric 0 0 ensseseeseseseseseeeeeeeeeeeeeesee A et ts America 708 298 1834 Your comipary cea t Ip osd ute iba ques Australia D2 038 7072 ukcxiteiuassesiau E EEA AE a n creda Pa pen ERREUR Germany 0 21 02 4 86 1 12 Your IoCallQn usce ere Quer ener petens Spain 34 93 589 1579 United Kingdom 01707 278695 Please tick the box of your choice What condition did the manual arrive in LlGood LlMinor damage LlUnusable Will you be using a folder to store the manual Yes What do you think to the manual presentation L Tidy L Un friendly Are the explanations understandable lYes L1Not too bad L Unusable Which explanation was most difficult to understand Are there any diagrams which are not clear Yes LINo IFSO WHIGM Ss steer EE eee So eto eta dt ee unas ele Set aoe ue nhs What do you think to the manual layout LiGood LINot too bad L Un helpful If there one thing you would like to see improved what is Could you find the information you required easily using the index and or the contents if possible please ide
46. of the initialization command while the modem completes its power up Use the key to increment the value and the to decrement the value within the range of 0 10 seconds Enter the value by pressing the OK key GSM Remote Command GSM Init DelayTime Os Remote access from a computer running the VLS software is allowed ee x when Permit is chosen Permit SMS packets cannot be sent under the Permit setting but can be sent when Forbid is used ata MITSUBISHI 6 65 02 Simple Application Controllers Function Blocks 6 Enter the PIN Code PIN Code It is necessary to enter a PIN code received from the Service Provider Setup when the 0X2 controller is used to send SMS packets Use the and keys to choose the digits of the code and the p and 4 keys to move to adjoining digits All the numbers must be set to an integer value or a PIN Code Error will be received Press the OK or ESC keys to return to the PIN Code entry display Finish entering all integer values into all four digits and press the OK key to enter the code Cancel the PIN Code To Cancel an existing PIN code enter the PIN Code option and confirm with the OK key the intent to Cancel the code The PIN Code does not have to be entered in order to Cancel the code Use the ESC key OK or ESC to return to the GSM menu PIN Code Cancel
47. received from pin U 2 Increments a negative count if a signal is received from pin D 3 If pin U and pin D receive a signal simultaneously the current count will not change 4 The ON status of the output is set from the current value equaling or exceeding the set value 5 The current value becomes the set value if the preset pin P receives a signal the status of the output becomes ON 6 The following item is available for other function blocks a Current Up Down Count 1 Counter Operation of input pin U input pin D current value and output Input pinU OFF Input pin D Current value of up down counter Set value 3 Output a MITSUBISHI 02 Simple Application Controllers Function Blocks 6 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 AE up down counter 4 2 L2
48. s will precede hour number on the screen How to Set the Summertime Setting 1 Select Others from the Top Menu 2 Select Summertime 3 Scroll to the desired setting see above for information on settings 4 Press the OK key to accept 5 If the display time has been adjusted an s will precede hour number on the screen If the date is outside of the adjustment range no visible sign will appear MITSUBISHI 3 14 02 Simple Application Controllers System Menu 3 3 6 5 3 6 6 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 To Enter a Password 1 Select Other Menu Option 2 Select Password from the Other Menu Options 3 Use the and keys to enter the desired password 4 Press the Ok key to accept and activate the password 5 A key symbol will now be displayed at the top of the 02 display To Cancel a Password 1 Select the Other Menu Option 2 Select Password from the Other Menu Options Cancel Password should appear on the top of the screen 3 Use the and keys to enter the current password 4 Press the OK key to accept and deactivate the password 5 The key symbol will be removed from the 62 display Note 1 A Password protected program in an AL2 EEPROM
49. single Pulse I gt P p pulse to the output pin if the input pin PL receives either an ON to OFF OFF to 10 Byte 6 5 PL ON or ON to OFF And OFF to ON input zx operation 000 The Alternate Function Block is used to reverse the ON and OFF state of the output Alternate s as and when the input pin receives a signal 13 Byte 6 6 AL C The output will be set ON when the input y AL pin goes high and remain ON until the input receives the second rising edge 000 The Delay Function Block provides an ON Dela I gt P n delay timer and an OFF delay timer Time DL C intervals for either situation can be set The 19 Byte 6 7 DL time unit can be set to 10ms 100ms or 1s k increments The One Shot Function Block awaits a 000 signal supplied to the input pin thereafter One Shot I gt P pe setting the output according to the specified OS C time The timing parameters control the 17 Byte 6 8 OS state of the output depending on the B priority setting The time unit can be set to 10ms 100ms or 1s increments 000 I gt PLO The Flicker Function Block changes the ON Flicker F and OFF state of the output according to a 19 Byte 6 9 FL FL preset flicker time The time unit can be set y to 10ms 100ms or 1s increments 000 Time PLO The Time Switch Function Block uses a Switch predefined time schedule to control the ON 2 6 10 TS TS and OFF status of the output s MITSUBISHI 8 4
50. strength of 10 or more 0 Table 3 4 Signal Strength Reference Table Value Receiving Level 0 113 dBm or less 1 111 dBm 2 30 109 to 53 dBm 31 51 dBm or greater 99 Not known a MITSUBISHI 6 69 02 Simple Application Controllers Function Blocks 6 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 If the Input signal turns Off during the pulse interval the Output is Reset along with the pulse time Table 6 29 Random One Shot function block Function Set Item Description Input pin for the random one shot function block C Clear pin for the random one shot function block 1 A random one shot time is generated between the upper and lower threshold values 2 The random value only occurs in correlation to the ON status of the input 3 The clear signal input reset the output random one shot value and 000 current time l P O C 4 If the Upper threshold is equal to or larger than the lower threshold ROS FB the random one shot time is set in the range lower threshold to upper threshold 5 If the Upper threshold is less then than the lowe
51. the constant signal to retain its status Set Priority When the Set input comes ON the Output comes ON and remains ON until the Reset pin receives a signal Once the Output is ON the Set input signal can turn OFF without effecting the Output If both the Set and Reset pins are ON the Output is ON Reset Priority The operation is the same as the Set Priority except that when both pins are ON the Output is OFF Table 6 4 Set Rest Function Block Function Set Item Description S Set pin for the function block R Reset pin for the function block gt Allocates priority to either the set or reset function when both pins are 000 FB ION S gt P FO R F The output of the function block operates in either an ON or OFF SR state Output 1 Set the output ON until the reset pin is ON 2 Decides the status of the output depending which input pin has priority 1 Operation of reset priority ON Input pin S OFF ON Input pin R OFF Output ON OFF 2 Operation of set priority ON Input pin S OFF ON Input pin R OFF Output ONL OFF a MITSUBISHI 02 Simple Application Controllers Function Blocks 6 Setup of the Set Reset Function Block directly from the o2 Series Controller 1 Allocate the set and reset p
52. the delay function block 1 The lag time setting for energising the output from a given input signal can be given a controlled delay time The starting value has a range from Os to 32767s 000 1 gt P pe 2 The lag time setting for denergising the output from a given input Cc signal can be given a controlled delay time The starting value has a DL range from Os to 32767s Output 3 If the clear signal of the input pin C is turned on while the delay function block is in operation consequentially the current value of the ON delay timer and OFF delay timer resets to 0 Thus the output is turned OFF 4 The following items are available for other function blocks a On Delay b Current On Delay c Off Delay d Current Off Delay Note The ON OFF delay time cannot be less than one scan time for the controller otherwise the Delay Function Block will not perform its assigned task for the time specified Users can monitor the scan time from the 62 Series Controller Scan time is dependent on the user program therefore caution is needed as and when time units are selected 1 Delayed Operation Input pin ON ON Input pinC l l l l Output ON JorF k NE lt k k e ke On delay Off delay Shorter than On delay On delay Time Time On delay time Time Time Shorter than
53. 1 or EI2 expansion module allows for 1KHz incoming pulses to be measured Table 6 19 Speed Detect Function Block Function Set Item Description Input pin for speed detect function block U Count incoming signal C Clear pin for function block The function block counts incoming pulses when the input is ON When the input signal is OFF the actions to count the pulses of the counter input and compare the speed with upper and lower threshold limit will stop 1 Speed and output values will not be cleared unless the clear pin receives a signal to reset the counter 2 Upper limit Lower limit The output signal will be OFF when the speed output value is equal to 000 or less than the lower limit value If the speed output value is equal to or larger than the upper limit value the output status will be ON Oth Es Pro FB erwise the output signal does not change SPD 3 Lower limit gt Upper limit The output signal will be OFF when the speed output value is equal to or larger than the lower limit value If the speed output value is equal to or less than the upper limit value the output status will be ON Oth erwise the output signal does not change 4 Lower limit Higher limit The output status is ON if the Speed Output Lower limit Upper limit Otherwise the output signal is OFF 5 Function Block data a Period setting value 1 to 32767 Output status refer to the speed detect time charts for output status
54. 2 3 Bit input pins and 1 Bit output pin If all the y i inputs are OFF then output is OFF 4 gt OR otherwise output is ON 00 This function executes logical NOT opera 7 o tion on given input signal The input signal NOT 1 gt connected should be of bit input type only 1 10 Byte 5 3 Bit input pin and 1 Bit output pin Output is NT negation of Input given M 00 This function executes logical XOR opera tion on given input signals The input sig XOR 1 gt 1 O nals connected should be of bit input type 13 Byte 5 4 25 only 2 Bit input pins and 1 Bit output pin If y both the inputs are either OFF or ON then __XOR out put is OFF otherwise output is ON t 00 This function executes logical NAND operation on given input signals The input NAND 2 gt 0 signals connected should be of bit input 19 Byte 55 3 gt type only 4 Bit input pins and 1 Bit output y pin If all the inputs are ON then out put is 4 gt __NAND OFF otherwise output is ON t 00 This function executes logical NOR operation on given input signals The input NOR 2 gt Jj O signals connected should be of bit input 19 Byte 56 3 gt type only 4 Bit input pins and 1 Bit output y pin If all the inputs are OFF then out put is 4 gt __NOR ON otherwise output is OFF s MITSUBISHI 5 1 02 Simple Application Controllers The Logic Function Blocks 5 5 1 The AND Block The AND block comes ON when all the inputs are ON
55. 2 Cassette can be run from and be downloaded into the main body of the controller Note 2 A controller containing a Password protected program can accept or transfer programs to an AL2 EEPROM 2 Note 3 The Password can also be set deleted from the AL PCS WIN E software or deleted by the PROGCLEAR command Serial Com The modem function capability of the 02 allows remote monitoring via a PC and program upload download The communication must take place using the Visual Logic Software VLS and the communication must be initiated accordingly The modem connected to the 0 is initialised upon the 02 start up Dialing options from a command or specific conditions are not available Command Enter the AT command for the modem to be connected to the controller Reference the Modem User manual for details on that unit s AT command Choose the first letter or symbol by using the a and v arrows When the symbol is showing in the command line use the 4 and arrows to move to adjoining spaces Enter up to 64 letters symbols and accept the whole string with the OK key when finished inputting the data There is no need to accept each letter with the OK key Delay The Delay function sets the length of time the o2 will wait after entering the Run mode before turning on the modem Choose a value of 0 10 seconds using the or keys The modem connected to the Personal Computer with the VLS software must be set ON pr
56. 2 GSM CAB MITSUBISHI 02 Simple Application Controllers Appendix 8 8 4 Boolean Gates Logic Pedi gic Block Memory Section eae Displayed Description Use Reference T 00 This function executes logical AND opera tion on given input signals The input sig AND 2 gt O nals connected should be of bit input type 19 Bvte 5 4 3 gt only 4 Bit input pins and 1 Bit output pin If y 4 AND all the inputs are ON then the output is ON ze otherwise output is OFF 1 gt M 00 This function executes logical OR operation on given input signals The input signals OR 2 gt o connected should be of bit input type only 4 19 Byte 52 3 gt Bit input pins and 1 Bit output pin If all the y i inputs are OFF then output is OFF other 4 gt OR wise output is ON 00 This function executes logical NOT opera o tion on given input signal The input signal NOT 1 gt connected should be of bit input type only 1 10 Byte 5 3 Bit input pin and 1 Bit output pin Output is NT negation of Input given M 00 This function executes logical XOR opera tion on given input signals The input sig XOR 1 gt ii O nals connected should be of bit input type 13 Byte 54 2 gt only 2 Bit input pins and 1 Bit output pin If y both the inputs are either OFF or ON t
57. 6 Function Blocks The 02 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 Each function block will have a description of the Block s purpose a diagram of how the Block will appear on screen and a description of the inputs outputs and available options Table 6 1 Function Block List FB Name FB Symbol Description of Function Block Section 1 gt 000 The Boolean Function Block uses Boolean Boolean 2 gt P nis algebra to control the ON OFF state of an BL 3 output An operational expression consists 1 6 3 4 gt BL of either the AND OR NOR XOR or NOT form 000 The Set Reset Function Block either holds an output ON set or releases the output Set Reset S3 P S OFF reset Priority can be given to either 14 Bvt 6 4 SR R input pin if both inputs have been energised yte SR simultaneously The default priority setting is dedicated to the reset input pin 000 The Pulse Function Block sends a single Pulse I gt PLO pulse to the output pin if the input pin PL receives either an ON to OFF OFF to 10 Byte 6 5 PL ON or ON to OFF And OFF to ON input g operation 000 The Alternate Function Block is used to reverse the ON and OFF state of the output
58. B The value of Q R A and B is in the range 32768 to 32767 a A B Constant value Setting range 32768 to 32767 Analog value FB value Output 1 Word Output When the input pin is ON Q A B R A B and the word output will be given the result When the input pin is OFF the expression is not executed and the Q and R values will retain the last result 2 Bit Output Input value B 0 Output pin is turned ON and the quotient Q and R will reset to 0 Quotient Q gt 32767 Output pin is turned ON and the quotient Q will be set to 32767 Setup of the Division Function Block directly from the 02 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 B001 DIV xSet up FE Change No Delete FB 3 Press the OK Key and enter the function block settings using the a and v keys The Division operation Q A B must be specified Boo1 DIV Quotient q A B r A B 0 4 Using the and keys highlight Constant A and press the OK key to enter either a Directset Analog In or FB Value B001 DIV xDirectset Analog In FB Value 5 Repeat step 4 for Constant B and return to the FBd using the ESC key MITSUBISHI 02 Simple Application Controllers Function Blocks 6 6 26 Calculatio
59. C Limit L H 0 4 Using the and arrows highlight A and press the OK key A Direct Set using the and keys can be entered subsequently press the OK key to accept the Direct Set value Repeat operation for B 5 Highlight X using the and keys and press the OK key to set th 6 The Analog In channel can be selected using the and keys su OK key to accept the channel 7 Highlight C using the and keys and press the OK key to set the constant value B001 OG ConstantA DirectSet UN e Analog In channel B001 O0G y A Be x4 C Limit L H 402 0 bsequently press the B001 OG InputVal Analog In AO t 0 8001 66 y A Be 6 Limit L H 0 8 A Direct Set using the and keys can be entered subsequently press the OK key to accept the Direct Set value B001 OG ConstantC DirectSet 0 MITSUBISHI 02 Simple Application Controllers Function Blocks 6 9 Using the a and v arrows highlight the high and low limit values B001 OG y A B x C Limi t zZL H 32768 10 Press the OK and a Directset of the Low limit can be entered using the and keys B001 OG Limi t Low DirectSet 32767 11 Press the OK key to accept the value and use the and arrows to highlight the high Mus value Press the OK key and a directset
60. Changes for the Better a MITSUBISHI SIMPLE APPLICATION CONTROLLER ie SaaS oe odhoda bd haaa 6606060000600050000000 9 bev De PROGRAMMING MANUAL X2 SIMPLE APPLICATION CONTROLLER 62 Simple Application Controllers Foreword e This manual contains text diagrams and explanations which will guide the reader in the correct programming and operation of the 02 series controller Before attempting to install or use the 02 Series Controller this manual should be read and understood If in doubt at any stage of the installation of the 2 Series Controller always consult a professional electrical engineer who is qualified and trained to local and national standards which apply to the installation site If in doubt about the operation or use of the 02 Series Controller please consult the nearest Mitsubishi Electric distributor This manual is subject to change without notice MITSUBISHI 02 Simple Application Controllers 2 SIMPLE APPLICATION CONTROLLERS PROGRAMMING MANUAL Manual number JY992D97101 Manual revision A Date Apr 2002 s MITSUBISHI 02 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
61. ClockSet Set the Real Time Clock or input a daily clock adjustment LANGUAGE Choose the on screen language from English German French Italian Spanish or Swedish Others a MITSUBISHI 8 7 02 Simple Application Controllers System Menu 3 Figure 3 8 TopMenu in Run Mode Operation OK ESC TopMenu 10 19 Fri gt gt Run Stop gt Stop Mode l e2ee5eeeQg 4 Stop 4 RunoStop 1 5 0 1 4 8 OK or ESC E 1 4 A 235 Setup TS l SetupTS pL 23 o NoDets D Monitor 2 ClockSet ClockSet ClockSet e PENES k ClockSet P dd mm yyyy Correct 30 11 2001 10 45 Fri Ly ClockSet Correct l ClockSet PEE Correct O OO s d LANGUAGE k4 LANGUAGE English German French Italian Spanish Swedish gt 3 gt Others 4 MITSUBISHI 3 8 02 Simple Application Controllers System Menu 3 Figure 3 9 Others Menu in Run Mode operation Version ScanTime Password DispPass MenuKey Summer Time Ser i al Com LightTime ProgTran Version V rt ScanTime es Moni tor Reset 4 ScanTime Cur Oms Max 12ms Min Oms ScanTime Moni tor Reset DOREM NR 4 Reset ScanTime OK or ESC
62. ClockSet lt Correct O OO s d LANGUAGE 4 gt LANGUAGE English German French Italian Spanish Swedish gt 3 Others MITSUBISHI 8 2 02 Simple Application Controllers System Menu 3 3 2 2 The Others e Version Displays CPU Version of the 062 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 Password Restrict entry to the ProgEdit and Monitor mode with a four digit password DispPass Set up to three Passwords for Display function blocks Menu Key Two settings are possible Not Use or OK ESC Not Use is designed so that unauthorised people cannot access the 02 Top Menu in Run mode If the OK ESC key setting is selected simultaneously depress the OK and the ESC keys to access the Top Menu Summertime Choose the preferred daylight savings time Cancel Manual On Date Type UK type US type or EU type Serial Com Choose the type of communication to be used for the right hand side serial communication po