MITSUBISHI ELECTRIC MAC Operator Terminal Human-Machine-Interface User's Manual MAC 10 MAC 12 MITSUBISHI ELECTRIC EUROPE B.V.
Manual MAC 10, MTA 10, MAC 12, MTA 12 Foreword This manual presents installation, handling and technical details of MAC 10/MTA 10 version 2.1X and MAC 12/MTA 12 version 1.0X. The terminals are used for MELSEC FX, FX0 and FX0N PLC system. Besides this manual, the following manuals are also available. – FX-series, Programming manual – MAC Programmer, Manual – MAC Programmer+, Manual © Mitsubishi Electric Europe B.V.
Contents Contents 1 Introduction ............................................................................................ 1 2 Installation .............................................................................................. 3 2.1 Contents of package......................................................................... 3 2.2 System requirements ....................................................................... 3 2.3 Mounting .............................................................
Contents 7 Programming example ........................................................................ 25 7.1 Structuring textblocks according to application ........................ 25 7.2 Changing text block on display .................................................... 25 7.3 Setting date and time ..................................................................... 29 7.4 Control by time ............................................................................... 30 7.5 Operating machine status....
Contents 9 Appendix ............................................................................................... 55 9.1 Modes............................................................................................... 55 9.2 Dynamic object ............................................................................... 55 9.3 System blocks.................................................................................. 55 9.4 Keys .......................................................................
Contents IV
Introduction 1 Introduction This manual describes the operator terminals MAC 10/MTA-10 and MAC 12/MTA-12. Herafter these products are referred to as the terminal. In the manual we refer to the software package MAC Programmer+/ SW-MTA-WIN for Windows and MAC Programmer/SW-MTA for DOS. Hereafter these products are referred to as the PC software. The operator terminal is developed for use with the MELSEC FX0 and FX PLC system to simplify man-machine communication.
Introduction 2
Installation 2 Installation 2.1 Contents of package The terminal package includes: – Terminal – Installation manual 2.2 System requirements The terminal works with Mitsubishis programmable logic controllers series MELSEC FX0/FX0N and FX. 2.3 Mounting The terminal can be mounted on a panel or on a DIN rail. To comply with IP65 environmental standard, the terminal should be mounted in a front panel.
Installation 2.4 Connection to FX0/FX0N The terminal is supplied with an 8-pin Mini-DIN cable for connection to a FX0 PLC system. The cable is straight; the contact at each end is compatible with both the terminal and the FX0 system. The terminal connector is located in the bottom of the unit, and the FX0 connector is located under a protective cap in the top of the unit. The cable has a maximum length of 3 m and communication speed is 9600 baud.
Installation 2.6 Connection to a Personal Computer Connection can be made using a SC06N adapter. The maximum cable length is 3 m and the communication speed is 9600 baud. MAC Programmer 0 I - + SC06N Connection of the terminal to a personal computer The terminal is programmed using a personal computer with the PC software. You also use the PC software to make a backup of the terminal project.
Installation 6
Function overview 3 Function overview X, Y, M ... D, T, C ... M D MAC 10/MTA-10 MAC 12/MTA-12 3.1 Basic definitions Textblock Textblock are used to create and structure an application. Textblocks can consist of an unlimited number of lines of up to 16 characters long. Static text Static text is text which is written in textblocks and which cannot be changed during RUN-mode.
Function overview Dynamic objects Dynamic objects are those objects which are linked to signals in the PLC system. There are 7 types of dynamic objects: digital, analog, jump, date/ time, bar graph, multiple choice and text object. Time channels Time channels make it possible to set a digital signal ON or OFF controlled by the real time clock, that is, to enable you to ensure that a certain function is ON during certain periods of the day.
How to program the terminal 4 How to program the terminal This section describes how you can program the terminal with the PC software for Windows (programming can also be done with MAC Programmer for DOS). Refer to the PC software manual for further information. An example will be used later in this section to clarify how the terminal is programmed. 4.
How to program the terminal 4.3 Creating a project Create a new project in the PC software by selecting New from the File menu. Make entries for the project according to the figure below. See the PC software manual for further information.
How to program the terminal 4.4 Text and system blocks The main functional tool in the terminal is textblocks. These are used for building up applications. Textblocks are used to build up individual menus, between which you can define jumps. Textblocks can also present the status and value of different signals. A textblock can contain an unlimited number of lines, each of up to 16 characters in length. Textblocks are defined using the PC software on a personal computer.
How to program the terminal Block width: Line length is 16 characters, this cannot be altered. Display signal: You can assign a signal which is used by the PLC-program to display the textblock. The textblock is displayed when the signal is activated. Status This is where you can define the status word for the textblock. Press the button Status.. to display a list of those functions which influence the status words displayed. Functions can be assigned by selecting either YES or NO.
How to program the terminal When the terminal should access the preset or actual value it must defined with PRE or ACT. When a timer or counter is used in a digital object, it will always display the status of the output. Preset T1in Condition (Analog) ( T1 ) K Villkor T1 ( ) Preset T1 PRE (Digital) T1 ACT T1out (Digital) T1out (Analog) PLC program Current value Terminal 4.6 Example: Temperature control This example shows how to create an application for energy conservation.
How to program the terminal Menus Select New in the block list. Set the parameters for a textblock according to the picture below. Press [OK] to edit a textblock.
How to program the terminal Select Digital text (0/1) in the toolbox.. A dialog box is now displayed to allow you to define the object. Fill in the dialog box according to the picture below. Finish by pressing [OK]. Type the text LEVEL and finish with [Enter]. The first line is now complete and the cursor moves to the next line.
How to program the terminal Line 2 Type in ENERGY on the second line. Select Analog object (0,3) in the toolbox. Fill in the dialog box according to the picture below and finish with [OK]. Type in the text kWh and finish the line with [Enter]. Line 3 Select Jump object in the toolbox. Fill in the dialog box according to the picture below and finish with [OK]. Type in the text Set temp.time. End the line with [Enter].
How to program the terminal Line 4 Select Jump object in the toolbox. Fill in the dialog box according to the picture below and finish with [OK]. Type in the text Set clock. End the line with [Enter]. Time channels Time channels in the terminal make it possible for you to instruct that a certain signal should be ON during certain times of the day. Each time channel can have four time intervals. Select Time channels in the View menu. The following will be presented.
How to program the terminal Define the time channel according to the following figure. In the dialog you enter the signals that must be set to 1 and define the time intervals when the day temperature is in operation. End definition by pressing [Append]. Return to the block list by pressing [Exit]. Textblock for Date/Time Select New in the block list. Enter the block number 1 and press [OK]. Type DATE:. Select the object Date/time in the toolbox.
How to program the terminal Press [Enter] to change line. Type in TIME: on the second line. Select the object Date/time in the toolbox. Carry out parameter setting for the objects according to the following figure. End with [OK]. Note! Date/time is set in run mode using this type of textblock. See example Operating machine status. 4.7 Transferring a project Projects can be transferred between a terminal and a personal computer when the terminal is in communication mode.
How to program the terminal 20
Databuffer 5 Databuffer MAC 12/MTA-12 This function means that an area of the battery memory is used as an extra memory bank for the PLC system. The PLC program determines what is to be read/written as well as when/where it is to be done. The size of the memory bank is configured in the terminal. The available buffer area depends on how much project memory is used (maximum project memory is 8000 bytes).
Databuffer 5.2 Data control block in the PLC system The data control block consists of 4 registers: Register Description Dn0 Command register. Dn1 Start index in the memory bank to read from/write to. Dn2 Number of registers to read/write. Dn3 Start register in the PLC system to read from/write to. (e.g. if 100 is stated in this register, reading/writing will begin in register D100).
"Joystick" function 6 "Joystick" function MAC 12/MTA-12 With this function it is possible to use the arrow keys as function keys. On the command line under System signals you enter the command AK and an address. For example you can enter AKM100 (the command AK and memory cell M100). Then M100 is the enable signal and the following 4 memory cells are as according to the following control block. Memory cell Description Mn0 Enable. Arrow key detection. Disable=normal function.
"Joystick" function 6.1 Example The following exampel can be used to exit the joystick function and return to normal function. Make the following steps. – create a block with 1:st man obj defined. – enter the static text "JOYSTICK". – create a digital object with the following settings: D.
Programming example 7 Programming example When planning an application there are a number of things to take into consideration. For instance, which blocks should you use and how do you change blocks? We will now try to answer some questions that may arise. 7.1 Structuring textblocks according to application Signals linked to the same object are normally shown together. Suppose we have an application involving 3 motors.
Programming example Block changing controlled by the PLC program When selecting a textblock, define the digital signal that, when activated, displays the text block. In this example we define that text block 5 is displayed when signal X0 is activated. Returning to the previous block used We are in block 20 and want to jump back to the previous block (10, 11 or 12) we were using. Block 10 Disp. sign. M200 Block 11 Block 12 Disp. sign. M201 Disp. sign.
Programming example M200-M202 are the display signals for blocks 10-12. In block 20 we make a digital object: To move to block 20 we make jump objects in blocks 10-12.
Programming example When M300 is activated we compare D1 with K10-K12 to know which block to jump back to.
Programming example 7.3 Setting date and time To set the right date and time in Run mode, you have to create a manoeuvrable date/time object in a block. If you only want to change the date or time you must create 2 object to avoid problems with the cursor in Runtime mode - one with date only and one with time only. If you want to show a weekday as well, you have to create a third block with the day of the week only. You can never change a weekday, this is automatically calculated from the date entered.
Programming example 7.4 Control by time Use a time channel to control a signal. Note! If the digital signal linked to the time channel exists in the program as an OUT instruction, the PLC program takes command. If this condition is not valid then the signal remains inactive. Changing time channel intervals on-line To make it possible to change time channel intervals during Run mode, you must select YES for time channels under Online changes in Set-up mode.
Programming example By typing in YES for Man 000:, Man 001:, and Man 010: it is possible to force these statuses. A NO for Man 110 means that you cannot force this status. Status D.Obj 1 D.Obj 2 D.Obj 3 Text 000 Emptying 0 0 0 Text 001 Filling 0 0 1 Text 010 Rotate 0 1 0 Text 011 0 1 1 Text 100 1 0 0 Text 101 1 0 1 1 1 0 1 1 1 Text 110 Heating Text 111 7.6 Selection list In this example we want to check the status of a certain pump.
Programming example 7.7 Dynamic text blocks By setting the status Remove not used signals for a textblock the same textblock can be used for different but similar applications. For example, a project can consist of 10 lines for setting preset values, 0-10, but in the PLC program only presets 2-5 are used. If the status Remove not used signals is set, only those lines with selected presets will be displayed, that is, 2-5. 7.
Reference guide 8 Reference guide This section gives a general description of the different function found in the terminal. 8.1 Project memory size The project memory size in MAC 10/MTA-10 is 3900 bytes and in MAC 12/MTA-12 the memory size is 8000 bytes. 8.2 Mode selection The terminal normally enters Run mode during power-up. The table below shows the other modes possible with the terminal.
Reference guide 8.3 Set-up of the terminal using the PC software Signals Setting handshake signals between the terminal and a PLC Select System signals in the Setup menu. Current display reg: Here is where you select the data register which in Run mode will contain the number of the block shown of the display. The data register is updated automatically when the block is changed. Note! This register is used only for reading current text block number- never for selecting.
Reference guide Country settings Selecting menu language and character set. Select Country Settings in the Setup menu. Refer to the PC software manual for further information. Note! This command is used only to change the language for system texts. It does not offert the choice of language for preprogrammed project. Date/time-format Choice of date and time settings.
Reference guide The following characters can be used to set the required date and time format: D H M S Y - : . / , [Blank] -Day, numeric. - Hour, numeric. - Minute and month, numeric. - Second, numeric. - Year, numeric. - Punctation marks. Valid formats for date settings are, for example: Format Example YY-MM-DD 95-08-15 YYMMDD 950815 DD.MM.YY 15.08.95 DD/MM-YY 15/08-95 Valid formats for time settings are, for example: Format Exempel HH:MM:SS 15:33:36 HH.MM 15.
Reference guide PLC-register: The real time clock is transferred to the register in the manner PLC-reg: and the six following. If D8013 is given as the PLC-reg: values for date and time are displayed in binary form according to the table below. Data register Presentation D700 second D701 minute D702 hour D703 day D704 month D705 year D706 day of the week Update int. If Clock→PLC is selected this constant defines the update frequency in seconds.
Reference guide 8.4 Programming You program the terminal with the PC software installed on a personal computer. The terminal will enter the Communication with PC software mode if you keep the [←] [-] keys down continuously during terminal power-up. 8.4.1 Creating a project A program is created through selecting New from the File menu. Then you make selections according to what the PLC system project will be used for. For more information on this function see the separate PC software manual. 8.4.
Reference guide Block no: Type in the appropriate block number. If a textblock already exists for the entered number, the defined values for this block, if any, will be displayed automatically. Use the [↑] and [↓] arrow keys to move between different fields.The text block you want as the main menu and which is displayed immediately after terminal power-up must always be assigned the number 0.
Reference guide Auto data entry Defines whether the cursor is to move automatically to the next manoeuvrable object. Remove not used signals Defines whether text lines that contain dynamic objects linked to timers, counters and relays not used in the PLC system are shown on the display. Does not concern data register types D and R. Press [F2] to edit a textblock. To return to the previous menu press [Esc]. 8.4.3 Dynamic objects Dynamic objects can be found throughout textblocks.
Reference guide Digital signal: Address for signal or name. Text 0: Text displayed when the signal is 0 (max 7 characters). Text 1: Text displayed when the signal is 1 (max 7 characters). Manoeuvrable: Define whether you want to be able to force the value of the object with the terminal when in Run mode. It can have the value YES or NO. NO is the default value. Use the space-bar to change between YES and NO. Analog Analog objects are objects that represent integer values or floating point values.
Reference guide The following combinations are possible: Sign PLC register type Range D100 Single -32768 – +32768 D100 + Single 0 – +65535 D100 L Double -2147483648 – +2147483648 D100 L+ Double 0 – +4294967295 For timers, counters and high speed counters either the preset or actual value be presented, the possibilities are as follows: Sign Presentation T50 T50 current value T50 L T50 and T51 current value T50 PRE T50 preset value T50 LP T50 and T51 preset value Position: Define the
Reference guide Offset value: & Gain value: These parameters are used to scale the signal address value in the PLC to a displayed value according to the following equation: DisplayedValue = Offset + Gain * RegisterValue If a value is changed using the terminal in Run mode, the value is scaled to a signal address value according to the following equation: RegisterValue = (DisplayedValue - Offset)/Gain Scaling does not affect any max. or min. values defined or the number of decimals presented.
Reference guide Date/Time Date and time objects fetch data from the terminal's or PLC's real-time clock. Day of the week Define whether you want the day of the week displayed. Weekdays occupies 2 positions. Date Define whether you want the date displayed. The date normally occupies 8 positions. Time Define whether you want the time displayed. The time normally occupies 8 positions. Manoeuvrable Define whether you want to be able to change the value of an object using the terminal in Run mode.
Reference guide Bar graph Bar graph objects represent integer or decimal numbers in the shape of a bar graph. As bar graphs are displayed horizontally, the maximum number of positions (characters) will be occupied by the bar graph when it has reached maximum value. Bar graph objects can be assigned the following analog signals: D, R, T, C. Analog signal: Address or name for signal. Position: Define the number of positions (characters) occupied by the signal. The maximum number of positions is 16.
Reference guide Multiple choice A multiple choice object can represent several states. The object is linked to three digital signals that together can represent 8 different states to, one for each status. You can link text of up to seven characters. Digital objects can be assigned the following types of signal: X, Y, M, S, T, C. Signal 1 - Signal 3: Address or name for signal. It is not necessary to type in 3 signals, if 2 are entered then 4 different statuses are displayed.
Reference guide Text 000 - Text 111: The texts that will be displayed for the different statuses. Status Signal 1 Signal 2 Signal 3 Text 000 0 0 0 Text 001 0 0 1 Text 010 0 1 0 Text 011 0 1 1 Text 100 1 0 0 Text 101 1 0 1 Text 110 1 1 0 Text 111 1 1 1 Manoeuvrable: Define whether you want to be able to force the status of an object using the terminal when in Run mode. Text Object for handling ASCII strings.
Reference guide 8.4.4 Definition of time channels Time channels are used to set and reset digital signals in relation to the real-time clock. When creating your own application projects, the only limitation to the number of time channels is the memory capacity of the terminal. Select Time channels from the View menu. Type in the text you want displayed when text block 991 is activated. Press [F4] to edit the time channel or press [Enter] to type in text for the next time channel.
Reference guide 8.5 Transferring an application The Communication mode is used to transfer application projects between the terminal and a personal computer. The terminal will enter the "Communication with PC software" mode if you press the [←] [-] keys down continuously during terminal power-up. Application transfer can only be carried out if the PC software is installed in the personal computer for programming and documenting the terminal.
Reference guide Time channels Controlling and changing time channels. To display time channels, you must link system block 991 to a digital signal or jump to block 991. To read or change a time channel value, select the time channel by moving the cursor to the appropriate line. Press [+] and then read and/or change the time interval. However, changes cannot be made to digital signals.
Reference guide The list below shows how objects are linked to signals: Timer1 3.
Reference guide Object Signal Preset R3 #---- Counter preset, C3 Counter 4 #---- C4 Preset R4 #---- Counter preset, C4 Relay 1 #--- M relay ON/OFF (4 relays), M1 Relay 2 #--- M2 Relay 3 #--- M3 Relay 4 #--- M4 TimeSwitch 1 #--- Time channel ON/OFF indication/forcing (4 time channels), M5 TimeSwitch 2 #--- M6 TimeSwitch 3 #--- M7 TimeSwitch 4 #--- M8 # TimeSwitch set Jump to time channels block 991 Date #------- Date in national format Time #------- Time in national format Regis
Reference guide 8.8 PLC program transfer MAC 10/MTA-10 MAC 10/MTA-10 allows storage of a PLC-program of 2000 steps (4000 bytes) in the terminal EEPROM. This feature can be used if the PLC has to be exchanged. The new PLC can easily with the terminal be loaded with the PLC program again. This could also be a convenient method to update an installation, only by sending a new terminal with an updated application for both PLC and the terminal.
Reference guide From the terminal to PLC PLC Ensure the PLC is in stop mode. MAC 10 Press the [↓] [-] keys down continuously during power-up. Term→ PLC/MEDOC is now displayed. Press [+] to begin the transfer. From PLC to the terminal MAC 10 Press the [↓] [-] keys down continuously during power-up. Press [↓] again. PLC/MEDOC → Term is now displayed. Press [+] key to begin the transfer.
Appendix 9 Appendix 9.1 Modes The terminal modes: Select preprogrammed project Communication with PC software Run mode Configuration mode PLC transfer See section Mode selection in the chapter Reference guide for mode selection. 9.
Appendix 9.4 Keys Certain keys have different functions in Run mode. The following keys have the functions listed: – Set manoeuvrable digital object (ON). Increase value of manoeuvrable analog object. Execute jump. Select/execute choice from a multichoice object. + Reset manoeuvrable digital object (OFF). Decrease value of manoeuvrable analog object. Move up one line. If the first line of time channel settings: return to previous level. Move to next field. Move to previous field. Move down one line.
Appendix 9.6 Data MAC 10 Front panel Mounting depth MAC 12 Width 96 x hight 72 x depth 3 mm 37 mm 41 mm Mounting holes 92 ± 1 x 68 ± 1 mm Front panel seal IP 65 Rear panel seal IP 20 Front panel materiall 1,5 mm blac anodized aluminium and membrane keyboard. Overlay film of posyester with backside printing. Container material Black varnished steel.
Appendix 9.
Appendix 59
Appendix 60
Index Index B Basic definitions 7 C Communication mode 9 Connection to a PC 5 Connection to FX 4 Connection to FX0/FX0N 4 Country settings 35 Create project 10, 38 D Databuffer 21 Configuration 21 Data control block 22 Date/time format 35 Default settings 56 Dynamic information 12 Dynamic object 40, 55 Analog 41 Bar graph 45 Date/time 44 Digital 40 Jump 43 Multiple choice 46 Text 47 F Function overview 7 J Joystick function 23 K Key board 9 Keys 56 M Mode selection 33 Modes 55 Mounting 3 O Online ch
Index Transfer Application 49 PLC program 53 Transferring a project 19 II
Appendix for drawings 10 Appendix for drawings Dimensioner MAC 10/MTA-10 A-1
Appendix for drawings Dimensions MAC 12/MTA-12 A-2
Appendix for drawings Cable from terminal to FX A-3
Appendix for drawings Cable from the terminalen to FX0/FX0N with external supply voltage A-4
Appendix for drawings Cable from the terminal to FX with external supply voltage A-5
Appendix for drawings Terminal - SC-06 - PC A-6
Appendix for drawings Installation A-7
Appendix for drawings CR01 - F-CPU to the terminal (3m) A-8
Appendix for drawings CR01 - F-CPU to the terminal (1200m) A-9
Appendix for drawings CRO1 - FX0-CPU to the terminal (3m) A-10
Appendix for drawings CR01 - FX0-CPU to the terminal (1200m) A-11
Appendix for drawings A-12
MITSUBISHI ELECTRIC MITSUBISHI ELECTRIC EUROPE FACTORY AUTOMATION GOTHAER STR. 8, D-40880 RATINGEN TEL.