Home

al2 simple application controller programming manual

image

Contents

1. Input pin OFF ON Count input pin Il MUU L MUU LLL i ON Clear input pin It It 1 wa 9 5 fel MM 8 5 4 4 4 H j 3 3 3 3 Current value of H2 2 Ge aes 42 _ 0 counter l Set cycle i 9 8 EENEI AATA aT T A E E X oe E E Iesu E roe fe ed A E Upper limit 4 EU ao O E Speed output 849 E 0 value Output pin LJ ON Interrupt input terminal for AL2 4EX max 1KHz Input pin OFF ON i e Count input pin E101 E102 on LLU LUI UU AL2 4EX Clear input pin NE EE ON E N Il isi 6 9 I 7 8 6 x Li pg gt H 4 4 3 1 3 H3 i Current value of 1 T 0 iH 1 counter A A Set cycle 2 E Processing time i i i y y i 3 A 11 scan 9 wer time 6 L ower limit 7 EL Iesse exe eee esse seca eeepc es ciere Upper limit 4 Mo ION pene SiN Ho REDONDA T po qo q Speed output value Output pin o ON ON a MITSUBISHI 6 50 Q2 Simple Application Controllers Function Blocks 6 3 Upper limit 2 Lower limit Normal input max 20Hz Input pin OFF ON Count input pin ili iili Clea
2. Input pin D OFF Input pin P OFF ON Current value of T up down counter 9 3 0 0 2 Set value 3 ZL Er Mines NEUE PD 3 Output a MITSUBISHI 6 27 Q2 Simple Application Controllers Function Blocks 6 2 Counter Operation of input pin U input pin D input C input pin P current value and output Input pin U Input pin D Input pin C Input pin P Current value of up down counter H 2 Set value 4 Output ON OFF Setup of the Up Down Counter Function Block directly from the 0 2 Series Controller 1 2 al 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 B001 UD Setup FB Change No Delete FB Press the OK Key and enter the Up Down counter function block settings using the a and v keys The DirectSet
3. a MITSUBISHI Q2 Simple Application Controllers System Menu 3 3 4 The Edit Menu The Edit Menu can be entered when the Q2 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 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 system Inputs 0 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 M 3 5 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
4. FB Name FB Symbol Description of Function Block prp Section The Up Down Function block positively or U gt 000 negatively increments the counter until a U D Counter PA P O set value is reached thereby setting the UD C output ON A preset signal can also equal 22 Byte 6 12 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 Ia P Lo current value of the input pin in relation to a Compare f preset expression The expression consists 17 Bvte 6 13 CP CP Of gt gt lt lt or lt gt If the compared value y L satisfies the expression subsequently the output pin is set on 000 Analog M gt P The Analog Output function takes a digital Output E value input and delivers a corresponding 17 Byte 6 14 AO AO analog voltage or current to a selected channel on the AL2 2DA module 000 z Offset I gt P The Offset Gain Function Block is based Gain upon a linear function Y A B X C to which 22Byte 6 15 OG OG the value obtained from an analog input X A01 A08 is set 000 The Display Function Block is used as an Display I gt P interface between the user and the devices DP held within the controller Current values 4 6 16 DP timer messages user defined messages can be read 000 The Zone Compare Function Block Zone l P Lo identifies whether the input value lies wit
5. eesseeeeeeeeee 7 4 7 3 5 Connect the Function Blocks from Right to Left Section 4 2 2 7 4 7 4 Set up the Function Block Parameters Section 4 5 1 7 5 7 5 Exit the Function Block Diagram board ccccccccccconcncnnnononanccnnonononcnnnoos 7 6 SA 91 gt deve 8 1 8 1 Associated Mana Sumito retirarlo redee 8 1 8 2 System Keys i 8 2 A ee At a ea Aa S a 8 2 8 4 Boolean Dale dad 8 3 8 5 ID FOrmmulas ind 8 9 a MITSUBISHI vii Q2 Simple Application Controllers Introduction 1 1 1 1 Introduction The 2 Series Controllers provides supervisory control for use in the home office factory or wherever you need it The Q2 Series Controllers offers flexible I O control for varied applications Applications The Q2 Series is designed to be used for automatic applications including Lighting air conditioning or watering control Opening and closing gates Security systems Domestic systems Temperature control However the 012 Series Controllers is not designed to be used in the following applications Applications where high reliabilities such as nuclear power control railway facilities airline facilities vehicles combustion equipment and medical equipment are required Applications in life critical situations Please contact a Mitsubishi distributor for more information Special Features of the Controller 1 Display messages and Function Block data
6. MITSUBISHI 6 87 Q2 Simple Application Controllers Function Blocks 6 Signal Strength SigStreng GSM Stai Check the signal strength of the GSM modem signal Generally good SigSt s ss operation is possible with a signal strength of 10 or more 095 Table 6 44 Signal Strength Reference Table Value Receiving Level 0 113 dBm or less 1 111 dBm 2 30 109to 53 dBm 31 51 dBm or greater 99 Not known MITSUBISHI 6 88 Q2 Simple Application Controllers Function Blocks 6 6 31 Short Message Receiving Block A GSM short message SM can be sent from a cell phone a normal phone with SM functionality or PC to a GSM modem that is connected to an o2 controller a2 controller detects the delivery of SM by the modem and downloads the SM from the modem The Short Message Receive FB SMR FB searches for the occurrence of a command in the SM The command is given as text string in the FB parameter In case the command text is exactly included in the SM outputs are changed A command can consist of max 32 characters A received short message can contain up to 160 characters 7 bit or 70 characters UFT 16 16bit The difference between SMR and SMRm is allowable maintenance m from the TopMenu Parameter in the o2 controller for direct programming Table 6 45 SMR Function Block Function Set Item Description E Bit input pin for the
7. 2 Operation of set priority ON Input pin S OFF ON InputpinR OFF Output ON OFF a MITSUBISHI 6 11 Q2 Simple Application Controllers Function Blocks 6 Setup of the Set Reset Function Block directly from the 2 Series Controller 1 Allocate the set and reset pins for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown B001 SR Setup FB Change No Delete FB 3 Select Setup FB using the a and v keys and press the OK key The Set Reset priority screen is displayed as shown B001 SR Priority Set Reset 4 Select the Set or Reset priority using the 4 and v keys and press the OK key to return to the function block edit screen a MITSUBISHI 6 12 Q2 Simple Application Controllers Function Blocks 6 6 5 Pulse Block The function block emits a single pulse at any of the following user defined times Table 6 6 Pulse Function Block Function Set Item Description 000 PL Input pin for pulse operation FB Sends a single pulse depending on the function block conditional setup 1 Rise Edge From Off to On 2 Fall Edge From On to Off 3 Both Edge From Off to On and On to Off Output The function block sends a single pulse dependi
8. In case the character is not followed by the or the character or a number the command is invalid Multi commands can be transmitted in one short message but not more than 10 All commands have to be separated by the delimiter dot Blank characters directly before and after the delimiter are disregarded A terminating delimiter character is not needed In case a short message contains more than one command for one FB e g switch bit output ON and switch bit output OFF the first command in the short message becomes active In case of setting the same command text for bit output ON and bit output OFF command and including this command in a short message the bit output is switched ON The following characters can be used to build a command Table 6 47 1 Command Characters Former than Ver 3 00 Character lt space gt amp 0123456789 lt gt GSM 7 bit default alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ 4_ plus extension table abcdefghijklmnopqrstuvwxyz AA ECNOU ee ino ou c ii u 0 Group Code 2 Unicode 16bit Table 6 47 2 Command Characters Ver 3 00 or later Character lt space gt amp 0123456789 lt gt 7 GSM 7 bit default alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ 4_ plus extension table abcdefghijkImnopqrstuvwxyz l A cNO UO see in o Bi 9 Group Code 2 Unicode 16bit BFI
9. sueeeeeseesssss 6 61 6 22 5 Setting KP TI and TD with Auto tuning sssssse 6 62 6 22 6 PID Troubleshooting s se tih radicula haa sortes cediendo etc 6 64 5 22 EMOR Gods sus ioco reset Nn dto cssc ass 6 64 6 23 Retentive Alternate Block cccccceceeceeeeeeeneeeeeeeseeeeeeeeeeeeeeeneaeeees 6 69 6 24 Addition BIOCK u ito eto EHE Ep beta Eaa i ada 6 70 6 25 Subtraction Block ii oen denies 6 71 6 26 Mutant o 6 72 6 27 DIVISION BIOCK ermi asip riein e Fea babere Erg Lo eet aa Pn ag edes 6 73 6 28 Calculation BIOCK iii bp abe idc edis ak paced guid 6 74 B 29 Shift DOR casi tatis vat ia eub a PR ERR E RR dn OVAL ERU dUR Cd ocn Pup CBE IRUN 6 76 MITSUBISHI vi a2 Series Applications Controller 6 30 GSM SMS DOCK x 15 Ep copio 6 78 5 30 Jnput Signal a od de LES 6 80 6 30 2 Output Signal sce eee o e dest 6 80 6 3043 Word OURDUE 251 2222222 2 22 leia cried 6 80 6 30 4 Short Message Service SMS sess 6 81 6 30 5 Commentsignal Number srl eite 6 81 A O 6 81 6 30 7 Destination caida td da 6 81 6 30 8 SMS Setting Dialog BOX curia 6 82 6 30 9 SMS Service Center essere 6 82 0 30 10 Valid Period inii e e bert rrt a arce ela oh 6 82 6 30 11 DESTINAN De 6 82 6 30 12 Error MESSIAJOS ici nica edo o en eina d coda aia 6 83 6 31 Short Message Receiving Block oo occcccccnncccccccnnccconancccnnnnnnncnncnnnnns 6 89 6 31 1 Authentication and Se
10. B001 AO Channel 1 Channel2 12 Select Channel 1 or Channel 2 and press OK B001 A0 InputVal Channel 13 After setting up the function block use the ESC key to return to the function block edit screen MITSUBISHI 6 33 Q2 Simple Application Controllers Function Blocks 6 6 15 OFFSET Block The function block is used to adjust an Analog Input value according to the following linear expression Y A B X C from which the values obtained through the analog input channels X A01 A08 are set Table 6 16 Offset Gain Function Block Function Set Item Description Input pin for Offset Gain operation 1 Setting the operational expression for the linear Y A B X C function a Y Output value b A Gain numerator value set range 32768 to 32767 c B Gain denominator value set range 32768 to 32767 FB d X Analog input value from source A01 to A08 e C Offset value set range 32768 to 432767 000 I P 2 Setting the upper and lower clamp values limit values a H Upper Limit set range 32768 to 432767 OG b L Lower Limit set range 32768 to 32767 The function block only calculates data 1 Data output a The resultant of the linear operation is rounded up or down when the values are within the clamp limit values b No signal from the input equates to the function block holding the previous value obtained from the linear ope
11. MITSUBISHI 6 102 Q2 Simple Application Controllers Function Blocks 6 Setup of the Delayed Alternate Function Block directly from the 02 Series Controller 1 2 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 B001 DAL Time unit Serup EH Change No Delete FB 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 w keys to highlight the option and press the OK key when ready Time unit 10 ms 1 00 ms 1 s Return to the function block edit screen Using the a and w keys highlight the Setup FB and press the OK key B001 DAL DelayT ime T 0 18 t 0 0s Press the OK to accept subsequently use the ESC key to return to the FBd a MITSUBISHI 6 103 Q2 Simple Application Controllers Function Blocks 6 6 36 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 Table 6 54 Retentive Set Reset Function Block Function Set Item Description S Indicates the input is a set pin R
12. 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 o2 display To Cancel a Password 1 Select the Others 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 o2 display Note 1 A Password protected program in an AL2 EEPROM 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 3 6 8 Enhanced User Program Protection Version 2 20 or later Besides the existing user program password protection two new kinds of user program protection are established Program Read Protection Copy Program To Memory Cassette Protection 1 Program Read Protection The Program Read Protection prohibits any kind of read access to the user program in an 012 Version 2 20 or later This protection can be set only in VLS by downloading a user program with a 5 digit user program password set 1 as the first digit 1
13. 102 Reset pin ON O01 ON O02 ON 003 ON a MITSUBISHI 6 77 Q2 Simple Application Controllers Function Blocks 6 6 30 GSM SMS Block The GSM SMS function block when used with a GSM modem provides SMS Short Message Service communication between the o2 Series Controller and a mobile device or computer Pin code Gateway and Mobile access information from an SMS Service Provider is necessary to use the SMS function properly The GSM SMS function block can also be used to provide remote access from a computer running VLS software to the remote o2 Series Controller Using the remote access option disables SMS capabilities Table 6 39 GMS Function Block Function Set Item Description Bit input pin for GSM SMS function block operation Refer to the Communication Manual for detailed explanations concerning the GSM functionality of the 0 2 Series controllers 1 Detects the ON OFF status of an input and subsequently sends the SMS Short Message Service to the predefined user destination 2 The SMS message will continue to send regardless of the input switching OFF 3 The input will be ignored if it turns on during a an SMS transmission b the waiting period 000 FB 4 Communication failure e g busy line will tell the SMS function I gt P HO block to retry three times in a period of two minutes SMS 5 If the me
14. 01 001 P In CN 2 Step 2 Because output pins may have multiple connections all the Keys Function Blocks System Inputs Outputs will show on the left of the screen as well as an option to AddFB Scroll to the preferred option and Press the OK key Connect P AddFB MO 1 CN 3 Step 3 The chosen connection will be flashing on screen along with the Connect prompt Press the OK key to accept Connect EA 4 3 Disconnect Two Blocks Blocks can be disconnected by implementing the following procedure Move to the connection that is to be disconnected Enter as the disconnect command A Disconnect prompt will appear on screen Press the OK key to accept the disconnect MITSUBISHI 4 2 Q2 Simple Application Controllers Direct Programming 4 4 4 4 4 1 4 4 2 4 5 4 5 1 4 5 2 4 5 3 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 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 key Scroll to the desired Function Block and press the OK key to create a New FB The block will appear on the Function Block Diagram board FB Select AND OR Boo lean Set Reset RetentSR DelayedAL AddFB When connecting a Function Blo
15. 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 OF a MITSUBISHI 6 110 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 x B0 eos Bos Comment User Option String l C Date M Display Comment o Iv Display Signal Number v Special sey Password Security Level fp zd r Starting position of Text String Property X E Fixed Period T NENNEN C Flicker fO E x 100ms Interval Lenath C Scroll fro a x 100ms a MITSUBISHI 6 111 Q2 Simple Application Controllers Function Blocks 6 Choosing FB Word Output on step 6 Display of B06 L Bo 808 gos Comment User Option M Special Key _ Password v Bicep Comment Security Level jo E Graph v Display Signal
16. Proceed to the One Shot Function Block Use either the Jump command trace the path through the Set pin or simply press the key to scroll through the Function Blocks When the One Shot Function Block number 01 is flashing press the OK key once to enter the FB Edit Menu B001 0S Time unit Setup FB Change No Delete FB Select the Time unit option from the menu using the OK button The One Shot Function Block allows for three different time increment settings 10ms 100ms or 1s Time unit 10 ms 100 ms dis Select the 100ms time increment using the OK button The controller will return to the FB Edit Menu Select the Setup FB option from the Edit Menu There are two option screens to be set B001 08S On eShot Priority Enter the OneShot option screen using the OK button The One Shot screen has two timers that can be set The T timer is the Set Time for the One Shot block Output signal The t timer is the elapsed time or actual time the OneShot has been ON If a value is input for t the first time the One Shot block is activated it will begin timing from the input value B001 0S OneShot T 0 1 t 0 0s a MITSUBISHI 7 5 Q2 Simple Application Controllers Let s Make a Program 7 7 5 Use the button to enter a value of 20 0 seconds in the T timer Move down to the t timer and enter the value of 5 0 seconds The OK button
17. Table 6 41 GSM Modem Status Bit Status On 1 Off 0 bO Error in Connecting to GSM Modem Yes No b1 GSM Initialization Command Normal Yes No b2 PIN Code is Setup in the Controller Yes No b3 Network Registration Registered Not Registered b4 GSM CME Error Yes No b5 GSM CSM Error Yes No b6 Remote Access In Progress 1 Yes No b7 SMR Receive Time out Yes No b8 11 Reserved Reserved 0 b12 SMS Message Contents Message No Message b13 SMS Transmission Standby State Transmitting Off 1 0 Transmitting Off b14 SMS Transmission Failed 3 Times Yes No 1 0 Yes No b15 See Been sent due to incorrect SMS Yes No Note 1This bit is not linked to the Remote Access Setting which only enables remote access This bit checks if Remote Access is currently in progress a MITSUBISHI 6 86 Q2 Simple Application Controllers Function Blocks 6 CME Error This CME Error status gives information to the functioning of Mobile pai E 3 Equipment ME please refer to the GSM modem manual for more 1 details Table 6 42 Mobile Equipment Error Codes Value Description Value Description 1 No Error 17 SIM PIN2 Required 0 Phone Failure 18 SIM PUK2 Required 1 No Connection to Phone 20 Memory Full 2 Phone A
18. Time unit 10 ms 100 ms 1 s 4 Press the OK key having selected the value for the delayed time unit and return to the function block edit screen Using the a and v keys highlight the Setup FB and press the OK key The screen displayed is shown B001 DL OnDe lay OffDelay 5 Select the On or Off Delay using the a and w Keys and press the OK key The Delay time can be entered using the or 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 a MITSUBISHI 6 17 Q2 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 O 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 9 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 Is P Pe A Time or Input priority can be set C os The following items are applicable for the one shot function block i 1 A period
19. is flashing The e will disappear when the key is pressed Setup of the Display Function Block directly from the a2 Series Controller 1 Allocate the input or word 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 DP Setup FB Change No Delete FB 3 Press the OK Key and enter the function block settings using the a and v keys The position element and type of data is required B001 DP Pos 1 1 NoData 4 Press the OK key having highlighted Pos 1 1 and a X and Y interger can be entered using the and keys The X and Y values represent the location coordinates for the displayed data Press the OK key to accept the coordinate values B001 DP Position X 12 Y 1 5 Using the a and v arrows highlight NoData Press the OK key when ready B001 DP Strings Analog In MITSUBISHI 6 38 Q2 Simple Application Controllers Function Blocks 6 6 Highlight the Strings option using the 4 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
20. Default i SM MITSUBISHI 6 83 Q2 Simple Application Controllers Function Blocks 6 Data Length Select a Data length 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 Default The controller can be returned to the default communication settings DataLength 8 bits 7 bits Parity None Odd Even Stop bit 1bit 2bits Baudrate 9600 bps 19200 bps DataLength 8 bits Parity None Stop Bits 1 and Baud Rate 9600 bps by pressing the OK when the pointer is on the Default option GSM Init Command GSM Initialization Command The GSM modem must have an initialization command string After choosing the GSM Init option the Command and Delay Time settings will appear Command Setting Choose Command to enter the AT command Details for the AT command should be included in the literature for the modem Enter the string by choosing the correct characters with the a and y arrows When a desired letter is shown onscreen move to the right by pressing GSM Init Command DelayTime GSM Ini t01 Command A lt gt 0ABCDE the key The character will remain in the previous cursor space Do not press the OK key until the command has been entered in its entirety Move to
21. Off Off Off On Off a MITSUBISHI 5 6 Q2 Simple Application Controllers Function Blocks 6 6 Function Blocks The Q2 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 1 Function Block List FB Name FB Symbol Description of Function Block prias Section 1 000 Th e Boolean Function Block uses Boolean Boolean 2 gt P E algebra to control the ON OFF state of an 3 6 3 BL 3 output An operational expression consists 4 gt _BL of either the AND OR XOR or NOT form 000 The Set Reset Function Block either holds an output ON set or releases the output Set Reset S gt P P OFF reset Priority can be given to either 14 Bvt 64 SR R input pin if both inputs have been energised yte i SR simultaneously The default priority setting is dedicated to the reset input pin 000 The Pulse Function Block sends a single Pulse I gt PEO pulse to the output pin if the input pin PL receives either an ON to OFF OFF t
22. The 02 Series Controller can display the state of operation and the status of an alarm on the LCD screen as a message The 12 Series Controller allows the values of timers and counters to be changed while in RUN mode Total characters on LCD display 12 characters x 4 lines Display items Message values current or set of timers and counters analog values etc 2 Program Input The user can program directly from the front panel or use the windows based AL PCS WIN E programming software Ver 2 00 and upwards Pictorial representations of data are used to connect function blocks in both methods Please refer to the 0 Software Manual for details on AL PCS WIN E 3 Enhancement of clock function The calendar timer function can switch inputs to time dependent controls on a daily or weekly basis 4 Analog input 0 10V 0 500 The DC input type for the 012 Series accepts 0 10V signals with a digital range of 0 500 50 divisions per volt 5 High Speed Counter max 1kHz The Q2 Series Controller can have two dedicated high speed counters when using AL2 4EX El1 and El2 a MITSUBISHI 1 1 Q2 Simple Application Controllers Introduction 1 6 High current output The Relay outputs can handle 8A per common COM in the main units AL2 10MR O01 6 AL2 14MR O01 6 AL2 24MR D O01 04 Transistor outputs are 1A point in the extension module 7 GSM Function AL2 14MR AL2 24MR The 012 Series Controller uses GSM to
23. using the 4 and v button B001 PID Td NoiseFilter 19 Press the OK button and enter a NoiseFilter value using the and buttons BO01 PID NoiseFilter 50 96 MITSUBISHI 6 66 Q2 Simple Application Controllers Function Blocks 6 20 Press the OK button to return to the function block settings menu Highlight Upper Limit using the 4 and v button B001 PID Kd NoiseFilter 4 21 Press the OK button and enter an Upper Limit value using the an Upper Limi te d buttons B001 PID Upper Limit ANT 22 Press the OK button to return to the function block settings menu Highlight Lower Limit using the 4 and v button B001 PID NoiseFilter Upper Limit xLower Limit 23 Press the OK button and enter a Lower Limit value using the and buttons B001 PID Lower Limit 0 24 Press the OK button to return to the function block settings menu Highlight AT Bias using the 4 and v button B001 PID Upper Limit Lower Limit VAT Bia S 25 Press the OK button and enter an AT Bias value using the and buttons Press the OK button B001 PID AT Bias 0 26 Highlight Response from the function block settings menu B001 PID Lower Limit AT Bias Response 27 Press the OK bu
24. will always be O 1 The most common Wait status conditions are when 1 another GSM FB is transmitting a message 2 the GSM modem has not been initialized or 3 Remote Access by the VLS software is taking place After the Output is turned OFF the Word output status will also be reset to 0 Note The Word Value will be displayed in hexadecimal format but the Table is given in binary form If b2 is On for example the Output Word will display a value of 00x4 hex It is possible that more than one bit will be ON simultaneously MITSUBISHI 6 80 Q2 Simple Application Controllers Function Blocks 6 6 30 4 6 30 5 6 30 6 6 30 7 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 Comment Signal Number Input a comment to label the function block The comment will be shown onscreen only if the Display Comment box is checked Similarly the Function Block number will only be shown onscreen if the Display Signal Number box is checked Setting GSM SMS Short Message Service x Comment MV Display Signal Number V Display Comment Setting SMS Service Center For Mobile For E mail 49444444444 Walid Period 24 Hours O Minute Destination Ue Name Phone Number Telekom 3465 Justin 345456788957 Ken 736398
25. 0 to 32767 4 Time units 10ms 100ms or 1s Note 5 When the Clear signal is set ON the current Delay Time current One Shot Time will be cleared The Output will reset OFF Output The following items are available for another function block 1 Word Output a Delay b Current Delay c One Shot d Current One Shot Note The set time cannot be less than one scan time for the controller otherwise the Delayed One Shot Function Block will not perform its assigned task for the time specified Users can monitor the scan time from the a2 Series Controller Scan time is dependent on the user program therefore caution is needed as and when time units are selected 1 Delayed One Shot Delay starts when OFF to ON Input pin ____OFF ON Clear pin OFF ON Not Reset Output pin OFF ON active operation OFF lt i gt gt Delayed One shot Reset delayed timer Delayed less than set time Time Time shorter than set time Time of One shot time s MITSUBISHI 6 99 Q2 Simple Application Controllers Function Blocks 6 2 Delayed One Shot Delay starts when ON to OFF Run mode Input pin OFF ON Clear pin OFF ON l Reset Output pin OFF ON operation OFF Delayed One shot Reset delayed time
26. 10000 to 19999 When the protection is set the program password can t be changed at 0 2 by soft key operation The program read protection is reset when the controller content is erased VLS or 02 or an unprotected user program program read protection not set is downloaded by VLS This protection doesn t work in older o2 FW version 1 00 and 2 14 but it is also not reset in those controllers thus it is inherited in case of copying by VLS or memory cassette to another Q2 When the program read protection is set it s also not possible to upload a user program with an older version of VLS Copying the user program to a memory cassette is also prohibited when the protection is set a MITSUBISHI 3 20 Q2 Simple Application Controllers System Menu 3 Note When the program read protection function is used and the password is forgotten the program can t be recovered by any methods So please take care to handle the function The following table shows the possible and prohibited actions in case the Program Read Protection is set Action Comment Program Download VLS to 012 v Program Upload 02 to VLS For monitoring the program must be exists in the PC that runs VLS for moni Monitoring d toring thus the user program can be seen anyway vis Switch RUN STOP Y Program Parameter Change Y Controller Contents Clear Y Download New Same User Program Y Reset Flag in 02
27. 7 2 Re puc From 3 25 MITSUBISHI v a2 Series Applications Controller A EE 3 26 3 8 1 Thpt BloGKS asa is 3 26 3 8 2 Function BIOGKS iS 3 26 ESA cw ap hte test fr dre aenean epaiei 3 26 3 8 4 Connected BIOCKS A nee ea A 3 26 4 Direct Programming ccn reta tette ee rer 4 1 4 1 Block Avallabilily cese rc ttu crit bor Ne 4 1 2 2 GOMECUINA BIo6KS oce eene po beet bane Ves EEA cited oe 4 1 4 2 1 To connect the blocks from the left signal provider block to right signal receiver block ooooooocconococccccccccancnacncnnncnonanancnnnnnnnnn 4 1 4 2 2 To connect the blocks from the right signal receiver block to left signal provider Dotar nta dase vagas sedis cres 4 2 4 3 DISCONNECI TWO Blocks oa 4 2 4 4 Methods to Create a Function Block cccccccccccncnnoncnonnnanonnnnnnnnnnnnnos 4 3 44 1 New Paladin Aa Rao 4 3 A teresa deuce 4 3 4 5 Function Block Editing aunar iio oia 4 3 4 5 1 Setup Function Block unas 4 3 4 5 2 Change No of a Function Block cccccccccccncnnniccnonanncnnnnononoos 4 3 45 3 Delete B asi ld 4 3 4 6 Movement between Function Blocks cccccccccccnncnnnnnccccnncnnnnnnnnnnnononons 4 4 4 6 1 Movement Between Unconnected Blocks 4 4 4 6 2 Movement Between Connected Blocks susuuss 4 4 4 6 3 The Jump Command eese 4 4 4 7 Using Keys as Inpuls intra nee een usa nichil bi E sii 4 4 4 8 The Mon
28. Auto tuning was interrupted Clear PID operation with old parameters EN PID operation AT i CLEAR AT RUNNING 3 Error Occurance Error occured EN MV I I I I I ERROR i 6 22 1 Parameter List and PID Details Table 6 24 List of the PID Parameters Parameter Parameter Description Range Default Unit SV Set Value 32768 32767 0 PV Process Value 32768 32767 0 MV Manipulated Value 0 4000 0 TS Sampling time 1 32767 50 10 ms 0 1 KP Proportional gain 1 32767 75 0 01 Tl Integration time 0 32767 40 100 ms KD Derivative gain 0 100 50 TD Derivative time 0 32767 100 10 ms Of Noise filter 0 99 50 26 ULV Output upper limit value ULV LLV 4000 4000 LLV Output lower limit value LLV 0 ULV 0 AT Bias Auto tuning Bias 32768 32767 0 Direction Direction of operation forward or reverse reverse AA Control response parameter fast normal slow normal E ponte B after auto tuning P PI PID PID 1 Units of 0 1 are used for analog inputs FB word outputs and temperature inputs using a Celsius scale 2 Units of 0 01 are used for temperature inputs using a Fahrenheit scale a MITSUBISHI 6 56 Q2 Simple Application Controllers Function Blocks 6 Table 6 25 PID Equations Filtered Process Value PV PV 4 PV Pv 1 ternis VANS Va a
29. Controllers System Menu 3 3 3 1 System Menu Menu Options Instructions There are Systems Menus to help guide the user through the options available in the 2 The TopMenu has a Run Mode that is accessed while the 02 is in operation or a Stop Mode that is accessed when the Q2 is idle The Edit Menu and the Function Block Edit Menu can be accessed when in either ProgEdit or Monitor These menus can be used to create and or change programs steps or values Use the OK key to enter a programming option or to enter data into memory Set all the data on the screen before using the OK key to write the data to the system memory If there are multiple data screens in an option enter the required data and accept each screen with the OK key The ESC key will move the screen back to a higher menu option It will cancel any data input that has not been accepted with the OK key Note Use the ESC key to exit the option to the higher menu at times it will be necessary to press the ESC key a number of times to move through multiple programming layers MITSUBISHI 8 1 Q2 Simple Application Controllers System Menu 3 3 2 The Stop Mode 3 2 1 Top Menu When the Q2 is first turned On the Input Output Image Table will appear Press the OK and ESC keys simultaneously to move to the TopMenu If the TopMenu cannot be accessed the Menu Key has been set to Not Use Run Places the controller in Run mo
30. D day of the week hour 0 23 minute and Output ON OFF status Use the left right up and down buttons to move to different locations on the LCD display B001 TS 01 00 00 gt off The example screen shown at the right shows that the Output will turn ON at the following times B001 TS 01 1 34 K M W S 11 20 gt 0n The first week of the month on Monday Wednesday and Saturday at 11 20 AM The third week of the month on Monday Wednesday and Saturday at 11 20 AM The fourth week of the month on Monday Wednesday and Saturday at 11 20 AM 6 10 4 To Enter New Time Switches Enter the Function Block Setup Menu Enter OK until the screen at right appears Scroll down and enter NewData Choose either the Weekly or the Date type of switch The TimeSwitch has been created Please see section 6 8 5 for instructions on how to enter the data BO01 TS 01 xEdi tData NewData DelData MITSUBISHI 6 24 Q2 Simple Application Controllers Function Blocks 6 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 key Alternately when the Edit Data screen appears use the or keys to change the time switch number B001 TS 02 Thu 01 01 1998 00 00 gt 0ff Choose the E
31. Equations Filtered Process Value PV PV 4 PV PV 1 Filtered Set Value Vin con C 0pT SV SV BT SV S Y BT Deflection Error Value EV PV SV a Ts Integration Value I EV I Tp Derivative Value PV 2PV PV as K D E ER ls Control Value Change in Forward Operation x AMV K Ev EV fos D Control Value Change in Reverse Operation 3 AMV K EV EV 1 4 D Manipulation Value MV SY AMV a MITSUBISHI 8 9 Q2 Simple Application Controllers Appendix 8 Table 8 2 List of Additional Variables used in the PID equations Variable Description EV Deflection for current sample EV Deflection of previous sample In Intergration Value for current sample Kp Derviative Gain Kp Proportional Gain MV Output Value for current sample Manipulated Value PV Measured Value filtered for current sample PVin 4 Measured Value filtered for previous sample PVin 2 Measured Value filtered for two samples ago PV Measured Value for current sample SVin Set Value filtered for current sample SVm4 Set Value filtered for previous sample SV Set Value for current sample SVn4 Set Value for previous sample Tp Dervative Time Ti Integration Time Ts Sample Time AMV Change in Manipulated Value for the current sample a Proport
32. FB Value 8001 ADD DirectSet Analog In FB Value 5 Repeat step 4 for Constant B and return to the FBd using the ESC key a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 6 25 Subtraction Block The function block is used to subtract inputs B from A hence produce the resultant Y Table 6 33 Subtraction Function Block Function Set Item Description Input pin for subtraction function block This function block operates the expression Y A B The set value of A and B can be selected from the following three Sources FB 1 DirectSet Constant value setting range 32768 to 32767 with B an initial value O 000 2 Analog In Analog Input setting range A01 to A08 with an 1 gt P Fe initial input AO1 BUB 3 FB Value output value from a function block e 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 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 32768 Operation result Y232767 Output pin turned ON and the operation result Y will be set to 32767 Setup of the Subtraction 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 cur
33. Indicates the input is a reset pin 1 Priority FB a Set Exo b Reset s gt P O The output of the function block operates in either an ON or OFF R state RSR Sas 1 Set the output ON until the reset pin is ON Output 2 Decides the status of the output depending which input pin has priority 3 Remember Output Signal status after a power cut 1 Retentive Set Reset operation with reset priority Power supply Run mode ON Run mode Stop mode T OFF Stop mode Set pin OFF ON OFF ON Remember Reset pip Output Signal status after a Output pin OFF ON power cut 2 Retentive Set Reset operation with set priority Power supply Run mode ON Run mode Stop mode OFF Stop mode Set pin OFF ON Remember Reset pin OFF ON Output Signal status after a Output pin OFF ON power cut MITSUBISHI 6 104 Q2 Simple Application Controllers Function Blocks 6 Setup of the Retentive Set Reset 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 RSR Setup FE Change No Delete FB 3 The function
34. MV is applied If an MV is applied and the response of the PV is in the positive direction the system is said to be a Reverse type system Whereas if a the PV responds in the negative direction then the system is a Direct type of system The default setting for Direction is Reverse MITSUBISHI 6 60 Q2 Simple Application Controllers Function Blocks 6 Control Response When changes in the SV are necessary the user can select whether the changes from the initial SV to the final SV should be immediate or gradual There are three options for speed at which SV changes slow normal and fast With immediate or fast response the controller tends to overshoot its target With Normal Response there is less overshoot And finally with Slow Response there should be no overshoot at all Table 6 28 Coefficient Values for Different Response Times Response a B FAST 100 100 NORMAL 40 135 SLOW 0 100 Note In certain systems changing this parameter will have no effect on the response behavior of the controller PID Control after Auto tuning P PI PID The controller can be setup to run in one of three modes P control Pl control or PID control The desired control type will only become effective after auto tuning has completed The choice of control type should be made depending on the application For example if P control is a sufficient control method for the application then the
35. ON OFF ON once once twice Output 7 OFF NL IN i once lt gt lt twice three RP PA Off time times Off time Off time On time On time On time MITSUBISHI 6 20 Q2 Simple Application Controllers Function Blocks 6 3 Time control action registered number of times registered number of times Input pin I ON OFF Output f Off mes Off time On time On time On time On time Setup of the Flicker Function Block directly from the 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown B001 FL Time unit Setup FB Change No _ Delete FB 3 Press the OK key to set the Time unit for the delayed output Time unit 10 ms 100 ms 1 s 4 Press the OK key having selected the value for the flicker time unit and return to the function block edit screen Using the a and v keys highlight the Se OK key The screen displayed is shown 5 Select the On Time Off Time or Period option using the a and v OK key The On Time can be entered using the or keys 6 The OffTime can be entered using the or keys 7 The Period can be entered using the a and v Keys tup FB and press the B001 FL x OnTime OffTime Period Keys
36. Off On Off On On Off Off On On On On Off Off Off On Off On Off Off On Off Off On Off On Off Off Off On On Off Off Off Off Off a MITSUBISHI 5 3 2 Simple Application Controllers The Logic Function Blocks 5 5 3 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 90 The Output comes ON when the input is OFF RES The Output is OFF when the input is ON 1 gt If no Input pin is used the block output is OFF The electrical circuit for a NOT block is the same as a Normally Closed input Table 5 4 NOT Logic gate L NT Input Output On Off Off On 5 4 The XOR Block Exclusive OR The Output comes ON when one input is ON and one is OFF The Output remains OFF when both Inputs are equivalent either both ON or both OFF Unused Inputs are considered to be OFF 1 gt Table 5 5 XOR Logic gate 2 gt 00 JJ o XOR Input 1 Input 2 Output On On Off On Off On Off On On Off Off Off a MITSUBISHI 5 4 Q2 Simple Application Controllers The Logic Function Blocks 5 5 5 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 t 00 Unused In
37. Press the OK button and enter a value using the and buttons B001 PID Sample Time 0 50 S 10 Press the OK button to return to the function block settings menu Highlight Kp using the A and v button B001 PID Process Val Sample Time Kp 11 Press the OK button and enter a Kp value using the and buttons B001 PID Kp m 24 D Ve a MITSUBISHI 6 65 Q2 Simple Application Controllers Function Blocks 6 12 Press the OK button to return to the function block settings menu Highlight T using the a and v button B001 PID Sample Time Kp wT iz 13 Press the OK button and enter a T value using the and buttons B001 PID Ti qe 4 0 S 14 Press the OK button to return to the function block settings menu Highlight T using the A and v button B001 PID Kp Lt Tdi 15 Press the OK button and enter a T value using the and buttons B001 PID qb us rst 2i 00 s 16 Press the OK button to return to the function block settings menu Highlight Kq using the A and v button B001 PID Ti xKd 17 Press the OK button and enter a Ky value using the and buttons B001 PID Kd Un 50 18 Press the OK button to return to the function block settings menu Highlight NoiseFilter
38. Set value SV N HERD SS Time Sampling Time Ts Ts is the period of time between two measurements of the PV Values for Tg range from 1 to 32 767 in 10ms units The default value for Ts is 50 500 ms Noise Filter af The 0 coefficient determines the level at which the PID Function Block ignores noise from the input sensors on the input signal PV The coefficient can be adjusted to a value ranging from 0 to 99 Setting a to 0 disables the filter and passes the raw PV PV PV to the PID calculations The default value for o is 50 Auto tuning Bias AT Bias This value is an offset applied to the SV during Auto tuning The SV plus the AT bias is the threshold during Auto tuning where the output is switched from on to off During the Auto tuning calibrations the MV will be turned OFF when the PV passes the SV plus AT bias point and not the usual SV point without AT bias Refer to the Auto tuning section for more details The allowable range for the AT bias is 32768 to 32767 The default value for AT bias is O Note In some cases a physical limitation may make it undesirable for PV to exceed SV too greatly This feature is useful in those applications that require that the PV stay below or above the actual SV AT Bias allows the user to offset the SV to a point where overshooting and undershooting may occur without undesirable results Direction The direction of the system refers to the response of the PV as the
39. 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 d N 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 A01 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 Graph 11 The graph option allows graphical representation of data in the form of a horizontal bargraph therefore three parameters need to be entered to define the limitations The Length LEN value of the bargraph can be entered using the and keys Use the a and v to hightlight the MAX and MIN options accordingly The Maximum MAX and Minimum MIN values can be entered using the and keys Refer to Table 6 16 for ra
40. The output or MV is driven to its upper limit value until the PV reaches the SV plus the AT bias if there is one then it is driven to zero until the PV reaches the SV again This is repeated several times Figure 6 22e Auto tuning for Direction type Reverse default MV ULV PV Set value AT bias Set value In this case AT bias is positive time s Figure 6 22f Auto tuning for Direction type Direct MV ULV PV Set value Set value AT bias In this case AT bias is negative time s The figures above indicate the behavior of the MV and the PV for a Reverse Direction example system and a Direct Direction example system During Auto tuning the MV is driven to its upper limit value and to its lower limit value periodically and the response of the PV is monitored The controller then calculates the parameters Kp Tj and Tp from the behavior of the PV over time a MITSUBISHI 6 62 Q2 Simple Application Controllers Function Blocks 6 The controller then records the way that the PV behaves and derives the correct parameter using the Ziegler and Nichols formulas below See Figures 6 22e and 6 22f for the definintions of a T and Ton Table 6 29 The Ziegler and Nichols formulas P PI PID Unit Proportional gain K 1 0 9 1 2 1 a a a Integration time T T T 100 ms o 33 1 207 1 T T Derivate time T T 10 ms 0 0 50r 1 4 T See figures 6 22e and 6 22f
41. When entering character strings choose the desired character with the a or v keys Move to the left or right with the arrow keys Accept the data with the OK key after all the data has been entered Water Pump Is On The display shows On screen only when the input is activated a MITSUBISHI 6 37 Q2 Simple Application Controllers Function Blocks 6 6 16 2 Editing Data Onscreen Values in Function Blocks time and date can be changed using the front panel keys During the function block setup when the type of data to be shown onscreen is chosen e Function Block Date or Time type the key to place the Display Block in the front panel edit mode An e will appear when the is depressed When the program is in Run depressing any key that is not used elsewhere in the program will cause one set of data onscreen to flash If multiple entries can be edited use the arrow keys to choose the data to change To edit the time or date press OK key when the appropriate data is flashing Edit as required and accept with the OK key To edit the function block values proceed to the value to be adjusted as described above Use the and keys to adjust the value onscreen and in memory To exit to the Top Menu press the ESC and OK keys simultaneously The Display edit mode can be removed from the program by entering the key in the function block setup when the e
42. and press OK The OR block and the OS block can now be connected through the Clear pin picture Since the OS Input pin on top has already been filled there can be no further connection to that pin Connect NEN OR Los Press OK to accept the connection to the C or Clear pin They are now connected together 002 001 gt P OR OS Use the Jump Command Section 4 6 3 Press the ESC key to enter the Edit Menu Choose the Jump option Use the key to move to the column Use the key to move to 103 and accept with the OK key Input 103 should now be shown on the LCD Edit Menu ProgSize Jump New FB Exit Mnemonic Connect to the OR block scroll to BO2OR it should not be necessary to move in this case OK OK a MITSUBISHI 7 3 Q2 Simple Application Controllers Let s Make a Program 7 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 003 L SR 7 3 5 Connect the Function Blocks from Right to Left Section 4 2 2 Move to the left until one of the two input pins is flashing The top pin is the Set pin which will be connected to the OS block The Reset pin on bottom will be connected to the OR block Move to the Set pin
43. and press the key the available blocks to add will be shown on the left of the screen Scroll down through the choices until BO1OS is shown picture Use the OK to choose the block then the OK key again to confirm the choice 0010S S P 0020R Connect EO04 PT Use the v arrow to move down to the Reset pin Connect the OR block using the same procedure scroll v to BO2OR OK OK Move to the SR output pin and connect Output O02 using the Left to Right method of connecting blocks gt scroll to O02 OK OK Move back to the left one space The following diagram should now be showing on the LCD 003 001 P E002 002 SR a MITSUBISHI 7 4 Q2 Simple Application Controllers Let s Make a Program 7 7 4 Set up the Function Block Parameters Section 4 5 1 The options for the Function Blocks now need to be Set Move left until the SR Function Block number 03 is flashing Press the OK to enter the FB Edit Menu and press OK again to enter the Setup FB option Choose the Reset option and enter the data into program memory with the OK button B003 SR Priority Set Reset This is the only option in the SR Function Block Use the ESC key to return to the Function Block Diagram board The OR Block like all the Logic Blocks does not have any parameters that can or need to be set
44. be stand alone It takes place for any combination of numbers Using the one CD FB can switch for a group of phone numbers Table 6 49 Phone numbers and Outputs FB number Caller s phone number FB Output 49 21 02 12 34 56 7 49 21 02 12 34 56 7 Switched ON 49 21 02 12 34 56 7 49 21 02 12 34 56 8 no change 49 21 02 12 34 56 7 49 21 02 12 34 no change 49 21 02 12 34 56 7 49 21 02 12 34 56 78 no change 49 21 02 12 34 56 7 49 21 02 12 34 56 7 no change 49 21 02 12 34 56 49 21 02 12 34 56 7 no change 49 21 02 12 34 56 49 21 02 1234 56 7 Switched ON 49 21 02 12 3 49 21 02 12 34 56 7 Switched ON 49 21 02 12 3 49 21 02 1234 568 Switched ON 49 21 02 12 3 49 21 02 12 34 56 78 Switched ON Any phone number Switched ON Any international phone number Switched ON a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 The phone number detection is inactive for 15 seconds after the last RING A new incoming call within this guard time has no effect 4 Sample VLS Program Open roller shutter by phone call SMR sample program m 106 E SM Command for Wait Time Start imzation 120 ShtCommandforRurtime Imgate time 30 6 32 1 Number of RING The number of RING before detection can be setup in FB parameter It is common for all CD FB The number of RING is the number of RING notifications the
45. changing modes in the previ ous description select Calibrate from the Analog input settings menu 4 Select 200 C for the PT100 input or 450 C for the TC input and press OK This completes the gain calibration procedure Fine Adjust for the Offset 1 Select Others from the TopMenu either in Stop or Run Mode 2 After setting the mode to TC or PT100 select OffsetFine from the Analog input settings menu 3 OffsetFine can be adjusted while in Run or Stop Mode Use the and buttons to select the appropriate offset value Note The fine adjust step size for the PT100 mode is 0 5 C and 1 0 C for the TC mode The Fahrenheit step sizes are 0 9 F and 1 8 F respectively MITSUBISHI 3 24 Q2 Simple Application Controllers System Menu 3 o 3 7 3 7 1 3 7 2 To change the temperature scale setting Stop Mode only 1 Select Others from the TopMenu while in Stop Mode 2 Select Analog In 3 Select TempScale 4 Select Celsius or Fahrenheit Note In Run Mode the temperature scale can be checked but cannot be changed Note System flags M17 through M24 correspond to the 8 possible temperature input channels 101 through 108 When the analog input is configured for TC or PT100 input these system flags will detect a defect in the ADP module s operation An input voltage of more than 11 volts will set the corresponding flag and indicates a sensor problem An input vo
46. for the definitions of A t and Tan Consequently if the system is moderately linear the Auto tuned parameters will be sufficient to control the PV if the SV is changed Auto tuning will not need to be performed again The following parameters should be adjusted before starting the Auto tuning Direction of operation to ensure that MV drives PV in the correct direction Set Value Changes during Auto tuning are not effective e Sample Time Must be larger than the maximum system scan time Noise filter e Desired control characteristic after Auto tuning P PI or PID control Output Upper and Lower limit values AT bias The following parameters may also be set before Auto tuning but they do not influence the process Derivative gain Control Response type fast normal slow Note concerning the VLS Programming Language Upon the completion of Auto Tuning the program in the controller will be updated with the new PID parameters If VLS was monitoring the controller before the Auto Tuning function was started monitoring will STOP a message box will appear and VLS will return to the Editing mode The updated program must be uploaded to the PC to begin monitoring again MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 6 22 6 PID Troubleshooting For some systems the Parameter values derived from the Auto tuning process will be less than optimal If Auto Tuning derives such parameter v
47. function block operation Refer to the Communication Manual for detailed explanations concerning the GSM functionality of the 0 2 Series controllers 1 Cmnd String Cmmand String In case of Word output mode only one command text can be setup In case of Bit output mode a command text for switching bit output ON and a command text for switching bit output OFF can be setup 2 SM Age Short Massage age Setup maximum age of received short message a 5 to 720minutes Unit 5minutes b 12 5 to 24Hours Unit 30minutes c 2 to 30day Unit 1day d 5 to 63week Unit 1 week 2000 3 Phone Number EX P Lo Setup short message senders phone number R By setting the phone number in FB parameter only the Short Message Entity SME with the setup phone number can manipulate a iz SM SMR FB FB Up to 28 characters including 0 123456789 4 Password Setup authentication password 4 digit code The password is common for all SMR FB and stored in Programm Parameter area 5 Acknowledge If this parameter is set and the FB output was manipulated by SM a acknowledge message is send back to the sender 6 Retention If this flag is set the SMR FB keeps it s output states at the time of controller power down 7 Upper Limit Word output mode In case the transmitted value is bigger than the max value max value becomes active Max Value can be min value 1 32767 8 Lower Limit Word output mode In case the transmitted
48. gr TSV OBT SV SV BT SV i S BT Deflection Error Value EV PV SV Integration Value I Ts Ey T Derivative Value L2 Pv 2PV PV y K5D 1 Bet UN ER Control Value Change in Forward Operation AMV K EV EV I D Control Value Change in Reverse Operation AMV K EV EV 1 D Manipulation Value MV Y AMV Table 6 26 List of Additional Variables used in the PID equations Variable Description EV Deflection for current sample EV Deflection of previous sample In Intergration Value for current sample Kp Derviative Gain Kp Proportional Gain MV Output Value for current sample Manipulated Value PV Measured Value filtered for current sample PVin 4 Measured Value filtered for previous sample PV n 2 Measured Value filtered for two samples ago PV Measured Value for current sample SVin Set Value filtered for current sample SVin 4 Set Value filtered for previous sample SV Set Value for current sample SVn4 Set Value for previous sample Tp Dervative Time MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 Table 6 26 List of Additional Variables used in the PID equations Variable Description Ti Integration Time Ts Sample Time AMV Change in Manipulated Value for the current sa
49. inputs are ON then the output 4 AND j i L_ is ON otherwise output is OFF 1 00 This function executes logical OR operation on given input signals The input signals OR 2 gt 1 0 connected should be of bit input type only 4 49 Byte 5 2 3 gt Bit input pins and 1 Bit output pin If all the y 4 OR inputs are OFF then output is OFF Er otherwise output is ON 00 This function executes logical NOT o operation on given input signal The input NOT 1 gt H signal connected should be of bit input type 10 Byte 5 3 only 1 Bit input pin and 1 Bit output pin NT Output is negation of Input given 00 This function executes logical XOR operation on given input signals The input XOR 1 gt al O signals connected should be of bit input 13 Bvte 54 2 gt type only 2 Bit input pins and 1 Bit output y pin If both the inputs are either OFF or ON __XOR then out put is OFF otherwise output is ON 1 gt 00 This function executes logical NAND operation on given input signals The input NAND 2 gt al O signals connected should be of bit input 19 Bvte 5 5 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 1 gt 00 This function executes logical NOR operation on given input signals The input NOR 2 gt al 0 signals connected should be of bit input 19 Bvte 5 6 3 gt type only 4 Bit input pins and 1 Bit output y pin If all the inputs are OFF t
50. 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 port Not Use Modem GSM or Other Com Light Time Set the backlight off delay time Analog In Indicates the current modes Normal TC or PT100 of the Analog inputs and the menu item for changing the temperature scale C or F that the controller displays Also contains the menu items for calibration and offset adjust ProgClear Completely clears the system memory including Password protected programs Only the active memory is cleared i e if a memory cassette is installed the memory cassette program will be erased but the controller memory will be retained ProgTran only appears if a cassette is installed Verify Cassette gt the cassette writes to the 0 2 Cassette lt the cassette reads from the 012 and ProtectSW are the options available MITSUBISHI 3 6 Q2 Simple Application Controllers System Menu 3 Figure 3 5 Others Menu in Stop Mode Operation Others D Version An 8 Refer to ee Figure 3 1 Mie tos Scan Time l Scan Time Scan Time Monitor 4 Cur Oms Max 12ms Min Oms Reset Reset ek Scan Tim
51. knowledge of the controller s processing algorithms Care should be taken to avoid situations in which two or more analog output function blocks may conflict Table 6 15 Analog Output Function Block Function Set Item Description The digital value to be converted is entered on this word input pin M Output Mode If OFF voltage mode is selected if ON current mode is selected If not connected voltage mode is selected default 000 E D A conversion is only effective when Enable is ON An unconnected M gt P enable input defaults to ON x AO The following two set item exist FB 1 Digital word input to be converted by D A conversion Source can be a constant an analog input or the WORD output of a FB 2 Select which channel channel 1 or 2 to use on the 2DA board Output 1 Bit Output pin When converting digital to analog this pin is ON Output Characteristics IDEA rc 20 TEMA ed TOV grt ee Goo 20MA gt adt Analog Analog output output 4mA 4000 4040 2000 2020 Digital input Digital input Set up of the Analog Output Function Block directly from the 2 Series Controller 1 Allocate the input pin to be used for the function block a MITSUBISHI 6 31 Q2 Simple Application Controllers Function Blocks 6 2 Press the OK key with the cursor in the function block The function block edit scre
52. more resource intensive l and D control can be switched off to shorten the scan time Changing the MV Current Value This function is only available in the VLS Programming Language Click Change Current Value to force the MV to another value This function is useful when manually fine tuning the PID parameters ze Direction r Integration time C Forward Reverse 40 A s 100ms 0 to 32767 Fantral resnanse Derivative Gain 50 Time Current Manipulated value 3 0 to 100 a E r Dutput limit value 22768 to 32767 Lower o Upper zi 0 to Upper Close Write To Controller Help 6 22 4 Limiting the Manipulated Value The PID function block dialog box contains an area for setting upper ULV and lower limits LLV for the output or the MV Possible LLVs range from 0 to the ULV and possible ULVs range from the LLV to 4000 Figure 6 22d MV with Upper and Lower Limits Upper Limit MV Lower Limit a MITSUBISHI 6 61 Q2 Simple Application Controllers Function Blocks 6 6 22 5 Setting Kp T and Tp with Auto tuning Auto tuning can automatically calculate and set the Kp Tj and Tp control parameters eliminating the need for the user to set them manually Auto tuning measures and uses the characteristic responses of the system to determine the parameter settings for the PID function block See the Timing Diagrams above for correct usage
53. of the count settings can be entered Press the OK Key and an Analog In function block value can be entered B001 UD Di rectSet Nor oe n 0 B001 UD DirectSet Analog In FB Value Press the OK key and using the ESC key return to the function block edit screen a MITSUBISHI Q2 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 14 Compare Function Block Function Set Item Description Input pin for compare operation The following three set items exist 1 Compare Value 1 V1 a DirectSet Constant value setting range 32768 to 432767 with 000 an initial value O P Lo b Analog In Analog Input setting range A01 to A08 with an initial input AO1 CP c FB Value output value from a function block FB 2 Operational Expression gt gt lt lt lt gt 3 Compare Value 2 V2 a DirectSet Constant value setting range 32768 to 32767 with an initial value O b Analog In Analog Input setting range A01 to A08 with an initial input AO1 c FB Value output value from a function block Output If Compare value 1 V1 and Compare value 2 V2 satis
54. of the following symbols are encountered its associated note must be read and understood Each of the symbols used will now be listed with a brief description of its meaning Hardware warnings 1 Indicates that the identified danger WILL cause physical and property damage 2 Indicates that the identified danger could POSSIBLY cause physical and property damage 3 Indicates a point of further interest or further explanation OPE o o o o o 2 4 Indicates special care must be taken when using this element of software 5 Indicates a special point which the user of the associate software element should be aware of 6 Indicates a point of interest or further explanation Qoo MITSUBISHI i 02 Simple Application Controllers a MITSUBISHI Q2 Simple Application Controllers Table of Contents Safety G uldelltiGs isse iterom adr e Ended Ac iii je icioleii eno Mc 1 1 1 1 Special Features of the Controller ccccccccccnnnnnnnnnncnnnnnnnncnnnnnnnnos 1 1 T2 Model NaITIG Artie 1 2 1 3 Version Up ES ds 1 3 1 4 Applicable Programming Software ooooonicccccnccccocccccccnconnnnnancnnnncnnannnnnos 1 3 2 Function Block Programming eeeeeesesee 2 1 2 1 Block Type and the FBD base ici 2 1 A DA 2 2 2 1 2 Front Panel Keys oiii taroen arrastras ia 2 2 2 1 3 System Memory BIS ous een rero ttt e dame torear 2 3 2 014 FUNCION BOCK Se icant tg atac
55. press the OK key 2 From the options that appear scroll to DispPass and press the OK key 3 Select a security level with a key icon by it 4 Enter the appropriate level Password with the and directional buttons 5 Press OK to deactivate the password To change a password To change a password perform the To remove the Level 1 Level2 or Level 3 Passwords procedure then the To set the Level 1 Level 2 or Level 3 Passwords procedure from above The example window below shows how to assign a password to a function block parameter being displayed on the front panel In this example the SpeedDetect function block has been used 1 Select the parameter that will be displayed in this example SetPeriod 2 Select the security level 3 Assign the password in the Password Dialog Box Bo g r Comment User Option Password M Special Key I Nisnlan Camment Input Password to protect your function block Max Length HAS eres 1 tPeriod hd ESS erae Cancel Help a MITSUBISHI 3 19 Q2 Simple Application Controllers System Menu 3 3 6 7 Password The password consists of four digits and will prohibit entry into the ProgEdit Monitor Disp Pass and Serial Com modes only All other menu options can be accessed when a Password is used To Enter a Password 1 Select Others Menu Option 2 Select Password from the Others Menu Options 3 Use the
56. 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 The speed detect function block is used to count incoming pulses however for normal inputs without the AL2 4EX expansion module connected the incoming pulses are restricted to 20Hz The AL2 4EX with inputs El1 or El2 expansion module allows for 1KHz incoming pulses to be measured Table 6 21 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 cor 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 ps P P FB Otherwise 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 v
57. the o 0 01 Fahrenheit scale 0 75 0 01 to 327 67 Figure 6 22a Characteristic response for different Kp parameters PV t Set value SV AS Process value PV T offset error KP3 gt KP2 gt KP1 Proportional gain gt Time Integration Time T A common problem with P control is that it tends to stabilize the PV ata value not equal to the SV this is called an offset error With Pl control a temporal integration factor is added to deal with this problem The idea behind Pl control is to ramp up the effect of P control if an offset error persists over time The T parameter can be set manually or automatically with the Auto tuning function The default value for T is 40 4 seconds but can be set to any value within the range of 1 to 32767 in 100ms units When a small value for T is set the PV will reach the SV within a relatively short amount of time with greater searching e g more overshoot and more undershoot for the SV Note Setting zero for this variable disables the integration effect Figure 6 22b Characteristic response for different T parameters i Te did A gt s A A seen eee aise Es Process value in Pl action Set value ra E z X Process value in P action SV 35 Ti2 TH 4 Ip O lt Tis Ti2 TH Time MITSUBISHI 6 59 Q2 Simple Application Controllers Function Blocks 6 Derivative Time and Derivative Gain Tp a
58. the Function Block number is flashing Setup FB Set variables in the Function Blocks for your application See Chapter 6 for more details on each Function Block s Options The logic functions in Chapter 5 do not have Setup Options Change No Change the Function Block Number Delete FB Delete Selected Function Block a MITSUBISHI 8 15 Q2 Simple Application Controllers System Menu 3 3 6 3 6 1 3 6 2 3 6 3 O Option Screen Setup Various options have been provided for ease of use or for safety purposes Please set as your needs require All of the options in this section can be accessed from either the Run or the Stop Menu ProgEdit Refer to chapter 4 Direct programming for detailed instructions on programming the 02 Series Controller Change the Language Setting 1 Turn the 02 On 2 Press pe OK and ESC buttons simultaneously to go to the TopMenu or reset the controller 3 Scroll to the LANGUAGE option and press the OK key The TopMenu entry LANGUAGE is common for all languages 4 Scroll to the desired language and press the OK key The languages available are English German French Italian Spanish Swedish and Russian 5 Use the ESC key to exit to the Topmenu 1 Ver 3 00 or later 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 p
59. the block Output will turn ON The Hour Meter will continue recording time after the Output time is reached A signal to the Clear pin will reset the current time value to zero In the case of Ver 3 00 or later The actual values of Hour Meter FBs 197 200 are saved to EEPROM The EEPROM can be written up to 10 000 times Table 6 20 Hour Meter Function Block Function Set Item Description 000 HM Input pin for hour meter operation C Clear pin for function block FB 1 Time units are either hh mm or mm ss 2 Time setting range a 0 32767 hours with an initial value O b O 59 minutes with an initial value O C O 59 seconds with an initial value O Output 1 The output is turned ON after the set time has elapsed 2 The function block retains the previous value if there is no signal from the input pin and restarts with this value when the input is given a signal again 3 The current time value is reset if the clear pin receives a signal 4 The following items are available for other function blocks a In hh mm setting e Set Hour Current Hour Set Minute Current Minute b In mm ss setting Set Minute Current Minute Set Second Current Second MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 Hour operation time chart timekeeping Start Suspe
60. 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 31 Retentive Alternate Function Block Function Set Item Description 000 RAL Input pin for retentive alternate function block C Clear input pin resets the state of the output regardless of the input given FB Retentive alternation of the output status Output The output is affected in the following operation 1 Reverse the ON OFF state of the output whenever the input signal s ON OFF operation to the input pin is turned ON ON to OFF or 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 Power supply an oe ON Run mode op mode OFF Stop mode Input pin OFF KON Clear pin Pepi utput Signa ba eae status after a Output pin OFF ON power cut z s MITSUBISHI SeS Q2 Simple Application Controllers Function Blocks 6 6 24 Addition Block The function block is used to summate inputs A and B hence produce the resultant Y Table 6 32 Addition Function Block Function Set Item Description Inp
61. to accept the new number Delete FB This menu option will Delete the current Function Block After the Delete FB is chosen confirm the delete operation with OK or use the ESC key to cancel the function All connections to the Function Block will be removed with the block a MITSUBISHI 4 3 Q2 Simple Application Controllers Direct Programming 4 4 6 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 and keys When the block number is flashing on screen press the key to scroll to the higher value of the same block type e g move from 101 to 102 to 103 until the highest value is reached The scroll will then proceed to the lowest value of the next block type The same technique will work for the key in the opposite direction Function Blocks can be scrolled through in the same manner although only the Function Blocks are rotated through in this case 4 6 2 Movement Between Connected Blocks The Right arrow moves horizontally to the right along the path of connections between blocks If an output pin is connected to multiple input pins the current path will flash The Up and Down arrows can be used to choose the desired path The left arrow will move back along th
62. will accept the data for the entire screen If the OK button is pressed before all the data on the screen is input re enter the screen and input the data Data can be changed or edited in the same manner B001 08 OneShot T 20 0s t 0 0s Press the OK button to accept the values above Move down to the Priority option and press the OK button The Priority can be set for either Time or Input B001 0S Priority xTime Unput Move to the Time option and press the OK button All the screen data has now been set Return to the FBD using the ESC button See Chapter 6 for details on the One Shot FB Exit the Function Block Diagram board The programming is complete To exit the FBD press the ESC key to bring up the Edit Menu Scroll to the Exit option and press OK to move to the Stop Mode TopMenu a MITSUBISHI 7 6 Q2 Simple Application Controllers Appendix 8 8 8 1 Appendix Associated Manuals Manual Name Manual No Description This manual contains hardware explanations of Q2 Hardware Manual JY992D97901 wiring installation and specification etc regarding the 012 Series Controller a Soft M This manual contains explanations of operation O K MarS anua JY992D74001 regarding AL PCS WIN E Programming lt English only gt Software 012 Series Communication This manual contains setup explanations for
63. 00 initial input AO1 P c FB Value output value from a function block ST 2 Input input value 1 x a DirectSet Constant value setting range 32768 to 32767 with FB an initial value O b Analog In Analog Input setting range A01 to A08 with an initial input AO1 c FB Value output value from a function block 3 High compare value H a DirectSet Constant value setting range 32768 to 32767 with an initial value O b Analog In Analog Input setting range A01 to A08 with an initial input A01 c FB Value output value from a function block The compare instruction is only performed if the input signal is ON Output Status refer to the operation time charts for schmitt trigger condition Output a MITSUBISHI 6 43 Q2 Simple Application Controllers Function Blocks 6 1 High Value Low Value Input pin OFF ON Limit H Input value I Limit L Output 2 Low value gt High value Input pin OFF ON Limit L Input value I Limit H Output OFF ON 3 High value Low Value Input pin ON OFF Limit L Limit H Input value I T Output ON OFF Note 1For Analog or FB value inputs the lower and upper limits are not equal MITSUBISHI 6 44 Q2
64. 2 A tid a e es Spain 34 93 589 1579 A A totque dut den ers United Kingdom 01707 278 695 Please tick the box of your choice What condition did the manual arrive in LlGood Minor damage LlUnusable Will you be using a folder to store the manual Yes LINo What do you think to the manual presentation Tidy LlUnfriendly Are the explanations understandable Yes LINot too bad Unusable Which explanation was most difficult to understand cecceeecee cece eeeeeeee tees eeeeeeeeeeeeeeeeeeseeeeeeees Are there any diagrams which are not clear Yes LINo I SO WhICh osos ecc add nen What do you think to the manual layout Good Not too bad Unhelpful If there one thing you would like to see improved what is it ooooconinonncccnnnnnnconancccnnnnnnnnanann noo Could you find the information you required easily using the index and or the contents if possible please identify your experience ssssssss HH Thank you for taking the time to fill out this questionnaire We hope you found both the product and this manual easy to use MITSUBISHI i Q2 Simple Application Controllers Guidelines for the safety of the user and protection of O 2 Simple Application controllers This manual provides information for the use of Q2 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 a Any enginee
65. 3 7 7 bits In GSM refer to Figure 3 8 Parity r Parity None Odd Even Stop bit r gt Stop bit SA 2 bits Baudrate r Baudrate 300 bps 600 bps 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps When setting for GSM 300 to 4800 bps will not be displayed Default EN MITSUBISHI 3 10 Q2 Simple Application Controllers System Menu 3 Figure 3 10 Analog Inputs Setup Menu in Run Stop Mode Operation s Analog In 4 4 101 101 1012 In Stop mode a Mode Normal refer to Figure 3 5 TC In Run mode refer to Figure 3 13 A 102 TC 102 1027 gt Mode Normal TC PT100 Calibrate 1027 Calibrate 50 C 450 C Offset fine 102 a Offset fine 0 C 103 PT100 103 103 4 Mode Normal TC PT100 Calibrate 103 e Calibrate 50 C 200 C 108 Offset fine 103 a4 Offset fine 0 0 C Temp Scale Analog In 4 Temp Scale Celcius Fahrenheit 1 This display example is set to 101 108 as follows 101 104 108 Normal setting Default 102 TC setting 103 PT100 setting 2 n Run mode this screen can not be displayed 8 In Run mode these items can not be selected 4 n Run mode this setting can not be changed a MITSUBISHI Q2 S
66. 87569 ofl E mail newaddress newaddress de Cancel Help This box will open the SMS Setting Dialog box The information for the destination locations is entered in the SMS Setting dialog box but the final destination is chosen in the Destination area described below Destination The Destination telephone numbers and e mail Gateway parameters are shown Choose the desired destination phone number or Gateway setting for the specific GSM SMS Function Block The choice of a mobile phone number will complete the selection process If the Gateway setting is chosen the destination e mail address must be entered in the E mail box Every GSM SMS FB can have a different e mail address Press the OK button to accept the settings a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 6 30 8 SMS Setting Dialog Box The SMS Setting Dialog box is accessed from the Short Message Service SMS dialog box in any GSM SMS Function Block by clicking the Setting button on the example window above The SMS Setting dialog box is not specific to a single Function Block The parameters entered here apply to all Function Blocks The parameter settings are the data required by the SMS service provider to set up the final destination points Messages can be sent to 1 three telephone numbers or 2 two telephone numbers and one Gateway number The same Gateway can be used for multiple e mail addresses so that the only
67. Blocks The individual Function Blocks are described in detail in Chapters 5 and 6 Function Blocks can have 0 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 number and block mnemonic are shown in the top right and bottom right locations respectively Output Blocks Output Blocks have one input and one output pin They only have the capacity for one input signal through the input pin The Output Block number and Mnemonic are shown in the top right and lower right hand corner of the diagram respectively Connected Blocks Blocks that are connected can be shown simultaneously onscreen The block providing the output signal will be shown on the left of the screen The input pin accepting the signal will flash Any input pin that is already connected will be shown as a solid triangle MITSUBISHI 3 26 Q2 Simple Application Controllers Direct Programming 4 4 4 1 4 2 4 2 1 Direct Programming The 2 can be programmed using the front panel keys on the 2 series controller The following sections will describe how to connect disconnect function blocks set program parameters add Function Blocks and move around within the program The ProgEdit mode in the Stop Menu has full programming capability The Monitor mode in the Run Menu has t
68. C key to enter the Edit Menu Use the Exit option to go back to the TopMenu Erase the memory using ProgClear and begin again 7 39 1 Adding Function Blocks by the Left to Right method Section 4 2 1 The first block that is shown will be the Input Block 101 with the Input number 01 flashing Press the or keys to scroll through the available programming blocks including Outputs M bits Keys and the Inputs Return to 101 Press the arrow key The output pin should now be flashing F0 1 Im Press to attach a function block to Input 101 The options available to connect to the Input block will be shown on the right hand side of the screen Use the a and v arrows to move to the option to select AddFB Enter OK 01 TEX gt AddFB Connect The FB select menu containing all 35 Function Blocks including logic blocks will appear picture Again use the a and w arrows to scroll to the desired Function Block in this case the One Shot OS Function Block Use the OK button to accept FB Select RetentAL Flicker OneShot The OS block has two input pins the Input Pin on top and the Clear Pin beneath Use the a and v arrows to choose the desired pin in this case the Input pin Confirm using the OK button 01 001 gt P In OS Use the p arrow twice to move right until the OS output pin is flashing picture Enter t
69. Changes for the Better e MITSUBISHI SIMPLE APPLICATION CONTROLLER e SES say ay 2G TA ESI ee 10 1 12 19 14 15 e6666600006000600600600 9 POWER 24V DC MITSUBISHI F DE e0000 AL2 24MR D RELAY OU PROGRAMMING MANUAL 02 SIMPLE APPLICATION CONTROLLER 0 2 Simple Application Controllers Foreword This manual contains text diagrams and explanations which will guide the reader in the correct programming and operation of the 2 series controller e Before attempting to install or use the 12 Series Controller this manual should be read and understood e f 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 e fin doubt about the operation or use of the Q2 Series Controller please consult the nearest Mitsubishi Electric distributor Under no circumstances will Mitsubishi Electric be liable or responsible for any consequential damage that may arise as a result of the installation or use of this equipment All examples and diagrams shown in this manual are intended only as an aid to understanding the text not to guarantee operation Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples Please contact a Mitsubishi Electric distributor for more information concerni
70. Data Edit the data for the time switch number shown in the top line NewData Add a new 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 MITSUBISHI 6 23 Q2 Simple Application Controllers Function Blocks 6 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 B001 TS 02 Thu 01 01 1998 00 00 gt 0f f 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 The day of the week is automatically updated when the date is changed B001 TS 02 Fri 03 08 2002 09 0020n A Monthly mode is also available to the user for direct per month setting The user can set an ON or OFF condition for a specified date of the month The time switch can also be programmed to perform on a yearly basis Reduce the year to below 1998 the numbers signifying the year will display as and the day of the week message will appear as Yearly The operation will perform each year on the specified date 6 10 3 For the Weekly Operation The Weekly Calendar is shown at right The setting options include week of the month 0 5
71. EX3MADnDnYOL UII b bl ba lOH6Brnue xasuhknMHoncrTycuul uliesb b3 08 MITSUBISHI 6 92 Q2 Simple Application Controllers Function Blocks 6 6 31 3 Example of received SM Example 1443 Heater ON Light on switch xmastree water 1233 CntDown 23 This SM contains the password 1443 the command Heater ON FB bit output ON or OFF depending on FB setup the command Light on FB bit output ON of OFF depending on FB setup the command switch xmastree FB bit output ON of OFF depending on FB setup the command water 1233 which setts the word output of a SMR FB to the value 1233 the command CntDown 23 which sets the word output of a SMR FB to the value 23 Report Short Message Handling For use of the report short message function the phone number of the Short Message Service Center must be setup in the program This can be done by 2 programming or by VLS is the GSM SMS FB setup Acknowledge messages Condition Transmitted Short Message QX2 in Run Mode all commands of SM successfully processed OK 02 in Run Mode some commands in SM were erroneous Error 2 in Run Mode Sender of SM has no authorization No access ea in Run Mode Password Protection Set Password invalid or not No access For sending of report short messages the Short Message Service Center SMSC must be setup by using the GSM SMS FB Receive Time Out After sendin
72. Function Block directly from the 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown B001 PID Se tup FB Change No Delete FB 3 Press the OK button to setup the parameters for the PID function block B001 PID Set Value Process Val Sample Time MITSUBISHI 6 64 Q2 Simple Application Controllers Function Blocks 6 4 Highlight SetValue and select it using the OK button Choose from DirectSet Analog In or FB Value for the Set Value of the PID function block B001 PID DirectSet Analog Tn FB Value 5 After selecting the appropriate constant analog input or word output press the OK button to return to the function block settings menu B001 PID Set Value Process Val Sample Time 6 Highlight and select Process Val using the OK button Choose from DirectSet Analog In or FB Value for the Process Value of the PID function block RUE PID DirectSet Analog Tn FB Value 7 After selecting the appropriate constant analog input or word output press the OK button to return to the function block settings menu B001 PID Set Value xProcess Vaf Sample Time 8 Highlight Sample Time using the up and down keys B001 PID Set Value Process Val Sampie T ime 9
73. 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 ZC Setup FB Change No Delete FB 3 Press the OK Key and enter the function block settings using the and keys B001 ZC CmpVal L L lt 1 lt H S i 0 4 Pressing the OK invokes the input data type menu BOO1 20 DirectSet Analog In FB Value 5 Press the OK Key and a DirectSet value can be entered B001 ZC CmpVal L DirectSet 0 6 Press the OK Key and an Analog Input in can be entered B001 ZC CmpVal L Analog In A0 t 0 7 Press the OK key and data from another function block can be entered B001 ZC CmpVal L Not Exist Valid FB 8 Having set the L and H condition using the same procedure and specified the Set or Reset while in zone compare area use the ESC key to return to the function block edit screen MITSUBISHI 6 42 Q2 Simple Application Controllers Function Blocks 6 6 18 Schmitt Trigger Block The Schmitt Trigger is used to compare an Input value against a specified high and low limits thus turn the Output ON OFF when certain conditions are met There are three values that must be set the Input Value the Low Limit and the High Limit All three values can be eith
74. IN code enter the PIN Code option and confirm Da E i 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 Set SMS Short Message Service Parameters PRE The SMS menu is used to set the telephone numbers for the Service susc Provider the destination numbers for cellular phones the access code SMSC2 for e mail messages and the Validity Period of the messages DA1 DA2 DA3 B NT The SMS Service Provider Mobile Access Number SMSC1 Set SMS 01 The SMSC1 is the number used to access the Service Provider section SMSC 1 for mobile phones Choose the digits and symbols using the a and LE y keys After the digit is set move to the left or right with the and 9 0123 a 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 ak symbols using the a and w keys After the digit is set move to the 9 I0123 left or right with the and 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 DA
75. 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 D C Clear pin for the function block P Preset signal input pin for the up down function block The set value of the function block can be selected from the following three sources aay 1 DirectSet Constant value setting range 32768 to 32767 with an P 0 doin F FB initial value O vou uD 2 Analog In Analog Input setting range A01 to A08 with an initial input A01 3 7 FB Value output value from a function block Increments a positive count if a signal is received from pin U 2 Increments a negative count if a signal is received from pin D 3 YS YS lo If pin U and pin D receive a signal simultaneously the current count will not change Output 4 The ON status of the output is set from the current value equaling P or exceeding the set value 5 The current value becomes the set value if the preset pin P is ON the status of the output becomes ON 6 The following item is available for other function blocks a Current value b Setting value 1 Counter Operation of input pin U input pin D current value and output ON Input pin U OFF
76. Number E r A Tu in ax eng 1 1 1 Starting position of Text X ui m Display Ratio 6 1 Y E L F C 110 A C 1 100 am e Du Gain nalogyal Y Cancel Help Warning Message is overlapped Choosing Analog Input on step 6 Display of B06 Bor poa 809 m Comment User Option Po v Special Key 7 Display Comment Security Level 0 E Graph v Display Signal Numb p isplay Signal Number Min He oem E E 5 fi fi r Starting position of Text ij ES x ES 1 z Display Ratio 1 1 Y E E fi F Cm y C Om 71 1000 Cancel Help Warning Message is overlapped a MITSUBISHI 6 112 Q2 Simple Application Controllers Function Blocks 6 8 Double click the CDP icon or click the Open button to set parameter Control Display CDP Lx B04 Bos B06 M 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 x B04 Bos eos M Display Comment Comment B04 None None None None y Cancel Help MITSUBISHI 6 113 Q2 Simple Application Controllers Function Blocks 6 10 Select the next displayed user screen from the pull down menu options When completing the control key setting click the OK
77. O Users Manual JY992D97701 messaging diagnostics bit assignments etc for English only communication using the Q2 Series Controller i This manual contains hardware explanations for O 012 Series Installation Manual JY992D97501 f installation regarding the 2 Series Controller AL2 4EX AL2 4EX A2 This manual contains hardware explanations for O AL2 AEYR AL2 4EYT JY992D97401 installation regarding the AL2 4EX AL2 4EX A2 Installation Manual AL2 4EYR and AL2 4EYT extension modules AL2 EEPROM 2 This manual contains hardware explanations for B Hardware Manual ON installation regarding the AL2 EEPROM 2 AL 232CAB This manual contains hardware explanations for i Hardware Manual TESSED GU01 installation regarding the AL 232CAB AL2 GSM CAB This manual contains hardware explanations for a Hardware Manual a NOSE Dee installation regarding the AL2 GSM CAB AL2 2DA This manual contains installation explanations a Installation Manual d for the AL2 2DA AL2 2PT ADP This manual contains installation explanations O installation Manual JY997D09401 for the AL2 2PT ADP AL2 2TC ADP This manual contains installation explanations O installation Manual JY997D09501 for the AL2 2TC ADP a ALASISD ALZASIBD JYaoaer4os Tis mana consis arcuate explanations Pr Hardware Manual JY992D81402 9 P e regarding the AL ASI BD and AL2 ASI BD O Refer to these manuals O Refer to this manual if necessary O Refer to the content o
78. 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 to 3276 7 seconds and 1 second 0 to 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 51 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 I gt P e 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 lower threshold the random one shot time is set in the range O to upper threshold or lower threshold to 32767 6 If the lower threshold Upper threshold the random one shot is equal to the upper threshold lower threshold 7 Time units 10ms 100ms or 1s Note 1 The following items are available for other function blocks Outpu
79. R A B The set value of A and B can be selected from the following three Sources FB 1 DirectSet Constant value setting range 32768 to 32767 with an initial value O 000 2 Analog In Analog Input setting range A01 to A08 with an Ia Pp Lo initial input AO1 3 FB Value output value from a function block DIV 1 Word Output i 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 Output 2 Bit Output Input value B 0 Output pin is turned ON and the quotient Q and R will reset to O Quotient Q 32767 Output pin is turned ON and the quotient Q will be set to 32767 Setup of the Division Function Block directly from the 0 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown 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 B001 DIV Setup FB Change No Delete FB B001 DIV Quotient qsA 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 Directset Analog In FB Value 5 Repeat step 4 f
80. S Enter the destination mobile telephone number or the Service Provider pom eM YA e mail gateway code on this screen Choose the digits and symbols using the a and v keys After the digit is set move to the left or right with the and keys Do not press the OK key until the command has been entered in its entirety El EAN 9 10123 Three destination mobile telephone numbers can be entered one in each DA address Alternately two mobile phone numbers and one e mail gateway access code can be entered Only one e mail access code needs to be entered and then multiple e mail addresses can be input one each per GSM SMS Function Block a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 Validity Period eer ENS The Validity Period is a request to the SMS Service Provider to keep VP the message on their Server for a length of time Each Service 24 0hrs Provider may have their own policies on the allowable time messages can be kept Please check with your local Service Provider to obtain these details Use the and keys to change the value within the range of 5 minutes to 63 weeks GSM Status o GSM Status Check the status of the GSM communication in the following Status categories CME Error CMS Error SigStreng i GSM Status Check the Status of the GSM modem settings and SMS message Status transmissions through the table below 0000H
81. Simple Application Controllers Function Blocks 6 Setup of the Schmitt Trigger 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 3 Press the OK Key and enter the function block settings using the a B001 ST Setup FE Change No Delete FB and v keys B001 ST dinputVal Limi tzL H 0 4 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 BO01 ST DirectSet Analog In FB Value 5 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 a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 6 19 Hour Meter Block The Hour Meter is used to track the amount of time that a device has been in operation This can be very useful for preventative maintenance schedules or for performing feasibility studies The timing starts at the receipt of an Input signal and retains the accumulated time through system shutdowns or power failures When the Set Time value is reached
82. TS TS and OFF status of the output 000 The Time Switch maintenance Function Ting P Block uses a predefined time schedule to Switch m control the ON and OFF status of the 0 6 10 TSm TS output The function block can be setup j EE from the TopMenu Parameter via the front panel keys The Counter Function Block increments the 000 current value by one as and when the input Counter 1 gt P ES pin receives a signal When the current 46 Bvt 6 11 CN value reaches the set value the output is set ye CN 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 HO set value is reached thereby setting the Counter C output ON A preset signal can also equal 22 Byte 6 12 UD pa 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 IS P Lo current value of the input pin in relation to a Compare E preset expression The expression consists 17 Bvte 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 E M gt P The Analog Output function takes a digital Analog value input and delivers a corresponding 17 Bvte 6 14 Output E AO analog voltage or current to a selected y L channel on the AL2 2DA module 000 Of
83. The ADD Function Block is used to ADD summate two input values 20 Byte 6 24 ADD Subt E uk rac P O tion NU Mena Block is used to subtract 20 Byte 6 25 SUB SUB MITSUBISHI 6 3 Q2 Simple Application Controllers Function Blocks 6 FB Name FB Symbol Description of Function Block wees Section 000 Multiplica P LO tion F konnin aS Block is used to multiply 20 Byte 6 26 MUL MUL i 000 rf P LO on Division F The DIV Function Block is used to divide DIV DIV two input values 20 Byte ed 000 Calcula I gt P LO The CAL Function Block is used to perform tion a calculation from the combination of 3 6 28 CAL CAL different Arithmetic function blocks 1 gt 000 This Shift Function Block is used to transfer Shift T O 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 29 R gt SFT input pin a set input pin a reset input pin and a bit output pin 000 I gt P Lo The GSM SMS Function Block sends the SMS F LCD screen as a SMS message to either a 6 6 30 SMS SMS mobile phone handset or an E mail account for remote maintenance purposes Short 000 The Short Message Receive Function Message ES P Lo Block searches for the occurrence of a Reca command in the SM In case the command 7 6 31 SMR J R SUB text is exactly included i
84. a block that cannot be forced follows Ex Output O01 is connected to System Bit M01 MO1 is constantly ON therefore Output O01 is constantly ON and cannot be forced OFF 4 8 3 Add Delete Function Blocks in the Monitor Mode The user cannot Add or Delete Function Blocks while in the Monitor mode a MITSUBISHI 4 6 Q2 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 a2 Series AND OR NAND NOT NOR XOR Analog signals cannot be processed by the Logic blocks In this chapter each Function Block has a description 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 re Memory Section peas Displayed Doscripuon Use Reference 1 gt 00 This function executes logical AND Al operation on given input signals The input AND 2 gt H70 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 PL is ON otherwise output is OFF i gt 00 This function exec
85. a ds 2 3 SA A A 2 4 2 1 6 Function Block Diagram FBD base ccccccccccccccccccncccnonannnnnnnnnos 2 4 2 2 Programming Methods comino 2 5 2 2 1 DirecP Programming rea 2 5 2 2 2 AL PCS WIN E Programming Software Ver 2 50 and upwards 2 5 SES Men ssis oiie R EE o bL peso nb dpa dun irse bd 3 1 3 1 Menu Options Instructions anat 3 1 3 2 The Stop MOGO e a iiir E reve nish 3 2 ose TOP IV TA etc E aaa ues wa nutes catia niesta dee slenatad da Veceeeas 3 2 AA cba dabeeerd pi eee aapa eese 3 6 3 3 The Run Mode Top Men tia 3 12 S The EUA A caida 3 15 3 5 The Function Block Edit Menu 5 oie tai pep C ro qe re err aee 3 15 3 6 Option Screen Setup eeeeeeeeee eese eene nennen eene nnn on rn nana sans nnne 3 16 CR MIP ROG sara oda eec eaa meno Gu pdt n vex eo DE IE dU PC exe au E 3 16 3 6 2 Change the Language Setting seeeesesssusss 3 16 3 0 9 CIOCKSBT sanatorio 3 16 3 6 4 RadioClock DCF77 Decoding ccooococccccncccconcccccccncnnnnnnnanncnncnnnns 3 17 A korserien eC Re Mrd ob RERE HYPER tian Ma acad c Sicca 3 18 3 6 6 DISPPASS ds 3 19 3 5 7 PassWODGes ite A E 3 20 3 6 8 Enhanced User Program Protection Version 2 20 or later 3 20 310 3 Seal OOM aaa 3 22 3 6 10 Memory cassette 2 0 earned ici rueda e EL p ds 3 23 3 0 11 Analog Inpulg carnada col qute sete content sta io ip on dus usc intends 3 24 SACOS o LAM MEE 3 25 A Terzo WADI CT sentirsi u ei verin nae a 3 25 3
86. ade in the Stop mode Only the OffsetFine adjust works in both RUN and STOP modes To Set Change the modes of the Analog Inputs Stop Mode only Select Others from the TopMenu while in Stop Mode Select Analog In Choose the appropriate input and press OK Mode will be the only option displayed if the analog input was previously set on Normal Select Mode by pressing the OK button Then select the appropriate mode setting Calibrate and OffsetFine should appear on the Analog Input settings menu PUN Offset Calibration of the PT 100 and TC inputs Stop Mode only 1 Before beginning follow the instructions on preparing the hardware for calibration in the o2 Hardware Manual Chapter 12 for the PT100 input and Chapter 13 for the TC input 2 Select Others from the TopMenu while in Stop Mode 3 After setting the mode to TC or PT100 See the method for changing modes in the previ ous description select Calibrate from the Analog input settings menu 4 Select 50 C and press OK This completes the offset calibration procedure Gain Calibration of the PT100 and TC inputs Stop Mode only 1 Before beginning follow the instructions on preparing the hardware for gain calibration in the 2 Hardware Manual Chapter 12 for the PT100 input and Chapter 13 for the TC input 2 Select Others from the TopMenu while in Stop Mode 3 After setting the mode to TC or PT100 See the method for
87. alue is equal to or less than the upper limit value the output status will be ON Otherwise the output signal does not change 4 Lower limit 2 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 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 2 Max 1kHz in any one program Subsequent SPD function blocks can only use a maximum of 20Hz for high speeding counting MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 1 Upper limit Lower limit Normal input max 20Hz Input pin OFF ON Count input pin ill ill Clear input pin Current value of 2 2 2 20 counter r1 nt 1 T ues 11 Upper limit 7 4 pit e A e mme RR ER E ames a Lower limit 4 e A A Ree icon t ns Spee
88. alues the user should refer to the descriptions above for each relevant parameter Kp T and Tp or see the following guide to adjust these parameters Response when Kp is decreased The PV rises slowly stabilizes slowly with no overshoot Response when T is increased The PV stabilizes slowly with less searching overshoot and undershoot for the SV Response when Tp is increased The PV stabilizes quickly There is more searching overshoot and undershoot for the SV 6 22 7 Error Codes Error Codes are reported by the PID Function Block via the string output pin The error code byte consists of 8 error flags but only the lower 6 bits are functional An error code value of zero means there is no error Table 6 30 Bit Content State of processing bO Sampling time system scan time Filtered PV change overflow n APVq lt 21692 or APV gt 21692 b2 Deflection overflow EV lt 32768 or EV gt 32767 a LS b3 Integration result overflow out of range 32768 32767 b4 Derivative overflow out of range 32768 32767 b5 Internal error during auto tuning operation AT ends 1 This is the maximum change in PV when the input filter is 0 In the case of a higher input filter the maximum change in PV can be higher 2 Bit 5 of the error code is set when the calculated PID parameters are out of range Bit 5 is not set when AT is stopped by the user Setup of the PID
89. and press th B001 FL OnTime T 0 ts t 0 0s B001 FL OffTime T 0 fs t 0 0s B001 FL xTime Count Continuou a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 8 Using the a and v keys highlight the Time option and press the OK key The Time can be entered using the or keys B001 FL Time T 0 s t 0 0s 9 The Count can be entered using the or keys B001 FL Count 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 a MITSUBISHI 6 22 Q2 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 0 2 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 Parameter in the a2 controller for direct programming Tabl
90. 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 4 Direct Programming Direct Programming uses the keys on the front panel to create the program and enter any required data values The method for Direct Programming is explained in Chapter 4 of this manual 2 2 2 AL PCS WIN E Programming Software Ver 2 50 and upwards 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 2 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 0 Software Manual JY992D74001 Figure 2 1 AL PCS WIN E Programming Software Ver 2 50 and upwards ffa SWOD5 ALVLS EU Untitled vis FBD Gi File Edit View Inset Tools Search Controller Com Option Window Help Coc teal fe 2 12 00 se esles 48 5 ls IEA ll Es 1 BEE Note Do not simultaneously program the 02 Series Controller from the direct programming keys and AL PCS WIN E Ver 2 00 methods as this may result in unexpected operation and possibly cause harm a MITSUBISHI 2 5 2 Simple Application Controllers Function Block Programming 2 MEMO a MITSUBISHI 2 6 Q2 Simple Application
91. ate Function Block Values Move to the function block to monitor and enter Setup FB The Function Block Values can be D updated and monitored Changes to current values will be valid only while in the Monitor Mode Changes to Set point data and the comparison values will be written to the system memory Type Abbreviated Terms Forcing Conditions 1 Input El 1 E 2 O 2 Output EO 2 A 2 Key K 3 System bit M 3 Control bit N 2 Function Block B 3 1 Itis possible to force ON OFF however the status is decided by hardware control 2 Itis possible to force ON OFF however the status is decided by programming control 3 It is possible to force ON OFF Only some FB however the status is decided by program ming control MITSUBISHI 4 5 Q2 Simple Application Controllers Direct Programming 4 4 8 2 Forcing Outputs ON OFF Outputs can be forced ON OFF if there is no direct conflict with the program To force an Output On proceed to the position where the Output name and number are flashing and press the OK key A solid rectangle will appear underneath the block number to signify that the block is ON Input pins will have a smaller solid block next to their arrow to show that they are activated In the block at right the Delay output pins are ON along with the input and output pins for the system Output O01 01 A 001 Out An example of
92. ature using dedicated protocol Refer to the 012 Communication Manual for detailed explanation concerning Dedicated Protocol parameters MITSUBISHI 3 22 Q2 Simple Application Controllers System Menu 3 3 6 10 Memory cassette The Memory Cassette EEPROM is the active memory whenever it is properly installed in the 0 2 controller The controller must be powered down before installing removing the memory cassette or an error will occur To Verify a Program 1 Install the AL2 EEPROM 2 Refer to the AL2 EEPROM 2 instruction manual for help 2 Select Others in the Top Menu 3 Select ProgTran 4 Select Verify 5 Choose OK to proceed or ESC to exit 6 If the program is successfully verified the work Completed will blink on screen 7 If the programs are not the same the words Verify Error will blink onscreen To Transfer a Program from the Cassette to the 2 1 Install the AL2 EEPROM 2 Refer to the AL2 EEPROM 2 instruction manual for help 2 Select Others in the Top Menu 3 Select ProgTran 4 Select Cassette 5 Choose OK to proceed or ESC to exit 6 When the program is successfully transferred Completed will blink on the display To Transfer a Program from the 0 2 to the Cassette 1 Install the AL2 EEPROM 2 Refer to the AL2 EEPROM 2 instruction manual 2 Select Others in the Top Menu 3 Select ProgTran 4 Select Cassette 5 C
93. block operates on a Set or Reset priority Select the priority using the a and v keys and subsequently press the OK key B001 RSR Prior ity Set Reset 4 Press the OK key and use the ESC key to return to the FBd MITSUBISHI 6 105 Q2 Simple Application Controllers Function Blocks 6 6 37 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 The user screen set with Display Manager is displayed on the 2 series The displayed user screen can be composed up to 10 Display function blocks However the Display Manager can only be set using a combination of an 0 2 Series Controller and the AL PCS WIN E Ver 2 00 The Control Display Manager cannot be programmed using the controller alone Insert CDP function block area Add DP function block area Display Manager Add DE Tcp WE Baste DE Comment Upen Delete OK Cancel Help a MITSUBISHI 6 106 Q2 Simple Application Controllers Function Blocks 6 6 37 1 Operation Image Status screen or User screen Display function block undefined by display manager When N04 is turned OFF display the status screen or user screen by display function block on the FBD base When N04 is turned ON display user screen by the controlled display
94. button Control Display CDP x B04 Bos 606 M Display Comment Comment B04 None y None y None y None y ES me ES EN Cancel Help 11 When completing the control key s setting click the OK button 6 38 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 No function block appears on screen or shows as being used in the Memory Configuration Usage dialog box the purpose is only to calculate the memory that is used by the bits listed above Table 6 55 Connect Function Block Function Set Item Description Input pin for the Connect Function Block The output ON OFF status is controlled by the condition of the input signal 000 F 0 1 The output signal will be high if the input signal is ON The output a Output signal will be low if the input signal is OFF 2 If the input pin is disconnected the ON OFF status of the output can be controlled from AL PCS WIN E installed onto a personal computer MITSUBISHI 6 114 Q2 Simple Application Controllers Let s Make a Program 7 7 7 1 7 2 Let s Make a Program Let s create a sample program from beginning to end Power up the 02 and press any key to go the TopMenu Option Settings Before starting to program we can set any desired options from the following l
95. ccept the channel 7 Highlight C using the and keys and press the OK key to set the constant value B001 0G ConstantA DirectSet ES e Analog In channel B001 0G y A Bx x C Limit L H A02 0 bsequently press the B001 0G InputVal Analog In A0t 0 B001 0G ysAIB x C Limi t 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 0G ConstantC DirectSet 0 a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 9 Using the a and v arrows highlight the high and low limit values B001 0G y A B x C Limit zL H 32768 10 Press the OK and a Directset of the Low limit can be entered using the and keys B001 0G LimitLow DirectSet 132767 11 Press the OK key to accept the value and use the and arrows to highlight the high limit value Press the OK key and a directset value can be entered using the and keys B001 0G Limi tHigh DirectSet 32767 12 Press the ESC key until the FBd is displayed a MITSUBISHI 6 36 Q2 Simple Application Controllers Function Blocks 6 6 16 Display Block The function block displays the specified information from the connected function block Allows information to be displayed on the LCD screen The Position line
96. ck scroll to the AddFB prompt and press the OK key This invokes the Function Block list Scroll to the desired Function Block and choose by pressing the OK key The Function Block will be shown on the screen with the connecting block Function Block Editing To enter the Function Block editing menu Chapter 3 press the OK key when the Function Block number and name are flashing on the screen Up to three options appear on screen Setup FB Change No and Delete FB The Setup Function option is not valid for some Function blocks and so will not always appear and certain function blocks will also contain a Time unit option refer to chapter 6 for function block specification Setup Function Block Each Function Block has its own individual parameters outlined in Chapter 6 The Function Blocks might have multiple data screens that can be altered As with other menu options the ESC key will move the screen back to a higher menu option without changing the option parameters for that screen If there are multiple data screens in an option enter the required data and accept each screen using the OK key Use the ESC key to exit the Function Block Change No of a Function Block Change the number of an existing Function Block with this screen The current FB number is shown on screen when the option is selected Scroll up or down with the or keys to find an open FB number Press the OK key
97. controller Read Program Name v Program Erase Programming by 02 Display and Soft Program can be read out except display Keys manager contents by 02 display 02 e i Program can be read out except display Montana manager contents by 02 display As long a for program parameter change Program Parameter Change V the monitoring display isn t used the pro gram parameter can be changed Copy to memory cassette Others id 4 Dedicated Communication v v Action is possible Action is not possible 2 Copy Program To Memory Cassette Protection The Copy Program To Memory Cassette Protection prohibits copying of an 2 user program from main body memory to a memory cassette This flag doesn t work in older a 2 FW version 1 00 and 2 14 but it is also not reset in those controllers thus it is inherited in case of copying by VLS or memory cassette to another 02 Password ox 0000 to 9999 Four digits Input Password to Protect your Program Read Protection Program Cance 10000 to 19999 Five digits Delete Copy to Memory Cassette Help E Memory Cassette Protection Protection a MITSUBISHI 3 21 Q2 Simple Application Controllers System Menu 3 3 6 9 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 Visual Logic Software VLS and the communication must be
98. count value set by the user range 0 32767 5 The actual count value This value can be set to a one time offset value range 0 32767 For Shift function block only Shift input pin User specified Set Time Value range O 3276 7sec 4 4 The elapsed time since the function set ON range 0 32767sec Note The following function block information details specific explanation concerning front panel programming using the a2 Series Controller However it is assumed the user has read and understood Direct Programming Chapter 4 Thus is capable of connecting function blocks together using the dedicated front panel keys Hence each function block provides step by step instructions for direct input having ignored the initial key presses detailed in Chapter 4 MITSUBISHI Function Blocks 6 Q2 Simple Application Controllers Function Blocks 6 6 3 Boolean block The function block creates a logical operation using Boolean algebra consisting of AND OR XOR and NOT gates It is possible to express the Logic functions in the form of an equation Refer to Chapter 5 for detailed information concerning Boolean Logic operation Table 6 3 Boolean Function Block Function Set Item Description i HAG 1 2 3 4 Numbered Input pins for boolean operation to control 22 P HO FB User defined logical boolean operation 3 The output is controlled directly from the result of the bo
99. ction block program Inputs Front Panel Keys System Memory Bits Logic Blocks Function Blocks User defined Function Blocks and Outputs A brief description of each follows a MITSUBISHI 2 1 2 Simple Application Controllers Function Block Programming 2 2 1 1 Inputs The 012 Series Controller will accept both digital On Off and analog mV value based electrical information through the system Inputs Please refer to the 2 Hardware Manual for electrical information wiring diagrams and input specifications Depending on the specific controller there are either 14 or 24 input version types of the 02 Series Controller The Inputs are referenced to 101 102 115 Table 2 1 Input type for the AL2 10MR Controller Input Input Number Description Signal 101 106 Maximum of 6 Inputs are allocated for use AL2 TOMP D A01 A06 Maximum of 6 Analog inputs are allocated for use on input 101 to 106 Table 2 2 Input type for the AL2 14MR AL2 24MR Controller 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 ALND A01 A08 Maximum of 8 Analog inputs are allocated for use on input 101 to 108 Extension El01 El04 Maximum of 4 Extension inputs are allocated for use 2 1 2 Front Panel Keys The front panel keys can enter data into the progra
100. curity occconcocccccnncnnnccocancnnnonannnanancnnnnnnnn 6 91 6 91 2 SM COMMANGS 5 entero Iiis A aped dex ies os each 6 92 6 31 3 Report Short Message Handling sess 6 93 6 31 4 SMR Short Message Receiving Setting Dialog Box 6 94 6 32 Call Detect Block cero td pica 6 95 6 32 1 Number of RING ssc ade iia 6 96 6 33 Random One Shot Block 1 ret Pare PED duet ir pei ee dus 6 97 6 34 Delayed One Shot Block 0ooooocccccccococccccccoccconaoccccnccnnnanannncnncnnnnnnnncnnn 6 99 6 35 Delayed Alternate Block cocinar rcr nina 6 102 6 36 Retentive Set Reset Block oooooononncccccnnnnoncccccccnconnnnnnaccnnnncnnnannnnos 6 104 6 37 Control Display Manager usrisicanoiraicrts 6 106 6 87 1 Operation Image nia 6 107 6 37 2 To Set Display Manager eee trennen 6 108 6 38 COMESCIBIOCOK uisi cated urbes bna seres tete tal ratero 6 114 7 Let s Make a Program eene 7 1 7 T ODIO SONGS crus ce nest um esr te Beso Purser ss cinppese pe doter Futuna EENE E 7 1 7 2 The Function Block Diagram oreet 7 1 3 Input the A e req Rr AM OA DO IQ ind sac bad ee eoe aid 7 2 7 3 1 Adding Function Blocks by the Left to Right method Section 42 cor ocadema niea ib A tan ie Me te tue eL Eu 7 2 7 3 2 Scroll through the Function Blocks by Number Section 4 6 1 7 3 7 3 3 Use the Jump Command Section 4 6 3 ssse 7 3 7 3 4 Use the NewFB command
101. d output value Output pin ON ON Interrupt input terminal for AL2 4EX max 1kHz Input pin OFF ON Count input pin El01 E102 on ill AL2 4EX pa Clear input pin _ ON Current value of 1 2 1 2 0 12 1 counter N j ctl Processing time i y i y y Upper Mte 7 neess MU o E e e a ts tr to elite ida ee Lower limit 4 AR EN EUR SEN PC Map Speed output value Output pin OFF ON OFF a MITSUBISHI 6 49 Q2 Simple Application Controllers Function Blocks 6 2 Upper limit lt Lower limit Normal input max 20Hz
102. daptor Link Reserved 21 Invalid Index 3 Operation Not Allowed 22 Not Found 4 Operation Not Supported 23 Memory Full 5 PH SIM PIN Required 24 Text String Too Long 10 SIM Failure 25 Invalid Characters in Text String 11 SIM PIN Required 26 Dial String Too Long 12 SIM PUK Required 27 Invalid Characters in Dial String 13 SIM Failure 30 No Network Service 14 SIM Busy 31 Network Timeout 15 SIM Wrong 100 Unknown 16 Incorrect Password 256 All other values below 256 are reserved ems Prror GSM Status This value gives error information relevant to the Mobile Equipment CMS Error ME or Network please refer to the GSM modem manual for more 1 details Table 6 43 Mobile Equipment and Network Error Codes Value Description Value Description 1 No Error 315 SIM Wrong 0 127 GSM 04 11 Annex E 2 Values 316 SIM PUK Required 128 256 GSM 03 40 Subclause 9 2 3 22 317 SIM PIN Required 300 ME Failure 318 SIM PUK2 Required 301 SMS Service of ME reserved 320 Memory Failure 302 Operation Not Allowed 321 Invalid Memory Index 303 Operation Not Supported 322 Memory Full 304 Invalid PDU Mode Parameter 330 SMSC Address Unknown 305 Invalid Text Mode Parameter 331 No Network Service 310 SIM not Inserted 332 Network Timeout 311 SIM PIN Required 340 No CNMA acknowledgment expected 312 PH SIM PIN Required 500 Unknown Error 313 SIM Failure 511 s d in the range from 256 to 511 314 SIM Busy 512 Manufacturer Specific
103. de Parameter Provides a simple method to edit Time Switches TSm Short Message Receive SMRm and Call Detect CDm from the Top Menu ProgEdit Allows program editing creation on the display using the front panel keys The current memory will be overwritten as changes are made to the program Programs can be saved on an AL2 EEPROM 2 memory cassette or in the AL PCS WIN E software Ver 2 00 or later ClockSet Set the Real Time Clock or input a daily clock adjustment The RadioClock function is also available here LANGUAGE Choose from 7 onscreen languages English German French Italian Spanish Swedish or Russian OTHERS 1 Ver 3 00 or later a MITSUBISHI 3 2 Q2 Simple Application Controllers System Menu 3 Figure 3 1 TopMenu in Stop Mode Operation TopMenu gt OK 10 19 Fri f JRun Stop Ras EEES 20050 9 Run k Stop ejfo os5 gt Run O 1 4o0o 8 OK or ESC E 1e 4 IA 23 URN STORES E REA gt Parameter D Reter to Figure 3 2 EI 1e 4 o t e j EO 23 gt 3 ProgEdit D Refer to Figure 3 3 ClockSet O Betor te Figure 3 4 6 LANGUAGE m gt LANGUAGE English German French Italian Spanish Swedish Russian gt 7 Others Refer to Figure 3 5 e 9 1 Ver 3 00 or later Figure 3 2 Parameter Menu in Run Stop Mode Operation In Stop mode ref
104. ditData option to view the selected time switch data Update data as required and accept with the OK key 6 10 6 To Delete Time Switch Data 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 to be deleted and press the OK key Choose DelData at the bottom of the screen and accept with OK B001 TS 03 EditData NewData DelData MITSUBISHI 6 25 Q2 Simple Application Controllers Function Blocks 6 6 11 Counter Block The function block counts input pulses and turns the Output ON when a preset limit is reached The counter counts up only to a maximum value of 32767 and increments on the rising pulse Normal inputs count to a maximum of 20Hz however with an extension module attached inputs El1 or El2 can count to a maximum of 1KHz Table 6 12 Counter Function Block Function Set Item Description Input pin for one shot operation Clear input pin resets the state of the output regardless of the input C given if reset has been given priority FB The counter function block can be incremented to a maximum of 32767 counts gog 1 When the current incremental value reaches the set value of the c P ES counter function block the status of the output is ON CN 2 The clear signal will reset the value of the counter to O Output 3 One incrementa
105. e setting range O to 100 with an initial I gt P p value 0 PWM b Analog In Analog Input setting range A01 to A08 with an L initial input AO1 c FB Value output value from a function block 4 The period is restricted to a setting range 1 to 32767 x 100ms Note The function block is used to control the width of the output pulse based on a specified period of time and duty Output 1 The bit output pin is set on for the length of the duty specified 2 The following items are available for other function blocks a Set Period b Current Period Note The ON OFF time cannot be less than one scan time for the controller otherwise the PWM Function Block will not perform its assigned task for the time specified Users can monitor the scan time from the a2 Series Controller Scan time is dependent on the user program therefore caution is needed as and when time units are selected 1 PWM operation time chart Input pin OFF ON Output pin OFF ON Duty 70 ON Time 70 Set cycle i Current value in cycle m Note 10ms step for minimum resolution a MITSUBISHI 6 53 Q2 Simple Application Controllers Function Blocks 6 Setup of the Pulse Width Modulation 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
106. e OK or ESC Setup gt Password 4 Password 0000 VD SpEERE gt DispPass LX Setup Level1 e DispPass Level2 Level1 Level3 0000 MenuKey gt Menu Key k Not Use ON ESC Key Summer Time gt O Refer to Figure 3 6 x x gt 0 Serial Com 7 Refer to Figure 3 7 1 AL2 14MR AL2 24MR Only Setup gt Light Time Light Time 2m 3 l Analog In P 7 7 nay Refer to Figure 3 10 Program ProgClear ul Clear OK or ESC ProgTran ProgTran menu is only displayed when connecting AL2 EEPROM 2 memory cassette a MITSUBISHI Q2 Simple Application Controllers System Menu 3 Figure 3 6 Summer Time in Run Stop Mode Operation 9 SummerTime dod cec sens Cancel In Stop mode ManualOn refer to Figure 3 5 DataType SummerTime In Run mode 3 31 03 refer to Figure 3 13 30 10 60min UK Type US Type EU Type Free Type Summer Time 03 1 Sun 10 1 Sun 02 00 60min Figure 3 7 Serial Com in Run Stop Mode Operation AL2 14MR AL2 24MR Only KD Serial Com 42 4 4 Not Use In Stop mode Modem pH Modeminit r Modemlnitot1 refer to Figure 3 5 Command Command In Run mode refer to Figure 3 13 yz DelayTime Modemlnit 4 DelayTime Os GSM gt Refer to Figure 3 8 g Other Com
107. e and Adjust time The time changes for the UK timezone take place at 1 00 AM in the Spring and 2 00 AM in the Autumn Time changes in the US and EU setting take place at 2 00 AM in the Spring and 3 00 AM in the Autumn If the controller time has been adjusted for Summertime an s will precede the hour number on the display screen Setting the controller for Summertime operation 1 From the TopMenu scroll to Others and press the OK key 2 From the options that appear scroll to Summertime and press the OK key Scroll to the desired setting see above for information on settings Press the OK key to accept the setting If the display time has been adjusted an s will precede the hour number on the display screen If the date is outside of the summertime range no visible sign will appear oR OW Figure 3 14 Changeover Date and Time Changeover Date and Time a m for 2002 Modes 3 31 02 4 7 02 10 27 02 US 2 00 3 00 3 00 2 00 EU 2 00 3 00 SUMMERT IME 3 00 2 00 UK 1 00 2 00 2 00 1 00 IN UN IN add 1 hour subtract 1 hour Mode On date Off date Free SUMMERT IME Month 1 12 Month 1 12 Sunday 1st 2nd 3rd 4th 5th Sunday 1st 2nd 3rd 4th 5th Hour of time change 00 00am 01 00am 02 00am 03 00am Adjust time 0 180 minutes Note When Summertime is in effect the clock should not be set to the changeover time For example
108. e 6 11 Time Switch Function Block Function Set Item Description A function block can register 50 set schedules or less The function FB capacity for a controller is 200 blocks The real time clock functionality is restricted by the 5000 byte memory capacity for the 006 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 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 A Weekly 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 B001 TS 01 Edi tData NewData DelData Edit
109. e MV If only proportional control P control without l or D control is used the Manipulated Value is purely dependent on the change in deflection Deflection is the difference between the current state and the desired state also known as error value If PI or PID control is used then the MV will depend on other factors as well as deflection The change in deflection between two adjacent sample points is essentially a measure of how fast the Process Value is moving toward the SV It is not simply the difference between the current state PV and the desired state SV The Kp parameter can be set manually or automatically with the Auto tuning function The default value for Kp is 75 with a possible setting range of 1 to 32767 The units of Kp depend on the type of word data that is used See the table below for the units A small Kp causes the PV to rise slowly to stablize slowly and to overshoot less See section 6 22 5 for more information on the formulas used for determining the system parameters during Auto tuning MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 Note Other PID systems may calculate proportional control based on the magnitude of the current deflection only Table 6 27 Units for Kp Units Type of Word data Default Value Range Analog input 0 196 Function Block word output 7 596 0 1 to 3276 7 Temperature input using the Celsius scale Temperature input using
110. e path of the connections to the left 4 6 3 The Jump Command The ESC key can be used to enter the Edit Menu at anytime when a function block is displayed on the LCD screen The ESC key will cancel in process commands first Keep pressing the ESC key until the Edit Menu is displayed Select the Jump Command Choose any system Memory Bit Input Output Key AS i Input AS i Output Extended Input Extended Output or existing Function Block by using the front panel keys Press OK to Jump to the chosen block in the programming mode Edit Menu ProgSize Jump New FB Exit Mnemonic 4 7 Using Keys as Inputs Connect the Keys for use as Manual Inputs by using the Jump command to access the desired key by connecting a Function Block or Output as described in Chapter 3 or by scrolling through the blocks as described in section 4 6 1 The programmed Key s will give an output signal for as long as the key is depressed MITSUBISHI 4 4 Q2 Simple Application Controllers Direct Programming 4 4 8 The Monitor Mode Function Block values and Output status can be manipulated from the Monitor option When placed in the Run mode the o2 defaults back to the I O status screen Press the ESC and OK keys together to enter the Top Menu and then enter Monitor The program will now be displayed on screen Movement among the function blocks is the same as in the ProgEdit mode 4 8 4 Monitor Upd
111. eceive Setup Word output value Bit output status Short Message Receive m Setup Word output value Bit output status Call Detect Setup Output status 2 Call Detect m Setup Output status 2 Random One Shot Setup Delayed One Shot Setup Delayed Alternate Setup Retentive Set Reset Setup Output status Control Display Setup 1 From Version 3 00 or later The actual time of Hour Meter FB with FB number 197 200 is kept in EEPROM 2 If configured in FB setup MITSUBISHI 6 7 Q2 Simple Application Controllers 6 1 Definitions DirectSet Enter a value using the and keys Analog In An analog input value from a System Input A01 A02 AO3 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 6 2 Abbreviations Table 6 2 Abbreviated terms used in describing function block Term Description Input pin for function block operation 1 2 3 4 Numbered Input pins for boolean logic type function blocks O Output pin for function block operation Set pin for the function block Reset pin for the function block Clear pin for the function block Increments a positive count to the Up Down Counter Function Block Increments a negative count to the Up Down Counter Function Block Preset signal input pin for the Up Down Function Block Z v J c o D oo The
112. ed 49 21 02 12 34 56 7 49 21 02 12 34 568 no change 49 21 02 12 34 56 7 49 21 02 12 34 no change 49 21 02 12 34 56 7 49 21 02 12 34 56 78 no change 49 21 02 12 34 56 7 49 21 02 12 34 56 7 no change 49 21 02 12 34 56 49 21 02 12 34 56 7 no change 49 21 02 12 34 56 49 21 02 12 34 56 7 changed 49 21 02 12 3 49 21 02 12 34 56 7 changed 49 21 02 12 3 49 21 02 12 34 56 8 changed 49 21 02 12 3 49 21 02 12 34 56 78 changed Any phone number changed Any international phone number changed a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 6 31 1 3 Sample VLS Program Switch an irrigation system by SM SMR sample program nm o 02 SM Command for Wait Time Start imgation 120 pd SM Command for Runtime Imgate time 30 UT Pu id 004 A system for plant irrigation can be switched ON and OFF by short message B10 The start of irrigation can be delayed The delay time in minutes is transferred by short message Also the duration of irrigation can be set by short message Authentication and Security Security of manipulation of a user program by SMR FB is given by the following items 1 Password A 4 digit numerical code can be set as an additional security level This code must be located from the first character of the short message followed by the command delimiter The code is set in the program parameter thus valid for all SMR FB in a us
113. ed while sending SMS Message Input pin SMS SMS Message Output pin gt 1 scan time Communication failure will tell the GSM SMS FB to retry three times in two minutes 2 Sample VLS Program SMS Retry Sending Data Completed Send Request 101 PL CP O01 SR FL SMS Current status 1 Bit O ON From Off to On Stop Retry Reset e Output Continous 102 priority On time OR 120 1s 1201 x 100ms Off time 0 1s 1 x 100ms CP 002 PR Current status 2 Bit 12ON ZC 003 4 lt Current status lt 7 Bit 22ON ZC e 004 _ N 8 lt Current status lt 15 Bit 3 ON on Qu w CP 006 Current status gt 16 Bit 4 ON The GSM Function block will send the SMS packet when the input pin is activated To input or edit the GSM SMS parameters double click on the GSM SMS icon to open the Short Message Service dialog box in AL PCS WIN E When two or more Function Blocks are trying to send a message at the same time the one to connect first will send its SMS message or attempt to send its message three times The other GSM SMS FB s will be placed in Wait status All the FBs will send thei
114. en is displayed as shown 3 Highlight Setup FB and press OK 4 Highlight InputVal and press OK B001 CN Setup FB Change No Delete FB M AO xInputVal Channel DE AO DirectSet Analog Un FB Value 5 If a constant output voltage is required highlight DirectSet and press OK If not skip to step 7 B001 AO AnalogOut DirectSet 207 6 Enter a Direct Set value using the and keys and press the OK key to accept the value Skip to Step 11 7 If an analog input will be used highlight Analogln and press OK If not skip to step 9 8 Select the appropriate analog input and press OK Skip to Step 11 2nd AO xInputVal Channel B001 A0O AnalogOut Analog In A01 0 POOT AO xInputVal Channel 9 If an FB word output will be used as the input value for the Analog Output FB highlight FB Value and press OK If not skip to step 11 B001 A0O AnalogOut Counter B002 MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 10 Select the appropriate FB output and press OK using the and keys After selecting the appropriate function block select the FB value to be used The controller will return to the Setup FB menu Counter xCountVal 11 Under the Setup FB menu highlight Channel and press OK
115. er DirectSet Analog In or Function Block values When the High Limit value is larger than the Low Limit value the output will turn ON when the High Limit value is reached or exceeded The Output will turn Off when the Input value is equal to or less than the Low Limit The Output does not turn OFF when the Input Value falls below the High Limit eg an air conditioner is set to turn ON when the air temperature reaches 23 C and turn OFF when the temperature reaches 18 C The air conditioner is not constantly turning ON and OFF over slight temperature fluctuations When the High Limit value is less than the Low Limit value the Output ON OFF pattern is reversed When the Input Value is greater than or equal to the Low Limit Value the Output turns OFF When the Input Value is equal to or less than the High Limit value the Output comes ON The input pin must be ON for the Function Block to register a new value from a Function Block or Analog Input Therefore the input pin must be ON for the status of the Output to change The input pin does not have to be ON for the Output to be ON Table 6 19 Schmitt Trigger Function Block Function Set Item Description Input pin for Schmitt Trigger operation The following conditions apply to the function block 1 Low compare value L a DirectSet Constant value setting range 32768 to 32767 with an initial value O b Analog In Analog Input setting range A01 to A08 with an 0
116. er program Setting of a password is optional 2 Originators Phone Number The received SM carries the phone number of the sending short message entity SME By setting the phone number in FB parameter only the SME with the setup phone number can manipulate a SMR FB 3 Command Text Because the command text can be freely choosed by the customer it is possible to use irregular command words that are only known by one person like a computer password a MITSUBISHI 6 91 Q2 Simple Application Controllers Function Blocks 6 6 31 2 SM Commands The commands included in a short message can be either for switching the bit output of a FB or setting the value output Bit Output Mode Word Output Mode In bit output mode two commands texts can be set one command text cmd1 to switch the bit output ON and an optional command text cmd2 to switch the bit output OFF In word output mode the command text cmd3 can be set as FB parameter Each command can consist of up to 32 characters In the transmitted SM the cmd3 must be followed by the equal character and a value e g cmd3 100 The value can be positive and negative and must be in the range 32768 32767 Space characters or the delimiter character can follow the value Mode Description FB parameter SM text cmd1 for switch output ON cmd1 cmd1 Bit Output cmd for switch output OFF cmd2 cmd2 Word Output cmd3 cmd3 cmd3 value
117. er to Figure 3 1 In Run mode refer to Figure 3 11 Parameter Setup TS Setup SMR Setup CD Setup TS NoData Setup SMR NoData Setup CD NoData a MITSUBISHI Q2 Simple Application Controllers System Menu 3 Figure 3 3 ProgEdit Menu in Stop Mode Operation Adding Function Blocks ProgramScreen T l gt rol rs Select FBParameter go qv dfe A Mian Refer to In Mo un ohangeNo Figure 3 1 Connect EO 04 CallDetectm DeleteFB a ESC EE f Function Block Specific A RE 4 er C Skips to Changes Function Block Number T th nextto r 5 Deletes Function Block from E p FBD he e Y Edi tMenu i Block OFB ProgSize 30000000000 Memory 0 DBDDBODHDDEU m gt Jump LM Jump k M I OKE M01 SystemBit NewFB FB Select gt AND Exit CallDetectm Mnemonic gt gt Ena PL 01 4 Select the following category by pressing and keys Molo0oKoEsA gt oNoEloEOoOB 5 Select the jump target by pressing Aand V keys MITSUBISHI 3 4 Q2 Simple Application Controllers System Menu 3 Figure 3 4 ClockSet Menu in Run Stop Mode Operation 5 ClockSet B 4 ClockSet LL ClockSet In Stop mode lt dd mm yyyy refer to Figure 3 1 29 06 2003 In Run
118. ether the International code is needed at the beginning of the phone number Click the Gateway option 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 0 2 memory allows SMS messages can be sent to a maximum of three telephone numbers a MITSUBISHI 6 82 Q2 Simple Application Controllers Function Blocks 6 6 30 12 Error Messages The Status of the GSM communication can be checked in the right hand side of the Diagnosis of Controller Controller Diagnosis of Controller dialog box This dialog box cannot be accessed while the controller is running Run Status Runing Program Write Disable Clock Status Going Used Memory 39 5000 Used Blocks umo Max Scan Time ms SSI Min Scan Time ms DESI Current Scan Time ms i Dedicated ComPort Error No Eros Copy to Memory Cassette Permission Program file name Remote Access successful SMS is sending or retrying SMS is waiting for sending SMS failed in sending w SMS failed in sending due to wrong setting CME Error NoEmzs ti s s s s S CMS Enor No Enos 3 Signal Strength Untitled vls Help Diagnosis of Controller xi Version 2 20 os A Status Input Terminals E Y Res
119. f these manuals if necessary though it is included in 2 Hardware Manual a MITSUBISHI Q2 Simple Application Controllers Appendix 8 8 2 System Keys 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 move to a ESC K02 new menu a K03 Used to connect or ada function blocks increase Direct Set input values or times or move through programs or menus uo 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 etc gt K07 Move to the right on the LCD display FB program or Jump command K08 Move to the left on the LCD display FB program or Jump command 8 3 System Bits System Bit Description MO1 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 po
120. fies the p operational expression the status of the output is ON Setup of the Compare Function Block directly from the 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown BO01 CP Setup FB Change No Delete FB 3 Press the OK Key and enter the function block settings using the and keys B001 CP CmpVal 1 Vi V2 in 0 4 Pressing the OK key invokes the menu that lists the function block input data type B001 CP DirectSet Analog In FB Value a MITSUBISHI 6 29 Q2 Simple Application Controllers Function Blocks 6 5 Press the OK Key and a Direct Set value can be entered B001 CP CmpVal 1 DirectSet 0 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 B001 CP CmpVal 1 Analog In AO1 0 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 key B001 CP CmpVal 1 Not Exist Valid FE 8 Using either the OK key or the ESC key depending on the acceptance of the setting Press the OK key when the Condition is highlighted Thus selecting the co
121. figuring the hardware follow the steps below to set the controller for DCF77 decoding 1 From the TopMenu scroll to ClockSet and press the OK key 2 From the options that appear scroll to RadioClock and press the OK key 3 Only one option appears if RadioClock has not been activated Scroll to RadioClock and press the OK key 4 From the options that appear scroll to DCF77 and press the OK key At this point if the controller cannot detect a signal the message No Signal will flash on the headline 5 To select the correct analog input that carries the DCF77 time signal scroll to Input No and press the OK key Initially Input No will not be visible it only appears as an option after the RadioClock function has been enabled 6 Select the Analog Input number from 101 to 108 with the keys and the OK key 7 If necessary adjust for the timezone difference between Frankfurt Germany and the place of installation This amount is added to subtracted from the received time To do this scroll to TimeDiffer and press the OK key 8 Select the timezone difference in half hour increments using the keys Press OK to enter the timezone difference 9 It is possible to manually start and stop the decoding of the time information Scroll to Manual and press the OK key Either Start Act or Stop Act will be displayed depending on the state of the controller at t
122. form its assigned task for the time specified Users can monitor the scan time from the o2 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 I ON l ON Input pin C l L Output ON OFF K i k A K k gt On delay Off delay Shorter than On delay On delay 4 Time Time On delay time Time Time Shorter than Off delay time a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 2 ON delay timer Input pin I ON ON Input pin C Output ON OFF On delay Shorter than On delay On delay Time On delay time Time Time 3 OFF delay timer Input pin Input pin C Output Off delay time Shorter than Off delay time Setup of the Delay Function Block directly from the 0 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown B001 DL Time unit Setup FB Change No Delete FB 3 Press the OK key to set the Time unit for the delayed output
123. fset IS P The Offset Gain Function Block is based Gain upon a linear function Y A B X C to which 22Bvte 6 15 OG OG the value obtained from an analog input y X A01 A08 is set 000 The Display Function Block is used as an Display I gt P interface between the user and the devices DP held within the controller Current values 4 6 16 DP timer messages user defined messages can be read 000 The Zone Compare Function Block Zone P LO identifies whether the input value lies within Compare a specified upper and lower limited zonal 20 Byte 6 17 ZC ZC area and if so changes the status of the _ output accordingly a MITSUBISHI 6 2 Q2 Simple Application Controllers Function Blocks 6 FB Name FB Symbol Description of Function Block wee Section The Schmitt Trigger Function Block 000 compares an input value to preset high and Schmitt I gt P po low limits The output is ON when the input Trigger value reaches the high limit and then falls 19 Byte 6 18 ST ST below the lower limit The function only processes the data when the function block is receiving an input signal The Hour Meter Function Block holds the 000 output status ON for a maximum of 32767 Hour I gt P O hours 59 minutes and 59 seconds If the Meter C input pin is turned OFF the elapsed time 19 Byte 6 19 HM HM will hold its value until either the clear pin i resets t
124. function block edit screen is displayed as shown 3 Press the OK Key and enter the function block settings using the a 4 Press the OK key with Period highlighted and the user can enter a T A v t and keys e B001 PWM xSetup FE Change No Delete FB and v keys B001 PWM Period Duty and t value using the B001 PWM Period T 1 0s is 0 0s 5 Press the OK key to return to the function block settings screen Highlight the Duty option using the a and v keys The Duty can be entered by pressing the OK key A Directset value Analog In or FB value can be entered BOO1 PWM Di rectSet Analog In FB Value Press the ESC key until the user returns to the function block diagram 2 MITSUBISHI 6 54 Q2 Simple Application Controllers Function Blocks 6 6 22 PID Block The PID Function Block contains the a2 implementation of PID a control method used to obtain stable control over a system variable The chapter describes in detail the necessary parameter adjustments for using the PID Function Block properly A simpler alternative is to run the Auto tuning function which automatically adjusts the parameters for the specific system The following terms will be used throughout this chapter Process Value PV Set Value SV and Manipulated Value MV The PV is the current measured value of the system parameter that PID is controlling SV
125. g the short message read command AT CMGR to the modem 012 waits for 1s for receiving the short message In case the modem doesn t transmit the received short message to 02 within this time 0 2 sets the bit b7 in the GSM status word This bit can only be checked by amp 2 GSM Status display Once set it can be reset by Cursor Down Key operation a MITSUBISHI 6 93 Q2 Simple Application Controllers Function Blocks 6 6 31 4 SMR Short Message Receiving Setting Dialog Box ie A o nO laos box is used to set the parameter and comment SM Commands ov IV Display Signal Number Refer to the Communication Manual for detailed explanations concerning the dipen Iv Display Monitor Information Short Message Receiving dialog box setting of the 2 Series controllers Phone Number 49222222222 r Short Message Age Acknowledge Retentive B F ai p Minutes Maintenance E po l 5 minutes 24 hours Sweeks 63 weeks Timezone GMT 0 Aj 15 minutes 0 hours O minutes Word Output Range Min Value 32766 E Max Value 22767 zl r Short Message Command Bit Output Bit Output OFF Light off Bit Output ON Light on C Word Output vord Wotput Change SMR Password Shange eurent values a MITSUBISHI 6 94 Q2 Simple Application Controllers Function Blocks 6 Call Detect Block In case a GSM modem or an analog modem that supports Calling Line Identificati
126. gt Other Com 4 Comformat 07 Refer to Figure 3 9 68 j Station No Other Com Station No No O LinkBlock gt Other Com 4 Link Block 0 MITSUBISHI 3 8 Q2 Simple Application Controllers System Menu 3 Figure 3 8 GSM Menu in Run Stop Mode Operation GSM 45 Combo mat gt Refer to Figure 3 9 46 8 Refer to Figure 3 7 GSM Init GSM Init GSM Ini t01 a Command 4 Command yz l GSM Init DelayTime 4 DelayTime 0s GSM Remote GSM Remote k Forbit Permit PIN Code PIN Code iu PIN Code 4 Setup sida Y Setup kK KK NN MX o x UN Arrow key Set SMS Set SMS Set SMS 01 2 SMSC1 lt a SMSC1 SMSC2 DA1 9 0123 DA2 In Run mode this line DA3 is not displayed VP GSM Status GSM Status ek J Status GSM Status PRESS Status 0000H CME Error GSM Status Bt ora CME Error 1 CMS Error GSM Status E teres CMS Error 1 SigStreng GSM Status des et SigStreng 0 2 MITSUBISHI 3 9 Q2 Simple Application Controllers System Menu 3 Figure 3 9 ComFormat in Run Stop Mode Operation v ComFormat 8 4 DataLength gt DataLength In Other Com 1 8 bits refer to Figure
127. he key to add a block There is no need to enter the AddFB mode because O01 will appear on the list of blocks to add Use the A and v arrows to scroll to O01 accept with the OK key and then confirm with the OK key 7001 E E OS MITSUBISHI 7 2 Q2 Simple Application Controllers Let s Make a Program 7 7 3 2 7 3 3 Scroll through the Function Blocks by Number Section 4 6 1 When the Output has been connected move one space to the right so that the Output number 01 is flashing Use the key to scroll through to Input 102 You will scroll through the Outputs Keys M bits and finally get to the Inputs 001 01 gt P gt OS Out Move to the right one space so that the output pin is flashing Connect 102 to the OR block the same procedure as connecting 101 to the One Shot Block The input pins for the OR Block are equivalent so that any input pin can be chosen The key sequence for the OR Block addition is OK scroll to AddFB OK scroll to OR OK OK Move right until the OR output pin is flashing Connect Output O03 in the same manner that O01 was added The key sequence will be OK scroll to O03 OK OK 002 03 OR Out With the OR output pin still flashing see diagram at right press the key again The output pin of the OR block can be connected to another location Scroll to B01OS
128. he capability to manipulate Function Block values and settings but cannot edit change or delete the existing program Block Availability The number of System Inputs and Outputs is determined by the type of controller being programmed Configurations include 6 In 4 Out 8 In 6 Out and 15 In 9 Out Up to 200 Function Blocks can be used in a program or 5000 bytes of memory The Function Blocks must be added in the course of programming The 8 Keys and the 24 system M bits are automatically available for every program Inputs Outputs System Memory Bits Extended Inputs Extended Outputs AS i Outputs Control Bits and Keys do not count in the Function Block total Connecting Blocks Any block that has an output pin can be connected to any block that has an unused input pin System Inputs Keys and Memory M bits have output pins only Function Blocks and Outputs both contain input and output pins the Display and TimeSwitch Blocks are exceptions Blocks can be connected beginning with an output pin from left to right on the display or beginning with an input pin from right to left on the display To connect the blocks from the left signal provider block to right signal receiver block It is necessary to choose the block to provide the output step 1 the block to accept the signal step 2 and the pin with which to accept the signal step 3 1 Step 1 Select the block providing the data to be output and move to the right un
129. he time Note The Input No TimeDiffer and Manual selections will only be displayed when DCF77 has been enabled from the RadioClock menu The error message No Signal will flash on the headline if the controller does not receive the DCF77 signal when the input is setup for the RadioClock function If there should be a signal in the installation area check the setup and hardware for faults When in STOP mode and Start Act is used to manually start DCF77 decoding the user must check the state of M10 decoding active flag 30 minutes after starting the decoding If M10 is off DCF77 decoding finished without error If M10 is still ON there is a problem with either the wiring or the availability of the signal in the location of use e g antenna problems The user should check both possible causes MITSUBISHI 3 17 Q2 Simple Application Controllers System Menu 3 3 6 5 SummerTime The Summertime menu will display six choices when entered Cancel Turns off the Summertime clock setting Manual On Moves the clock one hour ahead immediately and will remain ON until cancelled Date Type Set the On date Off date and Time adjustment 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 Free Type Set the On Off date among each Sundays Hour of time chang
130. he time or the input pin is turned ON again The Speed Detect Function Block is used to 1237000 count the incoming pulses max 20Hz with Speed us P Lo an extension module max of 1kHz for a Detect C set period of time The upper and lower 25 Byte 6 20 SPD SPD limits can be set from 32768 to 432767 E and the Period interval s set range is 1 to 32767 in 10ms increments The Pulse Width Modulation Function Block 000 changes the output status according to a IS P Lo set period of time with a minimum of 100ms PWM and a maximum of 3276700ms in 16 Bvte 6 21 PWM PWM increments of 100ms The percentage duty y for the function controls the amount of elapsed time before the output status is changed The PID Function Block is the 0 2 E gt 000 implementation of PID a control method A gt P FO used to obtain stable control over a system PID C variable It is a equipped with an Auto 52 Byte 6 22 PID tuning function which automatically adjusts the Function Block parameters for the specific application The Alternate Function Block is used to reverse the ON and OFF state of the output 000 as and when the input pin receives a signal Retentive O The output will be set ON when the input Alternate C pin goes high and remain ON until the input 13 Byte 6 23 RAL RAL receives the second rising edge When the E power is turned OFF the function block will use the last alternation operation to control the output 000 Addition I gt P i
131. hen out put is 4 gt NOR j j ON otherwise output is OFF 2 MITSUBISHI 8 3 Q2 Simple Application Controllers Appendix 8 Function Blocks FB Name FB Symbol Description of Function Block pret Section 1 000 Th e Boolean Function Block uses Boolean Boolean 2 gt P ES algebra to control the ON OFF state of an 4 6 3 BL 3 output An operational expression consists 4 gt _ BL of either the AND OR XOR or NOT form 000 The Set Reset Function Block either holds an output ON set or releases the output Set Reset S3 P O OFF reset Priority can be given to either 4 Bvt 6 4 SR R input pin if both inputs have been energised Ye SR simultaneously The default priority setting is dedicated to the reset input pin 000 The Pulse Function Block sends a single Pulse I gt P LO 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 z operation 000 The Alternate Function Block is used to reverse the ON and OFF state of the output Alternate Pe as and when the input pin receives a signal 13 Byt 6 6 AL C The output will be set ON when the input yte AL pin goes high and remain ON until the input receives the second rising edge 000 The Delay Function Block provides an ON Delay I gt P pe delay timer and an OFF delay timer Time DL C intervals f
132. hin Compare F a specified upper and lower limited zonal 20 Byte 6 17 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 Fe low limits The output is ON when the input Trigger value reaches the high limit and then falls 19 Byte 6 18 ST ST below the lower limit The function only processes the data when the function block is receiving an input signal The Hour Meter Function Block holds the 000 output status ON for a maximum of 32767 Hour Meter I gt P Fo hours 59 minutes and 59 seconds If the HM C input pin is turned OFF the elapsed time 19 Byte 6 19 HM 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 to 13 000 count the incoming pulses max 20Hz with Speed us P Lo an extension module max of 1kHz for a Detect C set period of time The upper and lower 25 Byte 6 20 SPD SPD limits can be set from 32768 to 432767 E and the Period interval s set range is 1 to 32767 in 10ms increments MITSUBISHI 8 5 Q2 Simple Application Controllers Appendix 8 FB Name FB Symbol Description of Function Block Memon Section Use The Pulse Width Modulation Function Block 000 changes the output status according to a I gt P Lo set period of
133. hoose OK to proceed or ESC to exit 6 When the program is successfully transferred Completed will blink on the display To apply the ProtectSW Feature The ProtectSW will write protect the program in the memory cassette The program cannot be edited nor erased when the feature is ON 1 Install the AL2 EEPROM 2 per the instruction manual 2 Select Others in the Top Menu 3 Select ProgTran 4 Select ProtectSW 5 Choose Or to activate the feature To Remove the ProtectSW Feature 1 Install the AL2 EEPROM 2 Refer to the AL2 EEPROM 2 instruction manual 2 Select Others in the Top Menu 3 Select ProgTran 4 Select ProtectSW 5 Choose Off to de activate the feature In case of an 012 version 2 20 controllers in VLS programming software the Copy to Memory Cassette protection can be set If this option is set the copy of a program from Q2 version 2 20 controller to Memory cassette is prohibited MITSUBISHI 3 23 Q2 Simple Application Controllers System Menu 3 3 6 11 Analog Inputs The Analog Inputs can be configured for three different modes Normal TC and PT100 Normal mode is used for ordinary analog signals TC and PT100 modes should be used with the AL2 2TC ADP and AL2 2PT ADP modules respectively For more information on these modules refer to the 0 2 Hardware Manuals and the individual installation manuals The following changes should be m
134. imple Application Controllers System Menu 3 3 3 The Run Mode Top Menu When the 2 program is running the LCD defaults to the Image Table screen According to the Menu Key setting proceed to the Stop Mode of the Top Menu by using the OK and the ESC keys or reset the controller by powering down e Stop Takes the X2 out of Run mode Setup TS Provides a simple method to edit Time Switches from the Top Menu e Monitor Monitor the program settings while in the Run mode and perform limited editing to FB parameters The existing programming steps cannot be modified e ClockSet Set the Real Time Clock input a daily clock adjustment or set the RadioClock function Caution When setting the Real Time Clock or inputting a daily clock adjustment to the following menu functions please change the mode to Stop e ClockSet in ClockSet Menu e Correct in ClockSet Menu e LANGUAGE Choose the on screen language from English German French Italian Spanish Swedish or Russian e Others 1 Ver 3 00 or later TOP MENU is not Displayed in Run Mode The menu key should be operated to access the Top Menu Push the keys OK and ESC at the same time If the menu call key is not set use either the programming software to the Stop mode or do the forced stop operation Caution Perform the forced stop operation only after thoroughly checking that it is safe to do so Damage to the machine or controller or a safety i
135. initiated accordingly The modem connected to the Q2 is initialized upon the Ol2 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 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 power on before setting the setup AT command to the modem Choose a value of O 10 seconds using the or keys The modem connected to the Personal Computer with VLS software must be set ON prior to the C2 modem turning on The GSM function allows a SMS Short Message Service message to be sent to either a mobile telephone or an email account The short message provides the remote user with the identical LCD screen s data By recieving a short message by 02 SMR FB bit output or word output can be changed this remote switch commands carried out Refer to the 2 Communication Manual for detailed explanation concerning GSM parameters The OtherCom function provides the user with an on line programming fe
136. ional gain coefficient See Control Response Ol Input value filter coefficient p Integration time coefficient See Control Response Table 8 3 Coeffiecient Values for Different Response Times Operation a B FAST 100 100 NORMAL 40 135 SLOW 0 100 a MITSUBISHI 8 10 s MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN HIMEJI WORKS 840 CHIYODA CHO HIMEJI JAPAN JY992D97101F Effective Mar 2008 MEE Specifications are subject to change without notice
137. is the desired value of the parameter being controlled and MV is the output of the PID Function Block used to drive the PV to the SV Up to 20 PID Function Blocks may be used in a program Table 6 23 PID Block Function Set Item Description Enable pin for the PID Block The Error output is reset when the pin E goes OFF If left unconnected the function block will always be enabled A Starts Auto tuning on the transition from OFF to ON If the pin is unconnected it is considered OFF C Clears all output signals and stops Auto tuning when turned ON If left unconnected the pin is considered to be OFF E 000 SV The word input pin for the set value If left unconnected a set value of A P LO 0 is used in the control calculations C F Py The word input pin for the process value If left unconnected a PID process value of 0 is used in the control calculations FB Refer to the Timing Diagrams and Parameter Settings below 1 AT RUNNING turns on when auto tuning is in operation Output 2 The following outputs are available for other function blocks a MV Manipulation Value b ERROR CODE PID Function Block Operation Timing Diagrams 1 PID Operation when Auto tuning has finished normally EN PID operation CLEAR AT start operation performed with new parameter AT RUNNING MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 2 PID Operation when
138. ist Refer to Chapter 3 for option settings e Language e Real Time Clock Set e Others Password Dispass Summertime Clock Menu Key Light Time and Serial Communication For the program below none of the above options need be set Use the ProgClear to erase the current memory contents with OK To confirm the memory erase press OK again The Function Block Diagram The system Inputs 101 102 and 103 are shown on the left of the diagram and the system Outputs 001 O02 and 003 are shown on the right The function blocks are numbered in the order that they are added to the program a s B001 c OS O01 One Shot 102 j B002 c B003 103 2 OR A SR 002 Set Reset 003 The input pins are shown on the left side of the FB and the output pins are shown on the right side of the blocks Note that each input pin can receive only one signal but the output pins can provide signals to multiple sources a MITSUBISHI 7 1 Q2 Simple Application Controllers Let s Make a Program 7 7 3 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 If during the course of the programming you wish to begin again use the ES
139. istory of 0 2 Series Version Description V1 00 First product V2 00 Supports the following points e AL2 2DA AL2 2PT ADP AL2 2TC ADP modules e New function blocks AO Analog output and PID PID control e DCF77 Radio clock V2 20 Supports the following points New function blocks SMR Short Message Receiving and CD Call Detect e Enhanced User Program Protection Enhanced Daylight Saving Time Setup Enhanced Dedicated Protocol Communication e GSM SIM PIN Modem Initialization String V3 00 Hour Meter backs up by EEPROM No 197 200 Display Buffer Read by Dedicated Protocol Supports the following points e Russian language addition 1 4 Applicable Programming Software Table 1 2 Applicable Programming Software Q2 Version Programming Software AL PCS WIN E Version V1 00 V2 00 or later V2 00 V2 30 or later V2 20 V2 40 or later V3 00 V2 50 or later Note e AL PCS WIN E versions lower than V2 00 do not communicate with the 0 2 series e AL PCS WIN E versions lower than V2 30 do not use the AL2 2DA AL2 2PT ADP or AL2 2TC ADP a MITSUBISHI Q2 Simple Application Controllers Introduction 1 MEMO MITSUBISHI 1 4 2 Simple Application Controllers Function Block Programming 2 2 2 1 Function Block Programming The 2 Series Controller is programmed with a user friendly method of combining special pur
140. it Setup FB Change No Delete FB 3 Press the OK key to set the Time unit for the delayed output Time unit 10 ms 100 ms 1 s 4 Press the OK key having selected the value for the one shot time unit and return to the function block edit screen Using the a and v keys highlight the Setup FB and press the OK key The screen displayed is shown B001 0S OneShot s Priority 5 Select the One Shot or Priority option using the 4 and v Keys and press the OK key The One Shot time can be entered using the or keys B001 0S OneShot T 0 fs t 0 0s 6 The Priority can be entered using the a or v keys B001 0S Priority Time Input 7 Press the OK key to accept the time figures and subsequently press the ESC key to return to the function block edit screen a MITSUBISHI 6 19 Q2 Simple Application Controllers Function Blocks 6 6 9 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 Table 6 10 Flicker Function Block Function Set Item Description Input pin for flicker operation The following three set items exist 1 The applicable range for the turning the ou
141. itor Mode sa 4 5 4 8 1 Monitor Update Function Block Values ccccccccccnnnnnnnnanannons 4 5 4 8 2 Forcing Outputs ON OFF cocoa noinen de esa ae 4 6 4 8 3 Add Delete Function Blocks in the Monitor Mode 4 6 5 The Logic Function BIOCKS caian eec ae 5 1 A nan ot reb E e RR ta SERRE ER Od ce bu cu ener na RE RENE REDE 5 2 5 2 Te OERUBIOGI eiecit reb pe e quen Hr breue sao usce ober E Er Per 5 3 5 3 The NOT BIOGK s esa ento Ge ERR d nner nay cicle 5 4 5 4 The XOR Block Exclusive OR 5 ceri ha aeia pesa idad 5 4 5 5 The NAND Block Not AND eeeeeeeeeeenennnennnnnnnnn nnn 5 5 5 6 The NOR Block Not OR c cccccccccccccceceeceeeeeeessseeesseseeeeceeeeeeeeeeeeeeeeeees 5 6 MITSUBISHI vi a2 Series Applications Controller 6 Function BIOCKS eese ione YE e p pce a Re rr ovo ees ae Eve Den REE FR 6 1 61 BT SIDON MERE 6 8 o2 ADD MAIN a aa dnde 6 8 o airiai dee EE AERE RE a ae Re be MAR HE DR DARE RE 6 9 o ospHesst Block Laert tetti disco 6 11 6 5 RUISG Block orto daba 6 13 6 6 Alternate BIOCK vaa A aia 6 15 6 7 Delay DIO ua 6 16 MAA AAA Unt ee bel ap ete deber esee bates ai aea tirik 6 18 6 9 FICK Bh BIOGCI eroe tcr gente vin ren b rama e a dnt oh n idi atio 6 20 6 10 Times W Block isa cru relie eere E I ves eie ecl Us va e ined Rue 6 23 6 10 1 Setting the First Time Switch eeseeesesseeeessss 6 23 6 10 2 For the Date operation ooooo
142. l count is only registered if the input pin locates a rising edge 4 The following items are available for other function blocks a Count b Current Count Counter Operation ON Input pin OFF Pom c4 E ON Input pin C A A E XM OFF Pu E 5 3 EE y Current value of i 3 4 i set value a i 3 counter 1 2 Pod 1 2 0 0 0 0 0 Output OFF ON Setup of the Counter 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 CN Setup FB Change No Delete FB 3 Rl the OK Key and enter the counter function block settings using the a and v eys B001 CN Count N 1 n 0 4 Press the OK Key and return to the function block edit screen a MITSUBISHI 6 26 Q2 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 13 The Counter Function Block Function Set
143. le Application Controllers The Logic Function Blocks 5 5 1 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 1 gt a If no Input pins are connected the block output is OFF 2 gt me 1 gt 01 ae 4 gt _ AND 2 gt Output 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 Q2 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 1 gt 00 Unused Inputs are considered to be OFF 2 To 01 Siea 3 gt 2 Outpu A gt Fd 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
144. limit on e mails is the 02 controller memory Each GSM SMS Function Block can service a single e mail address E mail access codes from the SMS service provider are required to send SMS e mails 6 30 9 SMS Service Center Pay the SMS Service Provider for _ sm5 Service Center Mobile and Gateway access ee Valid Period Mobile It is possible that the same pemmmm p pe p eee number will be used for both El z _ applications Gateway n Please verify with the sw 0000 5 minutes 24 houws Sweeks 63 weeks Service Provider whether the International code is needed Donen at the beginning of the phone C Mobile Phone eet faa Malai number Gateway een d Name 2 Phone Number 2 Mobile Phone du Justin 19222222222 e Name 3 Phone Number 3 y XE Ha IE Ken 49333333333 Gateway Cancel Help 6 30 10 Valid Period This is the requested period for the message to exist on the Service Providers Server This parameter is ultimately under the control of the Service Provider who might change the time period according to their company policy The time can be set from a minimum of five minutes to a maximum or 63 weeks 6 30 11 Destination Click the Mobile Phone option to input data for a mobile phone Use the Name as an optional memo area Enter the Destination phone number in the Phone Number box Please verify with the Service Provider wh
145. ltage of O volts will also set the corresponding flag but indicates a power failure at the ADP module 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 Image Table The first LCD display to appear is the Input Output image table and the Real Time Clock The clock shows the current time as set by the user The Summertime mode is shown by an s 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 MITSUBISHI 3 25 Q2 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 System Bits MO1 M24 or Link Inputs E01 E04 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
146. m 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 3 Front panel keys for the amp 2 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 move ESC K02 to a new menu ay K03 Used to connect or add function blocks increase Direct Set input values or times or move through programs or menus o K04 Used to disconnect function blocks decrease Direct Set values or times or move through programs or menus A KO5 Scroll up through menu options menus keys FB Inputs Outputs A etc v K06 Scroll down through menu options menus keys FB Inputs Outputs etc p gt K07 Move to the right on the LCD display FB program or Jump command lt K08 Move to the left on the LCD display FB program or Jump command If the front panel keys are used as auxiliary inputs on the FBD their primary function as front 1 panel display navigators will be disabled a MITSUBISHI 2 2 02 Simple Application Controllers Function Block Programming 2 2 1 3 System Memory Bits These System Memory Bits can provide predefined signals Always On Always Off 0 5 second O
147. manager The controlled user screen by display manager User Screen A Control signal Control signal for changing for changing User screen user screen The controlled user screen by displ Control signal Isp ay manager for changing User Screen B user screen Control signal Control signal for changing for changing user screen user screen The controlled user screen by display manager User Screen C Control signal for changing user screen a MITSUBISHI 6 107 Q2 Simple Application Controllers Function Blocks 6 6 37 2 To Set Display Manager 1 Double click the Display Manager button on the FBD base window Ic FBD 2 Click the Insert CDP button to Insert CDP function block for the control user screen function Display Manager Ed a MITSUBISHI 6 108 Q2 Simple Application Controllers Function Blocks 6 3 Choose the CDP Control Display Function icon to add a DP Display function block for each user screen Display Manager 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 Display Manager a MITSUBISHI 6 109 Q2 Simple Application Controllers Function Blocks 6 5 Choose the Display icon for indication FB Function Block or Analog value and click Connect button When not displaying them please go to step 7 Display Manager
148. mode 7 59 Sun refer to Figure 3 11 Correct L Correct Pa 0 00s d GMT Zone LX ClockSet 4 GMT Zone o0h00m RadioClock Caution When setting the Real Time Clock or inputting a daily clock adjustment to the following menu functions please change the mode to Stop ClockSet in Clock Set Menu Correct in ClockSet Menu RadioClock RadioClock Input Time Differ 1 Manual ID a RadioClock Not Use DCF77 ke RadioClock Input 101 ID l RadioClock Time Differ 0 Ohrs gt a Manual Start Act OK or ESC When DCF77 Radio Clock menu is not set these items will not be displayed MITSUBISHI Q2 Simple Application Controllers System Menu 3 3 2 2 The Others Version Displays CPU Version of the 2 Series Controller Scan Time Monitor the Current Maximum or Minimum program scan times Upon controller reset current Maximum and Minimum values for scan times are reset to O 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 unauthorized people cannot access the Q2 Top Menu in Run mode If the OK ESC key setting is selected simultaneously depress the OK and the ESC
149. modem sends to 2 not the number of RING a person hears at the telephone s earphone 2 doesn t answer the incoming call by Call Detection so no connection is established For remote maintenance the connected modem has to be configured for automatic call answer by AT command ATSO like in older versions V1 00 or 2 14 In case the setup number of RING before automatically call answer is set to a lower number than the number of RING before call detection the Call Detect FB detects the phone number after the number of RING before automatically call answer ACK messages can be realized by using SMS FB together with CD FB Table 6 50 Action when the modem is called Setup Action when the modem is called X Y When number of RING reached X the CD FB detects the phone number and the modem answers the call When number of RING reached X the CD FB detects the phone X lt Y number Unless the number of RING doesn t exceed Y the modem doesn t answers the call Coy When number of RING reached Y the modem answers the call Even if X is bigger than Y the CD FB detects the phone number X Number of RING before Call Detect Y Number of RING before the modem automatically answers an incoming call The Call Detect FB operates only by an simple handing failure So install some safety device according to system a MITSUBISHI 6 96 Q2 Simple Application Controllers Function Blocks 6 6 33 Random
150. mple a Proportional gain coefficient See Control Response Ol Input value filter coefficient p Integration time coefficient See Control Response 6 22 2 Setting the Input Values SV and PV Set Value SV SV is the target TI value for the system parameter Comment PID Settings Dialog Box Display Signal Number under PID control The SV pin on AERE i SQ t the Function Block accepts a ea Nia ee Input values Sampling time constant a value from an analog 9 2 xt temperature input or a word Setvalue 5000 Process value 0 tte32767 i 32768 to 32767 32768 to 32767 Noise filter output from another Function Block This value can be oto 9 changed during PID operation A ENIM EPIS i i 1 C TC A i 0 ied E Auto tuning has E AEGIDII ei comers EE o Integration time E ved d GR a orware 2 everse Process Value PV The PV is des Control response the current measured value of E E A TEA the system parameter under PID Bee Ro aue EE EE control The PID Function Block 0 to 100 0 to 32767 CP CP PD output drives the PV toward the io PR de F3 d Lower I Li SV when PID control is operating HEUTE js Q correctly The PV field should 4 x j Vall A Cancel Help contain the appropriate signal esee A eee from the system under PID control 6 22 3 Setting the Function Block Parameters Proportional Gain Kp Kp scales the magnitude of th
151. n 0 5 second Off or provide information about the Real Time Clock time or errors etc There are 24 Memory bits that are referenced as MO1 MO2 M24 Table 2 4 System Bits for the 2 Series Controller m Description AL2 10M Ato oan MO1 Always ON Y v MO2 Always OFF Y v MOS Alternate 0 5 seconds ON 0 5 seconds OFF Y v MO4 ON when Real Time Clock data error occurs Y v MO5 ON when Summer time schedule is activated Y v MO6 ON when AS interface communication Error occurs v M07 ON when communication Error caused by AS interface power failure z de occurs MO8 Pulses ON when Stop mode turns to Run mode in the 2 Series v v MO9 Pulses OFF when Stop mode turns to Run mode in the 02 Series Y v M10 ON during DCF77 decoding Y Y M11 Pulses ON when DCF77 finishes decoding without an error Y v M12 Nd when CD DCD signal is turned ON receiving CD signal from e Y e modem M13 ON when it is possible to access the GSM network v M14 ON when the a2 series controller is accessed via GSM v M15 ON when DCF77 finishes decoding with an error Y v M16 ON when external power for the 2DA board is on v M17 ON when there is a sensor defect at 101 Y v M18 ON when there is a sensor defect at 102 Y v M19 ON when there is a sensor defect at 103 Y v M20 ON when there i
152. n status took place between two rising edges See the timing diagram below 1 Shift Operation Timing Diagram Power supply Run mode Stop mode ON Run mode ON OFF Stop mode ON ON Input pin Al Shift pin Output pin ON ON ON ON 7 7 Set pin ON Reset pin ON MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 2 3 Bit Shift Operation Input pin 101 SFT 001 Shift pin 102 I e Es SFT Reset pin O02 103 SFT 003 gt 3 Bit Shift Operation Timing Diagram a aa 103 Reset pin co O02 003 3 3 Bit Shift Operation 2 Shift pin NOR OR 101 T SFT O01 Reset pin SFT O02 102 SFT O03 3 Bit Shift Operation 2 Timing Diagram 101 Shift pin ON
153. n the SM outputs E are changed The Short Message Receive maintenance Short 000 Function Block searches for the occurrence Message E P Lo of a command in the SM In case the diet ad command text is exactly included in the SM 7 6 31 ISMRM R SMR outputs are changed The function block SMAM can be setup from the TopMenu Parameter via the front panel keys Call 000 The Call Detect Function Block in case the E gt P HO numbers of digits of both phone numbers race R E and the phone numbers itself are equal the 30 Byte 6 32 CD CD Function Block output is switched on The Call Detect Function Block in case the 000 numbers of digits of both phone numbers Call ES P Lo and the phone numbers itself are equal the Detect m CD Function Block output is switched on 30 Byte 6 32 CDm R e The function block can be setup from the i TopMenu Parameter via the front panel keys a MITSUBISHI 6 4 Q2 Simple Application Controllers Function Blocks 6 FB Name FB Symbol Description of Function Block wees Section 000 Random I gt PEO The Random One Shot Function Block One Shot C emits a random length single pulse to the 19 Byte 6 33 ROS ROS output 000 Delayed I gt PEO The Delayed One Shot Function Block One Shot c emits a single pulse after a controlled delay 20 Byte 6 34 DOS DOS to the output 000 Delayed I gt P O The Delayed Alternate Function Block Alternate C alterna
154. nction block 1 Word Output a Delay set value b Current value of delay time 2 Bit output a The delay action occurs after the function block sees the rising edge of the input signal b After the specified Delay time the Output signal changes state c When the Clear Input signal sets ON the Current Delay Time is cleared and the Output signal will reset OFF Note The delay time cannot be less than one scan time for the controller otherwise the Delayed Alternate Function Block will not perform its assigned task for the time specified Users can monitor the scan time from the o2 Series Controller Scan time is dependent on the user program therefore caution is needed as and when time units are selected 1 Delayed Alternate Operation Input pin A Clear pin Reset Output pin OFF nia OFF Output pin K k lt gt k k Delayed Delayed Reset delayed timer Delayed Reset delayed timer Time Time shorter than set time Time shorter than set time 2 Delayed Alternate sample program 101 102 CL DAL Delay Time 1s O02 3 Delayed Alternate comparison sample program 101 102 CL DL AL 002 ON Delay Time 1s 10 x 100ms OFF Delay Time Os 0 x 100ms CL
155. nd Kp D control acts together with the proportional part of PID control For changes in the PV the Derivative component will supplement the P control depending on the rate of change of the PV Derivative Control initially outputs a large corrective action which dissipates rapidly over time The outcome is that the PV reaches the SV more quickly and does not fluctuate as much as with Pl control There are two ways to adjust the Derivative control of the PID Function Block Derivative Time Tp and Derivative Gain Kp Tp can be set manually or automatically with the Auto tuning function The default value for Tp is 100 1 second but can be set to any value within the range of 1 to 32767 in 10ms units For small values of Tp D control will have a small effect For large values there will be a short stablization time with some searching overshoot and undershoot for the SV The second parameter Kp cannot be set by the Auto Tuning function and should be adjusted manually The default value for Kp is 50 but can be set to any value within the range of 0 to 100 6 Increasing Kp will make the D control more responsive shorter stablizaton time to sharp changes in PV Figure 6 22c Characteristic response for different Tp parameters A PV To3 gt TD2 gt TD1 ASA DO A aN Tps APA PID action v PI action without derivative action Tp1 PID action Y Response to sudden change in PV XX To2 PID action
156. nd Restart Start Start Restart timekeeping timekeeping timekeeping timekeeping timekeeping timekeeping Input pin y V SR j e Suspend Input pin C ei timekeeping Output j Corresponds Timekeeping with selime i M Timekeeping Suspending Current value Setup of the Hour Meter Function Block directly from the 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown 3 Press the OK key to set the Time unit for the delayed output B001 HM T ime uni t Setup FB Change No Delete FB Time unit hh mm mm ss 4 Press the OK key having selected the correct time unit and return to the function block edit screen Using the a and v keys highlight the Setup FB and press the OK key 5 Press the OK key with Hour highlighted and using the a v and Keys enter the total hour time for the specified block BOO 1 HM Ho ur Minute B001 HM Hour T T th t 0h 6 Press the OK key with Minute highlighted and using the a v and Keys enter the total minute time for the specified block B001 HM Minute T T 0m t m a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 6 20 Speed Detect Block The function block measures the
157. ng applications in life critical situations or high reliability This manual is subject to change without notice This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual O 2005 MITSUBISHI ELECTRIC CORPORATION a MITSUBISHI Q2 Simple Application Controllers 0 2 SIMPLE APPLICATION CONTROLLERS PROGRAMMING MANUAL Manual number JY992D97101 Manual revision F Date 3 2008 MITSUBISHI Q2 Simple Application Controllers FAX BACK Mitsubishi has a world wide reputation for its efforts in continually developing and pushing back the frontiers of industrial automation What is sometimes overlooked by the user is the care and attention to detail that is taken with the documentation However to continue this process of improvement the comments of the Mitsubishi users are always welcomed 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 YOUN NAME iu cierre eere etie Mits ubishr ElectriGz z artis America 01 847 478 2253 Your company coccccccnccnnnonnnonnnnnnnnnnncnnnnnnnnnnnnos Australia 02 638 7072 2X2 sss rrr Germany 0 21 02 4 86 1 1
158. ng on the chosen pulse operation 1 Rise Edge From Off to On 2 Fall Edge From On to Off 3 Both Edge From Off to On and On to Off 1 Rise Edge From Off to On Operation Input pin Output 1 operation cycle time to process program once 2 Fall Edge From On to Off Operation Input pin I Output n R 1 operation cycle time to process program once 3 Both Edge From Off to On and On to Off Operation Input pin 1 pulse width Output K2 pulse width 1 operation cycle time to process program once a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 Setup of the Pulse Function Block directly from the 0 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown B001 PL Setup FE Change No Delete FB 3 Select Setup FB using the a and v keys and press the OK key Select using the a and v keys the initiation type for the pulse operation B001 PL RiseEdge Fal Edge BothEdge 4 Press the OK key to return to the function block edit screen a MITSUBISHI 6 14 Q2 Simple Application Controllers Func
159. nge settings for each parameter B001 DP LEN 1 MAX 0 MIN 0 12 If a Function Block Value is required to be displayed press the OK when FB Value is highlighted in step 5 B001 DP FB Select Not Exist Valid FB a MITSUBISHI 6 39 Q2 Simple Application Controllers Function Blocks 6 13 If a Time Switch is required to be displayed press the OK when TS Data is highlighted in step 5 B001 DP TS Select TimeSwm B001 14 If Date is required to be displayed press the OK when Date is highlighted in step 5 B001 DP Pos 12 1 Date 02 14 2002 15 If a Time is required to be displayed press the OK when Time is highlighted in step 5 B001 DP Pos 12 1 Time 20 45 16 Press the ESC key and return to the FBd for further programming a MITSUBISHI 6 40 Q2 Simple Application Controllers Function Blocks 6 6 17 Zone Compare Block This function checks whether a value is within a specified range There are three values the Low Limit L Input Value Il and High Limit H These values can be Set Directly be Analog 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 18 Zone C
160. 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 32768 Operation result Y232767 Output pin turned ON and the operation result Y will be set to 32767 Setup of the Multiplication Function Block directly from the a2 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 and enter the function block settings using the a and v keys The Multiplication operation y A B must be specified B001 MUL Setup FE Change No Delete FB B001 MUL OutputVal DysA 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 8001 MUL DirectSet Analog In FB Value 5 Repeat step 4 for Constant B and return to the FBd using the ESC key a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 6 27 Division Block The function block is used to divide inputs A and B hence produce the quotient Q and remainder R Table 6 35 Division Function Block Function Set Item Description Input pin for division function block This function block operates the expression Q A B
161. o 10 Byte 6 5 PL ON or ON to OFF And OFF to ON input operation 000 The Alternate Function Block is used to reverse the ON and OFF state of the output Alternate E as and when the input pin receives a signal 13 Bvt 6 6 AL C The output will be set ON when the input y e i 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 LO 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 n increments The One Shot Function Block awaits a 000 signal supplied to the input pin thereafter One Shot I gt P ES 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 7 priority setting The time unit can be set to 10ms 100ms or 1s increments 000 is P Lo The Flicker Function Block changes the ON Flicker F and OFF state of the output according to a 19 Bvte 6 9 FL FL preset flicker time The time unit can be set y Le to 10ms 100ms or 1s increments MITSUBISHI 6 1 Q2 Simple Application Controllers Function Blocks 6 FB Name FB Symbol Description of Function Block wees Section 000 Time P LO The Time Switch Function Block uses a Switch predefined time schedule to control the ON 2 6 10
162. 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 Block will not perform its assigned task for the time specified Users can monitor the scan time from the 2 Series Controller Scan time is dependent on the user program therefore caution is needed as and when time units are selected One Shot Operatio 1 Time Priority n Input pin Input pin C Output ON set time 2 Input priority OFF set time Input pin Input pin C Output set time MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 Setup of the One Shot Function Block directly from the amp 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown B001 0S xTime un
163. olean 4 gt BL Output operation involving the numbered input pins 1 2 3 4 Table 6 4 Boolean expressional data Item Display Description AND Intersection OR Disjunction XOR A XOR NOT NOT Left parenthesis Right parenthesis 1 1 Signal connected to Input pin 1 2 2 Signal connected to Input pin 2 3 3 Signal connected to Input pin 3 4 4 Signal connected to Input pin 4 O O Output signal Equal sign signal 1 Boolean Operation E 1 gt 01 Output 2 gt 1 ai 3 gt Den one gt BL AND OR a MITSUBISHI 6 9 Q2 Simple Application Controllers Function Blocks 6 Setup of the Boolean 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 BL Setup FB Change No Delete FB 3 Select Setup FB using the a and w keys and press the OK key The boolean function block edit screen is displayed as shown B001 BL 3 O 4 Enter the boolean expression via the a and v keys A boolean expression is displayed as shown BOO1 BL 3 O 1 2 3 OR 5 Press the OK key after entering the boolean expression a MITSUBISHI 6 10 Q2 Simple Ap
164. ompare Function Block Function Set Item Description 000 Input pin for zone compare operation FB The following conditions apply to the function block 1 Low compare value L a DirectSet Constant value setting range 32768 to 32767 with an initial value O b Analog In Analog Input setting range A01 to A08 with an initial input AO1 c FB Value output value from a function block 2 Input input value 1 a DirectSet Constant value setting range 32768 to 32767 with an initial value O b Analog In Analog Input setting range A01 to A08 with an initial input AO1 c FB Value output value from a function block 3 High compare value H a DirectSet Constant value setting range 32768 to 32767 with an initial value O b Analog In Analog Input setting range A01 to A08 with an initial input AO1 c FB Value output value from a function block Output 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 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 output is ON a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 Setup of the Zone Compare
165. on Presentation CLIP is called the number of the calling partner is sent by the modem by the AT notification CLIP attached to the RING notification 0 2 extracts the callers s number after a given number of RING notifications In case the numbers of digits of both phone numbers and the phone numbers itself are equal the CD FB output is switched on The difference between CD and CDm is allowable maintenance m from the TopMenu Parameter in the a2 controller for direct programming 6 32 Table 6 48 CD Function Block Function Set Item Description E Bit input pin for the function block operation 1 Retention If this flag is set the CD FB keeps it s output state at the time of controller power down 2 Phone Number Setup short message senders phone number FB By setting the phone number in FB parameter only the SME with the setup phone number can manipulate a SMR FB Up to 28 characters including 0123456789 LB 3 Number of RING Setup number of RING before call detection Program Parameter common for all CD FBs Range 1 to 20 R Reset pin for the function block The output is set ON when the caller s number is equal to the stored phone number and E is ON The output state is hold when E is OFF and it is reset set OFF when R input is ON Output 1 Asterix Character in phone number The asterix character can be used to terminate phone number or can
166. on block edit screen Using the Up and Down keys to highlight the Setup FB and press the OK key 5 Highlight DelayTime from the list of options and press the OK key be entered using the a v and keys EIC E xDelayTime OneShot Condition The Delay Time ca 2 B001 DOS Delaytime T 0 18 t 0 0s 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 a v and keys B001 DOS Oneshot TE 0 18 t 0 1s 7 Highlight Condition from the list of options and press the OK key to enter either a RiseEdge or a FallEdge for the Delayed One Shot Operation B001 DOS Condition RiseEdge FallEdge 8 Press the OK key to accept and use the ESC key to return to the FBd MITSUBISHI 6 101 Q2 Simple Application Controllers Function Blocks 6 6 35 Delayed Alternate Block The function block is used to generate a delayed alternate pulse to the output pin of the function block Table 6 53 Delayed Alternate Function Block Function Set Item Description 000 O DAL Input pin for delayed alternate function block C Clear pin for delayed alternate function block FB 1 Time units 10ms 100ms or 1s Note 2 Delay Time range 0 to 32767 Output The following items are available for another fu
167. oonnccnnccncnnccccnoconnncnonnnnannncnnnnnnnnnnos 6 24 6 10 3 For the Weekly Operation ocoonnnnnnccccnnnnccncccnncccnnnnnnanancnnnncnnn 6 24 6 10 4 To Enter New Time Switches ccccccccccccnnnnnnnnnncncnannnononoos 6 24 6 10 5 To Edit Time Switches o iro adi 6 25 6 10 6 To Delete Time Switch Data ccccccccccncnnncconananannnnnonnnnnnnoos 6 25 AOS consederat ida sensn cures ado t aas fosse es 6 26 6 12 Up Down Counter Block 2 2 2 o orbetexea ii aet eere race ba acest rodar 6 27 6 13 Compare Block usina aiii 6 29 6 T4 Analog Outp t sa Ao NU Lad e Ee IRL IE 6 31 6 15 ORR SET BOCK oa repa era ia 6 34 6 16 Display Block iiiter ri dto Fo Lee le he adr Pond 6 37 6 16 1 Displaying Data Onscreen ooocccccnnonocccccnnnccnncncnnncnnnnananancnnnnnnnn 6 37 6 16 2 Editing Data Onscreen diu p det p et eti e etaed det 6 38 6 17 Zone Compare B OGK sisi 6 41 6 18 Schmitt Trigger Block a sd 6 43 6 19 Hour Meter BIOCK ova aaa 6 46 6 20 Speed Detect BloGK 2 2 2 ur re a gea dinar nitan 6 48 6 21 Pulse Width Modulation ccccceeeeeeeeeeeeeeeeeaeeeeeeeeeeeceeeeeeeeeeeeeeees 6 53 6 22 PID BIOCK od NAAA 6 55 6 22 1 Parameter List and PID Details oooooccocnnnnnnnncccncccancnannncnononos 6 56 6 22 2 Setting the Input Values SV and PV suueueuess 6 58 6 22 3 Setting the Function Block Parameters 6 58 6 22 4 Limiting the Manipulated Value
168. or Constant B and return to the FBd using the ESC key a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 6 28 Calculation Block The function block creates an expression using up to four input word data A B C and D using five operators and outputs the calculation result to Y A maximum of 64 terms can be included in the calculation expression Nesting using parenthesis is available up to 6 times Table 6 36 Calculation Function Block Function Set Item Description Input pin for multiplication function block This function block creates an expression using up to 4 input words A B C D 5 operators and outputs the calculation result to Y A maximum of 64 terms can be included in the calculation expression Nesting using parenthesis is available up to a maximum of 6 levels FP Input values A B C and D set the following values 1 DirectSet Constant value setting range 32768 to 32767 with 000 an initial value O 2 Analog In Analog Input setting range A01 to A08 with an l gt P FO initial input A01 CAL 3 FB Value output value from a function block 1 Word Output Y When the input pin is ON the word output will be given the calculation result When the input pin is OFF the expression is not executed and the word output values will retain the last result Output 2 Bit Output f there is an error in the formula output pin i
169. or either situation can be set The 19 Byte 6 7 DL time unit can be set to 10ms 100ms or 1s increments The One Shot Function Block awaits a 000 signal supplied to the input pin thereafter One Shot I gt P ES 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 2 priority setting The time unit can be set to 10ms 100ms or 1s increments us ae The Flicker Function Block changes the ON Flicker F and OFF state of the output according to a 19 Bvt 6 9 FL FL preset flicker time The time unit can be set Ne to 10ms 100ms or 1s increments 000 f P LO The Time Switch Function Block uses a imo F predefined time schedule to control the ON 2 6 10 TS and OFF status of the output 000 The Time Switch maintenance Function Time Switch P Block uses a predefined time schedule to m control the ON and OFF status of the 0 6 10 TSm TS output The function block can be setup NEU from the TopMenu Parameter via the front panel keys B The Counter Function Block increments the 000 current value by one as and when the input Counter 1 gt P de pin receives a signal When the current 46 Bvt 6 11 CN C value reaches the set value the output is set yte CN ON The counter current value is reset as and when the clear pin receives an input MITSUBISHI 8 4 Q2 Simple Application Controllers Appendix 8
170. ossible to control the displayed User Screen s MITSUBISHI 8 7 Q2 Simple Application Controllers Appendix 8 FB Name FB Symbol Description of Function Block pela Section The Connect function block is an internal device used to show the memory used by 000 input bits system bits AS interface bits Connect 0 and the operation keys No function block B i appears on screen or is shown as being 10 Btye 6 38 B used in the Memory Configuration Usage lie FS dialog box The purpose is only to calculate the memory that is used by the bits listed above System Control for external devices through relays 10 Btve _ Outputs and transistors y Note 1 Number of bytes used 19 1 Characters in equation 2 Number of bytes used 8 4 Number of time switches 3 Number of bytes used 30 1 Characters in equation 4 Number of bytes used is decided by the displayed item Displayed Item Number of bytes 02 Series Characters 16 1 x Each character displayed Value 17 Analog FB value Graph 23 Time Date 14 Time Switch 17 5 Number of bytes used 32 3 Number of screen 6 Number of bytes used 12 1 Characters in E Mail address 7 Number of bytes used 37 Number of characters of setup commands a MITSUBISHI Q2 Simple Application Controllers Appendix 8 8 5 PID Formulas Table 8 1 PID
171. plication Controllers Function Blocks 6 6 4 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 A latched Output does not depend on 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 5 Set Rest Function Block Function Set Item Description S Set pin for the function block R Reset pin for the function block _ Allocates priority to either the set or reset function when both pins are 000 FB ION S gt P O R 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 i ON Input pin R OFF Output ON OFF
172. ponse from GSM modem Analog Inputs 8 Initial successful Output Terminals 6 SENS Esse TL Network registration finished Input Tyne oc GSM CME Error Error Code No Errors GSM CMS Error 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 Modem Settings Front Panel Keys The settings required to send SMS packets via a GSM modem or to set up the 0 controller for remote access can be accomplished with the front panel keys It is possible to perform remote operations with a standard modem but it is not possible to send SMS packets The numerous parameters and options for using the GSM modem can be set using the front panel keys However the procedure is much easier to perform with the AL PCS WIN E software than with the front panel display and buttons To begin the process from the Top Menu scroll down to Others Serial Com GSM and view the options shown at right ComFormat Communication Format Upon entering the GSM option the ComFormat dialog will be the first option The ComFormat allows the user to set the communication Serial Com Not Use Modem GSM Other Com GSM ComFormat GSM Init GSM Remote PIN Code Set SMS GSM Status ComFormat DataLength Parity settings for Data Length Parity Stop Bit and Baudrate Stop bit Baudrate i Scroll to the setting to be adjusted
173. pose dedicated 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 The program can be developed in very simple steps but even a complex task can be represented in this way For ease of use the function blocks have been preprogrammed to perform certain tasks yet offer flexibility to be tailored to individual requirements Figure 1 1 Principle of Function Block Programming 101 S B001 c OS O01 i One Shot 102 5 B002 s B003 103 A R SR 002 Set Reset 003 lon Input n OOn Output n OR OR Boolean Function Block SH Set Reset Function Block OS One Shot Function Block The user can build a complex circuit in small easy steps by starting at the input and working forward in a logical manner The 2 will gather and process information and provide the necessary control for the application according to the system algorithm Each function block provides specific control parameters accessible by the user to tailor each program for complete application suitability The function blocks are connected together to form a circuit using the Function Block Diagram FBD Block Type and the FBD base There are seven sets of items that can be used in the fun
174. puts are considered to be ON 2 gt Il o If no Input pin is used the block output is OFF 3 gt This is equivalent to an AND block followed by a NOT block 4 gt NAND gt 1 gt 01 2 Output T amp ML 4 gt NAND Table 5 6 NAND Logic gate Input 1 Input 2 Input 3 Input 4 Output On On On On Off Off Off Off Off 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 On Off Off Off On On a MITSUBISHI 5 5 2 Simple Application Controllers The Logic Function Blocks 5 5 6 The NOR Block Not OR The Output comes ON when all the inputs are OFF The Output remains OFF if any input is ON t 00 If no Input pin is used the block output is OFF 2S To Unused Inputs are considered to be OFF This block is equivalent to an OR block followed by a NOT block 3 gt 4 gt NOR 11 01 2 Output Po 4 gt NOR Table 5 7 NOR Logic gate Input 1 Input 2 Input 3 Input 4 Output Off Off Off Off On On On On On Off 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 On Off Off On Off Off On Off Off On On Off Off Off On Off On Off Off Off On On Off On Off Off Off Off Off On Off Off Off Off Off On Off Off
175. r Delayed Time Time shorter than set time Time 3 Delayed One Shot sample program 101 102 DOS CL Delay Time 1s One Shot Time 1s O01 Delay Start ON to OFF Off to On 4 Delayed One Shot comparison sample program 101 102 S PL SR DL o R CL CL From On to Off Reset priority On Delay From Off to ON 1s 10 x 100ms Off Delay Os 0 x 100ms shorter than set time of One shot time OS O01 OR One Shot Time Control time 1s 10 x 100ms Output Clear Condition None Setup of the Delayed One Shot Function Block directly from the o2 Series Controller 1 2 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 B001 DOS xTime unit Setup FB Change No Delete FB 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 a and v keys to highlight the option and press the OK key when ready Time unit 10 ms 100 ms a MITSUBISHI 6 100 Q2 Simple Application Controllers Function Blocks 6 4 Return to the functi
176. r input pin Current value of 2 E H2 pda LI td L2 0 counter i f 1 f 1 i l i 1 Set cycle Upper limit 5 PEE 2 E nx EE ee Lower limit 5 ee ewes ae no EA AA Speed output value Output pin ON Interrupt input terminal for AL2 4EX max 1KHz Input pin OFF ON Count input pin El01 El02 on AL2 4EX Clear input pin soele e e e Current value of 1 2 1 2 0 1 1 counter i EE Processing time M 8 el AAN x y Upper limit 6 Lower limit 6 Speed output value Output pin ON a MITSUBISHI 6 51 Q2 Simple Application Controllers Function Blocks 6 Setup of the Speed Detect Function Block directly from the 0 2 Series Controller 1 Allocate the input pin to be used for the function block 2 P
177. r messages in turn a MITSUBISHI 6 79 Q2 Simple Application Controllers Function Blocks 6 6 30 1 Input Signal The Q2 controller will send the SMS message to the chosen destination when the input pin is activated The operation will continue until the message is sent or the retries have been completed even if the Input pin is turned OFF during the process When the Input turns ON and then resets during the send operation or when the FB is in Wait status all further Input ON signals are ignored until the Output pin has been reset 6 30 2 Output Signal The Output signal comes ON when the SMS message has been successfully sent or the final retry has taken place If the Input signal that began the operation remains ON the Output will remain ON If the Input signal turns OFF during the send operation the Output signal will remain ON for one program scan after the send operation is complete and then turn OFF After the initial Input signal has turned OFF all other input signals are ignored until the Output has been reset 6 30 3 Word Output Check the status of the transmission by checking the Output Word data when connected to a Display FB Table 6 40 Output Word Value Bit Description bO Transmission is Complete b1 Transmission or retry in Progress b2 Transmission is in Wait status 1 b3 Transmission Failed b4 Transmission did not occur because of SMS Parameter Error b5 b15 Reserved
178. r n i a calculation from the combination of 3 6 28 CAL different Arithmetic function blocks 13 000 This Shift Function Block is used to transfer Shift T o the Shift Input status just before the Input SFT Ba signal is set ON It has a bit input pin a shift 19 Byte 6 29 S SFT input pin a set input pin a reset input pin R gt L and a bit output pin 000 The GSM SMS Function Block sends the SMS I gt PO LCD screen as a SMS message to either a 6 6 30 SMS mobile phone handset or an E mail account f SMS for remote maintenance purposes MITSUBISHI 8 6 Q2 Simple Application Controllers Appendix 8 FB Name FB Symbol Description of Function Block prp Section Short 000 The Short Message Receive Function Message ES P Lo Block searches for the occurrence of a Renai F command in the SM In case the command 7 6 31 SMR 9 R SUR text is exactly included in the SM outputs z are changed The Short Message Receive maintenance Short 000 Function Block searches for the occurrence Message E PLO of a command in the SM In case the ecc i command text is exactly included in the SM 7 6 31 SMR R SMRm outputs are changed The function block LL can be setup from the TopMenu Parameter via the front panel keys 000 The Call Detect Function Block in case the Call Detect E gt P ke numbers of digits of both phone numbers 30 Bvte 6 32 CD R and the phone number
179. r who is responsible for the planning design and construction of automatic equipment using the product associated with this manual should be of a competent nature trained and qualified to the local and national standards required to fulfill that role These engineers should be fully aware of all aspects of safety with regards to automated equipment b Any commissioning or service engineer must be of a competent nature trained and qualified to the local and national standards required to fulfill that job These engineers should also be trained in the use and maintenance of the completed product This includes being completely familiar with all associated documentation for the said product All maintenance should be carried out in accordance with established safety practices C All operators of the completed equipment see Note should be trained to use this product in a safe manner in compliance to established safety practices The operators should also be familiar with documentation which is associated with the operation of the completed equipment Note The term completed equipment refers to a third party constructed device which contains or uses the product associated with this manual Notes on the Symbols Used in this Manual At various times throughout this manual certain symbols will be used to highlight points of information which are intended to ensure the users personal safety and protect the integrity of equipment Whenever any
180. ration Output 2 The following items are available for other function blocks a Gain Analog value Operation of Offset Gain relationship Y Output Upper limit H 7 Initial value 32767 A numerator of Gain value B denominator of Gain value X Analog input A01 to A08 IE Lower limit L Initial value 32768 MITSUBISHI 6 34 Q2 Simple Application Controllers Function Blocks 6 Setup of the Offset Gain Function Block directly from the amp 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown B001 0G Setup FE Change No Delete FB 3 Press the OK Key and enter the function block settings using the a and v keys The parameters A B X C Low limit and High limit have to be specified for the linear expression to operate correctly B001 0G y A Bxx 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 a
181. ress the OK key 3 Use the arrow keys to move to an area that needs to be changed 4 Adjust with the or keys 5 Repeat steps 3 4 until ALL changes have been completed 6 Press the OK key to accept all the changes or the ESC to discards the changes 7 Press the ESC key to return to the Top Menu To set the daily correction 1 From the TopMenu scroll to ClockSet and press the OK key From the options that appear choose Correct and press the OK key 4 2 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 Caution When setting the Real Time Clock or inputting a daily clock adjustment to the following menu functions please change the mode to Stop e ClockSet in ClockSet Menu e Correct in ClockSet 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 MITSUBISHI 3 16 Q2 Simple Application Controllers System Menu 3 3 6 4 000 RadioClock DCF77 Decoding The RadioClock function enables the reception of time information broadcasted by radio signal on 77 5 kHz from Frankfurt Germany Special hardware is required for this feature Refer to the 0 2 Hardware Manual for more information After con
182. ress 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 4 and v keys B001 SPD Pe riod 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 option using the a and v keys The limits can be set by highlighting L or H and pressing the OK key A Directset value Analog In or FB value can be entered B001 SPD DirectSet Analog In FB Value 6 Press the ESC key until the user returns to the function block diagram a MITSUBISHI 6 52 Q2 Simple Application Controllers Function Blocks 6 6 24 Pulse Width Modulation The function block emits a continuous pulse train output when an input is given at a preset duty cycle Table 6 22 Pulse Width Modulation Function Set Item Description Input pin for the pulse width modulation function block 1 The PWM function operates concurrently with the input pin status set ON 2 The width of the pulse is dominated by the duty and value of the period 000 3 Duty setting range 0 100 FB a DirectSet Constant valu
183. rrect comparator from the range B001 CP Condition V1 V2 9 Having set the V1 condition and V2 simultaneously use the ESC key to return to the function block edit screen a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 6 14 Analog Output The digital value on the word input pin is converted to a corresponding output voltage or current on the specified channel on the AL2 2DA module One of two output modes can be selected voltage or current output In voltage output mode digital values from O to 4000 are mapped onto analog values from 0 to 10 volts In the current output mode digital values from O to 2000 are converted to a range of 4 to 20 mA If a digital value less than the lower limit of O is input on the word input pin the analog output will default to the lower limit of the analog range 0 V or 4mA for the specified output mode If a digital value greater than the upper limit is input the analog output will default to the upper limit of the analog range 10V or 20mA for the specified output mode The acceptable data types for the word input pin are constants analog inputs or FB output values When more than one Analog Output FB is configured to use the same channel all FBs will be executed if their enable pins are active The FB that is executed last in the program will control the operation of the AL2 2DA board The user cannot know which FB will be executed last due to lack of
184. s ON f the operation process value exceeds the range of 32768 to 32767 output pin is ON Table 6 37 Calculation Function Block terms Term Description Y Operation result A B CandD Input value Calculation sign for addition Calculation sign for subtraction Calculation sign for multiplication Calculation sign to request the Quotient 926 Calculation sign to request the reminder MITSUBISHI 6 74 Q2 Simple Application Controllers Function Blocks 6 Setup of the Calculation Function Block directly from the 0 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown B001 CAL Setup 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 BO01 CAL 3 y H 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 96 or BO01 CAL 3 ysA ConstantA 0 5 DirectSet values Analog In or FB Value can all be entered for each constant B001 CAL DirectSet Analog In FB Value 6 Return to the FBd u
185. s a sensor defect at 104 Y v M21 ON when there is a sensor defect at 105 Y v M22 ON when there is a sensor defect at 106 Y v M23 ON when there is a sensor defect at 107 v M24 ON when there is a sensor defect at 108 v Function Blocks Programming the 2 Series Controller is based upon the combination of different function blocks They process the information received from the previously mentioned inputs and control the system Outputs They can also provide input signals or information to other function blocks using word outputs pins To make programming easier the Function Blocks have all been preprogrammed However parameters within each function block dialog box can be set according to the intended application There are 40 Function Blocks available they are described in detail throughout Chapters 5 and 6 MITSUBISHI 2 3 02 Simple Application Controllers Function Block Programming 2 2 1 5 Outputs Table 2 5 Outputs for the AL2 10MR Controller Outputs Description 001 04 Signal output NO1 No N02 1 ON The back light is OFF in LCD l l m OFF The back light is controlled by the Light Time setting in Menu N03 1 ON The back light is ON in LCD OFF The back light is controlled by the Light Time setting in Menu ON The user screen is controlled by the setting of Display Manager with AL PCS N04 WIN E OFF The user screen is controlled by
186. s itself are equal the y f CD CD Function Block output is switched on The Call Detect Function Block in case the numbers of digits of both phone numbers Call o E Eo ne and the phone numbers itself are equal the CDm CD Function Block output is switched on 30 Byte 6 32 R CD The function block can be setup from the TopMenu Parameter via the front panel keys Random One EG The Random One Shot Function Block Shot C emits a random length single pulse to the 19 Byte 6 33 ROS Ros output Delayed One EDS The Delayed One Shot Function Block Shot C F emits a single pulse after a controlled delay 20 Byte 6 34 DOS Dos to the output Delayed PESO The Delayed Alternate Function Block Alternate F alternates the status of the output with each 16 Byte 6 35 DAL C BR 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 P Lo input pin if both inputs have been Set Reset F energised The default priority setting is 14 Byte 6 36 RSR R RSR dedicated to the reset input pin When the L power is turned OFF the function block will use the last set or reset operation to control the output The Control Display Function allows the user to control the LCD image screens The Control function block can only be set in Display AL PCS WIN E software for 02 Series b 6 37 CDP Controllers When control bit NO4 is ON it is p
187. send a short message to a mobile phone or a dedicated E mail account via a standard service provider By receiving a short message FB bit outputs or word output values can be changed 8 Dedicated Protocol AL2 14MR AL2 24MR The Q2 Series Controllers introduces this concept allowing the user to monitor modify and enter current and set values in Function Blocks from a personal computer 9 Built in EEPROM The built in EEPROM stores the user program non volatile 10 Supports 7 languages The system supports the following languages English German French Italian Spanish Swedish and Russian 1 Ver 3 00 or later 11 LCD Screen Enhanced LCD screen size displays data more clearly and enables the 0 2 Series Controller to display bar graphs and other new data representations 12 Increased Memory The CPU memory for the 2 Series Controller can store 5 kbyte of programming or a maximum of 200 function blocks This manual will describe front panel programming of the Q2 Series Controllers the powerful function block capabilities and the functions of the front panel keys 1 2 Model Name The 2 Series Controllers can be identified using the following format AL2 MR AL2 Series Controller A 100 240 VAC Total number of I O D 24 VDC M Main Unit R Relay Type Output MITSUBISHI 1 2 Q2 Simple Application Controllers Introduction 1 1 3 Version Up List Table 1 1 H
188. sets the starting point for the data or message to be displayed There are 12 columns and 4 rows that can be utilised Table 6 17 Display Function Block Function Set Item Description Input pin for Display operation 1 The data is positioned using an X Y plot a X axis setting range 1 12 b Y axis setting range 1 4 C Length setting range 1 12 The following Data items can be viewed using the display function block 1 Strings number of characters in a string must not exceed 63 000 a Fixed 1 gt P b Flicker setting range 1 255 100ms Period BE C Scroll setting range 0 255 100ms Interval i Ee 2 Analog In a Value b Graph Minimum 32768 to 32767 Maximum 32768 to 32767 Length 1to 12 3 Function Block Value 4 Time Switch Data 5 Date mm dd yyyy 6 Time hh mm 6 16 1 Displaying Data Onscreen Character strings letters numbers symbols Analog values Function Block values the current time and date can be viewed on the screen If two Display blocks contain the same positioning data the data from the Function Block with the highest number will be displayed Character strings that run over the available number of spaces on a line will show on the next line down Function Block values analog values date and time will not be displayed on the next line Function Block and analog values will be automatically updated on the screen as they change
189. sing the ESC key a MITSUBISHI 6 75 Q2 Simple Application Controllers Function Blocks 6 6 29 Shift Block The function block uses a shift control signal T to map the current ON OFF state of the input pin I to the ouput pin The operation of this FB is similar to the behavior of a D flip flop The function block can set or reset the status of the output with the input pins Set S and Reset R The Shift Function block retains the state of the output pin after power has been reset Table 6 38 Shift Function Block Function Set Item Description Input pin for bit to be shifted T Shift control pin S Set pin to manually set the output R Reset pin to manually reset the output This FB transfers the ON OFF state of the bit input pin I to the output 1 gt 000 FB at the rising edge of the shift control pin T There are no function T O block settings for this block E SFT 1 The output will turn ON or OFF at the rising edge of the shift control pin T depending on the ON OFF state of the bit input pin I 2 The output will go ON if Set S pin is turned ON 3 The output will go OFF if the Reset R pin is turned ON Output 4 If both the Set and Reset signals are turned ON simultaneously the Set operation will take precedence over the Reset operation The Set operation has high priority i e Set Reset Shift Note The output will not be affected if a change in the input pi
190. sor in the function block The function block edit screen is displayed as shown 3 Press the OK Key and enter the function block settings using the a and v keys The Subtraction operation yzA B must be specified B001 SUB Setup FE Change No Delete FB B001 SUB OutputVal y 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 SUB DirectSet Analog In FB Value 5 Repeat step 4 for Constant B and return to the FBd using the ESC key a MITSUBISHI 6 71 Q2 Simple Application Controllers Function Blocks 6 6 26 Multiplication Block The function block is used to multiply inputs A and B hence produce the resultant Y Table 6 34 Multiplication Function Block Function Set Item Description Input pin for multiplication function block This function block operates the expression Y A B The set value of A and B can be selected from the following three Sources FB 1 DirectSet Constant value setting range 32768 to 32767 with an initial value O 000 2 Analog In Analog Input setting range A01 to A08 with an P LO initial input AO1 3 FB Value output value from a function block MUL 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
191. ssage was not sent after the third retry the output status will switch to ON and an error message will be generated through the word pin of the function block 6 The user may experience incorrect validity period timings Please check with your Service Provider 7 If both the Mobile SMSC1 and Gateway SMSC2 numbers are entered the 2 controller will automatically choose the correct path number for the SMS in conjunction with the destination chosen The destination being either to a mobile phone SMSC1 or an email address SMSC2 The output status will set ON when the GSM SMS block a succeeds in sending an SMS message b fails at sending an SMS message after three retries 1 2 If more than one SMS function block exists in the program an Output FIFO First In First Out sequence is performed 3 The following items are available for other function blocks a SMS message sent SMS failed to be sent after 3 attempts b Current Status See 6 29 3 Word Output Note Transmission of UCS2 encoded short messages to an email account is not necessarily supported for a SMS Gateway In the event no support by the SMS Gateway UCS2 encoded short messages cannot be sent to an email account and a fax machine Please contact the used GSM network provider MITSUBISHI 6 78 Q2 Simple Application Controllers Function Blocks 6 1 SMS Operation Timing Diagram Transmission request is ignor
192. ssue could arise if the forced ON OFF is performed inappropriately If proper precautions are not taken damage to the equipment or machine failure may occur Forced Stop Operation 1 Turn the Q2 series power supply off 2 Turn the power ON again while pushing the OK and ESC keys simultaneously The screen at right is displayed Run gt Stop The option to place the controller in Stop mode will be available for approximately five seconds Press the OK key to enter the Stop Mode If no key is pressed the controller will default back into the Run mode 3 Press ESC key The Run Mode Top Menu is displayed a MITSUBISHI 3 12 Q2 Simple Application Controllers System Menu 3 Figure 3 11 TopMenu in Run Mode Operation Stop Mode gt OK ESC Refer to Figure 3 2 Refer to Figure 3 4 TopMenu 10 19 Fri v Run Stop e2ee5eeeg 4 Stop k Run efeeed 2Stop O 1 4o0o 8 OK or ESC iE 10 4 Ar 23 0 Parameter 7 Elia oo Monitor a E EE ClockSet la i LANGUAGE LANGUAGE e English German French Italian Spanish Swedish Russian Others 1 Ver 3 00 or later Figure 3 12 Monitor Screen in Run Mode Operation 2 D 2 gt 49 l Refer to Figure 3 12 g gt 5 6 gt e Refer to Figure 3 13 Settings for F
193. t a Random One Shot value b Current One Shot value Note The set time cannot be less than one scan time for the controller otherwise the Random One Shot Function Block will not perform its assigned task for the time specified Users can monitor the scan time from the a2 Series Controller Scan time is dependent on the user program therefore caution is needed as and when time units are selected Setup of the Random One Shot Function Block directly from the 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown B001 ROS xTime unit Setup PB Change No Delete FB MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 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 a and v keys to highlight the option and press the OK key when ready Time unit 10 ms 1100 ms Tos Return to the function block edit screen Using the 4 and v keys highlight the Setup FB and press the OK key B001 ROS Ra ndomVa I Limi tZL H A RandomVal in conjunction with the specified time units allocated earlier can be entered from pressing the OK key having highlighted the RandomVal option using the a and v keys Press the
194. tes the status of the output with each 16 Byte 6 35 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 O input pin if both inputs have been Set Reset R energised The default priority setting is 14 Byte 6 36 RSR RSR dedicated to the reset input pin When the power is turned OFF the function block will use the last set or reset operation to control the output The Control Display Function allows the user to control the LCD image screens The Control function block can only be set in Display AL PCS WIN E software for 2 Series 5 6 37 CDP Controllers When control bit NO4 is ON it is possible to control the displayed User Screen The Connect function block is an internal device used to show the memory used by 000 input bits system bits AS interface bits Connect o and the operation keys No function block B F appears on screen or is shown as being 10 Btye 6 38 B used in the Memory Configuration Usage Lu dialog box The purpose is only to calculate the memory that is used by the bits listed above System Control for external devices through relays 10 Btve Outputs and transistors y a MITSUBISHI 6 5 Q2 Simple Application Controllers Function Blocks 6 Note 1 Number of bytes used 19 1 x Characters in equation 2 Number of by
195. tes used 8 4 x Number of time switches 3 Number of bytes used 30 1 x Characters in equation 4 Number of bytes used is decided by the displayed item Displayed Item Number of bytes 02 Series Characters 16 1 x Each character displayed Value 17 Analog FB value Graph 23 Time Date 14 Time Switch 17 5 Number of bytes used 32 3 x Number of screen 6 Number of bytes used 12 1 x Characters in E Mail address 7 Number of bytes used 37 Number of characters of setup commands a MITSUBISHI 6 6 Q2 Simple Application Controllers Function Blocks 6 Table 6 1 2 Handling of FB data in a2 FB Name EEPROM RAM hold for 20days Boolean Setup Set Reset Setup Pulse Setup Alternate Setup Delay Setup One Shot Setup Flicker Setup Time Switch Setup Time Switch m Setup Counter Setup Current counter value Output status U D Counter Setup Current counter value Output status Compare Setup Analog Output Setup Offset Gain Setup Display Setup Zone Compare Setup Schmitt Trigger Setup Hour Meter na Time Actual time Speed Detect Setup PWM Setup PID Setup Retentive Alternate Setup Output status Addition Setup Subtraction Setup Multiplication Setup Division Setup Calculation Setup Shift Setup Output status SMS Setup Short Message R
196. the clock should not be set to 2 00 a m on March 7 2002 when US Summertime is enabled There will be an error in the displayed time MITSUBISHI 3 18 Q2 Simple Application Controllers System Menu 3 3 6 6 DispPass DispPass provides the o2 Series Controller with three distinct security levels limiting the users ability to make changes to program parameters i e the SetPeriod parameter of the SpeedDetect FB A non authorized user will be able to navigate the display screen from field to field but will not be able to make changes without first entering the appropriate password There are three passwords that can be set from the front panel or the VLS software Each password can control access to many different displayed parameters The security level for a displayed parameter must be assigned with the VLS software but the actual password can be set changed or removed with the front panel keys The following is the step by step process for modifying password settings To set the Level 1 Level 2 or Level 3 Password 1 From the TopMenu scroll to Others and press the OK key 2 From the options that appear scroll to DispPass and press the OK key 3 Select Level 1 Level 2 or Level 3 4 Enter the Password with the and directional buttons 5 Press OK to activate the password To remove the Level 1 Level 2 or Level 3 passwords 1 From the TopMenu scroll to Others and
197. the left for editing purposes with the key Delay Time The Delay Time Setting will delay the transmission 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 O 10 seconds Enter the value by pressing the OK key GSM Remote Command GSM Init DelayTime 0s Remote access from a computer running the VLS software is allowed Apud me when Permit is chosen Permit SMS packets cannot be sent under the Permit setting but can be sent when Forbid is used 2 MITSUBISHI 6 84 Q2 Simple Application Controllers Function Blocks 6 Enter the PIN Code It is necessary to enter a PIN code received from the Service Provider when the OQ controller is used to send SMS packets Use the and keys to choose the digits of the code and the and 4 keys to move to adjoining digits SIM PIN setup or can be activated and deactivated by the cursor A and cursor V soft key Version 2 20 or later 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 PIN Code Setup four digits and press the OK key to enter the code Cancel the PIN Code To Cancel an existing P
198. til the output pin is flashing Press the button to add a block udi cin 2 Step 2 Choices will appear on the right side of the screen that include System Outputs if available existing Function Blocks that have free input pins and the option to add a new function block AddFB see section 4 4 Scroll to the preferred option and select using the OK key 0 1 gt AddFB 001 Connect 01 MITSUBISHI 4 1 Q2 Simple Application Controllers Direct Programming 4 3 Step 3 The block accepting the signal will display as many of its input pins as possible at times they will not all fit on screen Pins that have been used will show as filled triangles pins that are open will show as gt signs A Connect prompt will appear on screen either above or below the left hand block The current input choice will flash Scroll to the desired pin and press the OK key to accept The process is complete 01 001 T Connect 4 2 2 To connect the blocks from the right signal receiver block to left signal provider block It is necessary to choose the block input pin Step 1 the signal provider Step 2 and to accept the connection Step 3 1 Step 1 Select the block that will be receiving the signal and move left until an input pin is flashing Scroll to the desired unused input pin gt Press the key to begin the connection process
199. time with a minimum of 100ms PWM i and a maximum of 3276700ms in 16 Byte 6 21 PWM PWM increments of 100ms The percentage duty y i L for the function controls the amount of elapsed time before the output status is changed The PID Function Block is the 2 E gt 000 implementation of PID a control method A gt P Lo used to obtain stable control over a system PID C variable It is a equipped with an Auto 52 Byte 6 22 PID tuning function which automatically adjusts the Function Block parameters for the specific application The Alternate Function Block is used to reverse the ON and OFF state of the output 000 as and when the input pin receives a signal Retentive Oo The output will be set ON when the input Alternate C pin goes high and remain ON until the input 13 Byte 6 23 RAL RAL receives the second rising edge When the power is turned OFF the function block will use the last alternation operation to control the output 000 Addition I gt Pro The ADD Function Block is used to ADD summate two input values 20 Byte 6 24 ADD 000 Subtraction I gt P FO The SUB Function Block is used to subtract SUB two input values 20 Byte 6 25 SUB 000 Multiplication 1 gt P O The MUL Function Block is used to multiply MUL two input values 20 Byte 6 26 MUL 000 Division E EB The DIV Function Block is used to divide DIV two input values 20 Byte 6 27 DIV 000 I gt P O The CAL Function Block is used to perform E
200. tion Blocks 6 6 6 Alternate Block The function block inflicts a reversal of the ON and OFF state of the output as and when the input is given to the input pin Table 6 7 Alternate Function Block Function Set Item Description Input pin for alternation operation C Clear input pin resets the state of the output regardless of the input E given MEO P FB N A C NI The output is affected in the following operation 1 Reverse the ON OFF state of the output whenever the input Output signal s ON OFF operation to the input pin is turned 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 pin C OFF Output ON OFF a MITSUBISHI 6 15 Q2 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 Example 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 c
201. tput ON is Os to 32767s Time intervals are 10ms 100ms or 1s Note 2 The applicable range for the turning the output OFF is Os to 32767s FB Time intervals are 10ms 100ms or 1s Note 3 Blinking operation a Cycles count frequency assigned operation maximum 000 number of cycles to be set is 32767 b Time count maximum 32767 l P O c Continuous control FL The control operations provides an ON OFF state for the output 1 The output state directly reflects the ON and OFF condition of the input signal at the input pin Output 2 The following items are available for other function blocks p a On Flicker b Current On Flicker c Off Flicker d Current Off Flicker e Cycle or Time f Current Cycle or Time Note The set time cannot be less than one scan time for the controller otherwise the Flicker Function Block will not perform its assigned task for the time specified Users can monitor the scan time from the o2 Series Controller Scan time is dependent on the user program therefore caution is needed as and when time units are selected Flicker Operation 1 Continuous control action Input pin ON OFF ON Output OFF Off tim Off time I Off time On time On time On time 2 Frequency control action Input pin I registered number of times
202. tton to select Response Select the type of PID response that will be used The choices are Normal Fast and Slow B001 PID Response No rma I Fast a MITSUBISHI Q2 Simple Application Controllers Function Blocks 6 28 Press the OK button to return to the function block settings menu Highlight Direction to choose the direction of operation for the PID function block B001 PID AT Bias Response Direction 29 Press the OK button to choose from Forward or Reverse operation B001 PID Direction Reverse Forward 30 Highlight AT Result to select the type of control to be employed after auto tuning finishes B001 PID Response Direction AT Result 31 Press the OK button and highlight the desired control type from the list P PI or PID control B001 PID AT Result PID Control PI Control 32 Press OK to return to the function block settings menu B001 PID Response Direction xAT Result 33 Press ESC twice to return to the FBd a MITSUBISHI 6 68 Q2 Simple Application Controllers Function Blocks 6 6 23 Retentive Alternate Block This block is equivalent to the Alternate Function block described in section 6 4 but includes a the retention function When the retention function is ON the Retentive Alternation RAL output will act as a latched output and remember the ON OFF settings in
203. unction Blocks E Exe MonitorScreen Y 49 gt 01 l gt pot 003 02 FBSetting 20 _ B002 ie Pf gt gt Setup Refer to eee s lt 7 Figure 3 11 In In RSR Out OK ESC Individual for each Function Block A V 4 TA I l y Edi tMenu Black 4FB ProgSize 18000008000 Memory 1 pyo000 0005 Jump m gt Jump MIOKE M01 Exit SystemBit Select the following category by pressing and keys MoIoO0OoKoEoOGAoOoONOEIo EOB 3 Select the jump target by pressing A and V keys a MITSUBISHI Q2 Simple Application Controllers System Menu 3 Figure 3 13 Others Menu in Run Mode Operation Others er g Version G a Version k Refer to E Figure 3 11 Ver L X ScanT ime L X ScanTime Scan Time J sMonitor 4 Cur Oms Max 12ms Min Oms Reset gt Reset 4 ScanTime OK or ESC Setup gt Password k Password OOOO Una DispPass Setup PRA press Level1 e DispPass Level2 Level1 Level3 0000 i MenuKe y Menu Key Not Use YON ESC Key gt O gt Summer T ime Refer to Figure 3 6 g Serial Com gt 1 l p 49 Refer to Figure 3 7 AL2 14MR AL2 24MR Only Light Time Setup 4 LightTime 2m Analog n gt 9 meter to Figure 3 10 a
204. urrent 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 8 Delay Timer Function Block Function Set Item Description Input pin for delay timer operation C Clear input pin resets the state of the output regardless of the input given FB Time units 10ms 100ms or 1s Note The following items are applicable for 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 000 range from Os to 32767s 2 The lag time setting for denergising the output from a given input C 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 Ott Delay Note The ON OFF delay time cannot be less than one scan time for the controller otherwise the Delay Function Block will not per
205. user program Note 1 When both N02 and NO3 are ON and hence the back light is ON because NO3 is given the priority Table 2 6 Outputs for the AL2 14MR AL2 24MR Controller Outputs Description 001 09 Signal output A01 04 AS interface Output EO1 E04 Extension Output ON Disconnected to AS interface network hd OFF Connect to AS interface network N02 1 ON The back light is OFF in LCD OFF The back light is controlled by the Light Time setting in Menu N03 1 ON The back light is ON in LCD OFF The back light is controlled by the Light Time setting in Menu ON The user screen is controlled by the setting of Display Manager with AL PCS N04 WIN E OFF The user screen is controlled by user program Note 1 When both NO2 and NO3 are ON and hence the back light is ON because NO3 is given the priority 2 1 6 Function Block Diagram FBD base The Function Block Diagram provides the base for which all programming actions for the 12 is performed Both the 2 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
206. ut pin for addition function block This function block operates the expression Y A B The set value of A and B can be selected from the following three Sources FB 1 DirectSet Constant value setting range 32768 to 432767 with 000 an initial value O I gt P Lo 2 Analog In Analog Input setting range A01 to A08 with an initial input A01 ADD 3 FB Value output value from a function block 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 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 32768 Operation result Y232767 Output pin turned ON and the operation result Y will be set to 32767 Setup of the Addition Function Block directly from the 2 Series Controller 1 Allocate the input pin to be used for the function block 2 Press the OK key with the cursor in the function block The function block edit screen is displayed as shown 3 Press the OK Key and enter the function block settings using the a and v keys The Addition operation Y A B must be specified B001 ADD xSetup FE Change No Delete FB B001 ADD OutputVal y A B 0 4 Using the and keys highlight Constant A and press the OK key to enter either a Directset Analog In or
207. utes logical OR operation on given input signals The input signals OR 22 Mo connected should be of bit input type only 4 9 Byte 52 3 Bit input pins and 1 Bit output pin If all the inputs are OFF then output is OFF 4 OR otherwise output is ON 00 This function executes logical NOT opera m O tion on given input signal The input signal NOT 1 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 00 This function executes logical XOR opera tion on given input signals The input sig XOR 1 gt O O nals connected should be of bit input type 13 Bvte 54 2 gt only 2 Bit input pins and 1 Bit output pin If y both the inputs are either OFF or ON then L XOR out put is OFF otherwise output is ON 1 gt 00 This function executes logical NAND operation on given input signals The input NAND 2 gt Jl 0 signals connected should be of bit input 19 Bvte 5 5 3 gt type only 4 Bit input pins and 1 Bit output y pin If all the inputs are ON then output is 4 gt L_NAND OFE otherwise output is ON 1 gt 00 This function executes logical NOR oper ation on given input signals The input sig NOR 2 gt Jl O nals connected should be of bit input type 19 Bvte 5 6 3 gt only 4 Bit input pins and 1 Bit output pin If y all the inputs are OFF then out put is ON 4 NOR otherwise output is OFF The logic FB have no parameters 2 MITSUBISHI 5 1 2 Simp
208. value is smaller than the min value min value becomes active Min Value can be 32768 max value 1 MITSUBISHI 6 89 Q2 Simple Application Controllers Function Blocks 6 Function Set Item Description 000 m U O SMR R Reset pin for the function block Output The SMR FB can be operated in one of two different modes 1 Bit output a The output is set ON when the switch ON command is found in the received short message b The output is set OFF when the switch OFF command is found in the short message c When R ON the bit output is reset OFF R takes priority over E When E is OFF the bit output value is hold 2 Word output a Word output for transferred values The output is set to the transmitted value when the set word output command is found and the value after is valid b When R is ON the word output is set to zero When E is OFF the word output is hold R takes priority over E 1 Asterix Character in phone number The asterix character can be used to terminate phone number or can be stand alone It takes place for any combination of numbers Using the one SMR FB can switch for a group of phone numbers Table 6 46 Phone numbers and Outputs FB number Caller s phone number FB Output 49 21 02 12 34 56 7 49 21 02 12 34 56 7 chang
209. wer failure occurs MO8 Pulses ON when Stop mode turns to Run mode in the o2 Series MO9 Pulses OFF when Stop mode turns to Run mode in the o2 Series M10 ON during DCF77 decoding M11 Pulses ON when DCF77 finishes decoding without an error M12 ON when CD DCD signal is turned ON receiving CD signal from the modem M13 ON when it is possible to access the GSM network M14 ON when the o2 series controller is accessed via GSM M15 ON when DCF77 finishes decoding with an error M16 ON when external power for the 2DA board is on M17 ON when there is a sensor defect at 101 M18 ON when there is a sensor defect at 102 M19 ON when there is a sensor defect at 103 M20 ON when there is a sensor defect at 104 M21 ON when there is a sensor defect at 105 M22 ON when there is a sensor defect at 106 M23 ON when there is a sensor defect at 107 M24 ON when there is a sensor defect at 108 MITSUBISHI Q2 Simple Application Controllers Appendix 8 8 4 Boolean Gates Logic Loai ogic Block an Memory Section pex Displayed Description Use Reference 1 gt 00 This function executes logical AND A operation on given input signals The input AND 2 gt y 0 signals connected should be of bit input 19 Bvte 5 1 3 gt type only 4 Bit input pins and 1 Bit output y pin If all the
210. y key hence highlighting the Os time value and use the or keys to enter a time value Press the OK key to accept and return to the function block setting screen B001 ROS RandomVal 0 0s e 0 0s Highlight the Limit L H option and press the OK key A high and low limit can be set for the Random One Shot function block Using the a v and keys enter values for the high and low limits in accordance with the time intervals specified earlier B001 ROS Limi t L H L 0 18 H 0 1s Press the OK key to accept the High and Low limit subsequently Use the ESC key to return to the FBd a MITSUBISHI 6 98 Q2 Simple Application Controllers Function Blocks 6 6 34 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 Table 6 52 Delayed One Shot Function Block Function Set Item Description 000 DOS Input pin for the delayed one shot function block C Clear pin for the delayed one shot function block FB 1 Delay Time a OFF to ON b ON to OFF 2 Delay Time range 0 to 32767 3 One Shot Time range

Download Pdf Manuals

image

Related Search

Related Contents

  E-mail Encryption User Manual For COSVI Customers Only  MPS 2633 Bedienungsanleitung/Garantie Maniküre  Home Decorators Collection 1049840100 Use and Care Manual  Contrôle d`un système de tracking optique  Scout CX - Horizon Hobby UK  User Manual - United Office Products  Net186 Demonstration Board User`s Manual  

Copyright © All rights reserved.
Failed to retrieve file