010-1040 rev02
ii MAPware-7000 Programming Manual COPYRIGHT NOTICE This manual is a publication of Maple Systems, Inc., and is provided for use by its customers only. The contents of the manual are copyrighted by Maple Systems, Inc.; reproduction in whole or in part, for use other than in support of Maple Systems equipment is prohibited without the specific written permission of Maple Systems.
MAPware-7000 Programming Manual If noncompliance is verified and is not due to customer abuse or the other exceptions described with product warranty, Maple Systems will, at its option, repair or replace the Product returned to it, freight prepaid, which fail to comply with the foregoing warranty, provided Maple Systems is notified of such noncompliance within the warranty period.
iv MAPware-7000 Programming Manual Safety Precautions Intended Audience A Qualified Person is one that has the skills and knowledge relating to the construction, installation, operation, and maintenance of the electrical equipment and has received safety training on the hazards involved. Qualified Personnel shall: Have carefully read the entire operation manual.
MAPware-7000 Programming Manual • The product may be used to control an adjustable speed drive connected to high voltage sources and rotating machinery that is inherently dangerous if not operated safely. Interlock all energy sources, hazardous locations, and guards in order to restrict the exposure of personnel to hazards. The adjustable speed drive may start the motor without warning. Signs at the equipment installation must be posted to this effect.
vi MAPware-7000 Programming Manual WARNING Do not connect the unit to an AC power source. You will cause permanent damage to the unit. WARNING Do not attempt to use a DC power supply that does not meet unit power requirements. You may cause malfunction or permanent damage to unit. WARNING Do not power the unit with a DC power supply used for inductive loads or for input circuitry to the programmable logic controller. Severe voltage spikes caused by these devices may damage the unit.
MAPware-7000 Programming Manual Safety Precautions Store in a cool, clean, and dry location. Avoid storage locations with extreme temperatures, rapid temperature changes, high humidity, moisture, dust, corrosive gases, or metal particles. Do not store the unit in places that are exposed to outside weather conditions (i.e., wind, rain, snow, etc.). Disposal Never dispose of electrical components via incineration.
viii MAPware-7000 Programming Manual Table of Contents COPYRIGHT NOTICE .......................................................................................................................... ii WARRANTY ....................................................................................................................................... ii IF SERVICE IS REQUIRED ...................................................................................................................
MAPware-7000 Programming Manual Installing MAPware-7000 .......................................................................................................... 27 Starting the MAPware-7000 Software ...................................................................................... 29 The Opening Screen .............................................................................................................. 30 Menu Bar Options .......................................................................
x MAPware-7000 Programming Manual Screen Types and Templates ..................................................................................................... 94 What is a screen? .................................................................................................................. 94 Base Screens .............................................................................................................................. 94 How to create a base screen ......................................
MAPware-7000 Programming Manual Chapter 5 - Data Objects ............................................................................................................. 115 General Object Properties ....................................................................................................... 115 Object List ................................................................................................................................ 115 Feature List .................................................
xii MAPware-7000 Programming Manual Multi-Task Single-State Button ............................................................................................ 173 Multi-Task Multi-State Button............................................................................................. 175 Bar Graph............................................................................................................................. 178 Multiple Bar Graphs .............................................................
MAPware-7000 Programming Manual Set RTC ................................................................................................................................. 211 Swap Tag A and Tag B .......................................................................................................... 211 Switch Screen from Tag ....................................................................................................... 211 Subtract a Constant Value from a Tag ......................................
xiv MAPware-7000 Programming Manual Creating the Print Data Logger activation keys: .................................................................. 248 Viewing Data from the Data Logger .................................................................................... 249 Other Data Logger tools ...................................................................................................... 257 Chapter 9 - Using Function Keys......................................................................
MAPware-7000 Programming Manual Moving elements in rungs ................................................................................................... 281 Cutting, copying, pasting elements in rungs ....................................................................... 281 Shortcuts when editing the ladder rungs ............................................................................ 283 Using Rung Comments ..........................................................................................
xvi MAPware-7000 Programming Manual MW memory (IO registers)...................................................................................................... 313 Appendix C - Maintenance and Test Modes ............................................................................... 319 Hardware Test Modes ............................................................................................................. 319 Entering the test modes via power-up ................................................
MAPware-7000 Programming Manual Chapter 1 – Introduction Welcome Welcome to the Maple Systems’ HMC7000 Series Human Machine Controllers (HMCs). The graphic HMC7000 is a combination operator-based HMI (human machine interface) with built-in PLC (programmable logic controller) operation. This is accomplished by using optional expansion I/O modules and configuration software that supports ladder logic programming. Now you can have an HMI and a PLC in one unit.
MAPware-7000 Programming Manual MAPware-7000 Support The configuration software, MAPware-7000, is used to program the models listed below. HMC Models Supported Maple Systems offers four models of the HMC7000 Series that have a display, touchscreen and/or keypad, and support direct connection to both digital and analog inputs/outputs: HMC7030A-L A 128x64 pixel 2.7” tri-color FSTN LCD display with backlight.
MAPware-7000 Programming Manual This HMC7000 Series Programming Manual (shipped with MAPware-7000 software as a PDF file) describes the general operation and features of the HMC7000 Series using the MAPware-7000 configuration software. The HMC7000 Series Installation Guide, Ladder Logic Guide and I/O Module Guide are also included. Controller Information Sheets – Important information specific to each supported protocol when connecting to an external third party PLC.
MAPware-7000 Programming Manual Click Refers to clicking the primary mouse button (usually the left mouse button) once. Double-click Refers to quickly clicking the primary mouse button (usually the left mouse button) twice. Right-click Refers to clicking the secondary mouse button (usually the right mouse button) once. Right-clicking usually opens shortcut menus. The following table identifies symbols and margin icons. Icon Meaning ► Identifies a procedure.
MAPware-7000 Programming Manual HMC7000 Basics The Maple Systems HMC7000 Series are economical graphics-based touchscreen (with membrane-style function keys) controllers. We use the term “HMC” (human machine controller) to signify this operator interface can perform the functions of an HMI (human machine interface) as well as a PLC (programmable logic controller).
MAPware-7000 Programming Manual Projects The HMC7000 has two basic segments of internal memory. The code memory (firmware) contains the information required by the HMC that controls how it operates such as the features supported and how it communicates to a third party PLC. The HMC programmer does not have the ability to change this code memory.
MAPware-7000 Programming Manual window displays, the objects on that window become active. Windows can also overlap each other. Each window displays graphics objects; there is no limit to the number of objects placed on each window. The number of windows available to the HMC7000 is determined by the total amount of memory used for the application. List of Objects The next several chapters will guide you through the creation of your first project.
MAPware-7000 Programming Manual Write, Add, Subtract Value to Tag Add (Subtract) Tag B to Tag A Screen Objects Creates a touchscreen graphics object that writes a specific value, adds a value, or subtracts a value to a data register when pressed. When pressed, this object adds (or subtracts) the current value in data register B to the value in data register A.
MAPware-7000 Programming Manual and Numeric, ASCII, and custom keypads These are keypads that can be displayed on a screen for editing purposes. Alarm List and Database Displays preconfigured alarm messages when the tagged bit is triggered. Alarm Buttons Clock Buttons These alarm buttons are used to acknowledge a particular, next, previous, or all alarms. Use these objects to display the time and date as read from the internal RTC (real time clock).
MAPware-7000 Programming Manual Through experience and many years of customer feedback, we have found that the quickest path to finish your project is to skim through the entire manual. By doing this, you will become familiar with the layout of the manual as well as learn basic concepts and operation of the product. Next, install the MAPware-7000 software onto your computer and try creating a simple project.
MAPware-7000 Programming Manual Chapter 2 - Software Tour Introduction The MAPware-7000 software programs the HMC7000 Series- graphic touchscreen operator interfaces with optional I/O expansion modules The software is easy to use and requires a minimal amount of time to become familiar with operation. With the MAPware-7000 software, you can quickly create projects using the various features and tools that come with the software.
MAPware-7000 Programming Manual Select the preferred directory location on your computer to install the MAPware-7000 software (default is C:\Maple Systems\MAPware-7000\): Then click Next. Confirm Installation. Click Next to begin. Once installation is complete, click Close. 1010-1040, Rev.
MAPware-7000 Programming Manual Starting the MAPware-7000 Software Open the MAPware-7000 software by clicking on the Start button in the Windows Task bar, then the All Programs button: The MAPware-7000 Task menu provides the following: MAPware-7000 icon to start the software Help icon to access the Help files directly The HMC7000 Series Programming Manual Uninstall icon Click on the MAPware-7000 icon to begin execution of this program (depending upon the hardware of your computer, this may take
MAPware-7000 Programming Manual The Opening Screen As mentioned above, initial screen displayed when you start the MAPware-7000 software displays the overall workspace environment that you will be creating your projects in: Perform the following: Click New to start a new project. The Select Product dialog box appears. Select any product and then click OK. The Project Configuration dialog box appears. Click OK. Now, you should see the following: 1010-1040, Rev.
MAPware-7000 Programming Manual Double-click on Project Item – Screens. This displays a listing of all current screens: Double-click on Screen1. This displays a blank screen 1, along with appropriate toolbars: 1010-1040, Rev.
MAPware-7000 Programming Manual Let us describe each section of the software in detail: Title Bar Menu Bar Project Toolbar Layout Toolbar Draw Toolbar Screen Work Area Properties Grid Common Objects Toolbar Project Information Window Properties Help Guide Status Bar Font Toolbar Global Toolbar Title Bar – indicates the current open project and directory location Menu Bar – these are the standard menu options for the MAPware-7000 software Toolbars – shortcuts of features and commands that you ma
MAPware-7000 Programming Manual Project Information Window – folder-style depiction of the current project. This also shows a listing of past projects created. Screen Work Area – shows all objects and attributes of current open screen Properties Grid – this is the area where attributes of the highlighted object are adjusted Properties Help Guide – quick help on each attribute highlighted for an object 1010-1040, Rev.
MAPware-7000 Programming Manual Menu Bar Options Project menu - settings/controls used on the entire project New – creates a new project Open – opens an existing project Close – closes the project that is currently open Save – saves the currently opened project Save As – to save the currently opened project under a new file name Properties – this displays the Project Configuration dialog box (same dialog box that is displayed when a new project is started) Import Text Objects
MAPware-7000 Programming Manual View menu – provides options for viewing screens and other sections of the opened project Data Monitor window – opens the data monitor window (used to monitor the current values in tags during simulation) Device Information – provides information about the HMC7000 that is currently connected to your computer Icons – displays all screens (including base, popup, keypad, and template screens) as a series of small icons in the work area of the MAPware-700
MAPware-7000 Programming Manual Center Along – when two or more objects are highlighted, this feature moves the objects to the same location on the screen o Screen’s Horizontal – aligns along the horizontal center of the screen o Screen’s Vertical – aligns along the vertical center of the screen o Object’s Horizontal – aligns with respect to the horizontal center of the two objects o Object’s Vertical – aligns with respect to the vertical center of the two objects Place Equidistant – takes thre
MAPware-7000 Programming Manual the Project Information window. Note: same as clicking on the Keys folder in the Project Information window. Nodes – use to assign a network node address to each serial com port on the HMC7000. You can also modify the settings for each serial port (i.e. baud rate, communications driver, etc.) as well. Note: same as clicking on the Network Configuration folder in the Project Information window. Tag Database – displays the Tag database.
MAPware-7000 Programming Manual Tools menu – these miscellaneous settings and tools are available with the MAPware-7000 software. Application Memory Status… - display the Memory Status dialog box. This provides detailed information on memory required by the HMC7000 for the currently opened project. Display Logged Data… - displays logged data (in CSV format) that has been uploaded from the HMC7000. Logged data can be captured by the HMC7000 using the Data Logger feature.
MAPware-7000 Programming Manual Help menu – MAPware-7000 includes extensive help files that cover the operation of each feature. Contents – displays the Help files, Contents tab Index – displays the Help files, Index tab Search – display the Help files, Search tab About… - provides information on Software revision Draw menu – use to place objects onto each screen. Also configures the grid function for screens.
MAPware-7000 Programming Manual Subtract Tag B from Tag A – when pressed, this button will 1. read the current value in Tag B 2. read the current value in Tag A 3. subtract the Tag B value from the Tag A value 4.
MAPware-7000 Programming Manual o Text – This simple text object displays static text using one of four predefined font sizes. o Date – displays the date using the internal clock o Time – display time o Data Display – these objects display the data in bits or registers as numbers or characters. Numeric Display – displays the current value in the register Message Display – displays predefined text strings based upon the value in the register.
MAPware-7000 Programming Manual o IO Interrupt 2 – similar to IO Interrupt 1 except that, when called, it takes lower priority than the timer interrupt and IO Interrupt 1 Duplicate – copies the highlighted logic block and creates a new one identical to it. Open – displays the Open Block dialog box with a list of all logic blocks. Highlight a logic block to open and display it. Import – bring a logic block from another project into the existing project.
MAPware-7000 Programming Manual 43 The Toolbars There are several toolbars available in MAPware-7000 to make it easier to access objects and features that you need. Below is a list of the toolbars and a brief description of each shortcut icon in the toolbar (for a more detailed description of the feature represented by the icon, check the Standard menu above or elsewhere in this manual).
MAPware-7000 Programming Manual Help Displays the Help files Cut Use to delete objects from displayed screen Copy Copies the selected object(s) for pasting Paste Pastes a copied object(s) onto the screen Select All Highlights all objects currently on displayed screen Previous Object Moves focus cursor (highlight) to prior object on screen Next Object Moves focus cursor to next object on screen Undo Undoes last executed action in MAPware-7000 Redo If the Undo action was performed by mist
MAPware-7000 Programming Manual Delete Screen Deletes the current screen shown in the workspace Open Screen A popup dialog box lists all screens, click on one to open Show Screen Similar to Open Screen but you can only use this action if the highlight cursor is on Screens in the Project Information Window Nodes Displays a list of all connections (serial, Ethernet) assigned.
MAPware-7000 Programming Manual Send to Back If two or more objects are overlaid on screen, the selected object is sent to the background Align Left If two or more objects are highlighted, this action aligns the objects along the left side of the leftmost highlighted object on screen Align Right If two or more objects are highlighted, this action aligns the objects along the right side of the rightmost highlighted object on screen Align Top If two or more objects are highlighted, this action alig
MAPware-7000 Programming Manual 47 selected object. Make Equal Height If two or more objects are highlighted, this action resizes the height of each object to the same height of the last selected object. Make Equal Size If two or more objects are highlighted, this action resizes each object to the same size of the last selected object. Group Objects If two or more objects are highlighted, this action combines the objects into a ‘group’.
MAPware-7000 Programming Manual Picture Used to place a picture (*.bmp, *.gif, *.
MAPware-7000 Programming Manual Show Data section Display data as a number or representing with text Numeric Display Represents data from an internal memory or PLC register as a number. Message Display Represents data from an internal memory or PLC register as predefined text messages. Bit Display Represents data from an internal bit or PLC bit/coil as two predefined text messages, one for the On state and one for the Off state.
MAPware-7000 Programming Manual Reset Bit Places a button on screen that, when pressed, resets or clears a coil/bit in a PLC or internal memory Toggle Bit Places a button on screen that, when pressed, alternates between setting and clearing a coil/bit in a PLC or internal memory Word Action Buttons Buttons that write to registers Write Value to Tag Places a button on screen that, when pressed, writes a constant value to a register in a PLC or internal memory Add Value to Tag Places a button on
MAPware-7000 Programming Manual Bit Lamp Displays one of two states depending upon the current state (On or Off) of the tagged bit or PLC coil. The states can be a graphic image from the MAPware-7000 graphic libraries or an imported image. Word Lamp Displays multiple states depending upon the current state (On or Off) of the tagged bit or PLC coil. The states can be a graphic image from the MAPware-7000 graphic libraries or an imported image.
MAPware-7000 Programming Manual Alarm buttons section Various buttons for alarms Alarm Acknowledge Places a button on screen that is used by the HMC operator to acknowledge an active alarm. Acknowledge All Places a button on screen that is used by the HMC operator to acknowledge all active alarms. Next Alarm Places a button on screen that is used by the HMC operator to highlight the next active alarm.
MAPware-7000 Programming Manual Text Place a simple static text object on screen Bit Entry This is an input object that, when touched, displays a popup keypad, that allows operator to change the state (On/Off) of a targeted bit/coil. Numeric Entry This is an input object that, when touched, displays a popup keypad, that allows operator to change the value of a targeted register in internal memory or the PLC. Numeric Display Represents data from an internal memory or PLC register as a number.
MAPware-7000 Programming Manual Font Toolbar – this toolbar is located along the bottom of the MAPware-7000 software to adjust or modify text object boxes and simple drawn objects such as lines, rectangles and circles. Icon 1010-1040, Rev. 02 Name Description Font Name Change the font used in a text object. On other objects, this box changes to a font size box for simple fonts.
MAPware-7000 Programming Manual 55 Global Toolbar – this toolbar is located along the bottom of the MAPware-7000 software and is used to view the different states of a highlight object. Icon Name Description On State Displays the ‘on’ state of all two state buttons shown on screen. Off State Displays the ‘off’ state of all two state buttons shown on screen. Previous State Displays the ‘previous’ state on multi-state objects shown on screen.
MAPware-7000 Programming Manual Object Position Indicates the top left corner coordinates of the object selected. Object Size Indicates the size of the object selected in pixels. Project Information Window This window displays a listing of all projects created in the past and opened with the MAPware7000 software. It also displays a detailed feature list of the currently opened project in folder format. Use this window to easily maneuver and display various aspects of the opened project.
MAPware-7000 Programming Manual modify an attribute of an object, simply click on the attribute in the Properties Grid box. Then edit the attribute. The options for changing an attribute depends upon which attribute is highlighted. Some attributes (i.e. On Text, Off Text, Label, etc.) require that you type in the text or number. Color attributes (i.e. On Text Color) require that you display a Color Palette dialog box and simply select the color of interest. Some attributes (i.e.
MAPware-7000 Programming Manual Overlaying Objects MAPware-7000 does not permit most objects to be overlaid (placed on top of each other). You will see an error message displayed similar to the one below when you attempt to compile or save the project: If you wish to perform multiple tasks with one object, try using the Task feature (see Chapter 6 – Task Management). However, some objects can be overlaid.
MAPware-7000 Programming Manual 59 Aligning objects As you create projects in MAPware-7000, you will often wish to have two or more objects leveled either horizontally or vertically. The easiest method is to highlight the objects (see Moving and Resizing Objects) and then use the four alignment tools the Layout…Align… menu or Layout toolbar.
MAPware-7000 Programming Manual He also wants to align the picture of the motor with the text label, so both of these objects are highlighted: Then he clicks on the Align Left icon: Finally, he wants all of the text and numeric objects to be spaced evenly across the screen. He highlights these objects: Then clicks the Place Equidistant along Horizontal 1010-1040, Rev.
MAPware-7000 Programming Manual 61 Making objects the same size MAPware-7000 includes some tools that make it very easy to adjust two or more objects so that they are the same size. The three buttons: Make Equal Width, Make Equal Height, and Make Equal Size on the Layout toolbar are for this purpose. In this example, we wish to make the green rectangle and the blue rectangle the same width: We start by highlighting (see Moving and Resizing Objects) both objects.
MAPware-7000 Programming Manual Centering Objects There may be an occasion in which you wish to center two or more objects. MAPware-7000 has four control icons that can make this job a snap. Let us see how the shapes in the screen below change position using each of these controls: Center along Screen’s Horizontal - this control will center the selected objects along the horizontal (X) axis of the screen.
MAPware-7000 Programming Manual Midpoint location of selected objects along the horizontal axis Center along Object’s Vertical - this control centers the selected objects along the computed vertical center of the selected objects. What does this mean? The MAPware7000 computes the vertical center of the leftmost object and rightmost object then places the selected objects at the midpoint location between the objects.
MAPware-7000 Programming Manual Check the ‘No, not this time’ option and then click Next. Check ‘Install from a list or specific location (Advanced)’ Click Next to continue. 1010-1040, Rev.
MAPware-7000 Programming Manual 65 Check ‘Search for the best driver in these locations’ and check ‘Include this location in the search:’ Click the Browse button. Go to ‘C:\MapleSystems\MAPware7000\USB Drivers\x32_WinXP_WinVista’. Note: Select ‘x64_WinXP_WinVista’ if your computer has a 64-bit operating system. Click OK. When you get back to the screen above, click Next. 1010-1040, Rev.
MAPware-7000 Programming Manual If this dialog box appears, click Continue Anyway. The driver will now install onto your computer. This takes a few moments but eventually the final screen below appears. 1010-1040, Rev.
MAPware-7000 Programming Manual Click Finish. 1010-1040, Rev.
MAPware-7000 Programming Manual You can now open the MAPware-7000 configuration software and upload/download projects to the HMC7000 products using a USB connection. Download/Uploading Projects Chapter 3 – A Quick Start gives you a step-by-step introduction into creating and downloading a new project. This section guides you through the specific steps and options of uploading/downloading a project into your HMC7000 unit.
MAPware-7000 Programming Manual 69 c. Logged Data – uploads any data collected using the Data Logger feature (see Chapter 8 – Data Logger and Trending “Upload to the MAPware-7000 software” section for more details). d. Historical Alarm Data – uploads any alarm messages collected when using the Historical Alarm feature (see Chapter 7– Alarms “How to upload historical alarms” section for more details). 7. Click the Upload button: C Click OK. 8. When the upload is finished, click Close.
MAPware-7000 Programming Manual iv. a project in which you have made any changes to the PLC communications drivers assigned to the Com ports on the HMC7000 check this option. For subsequent downloads of the same project to a unit, it is not necessary to continue to download the firmware. b. Application – downloads application only (this is the project that you create using MAPware-7000) c. Ladder – downloads the ladder logic. The ladder logic is any ladder instructions created using the Logic Blocks. d.
MAPware-7000 Programming Manual asking if you want to clear the memory in the HMC7000 that is used to store data log information. 10. When the download is finished, click Close. Note: clicking Abort during a download may require that you perform a download of the original project since the existing project in the unit may have already been erased. Printing a hardcopy of projects The MAPware-7000 software allows printing a hardcopy of the project to a printer.
MAPware-7000 Programming Manual a. All – prints all screen data b. Project Information – this is general information about the project such as title, author, date and time last edited c. Unit Settings – serial printer port settings d. Nodes – assigned PLC drivers to the COM ports e. Tags - the tag database f. Application Task List – displays all global tasks g. Global Keys – displays settings for all global function keys h. Screen Task List – displays all tasks created at the screen level i.
MAPware-7000 Programming Manual Chapter 3 – A Quick Start Introduction In this chapter, we will guide you through the creation of a simple project. When finished, we will show you how to simulate this project and then download the project into a unit.
MAPware-7000 Programming Manual When the ‘Select Product’ dialog box appears, select the HMI7057A-M: Click OK. The Project Configuration dialog box appears. Enter your personal information about this project (i.e. Project Title, Description, Author, Password) on the Project Information tab, and then click the OK button. 1010-1040, Rev.
MAPware-7000 Programming Manual Note: On models that support Ethernet, an Ethernet tab will also be shown for configuring the IP settings of the HMC. The main screen area of MAPware-7000 appears: Notice your project name lists on the title bar as well as in the Project List of the Project Information Window. Next configure the protocol for the desired PLC. Click on the plus sign next to the Network Configuration folder in the Project Information Window, to expand and display subfolders.
MAPware-7000 Programming Manual The following dialog is displayed. Note that the port is preset to COM1. Enter the protocol data for the desired PLC. Since the HMC7057 does not support Ethernet, those options are disabled. The Node Information data at the top of the dialog is how this protocol will be displayed in the project tree. Click Add, then Close, to continue, and the protocol is added to the project tree: 1010-1040, Rev.
MAPware-7000 Programming Manual Now we want to assign the attached IO expansion module to the project. To do this, click on the IO Allocation folder in the Project Information Window and expand the folder so that the Expansion folder displays. Highlight (click) the Expansion folder, then double-click on Slot 1 to display the IO Allocation dialog box: Select HMC7-MI-01 from the list box. Make sure that the ‘Add tags to…’ option is checked, and then click the OK button.
MAPware-7000 Programming Manual Click on the Screen1 subfolder to display the work area for Screen1: We wish to be able to read/write to register N7:50 in the Allen Bradley PLC. First, let us grab the Numeric Entry object and paste it on the screen: Click the Edit Data pull-down menu on the Objects toolbar. Click the Numeric Entry object. Move your mouse pointer to a location on the work screen area where you would like to place the object, and then click to display the object.
MAPware-7000 Programming Manual Database. The Tag Information dialog box appears: Click the Add button. Under Node Name, click the pull-down box to select the Allen Bradley driver. For Tag Name, select a unique name for the register (ex: Boiler Temp). Under Register/Coil Type, use the pull-down box to select Integer Registers. We wish to use the N7:50 register, so in the middle numeric entry, enter the number ‘7’. In the right-most entry box, enter the number ‘50’. Now click the Add button.
MAPware-7000 Programming Manual Next, we want to use the HMC’s internal memory to create an ‘always on’ bit. Under Tag Name, enter a name that you want to use for the coil (ex: ON BIT). In the Register/Coil Type field, use the pull-down menu to select Internal Coils. Under Tag Type, make sure you check the Coil or Bit Addressed Register radio button. In the Coil section, enter ‘2’. Click the Add button to add this tag to the database.
MAPware-7000 Programming Manual Click on the Numeric Entry object once again to highlight it, and then click on the Tag Name entry field in the Register Data Entry Properties box. Click on the pull-down box and scroll down the listing until you find the tag we just created, “Boiler Temp”. Notice that the Tag Address entry above correctly identifies the target address as ‘N007050’. Now, we want to identify the Numeric Entry object with some text.
MAPware-7000 Programming Manual In the Multilingual Text Object Properties box, click on the Font field. A directory button appears. Click this button to display the Font dialog box. Change the Font to your liking (ex. Times New Roman, Bold, 18pt). Then click OK. In the Text field, enter ‘Screen #1’. Click on the Multilingual Text box and use the demarcation boxes (little white boxes that surround the object) to resize the box as needed. Drag the box to an appropriate position.
MAPware-7000 Programming Manual In the Project Information Window, click on the Keys folder for Screen#1. This displays the Function Key work area: We want the screen change to occur when the function key is pressed. Therefore, under the Tasks section (located to the right), click on the Press Tasks radio button. We will use the F1 function key, so make sure that the F1 key is highlighted (in white). If not, click on it to highlight it. Under Select Task, use the pull-down box to select Goto Screen.
MAPware-7000 Programming Manual We want the target register to be written to whenever Screen #1 is removed from display. Therefore, under the Tasks section (located to the right), click on the “After Hiding Screen” Tasks radio button. Under Select Task, use the pull-down box to select Write Value to Tag. Under Tag, select N007050** (Boiler Temp). In the Number field, enter ‘50’. In the Type field, select ‘Unsigned’. Then click on the Add button.
MAPware-7000 Programming Manual o Click on one object, then hold down the CTRL key and click on the other object(s) o Click and hold down the mouse key and encircle the objects you wish to copy, then let go of the mouse button: Click Edit…Copy from the standard menus. Click on the Screen#2 folder in the Project Info Window to display Screen#2. Click Edit…Paste to paste the copied objects from Screen#1 to Screen#2.
MAPware-7000 Programming Manual Click on the FromPictureLibraryOff field, and then click on the directory Picture Library dialog box displays: Select one of the lamps (ex. LS_0004.bmp), then click OK. Notice that MAPware-7000 automatically selects a corresponding image for the ON state in the FromPictureLibraryOn field. Note that if you are not satisfied with this image, you can edit this field to select a different image.
MAPware-7000 Programming Manual Screen #2 is now complete and should look something like: We now create a simple ladder logic program using the Logic Block feature of MAPware-7000. This logic program will simply turn ON the bit lamp in Screen #2, if the value in the Numeric Entry object (i.e. ‘Boiler Temp’) exceeds or is equal to 100. To guarantee maximum processing speed, Logic Blocks are not able to directly read registers or coils from a PLC attached to the HMC7000.
MAPware-7000 Programming Manual For Tag B (HMI/PLC), click the pull-down box and select the N007050** (Boiler Temp) tag. For Number of Words, enter 1. For Enable Control, select the No option. Click the Add button. You should now see ‘Copy HMI/PLC Block Boiler Temp of 1 to HMI Block Copy of N7:50’ in the Global Tasks window. This task continuously executes in the background during HMC operation.
MAPware-7000 Programming Manual then right-click to display a popup dialog box: Click Insert Rung. Now do it again. Now that we have two rungs, let us add some instructions to them. Rung#1: We want to create an ‘always on’ bit that is used in the second rung. Recall that we have already allocated an internal bit for this use in our tag database. To begin editing Rung#1, click anywhere on the rung to highlight it for editing. First, we wish to add a simple contact that is normally closed .
MAPware-7000 Programming Manual two points. Rung#2: Now highlight Rung#2 so that we can add a normally open contact to the first column. Change the tag to ON BIT. In the Logic Instructions toolbar, click Compare…Greater Than or Equal. Place this instruction on the 2nd column of Rung#2. In the Instruction Properties box (off to the right), in the Operand A section, click on the Name field and use the pull-down box to select the Copy of N7:50 tag.
MAPware-7000 Programming Manual Click Project…Compile on the standard menu. If you see any errors, please review the steps above or use the sample project called ‘Quick Start’ included with the MAPware7000 software. Download Your First Project This step assumes that you are using a USB download cable and that you have already installed the USB driver onto your computer so that it can communicate with your HMC. If not, please consult Chapter 2 - Software Tour.
MAPware-7000 Programming Manual When complete, the HMC7057 will reinitialize and display the application: Click on the ‘0’ to display a popup keypad: Use the keypad to enter the value ‘10’ into the register. Press Enter. This will write the value into the Allen Bradley MicroLogix 1400 N7:50 register. Press the F1 key to display Screen #2. Notice that the value in the register has changed to ‘50’. This was done by the Screen Task for Screen #1.
MAPware-7000 Programming Manual You can also test this project using the offline simulation tool (Project…Run) but the Logic Block feature is not supported in offline simulation and you are unable to write to any PLC tags. However, the offline simulation is useful to test operation of keys and the overall presentation of the screens. Review Before we leave this chapter, let us review what we have learned.
MAPware-7000 Programming Manual Chapter 4 - Screens and Tags Screen Types and Templates What is a screen? A screen is a predefined collection of objects to be displayed at the same time. A screen is displayed by the press of a button, function key, or can be called by a request from a PLC. How many different types of screens are there? In MAPware-7000, you can configure or define a screen to be one of the following: Base Screen – this is the most common type of screen.
MAPware-7000 Programming Manual How to create a base screen 1. Use one of the following: a. Click Screen…New Base Screen from the standard menu b. Click the New Base Screen icon in the Layout Toolbar. c. Right-click the Screens folder located in the Project Information Window. A popup dialog box appears- click New Base Screen. 2. The new screen appears in the work area of MAPware-7000 and the Screen Properties box displays.
MAPware-7000 Programming Manual a. Name – this is the name assigned to the selected screen. The text entered for the name appears as the title for the screen in the Projects Information window. By default, the name is simply Screen1, Screen2, etc. However, you may wish to assign a new name that helps define the purpose of the screen, (i.e. numeric keypad). b. Number – this is the number assigned to the screen. A number assigns to each screen when created.
MAPware-7000 Programming Manual g. Screen Print Properties – determines how the screen is to be used when requested: i. Display Screen (default) – screen is displayed on the HMC and not sent to a serial printer. ii. Print Screen – screen data is sent to a serial printer only and is not displayed when requested. However, a message “Printing in Progress” displays on the HMC7000 and remains until the HMC7000 is finished sending all text on the screen to the serial printer. Then the prior screen displays. iii.
MAPware-7000 Programming Manual Popup Screens Popup screens are screens that display groups of objects (i.e. Bit Lamps, Buttons, Bar graphs, etc.) on the HMC. They display on top of base screens and are smaller than the size of the HMC7000 LCD display. Note: although you can configure several popup screens to display on a base screen, only one popup screen displays at a time. How to create a popup screen 1. Use one of the following: a. Click Screen…New Popup Screen from the standard menu b.
MAPware-7000 Programming Manual field to assign a new number. Note: popup screens must be in the range of 65005-65534. 3. Layout a. Size – sets the pixel size (width x height) of the popup screen. Default is 237x180 pixels. i. Width – the width (in pixels). Range is 30 to 319. ii. Height – the height (in pixels). Range is 30 to 239. b. Top Left – this position indicator places the top left corner of the popup screen in relation to the base screen when called. i.
MAPware-7000 Programming Manual g. Screen Type – identifies what type of screen this is (i.e. base, popup, or template). 5. Tasks – a. Task List – option to assign tasks to the target screen. Click on the button to display the Task List for the selected screen: For more information on tasks, see Chapter 6– Task Management.
MAPware-7000 Programming Manual 2. The new screen appears in the work area of MAPware-7000 and the Template Screen Properties box displays: Editing a template screen Click anywhere on the screen (but not on any objects that have been placed onto the screen) to display the Template Screen Properties box on the right side of the screen. 1. Design a. Name – this is the name assigned to the selected screen. The text entered for the name appears as the title for the screen in the Projects Information window.
MAPware-7000 Programming Manual To assign a template screen to a base screen, click Screen…Apply Template Screens from the standard menus: The table is a list of all base screens created in the project (each row corresponds to a base screen). Ten columns represent the Template screens (maximum of ten template screens can be created). To assign a particular template screen to a base screen, simply check the appropriate template.
MAPware-7000 Programming Manual Modifying screens Finding a screen Of course, the easiest way to locate a screen is to select it from the Screens folder in the Project Information Window: Another method is to click Window…List of Open Screens from the standard menu: If you have very many screens and you wish to work on a subset of screens, then the bookmark feature might be useful. Bookmarks provide a means to switch quickly from one screen to another.
MAPware-7000 Programming Manual Viewing multiple screens You may wish to look at several screens at a time in the workspace area of the MAPware-7000 software. To do this, click Window…Tile Horizontally (Vertically): Note: click the Close All option in Windows to close all open screens. Deleting a screen Select one of three methods to delete a screen. Display the screen in the work area of MAPware-7000: 1. Click Screen…Delete from the standard menu 2.
MAPware-7000 Programming Manual 1. Click Screen…Duplicate from the standard menu 2. Right-click the Screen name listed in the Project Information Window, then click Duplicate. Renaming a screen Select one of two methods to rename a screen. Display the screen in the work area of MAPware-7000: 1. Click any area of the screen to display the Screen Properties dialog box, and then enter a new name under the Design…Name attribute. 2.
MAPware-7000 Programming Manual Click the Tag Database icon located in the Layout Toolbar or Click the Tags folder in the Project Information Window The tag database displays: 1010-1040, Rev.
MAPware-7000 Programming Manual Note: if you click on the Tag Database icon, the Tag Information window displays: Each assigned tag in the database has seven attributes arranged and presented as columns: Tag No. – This is the tag number assigned to the tag when created. Tags are assigned in numerical order. Tag Name – When you create a tag, you must provide a name for the tag. Port – If the address assigned to the tag comes from one of the external ports (i.e.
MAPware-7000 Programming Manual Adding a New Tag In the Tag Database, perform the following steps to add a new tag: 1. Click the Add button to display the Add Tag dialog box: 2. Node Name: click on the list to select the node (i.e. internal memory or PLC communications driver attached to the COM/Ethernet ports) where the target address is located 3. Tag Name: enter a name that you wish to assign to the tag address (max 40 characters) 4.
MAPware-7000 Programming Manual GE Fanuc Micro Address 7. Auto-add: By checking this option, you can quickly add a series of tags based upon a consecutive set of registers. When used, the Tag Name will have a five digit number appended (ex. 00000, 00001, etc): a. Number of Tag: enter the total number of consecutive tags you wish to create when using the Auto-add feature. b. Show Error Report: if checked, then the MAPware-7000 software displays a Text Only file (ErrorTag_AutoAddTag.
MAPware-7000 Programming Manual Deleting a Tag To delete a tag that is in the tag database, simply: 1. Open the tag database. 2. Highlight (click) the tag. 3. Click the Delete button (in the Tag Information window) or right-click to display a popup dialog box: 4. A popup dialog box appears asking if you are sure that you want to delete the tag. Click Yes. Note: all tags defined as Default Tags are system tags and cannot be deleted.
MAPware-7000 Programming Manual 4. In Edit mode, you can only change the name of the tag and the target address. Any other changes require that you delete the tag entirely, and then reenter. Finding Tags If you have created many tags and have a large database, it may be difficult to locate a particular tag.
MAPware-7000 Programming Manual Importing and Exporting Tags The tag database created in MAPware-7000 exports as a CSV (comma-separated value) file. You can edit this file then import back into MAPware-7000. This provides the following advantages: Tag databases can be moved from one project to another without copying the entire project. If you wish to modify many tags, this is quickly done by editing a CSV file.
MAPware-7000 Programming Manual 2. Click Export: Node tags- select All to export all nodes (internal memory and tags assigned to all Com ports). Check Selected and use the checkboxes to filter which nodes you wish to export. Export Tag Types- Check System to export internal system (S and SW register) memory tags in the tag database. Check Unused to export only tags that are not used in the project. Export to File - For Format, select ASCII or Unicode.
MAPware-7000 Programming Manual 2. Click Import: 3. Replace tags in case of duplicate tag found – check this box if you wish MAPware-7000 to replace a tag name in the tag database with one of the same name in the imported file. 4. Auto generate tag name in case of duplicate tag name found – checking this box will make MAPware-7000 append a number to the duplicate tag name. 5. Tag Columns – in order to import a CSV file, you must specify where each tag column (i.e.
MAPware-7000 Programming Manual 115 Chapter 5 - Data Objects General Object Properties Most of the objects placed onto a screen share common properties or features described (for the sake of brevity) in this section. Later sections will examine each individual object in more detail to provide information that may be particular to the operation of that object.
Object List MAPware-7000 Programming Manual A B C D E F G H I J K L M N O P Q R S T Reset Bit √ √ √ √ √ √ √ √ Toggle Bit √ √ √ √ √ √ √ √ Write Value to Tag √ √ √ √ √ √ √ √ √ Add Value to Tag √ √ √ √ √ √ √ √ √ Subtract Value from Tag √ √ √ √ √ √ √ √ √ Add Tag B to Tag A √ √ √ √ √ √ √ √ Subtract Tag B from Tag A √ √ √ √ √ √ √ √ Numerical Data √ √ √ √ √ √ √ √ √ √ √ √ Message Data √ √ √ √ √ √ √ √ √
MAPware-7000 Programming Manual Object List A Bar Graph √ B C D E F 117 G H I J K L M N √ Multiple Bar Graphs √ Analog Meter √ P Q √ √ √ Trend √ Historical Trend √ Alarms O √ √ R S T √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ √ Keypad √ √ √ √ √ ASCII Keypad √ √ √ √ √ Custom Keypad √ √ √ √ √ Time √ √ √ √ √ √ √ √ Date √ √ √ √ √ √ √ √ Alarm Acknowledge √ √ √ √ √ √ Next Alarm √ √ √ √ √ √ Prior Alarm √ √
MAPware-7000 Programming Manual Using Color Animation in MAPware-7000 Changing the color of the line to red using simulation mode. B- Flash Animation: dynamically ‘flash’ selected object. ‘Flash’ means the object displays on screen periodically depending upon the value (0-65535) in a tag register. This can indicate an alarm condition or attract the operator’s attention. When enabled, the following options are displayed: a.
MAPware-7000 Programming Manual When the value in D300 falls within 100 to 500, the text will slowly flash: Example of flashing message text C- Visibility Animation: use this feature to make the object disappear. A tag address monitored to determine when the object becomes invisible- made visible only when needed. This helps to reduce clutter on screen and focus the operator’s attention to the area of the screen that is most important. Options are: a.
MAPware-7000 Programming Manual E- Line Color: this determines the color of the perimeter line of a simple shape (i.e. line, rectangle, ellipse, etc). Use the button to display the color palette to select the color: F- Background Color: you can select a background color to simple shapes or many of the other objects that display data. Click on the button to use the color palette to select a background color: G- Border: add a line around the perimeter of the object. a.
MAPware-7000 Programming Manual H- Label: a label identifies the object placed on the top or bottom of the object. I- J- Options are: a. Background Color – click on the button to select background color using the color palette. b. Position – options are top or bottom of the object. c. Text – enter the text that you wish to appear in the label. d. Text Color – this is the color of the text. Click to display the color palette. e. Text Font – select the font attributes: i. Name: Windows type font ii.
MAPware-7000 Programming Manual value in a particular internal HMC register (SW0001). Many objects employ the language feature but to use this feature, you must first decide which languages you need then add them to the Languages section. Once completed, you click on the pulldown box in this option, select a language, and then configure the text for the object using that language. During normal operation, you can set up buttons on the HMC that will instantly change the ‘language’ (i.e.
MAPware-7000 Programming Manual L- Feedback Tag On/Off Text: this option is available on most of the screen button objects. It provides the ability to customize the label that appears on the button. a. On/Off Text: entry field for the text that is to appear on the button. b. On/Off Text Background Color: fill color of the button. c. On/Off Text Border Style: there are seven options for the border. i. Raised ii. Etched iii. Bump iv. Sunken v. Frame vi. None vii. Flat d.
MAPware-7000 Programming Manual c. Rounded Rectangle d. Invisible Note: the object is active but not seen by the operator e. User defined Images Note: use any *.bmp, *.jpg, or *.gif image i. On/Off State Image: Click to locate target graphics image file. f. From Picture Library Note: from predefined libraries included in software i. On/Off State Picture Library: Click to display predefined library images. N- Feedback Tag: this feature is optional on most button-type objects (i.e.
MAPware-7000 Programming Manual c. Simulation: this option simply shows how the ‘On’ state and ‘Off’ state look for the particular object selected, when changed during programming. This option has no effect on operation of the button during online or simulation. O- Task(s): this option is for button-type objects (i.e. Multi-Task Single-State button) that can be configured for more than one task. If the Task is grayed out, this means that the object can do only that one defined task.
Q- R- S- T- MAPware-7000 Programming Manual ii. Screen Number: screen number of the popup keypad used. e. Ranges (for data entry objects): these are the limits allowed when entering a new number. i. Maximum Value (List P) - enter the maximum value that the HMC operator can enter into the target register. ii. Minimum Value (List P) - enter the minimum value that the HMC operator can enter into the target register. Tag Properties: a. Tag Address: this is the address of the target register monitored.
MAPware-7000 Programming Manual Line Object Display simple lines on a screen of varying length and color. Place a line on screen 3. Use one of the following: a. Click Draw…Graphical Objects…Line from the standard menu b. Click Drawing Tools…Line from the Draw toolbar c. Click the Line icon from the Draw toolbar 4. Move cursor to a start point for the line. Click and hold mouse cursor. 5. Drag mouse cursor to an end point for the line and release.
MAPware-7000 Programming Manual Rectangle Object Use to display a rectangle or square on a screen of varying size and color. Place a rectangle on screen 1. Use one of the following: a. Click Draw…Graphical Objects…Rectangle from the standard menu b. Click Drawing Tools…Rectangle from the Objects toolbar c. Click the Rectangle icon from the Draw toolbar 2. Move cursor to a starting corner endpoint for the rectangle. Click and hold mouse cursor. 3.
MAPware-7000 Programming Manual Design (List S) - identifies object. Layout (List T) – coordinates (i.e. size and position) for the object. Resize a rectangle Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location. Ellipse Object Use to display an ellipse or circle on a screen of varying size and color. Place an ellipse on a screen 1. Use one of the following: a.
MAPware-7000 Programming Manual Resize an ellipse Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location. Round Rectangle Object Use to display a rounded (with beveled edges) rectangle or square on a screen of varying size and color. Place a rounded rectangle on screen 1. Use one of the following: a. Click Draw…Graphical Objects…Rounded Rectangle from the standard menu b.
MAPware-7000 Programming Manual Resize a round rectangle Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location. Pictures Object Use to display a picture (predefined *.bmp, *.jpg, or *.gif graphic image file) on a screen of varying size. Place a picture on screen 1. Use one of the following: a. Click Drawing Tools…Picture from the Objects toolbar b. Click the Picture icon from the Draw toolbar 2.
MAPware-7000 Programming Manual Resize a picture Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location. Simple Text Object Use to display text on a screen using one of four font sizes and selectable color. Place simple text object on screen 1. Use one of the following: a. Click Draw…Display Objects… Text from the standard menu b. Click Drawing Tools… Text from the Objects toolbar c.
MAPware-7000 Programming Manual Design (List S) - identifies object. Layout (List T) – coordinates (i.e. size and position) for the object. Resize a simple text object Text objects are not resizable- the number of characters and font size determines the size. To move the text object, simply click and drag using the mouse to the target location on screen. Multilingual Text Object Use to display multilingual text on a screen using Windows True Type fonts.
MAPware-7000 Programming Manual 2. Move precision cursor to the desired location for the text and click to place. 3. The Multilingual Text object (with ‘Sample Text’) appears on screen and the Multilingual Text Properties toolbox displays. Multilingual Text Properties Options Visibility Animation (List C) – make the object disappear or become ‘invisible’. Background Color (List F) – option to select a color as a ‘backdrop’ to the object.
MAPware-7000 Programming Manual Place a time object on screen 1. Use one of the following: a. Click Draw…Display Objects… Time from the standard menu b. Click Clock Objects… Time from the Objects toolbar 2. Move precision cursor to the desired location for the Time and click to place. 3. The Time object (with current computer time) appears on screen and the Time Properties toolbox displays.
MAPware-7000 Programming Manual Place a date object on screen 1. Use one of the following: a. Click Draw…Display Objects… Date from the standard menu b. Click Clock Objects… Date from the Objects toolbar 2. Move precision cursor to the desired location for the Date and click to place. 3. The Date object (with current computer date) appears on screen and the Date Properties toolbox displays.
MAPware-7000 Programming Manual Place a Go to Screen button on screen 1. Use one of the following: a. Click Draw…Buttons…Navigation Buttons…Go to Screen from the standard menu b. Click Quick Buttons…Go to Screen from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Go to Screen Properties box displays.
MAPware-7000 Programming Manual Place a Go to Next Screen button on screen 1. Use one of the following: a. Click Draw…Buttons…Navigation Buttons…Go to Next Screen from the standard menu b. Click Quick Buttons…Go to Next Screen from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Go to Next Screen Properties box displays.
MAPware-7000 Programming Manual Place a Go to Previous Screen button on screen 1. Use one of the following: a. Click Draw…Buttons…Navigation Buttons…Go to Previous Screen from the standard menu b. Click Quick Buttons…Go to Previous Screen from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Go to Previous Screen Properties box displays.
MAPware-7000 Programming Manual Place Open Popup Screen button on screen 1. Use one of the following: a. Click Draw…Buttons…Navigation Buttons…Open Popup Screen from the standard menu b. Click Quick Buttons…Open Popup Screen from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Open Popup Screen Properties box displays.
MAPware-7000 Programming Manual Place a Bit Lamp object on screen 1. Use one of the following: a. Click Draw…Display Objects…Bit Lamp from the standard menu b. Click Advanced Objects…Bit Lamp from the Draw toolbar c. Click on the Bit Lamp Display icon in the Objects toolbar. 2. Move cursor to a start point for the object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the object and release. The object appears on screen and the Bit Lamp Properties box displays.
MAPware-7000 Programming Manual Resize a Bit Lamp object Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location. Bit Display Bit Display indicates the current state of a bit register using two predefined messages (i.e. ON/OFF). The current value read in the targeted bit/coil message determines what message displays. Messages can be of varying length (maximum of 40 characters).
MAPware-7000 Programming Manual Border (List G) - add a line around the perimeter of the object. Flash (List D) – continuously ‘flashes’ the object. Font (List I) – select from one of four options- 5x7, 7x14, 10x14, and 20x28 pixels. Off/On Text – message text displayed according to the current value in the target address. Maximum number of characters is 40. Text Color (List Kb) - Determines the color of the text. Click to display the color palette. Design (List S) - identifies object.
MAPware-7000 Programming Manual Place a Set Bit button object on screen 1. Use one of the following: a. click Draw…Buttons…Bit Action…Set Bit from the standard menu b. click Quick Buttons…Set Bit from the Draw toolbar c. click on the Set Bit icon in the Objects toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Set Bit Properties box displays.
MAPware-7000 Programming Manual Place a Reset Bit button object on screen 1. Use one of the following: a. click Draw…Buttons…Bit Action…Reset Bit from the standard menu b. click Quick Buttons…Reset Bit from the Draw toolbar c. click on the Reset Bit icon in the Objects toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Reset Bit Properties box displays.
MAPware-7000 Programming Manual Resize a Reset Bit button object Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location. Toggle Bit The Toggle Bit button alternates setting and clearing a targeted coil each time the button is pressed. When pressed by the operator, the HMC reads the current value of the coil, and then sends a command to set or reset the coil depending upon the value read.
MAPware-7000 Programming Manual Button Style (List M) – selects a style or ‘look’ to the button Feedback Tag (List N) – enable this feature and select the same tag for both the target address and the feedback tag address, if you wish to see the button change state (i.e.
MAPware-7000 Programming Manual 2. Move cursor to a start point for the button object. Click to place the object on screen. 3. The object appears on screen and the Coil Data Entry Properties box displays.
MAPware-7000 Programming Manual display. A maximum of 32 states are supported. Word lamps are used where more than two choices are required. For example, a tri-state condition with Run, Auto, and Manual modes may be indicated using a word lamp. Place a Word Lamp object on screen 1. Use one of the following: a. click Draw…Display Objects…Word Lamp from the standard menu b. click Advanced Objects…Word Lamp from the Draw toolbar 2. Move cursor to a start point for the button object.
MAPware-7000 Programming Manual The left side of the State Properties box shows all of the States currently configured. There are a maximum of 32 states per Word Lamp. o Add State – click on this button to add a new state (always appended to the bottom of the list). o Delete State – click on one of the States in the list box to highlight and then click this button to delete it. Note: when deleting a state that is in-sequence, all states, listed after the selected state, are renumbered.
MAPware-7000 Programming Manual Resize a Word Lamp object Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location. Numeric Display Numeric Display shows the current value of an 8/16/32-bit register. The value can be displayed using a number of formats (i.e. signed, unsigned, floating point), and special effects (ex. flash, color, visibility).
MAPware-7000 Programming Manual Register Value Display Data Properties Options Color Animation (see Feature List A) – dynamically change the color of the object. Flash Animation (List B) – dynamically ‘flash’ object. Visibility Animation (List C) – make the object disappear or become ‘invisible’. Background Color (List F) – option to select a color as a ‘backdrop’ to the object. Border (List G) – add a line around the perimeter of the object.
MAPware-7000 Programming Manual according to the Length field (ex: if Length=10, then HMC will read five consecutive registers, starting with the designated Tag Address). 4- ASCII Numeric is the same as ASCII except that all non-printable values are displayed as zeroes. o Display Leading Zeroes – when enabled, data has leading zeroes to the left of the value. o Hide Data – if enabled, data will be represented with asterisks ‘***’. This feature is for security password entry.
MAPware-7000 Programming Manual Place a Message Display object on screen 1. Use one of the following: a. click Draw…Display Objects…Data Display…Message Data from the standard menu b. click Show Data…Message Data from the Draw toolbar c. click on the Message Display icon in the Objects toolbar 2. Move cursor to a start point for the button object. Click to place the object on screen. 3. The object appears on screen and the Register Text Display Data Properties box displays.
MAPware-7000 Programming Manual Tag Address (List Qa) – this is the address of target register that is monitored Tag Name (List Qb) – this is the name given to the tagged register in the Tag Database Layout (List T) – coordinates (i.e. size and position) for the object Resize a Message Display object Resize the Message Display object by changing the Font attribute. You can also move this object.
MAPware-7000 Programming Manual Place a Write Value to Tag button object on screen 1. Use one of the following: a. click Draw…Buttons…Word Action…Write Value to Tag from the standard menu b. click Quick Buttons…Write Value to Tag from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Write Value to Tag Properties box displays.
MAPware-7000 Programming Manual How to place an Add Value to Tag button object on a screen 1. Use one of the following: a. click Draw…Buttons…Word Action…Add Value to Tag from the standard menu b. click Quick Buttons…Add Value to Tag from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Add Value to Tag Properties box displays.
MAPware-7000 Programming Manual How do I resize an Add Value to Tag button object? Move the mouse pointer over one of the resize handles. When the pointer changes to a double-headed arrow, simply click and drag to a new location. Subtract Value from Tag The Subtract Value to Tag button subtracts a predefined constant value from the target tag register each time the button is pressed. The HMC reads the current value in the register and then subtracts the predefined constant from this value.
MAPware-7000 Programming Manual Simulation (List Nc) – select ‘On/Off’ to see how button looks in that state (only available if Feedback Tag is ‘Yes’). Task (List O) – subtract Constant Value from Tag (cannot be modified) Value (List P) – this is the constant value that is subtracted from the Tag Address Value Data Type (List Pa) – select the data format used to add the value to the target register. Options are unsigned, signed, hexadecimal, BCD, and binary.
MAPware-7000 Programming Manual Add Tag B to Tag A Properties Options Language (List J) – highlight the language that must be selected to display the entered text Appearance Feedback Tag On/Off (List L) – select the On and/or Off labels Button Style (List M) – selects a style or ‘look’ to the button Feedback Tag (List N) – enable this feature and select the same tag for both the target address and the feedback tag address, if you wish to see the button change state (i.e.
MAPware-7000 Programming Manual Place a Subtract Tag B from Tag A button object on screen 1. Use one of the following: a. click Draw…Buttons…Word Action…Subtract Tag B from Tag A from the standard menu b. click Quick Buttons…Subtract Tag B from Tag A from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release.
MAPware-7000 Programming Manual Place a Numeric Entry object on screen 1. Use one of the following: a. click Draw…Input Objects…Data Entry…Numerical from the standard menu b. click Edit Data…Numerical from the Draw toolbar c. click on the Numeric Entry Display icon in the Objects toolbar 2. Move cursor to a start point for the button object. Click to place the object on screen. 3. The object appears on screen and the Register Data Entry Properties box displays.
MAPware-7000 Programming Manual Data Type Unsigned Signed Hexadecimal BCD1 Binary Floating Point2 ASCII3 ASCII Numeric4 Range Target Address Target Address (2 bytes) (4 bytes) 0 to 65535 0 to 4294967295 -2147483648 to -32768 to 32767 2147483647 0000 to FFFF 0000 to FFFFFFFF 0 to 9999 0 to 99999999 16 bits 16 bits NA Maximum of 9 digits Max length is 255 Max length is 255 chars chars Max length is 10 Max length is 10 chars chars 1- If the value in the monitored target register is not a valid BCD number, a
MAPware-7000 Programming Manual o o o First Operand – this constant value applies to the value in the targeted data object according to the mathematical operand listed under First Operation. Second Operation – this is the second mathematical operation performed on the data object. Second Operand – this constant value applies to the computed value of the First Operation according to the mathematical operand listed under Second Operation.
MAPware-7000 Programming Manual Use the keypad to enter a new number, then press the ENTER key. The new value writes to the target register and the popup keypad disappears. Pressing the close window icon on the keypad removes the keypad without making any changes to the value. Note: there is no way to move the popup keypad to a new location on the screen once displayed.
MAPware-7000 Programming Manual On Screen Keypads Rather than use the popup keypad feature, there may be an instance where you would prefer to have the keypad always shown (perhaps to make it obvious to the operator that entry is allowed). To use an on-screen keypad, first disable the popup keypad option in the Numerical Entry object by selecting No in the Keypad field. Next, place one of the predefined keypads (see sections below) or a custom keypad of your own design on the screen.
MAPware-7000 Programming Manual Use the keypad to enter the new number, then press the ENTER button to send the new value to the target register. If you wish to cancel the entry, you must first click on the Clear (CLR) button, then press the ENTER button. If you have multiple Numerical Entry objects on the same screen, and you are using an onscreen keypad, the keypad will target each object in sequence, starting with the object that has the lowest Design ID number assigned during project configuration.
MAPware-7000 Programming Manual 2. Move cursor to a start point for the upper left corner of the keypad object. Click the mouse cursor to place the object onto the screen. 3. The keypad appears on screen and the Keypad Properties box displays.
MAPware-7000 Programming Manual 5. Increment/Decrement entry pad 6. Simple increment/decrement by digit entry pad with Clear key 7. Simple increment/decrement by digit entry pad 8. On/Off entry pad Label (List H) – option to have a label appear on the top/bottom of the object Label Background Color – select the background color. Click to display the color palette.
MAPware-7000 Programming Manual Similarly, if digit 9 is displayed, pressing the Increase Digit by 1 key will change the digit from 9 to 0. o Increase Value by 1, Decrease Value by 1 keys – these keys will increment or decrement the value or number that is currently entered by one. o Sign Key (+/-) and Sign Key (+/-) and 0 keys – use these keys to change the sign (positive or negative) of the number entered.
MAPware-7000 Programming Manual How to place an ASCII Keypad object on a screen 1. Use one of the following: a. click Draw…Input Objects…ASCII Keypad from the standard menu b. click Advanced Objects…ASCII Keypad from the Draw toolbar 2. Move cursor to a start point for the upper left corner of the keypad object. Click the mouse cursor to place the object onto the screen. 3. The keypad appears on screen and the ASCII Keypad Properties box displays.
MAPware-7000 Programming Manual Keys Properties – select the ‘style’ and function of selected key. Key Background Color – select the background color of the button. Click to display the color palette. Key Text Color: determines the color of the text. Click to display the color palette. How do I resize an ASCII Keypad object? Move the mouse pointer over one of the resize handles. When the pointer changes to a double-headed arrow, simply click and drag to a new location.
MAPware-7000 Programming Manual No. of Rows – select the number of key button rows. Range is 1 to 10. Show Value Display – this option is set to ‘No’ and cannot change Keys Properties – select the ‘style’ and function of selected key Key Background Color – select the background color of the button. Click to display the color palette. Key Text – option to display text on the button Key Text Color – configure the color of the button text. Click to display the color palette.
MAPware-7000 Programming Manual Place a Multi-Task Single-State button on screen 1. Use one of the following: a. click Draw…Buttons… Multi-Task Single-State Button from the standard menu b. click Advanced Objects… Multi-Task Single-State Button from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Bit Button Properties box displays.
MAPware-7000 Programming Manual Pressed Tasks – these tasks continuously execute as long as the touchscreen button is pressed and held down by the operator. Released Tasks – these tasks execute after the operator releases the touched button object. o Select from the pull-down list box under Select Task and click on the task you wish to perform (see Chapter 6 – Task Management for a detailed description of what each task does).
MAPware-7000 Programming Manual Place a Multi-Task Multi-State button object on screen 1. Use one of the following: a. click Draw…Buttons… Multi-Task Multi-State Button from the standard menu b. click Advanced Objects… Multi-Task Multi-State Button from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Word Button Properties box displays.
MAPware-7000 Programming Manual o The right side of the State Properties box shows the configuration for the highlighted state. Display Text – option to display text on the button for that state. Text – label applied to that particular state. Default text is ‘Word Button’. Font – the text attributes Name- Type font used Size: select font size Bold: select ‘True’ to enable Italic: select ‘True’ to enable Underline: select ‘True’ to enable Text Color – determines the text color.
MAPware-7000 Programming Manual o Pressed Tasks –tasks continuously execute as long as the touchscreen button is pressed and held down by the operator. o Released Tasks –these tasks execute after the operator releases the touched button object. Select from the pull-down list box under Select Task and click on the task you wish to perform (see Chapter 6 – Task Management for a detailed description of what each task does).
MAPware-7000 Programming Manual 179 Place a Bar Graph object on screen 1. Use one of the following: a. click Draw…Display Objects…Bar Graph from the standard menu b. click Advanced Objects…Bar Graph from the Draw toolbar c. click on the Bar Graph icon in the Objects toolbar 2. Move cursor to a start point for the bar graph object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the bar graph object and release. The object appears on screen and the Bar Graph Properties box displays.
MAPware-7000 Programming Manual Tag Address (List Qa) – this is the address of target register that is monitored Tag Name (List Qb) – this is the name given to the tagged register in the Tag Database Layout (List T) – coordinates (i.e. size and position) for the object Resize a Bar Graph object Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location.
MAPware-7000 Programming Manual Place a Multiple Bar Graph object on screen 1. Use one of the following: a. click Draw…Display Objects…Multiple Bar Graphs from the standard menu b. click Advanced Objects…Multiple Bar Graphs from the Draw toolbar 2. Move cursor to a start point for the Multiple Bar Graphs object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the Multiple Bar Graphs object and release. The object appears on screen and the Multiple Bar Graphs Properties box displays.
MAPware-7000 Programming Manual o o Label Text – enter the text to appear in the label Label Text Color – determines the text color of the label. Click on the button to display the color palette and select a color Language (List J) – highlight the language that must be selected to display the entered text. Style – determines in which direction the graph moves as it tracks the target values.
MAPware-7000 Programming Manual Maximum/Minimum Value (List Pe) – select the limits the bar graph uses to determine the relative level of the graph. The maximum value completely fills bar graph. The minimum value represents no fill color. Tag Address (List Qa) – this is the address of target register monitored Tag Name (List Qb) – name given to the tagged register in the tag database Design (List S) – identifies object Layout (List T) – coordinates (i.e.
MAPware-7000 Programming Manual Place an Analog Meter object on screen 1. Use one of the following: a. click Draw…Display Objects…Meter from the standard menu b. click Advanced Objects…Analog Meter from the Draw toolbar 2. Move cursor to a start point for the Analog Meter object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the Analog Meter object and release. The object appears on screen and the Analog Meter Properties box displays.
MAPware-7000 Programming Manual 185 Appearance – Meter Foreground o Display Range – option to display the number axis o Divisions – configure the major/minor division scale points of the axis. Major Division – these are the number of major ‘ticks’. Note: does not include the baseline (0 axis), minimum value must be 1. Minor Division – these are the number of minor ‘ticks’ per major division. Note: if minor divisions are not required, select 1.
MAPware-7000 Programming Manual Resize an Analog Meter object Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location. Trend The Trend object represents up to four target tag registers on an X/Y plot with values recorded versus time. Registers can be consecutive or chosen individually. Values plot according to a predefined time interval or using a time interval as specified by a PLC register.
MAPware-7000 Programming Manual 187 Trend Properties Options Appearance section – these attributes determine the general look of the trend. Background Color - determines the fill or background color of the trend graph. Click on the button to display the color palette and select a color.
MAPware-7000 Programming Manual Span Time – if Time (sec) is selected above, enter the pre-defined length of time (range is 0 to 65536) in seconds. Span Time Tag Address (List Qa) if Tag Selected is chosen for Span above, this is the address of target register continuously read by the HMC to determine the time span. Time period is seconds and the value read must be in the range of 0 to 65535.
MAPware-7000 Programming Manual Number of Grids - indicate the total number of grids that indicate the values (along the y-axis) recorded on the trend graph. Range is 1 to 10. Scale – enable to display the value scale. Scale Color - Click on the button to display the color palette and select a color to display the value scale Resize a Trend object Move the mouse pointer over one of the resize handles. When the pointer changes to a doubleheaded arrow, simply click and drag to a new location.
MAPware-7000 Programming Manual 3. Drag mouse cursor to an end point for the Historical Trend Graph object and release. The object appears on screen and the Historical Trend Properties box displays. 4.
MAPware-7000 Programming Manual 1- If the value in the monitored target register is not a valid BCD number, a dollar sign ‘$’ is displayed. 2- Floating Point format is based upon the IEEE 754 standard for 32-bit single precision numbers. A maximum of nine digits is supported. Values are rounded to the nearest decimal point (ex: if Format: Digits After Decimal Point is set to 1 digit, then floating point number 1.52 would be displayed as 1.5 and 1.56 would be displayed as 1.
MAPware-7000 Programming Manual Maximum Limit – enter the maximum value when read from the target register indicates the highest point on the trend graph. Maximum Tag Address (List Qa) – this is the address of target register continuously read by the HMC to determine the maximum range. Maximum Tag Name (List Qb) – this is the name given to the tagged register in the Tag Database. Minimum - options are Min or Tag.
MAPware-7000 Programming Manual Recipes Recipes are preconfigured values that are either uploaded from the PLC into the HMC or downloaded from the HMC into the PLC. The advantage of using recipes is in batch processing applications in which a series of unique values or set points are required to produce or perform an operation.
MAPware-7000 Programming Manual Place a Transfer Recipe button object on screen 1. Use one of the following: a. Click Draw…Buttons…Recipe… Transfer Recipe from the standard menu b. Click Advanced Objects…Buttons…Recipe… Transfer Recipe from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Transfer Recipe Properties box displays.
MAPware-7000 Programming Manual Place an Upload Recipe button object on screen 1. Use one of the following: a. Click Draw…Buttons…Recipe… Upload Recipe from the standard menu b. Click Advanced Objects…Buttons…Recipe… Upload Recipe from the Draw toolbar 2. Move cursor to a start point for the button object. Click and hold mouse cursor. 3. Drag mouse cursor to an end point for the button object and release. The button appears on screen and the Upload Recipe Properties box displays.
MAPware-7000 Programming Manual to. Note: if the value in No of Tags is greater than 1, you must make sure that there are an equivalent number of consecutive tag registers available for the upload. Tag A (HMC-D) Address – this is the address of the target register(s). Tag B (PLC) – name assigned in the tag database to the source register. This is the address of the source register(s) in the PLC that the recipe preset values are uploaded from.
MAPware-7000 Programming Manual 197 Note: if you do not see any language options in the Installed Languages options box, you must first make additional languages available using the appropriate settings in your Windows operating system. For Windows XP, follow these steps: 1. Click the Start program button on the Windows Task Bar 2. Click on the Control Panel 3. Click on Regional and Language Options 4. Click on the Languages tab 5. Click on Details 6.
MAPware-7000 Programming Manual How to display each language label during runtime (using Write Value to Tag button) 1. 2. 3. 4. 5. 6. Configure the languages you wish to use in the Languages folder. Configure the objects that you wish to display the various language labels. Create a screen that changes the language. Add a Write Value to Tag button on the screen. Select Tag Address SW0001 as the target.
MAPware-7000 Programming Manual c. Click on the Tasks List to create a task: i. ii. iii. iv. Click on Press Tasks Under Select Task, click Write Value to Tag. For Tag, select SW0001 (Language) Under Number, enter the next number in sequence. For example, if the current State you are configuring were State 3, then you would enter 4. Note: for the last state, you would enter 1 to cycle back to the beginning language. v. Click the Add button to assign the selected task to Press Tasks. Then click OK. 8.
MAPware-7000 Programming Manual can export to a CSV (comma-separated value) file, and then edit the file using another application such as Microsoft Excel. This might save time. Exporting Text Objects 1. Open a project in MAPware-7000 that has multiple text objects. 2. Configure the languages you wish to use. Ex: 3. Click Project…Export Text Objects: o o o o Format – Use Unicode if you wish to display international characters such as characters with diacritical marks (i.e.
MAPware-7000 Programming Manual 4. Click the Export button. 5. Open the CSV file: 6. Edit the file. Make sure that all commas and quotation marks are left in their proper places. Save the file using the same format. In this example, we will edit the text label that signifies the Off position of a Bit Lamp object that is located on Screen #1: Before Edit: After Edit: Importing Text Objects After editing an exported text file (see steps above), you can import the file back into your project: 1.
MAPware-7000 Programming Manual 2. Click Project…Import Text Objects: o Select File – Use the file that you exported from MAPware-7000. Note: make sure that the text (including commas and quotation marks) follows the same format as was used in the export file. o Show Error Log – if checked, a text file is created by MAPware-7000 that lists any errors encountered during the import. 3. Click the Import button. 4.
MAPware-7000 Programming Manual 203 Chapter 6 – Task Management An integral part of the MAPware-7000 software is the ability to create tasks. Tasks are specifically predefined actions taken by the controller such as writing a value to a tag register, displaying a new screen, turning a bit on/off, etc. The number of tasks is limited only by the total amount of memory available in the controller.
MAPware-7000 Programming Manual Toggle Bit Toggles (turn off/on) an internal tag or PLC tag coil/bit Copy Tag B to Tag A Copies a value residing in the Tag B register to the target Tag A register Swap Tag A and Tag B Swaps (exchanges) the values residing in the Tag A register and the Tag B register Print Data Prints the displayed screen (to a connected serial printer) Set RTC Change a set value (i.e.
MAPware-7000 Programming Manual Switch to Next Data Entry Moves to next Bit/Register Entry object according to Object ID number Switch to Previous Data Entry Moves to prior Bit/Register Entry object according to Object ID number Increase Value by 1 Adds +1 to the existing value Decrease Value by 1 Subtracts -1 from the existing value Increase Digit by 1 Adds +1 to the highlighted digit of existing value.
MAPware-7000 Programming Manual Refresh All Trends The Historical Trend graph is updated when this task is executed Start Logger for all Groups Begins logging data as specified in Data Logger for all groups Stop Logger for all Groups Discontinues logging data as specified in Data Logger for all groups Start Logger of Group # Begins logging data as specified by Data Logger group number Stop Logger of Group # Discontinues logging data as specified by Data Logger group number Clear Log Memory Clears all d
MAPware-7000 Programming Manual Add Tag B to Tag A Description: Add a value residing in the Tag B register to the current value residing in the Tag A register. Parameters: Tag A: destination address Tag B: source address Copy HMI Block to HMI/PLC Block Description: Copies the values in a block of continuous registers beginning with the Tag B register to the block of registers designated with the Tag A register. Parameters: Tag A: destination location of values.
MAPware-7000 Programming Manual Parameters: First PLC Tag– target location that is used to write RTC values as follows: Address 0 (Specified by First PLC Tag): Hour (hh) – range 0 to 23 Address +1: Minute (mm) – range 0 to 59 Address +2: Seconds (ss) – range 0 to 59 Address +3: Day of Month (DD) – range 1 to 31 Address +4: Month (MM) – range 1 to 12 Address +5: Year (YY) – range 0 to 99 Address +6: Day of Week (DY) – range 1-7 with 1=Sunday,…, 7=Saturday Enable Control– Allows tags to control th
MAPware-7000 Programming Manual Delay Description: Any tasks in the list that are after this task will not be executed until the delay time has expired. Parameters: Delay: the constant value (in seconds) used to determine the delay time. Maximum value is 3600 seconds. Unit: always in seconds. Go to Popup Screen Description: Displays targeted popup screen.
MAPware-7000 Programming Manual Shift Value to Left: Shifts value one digit to the left (same as multiplying by 10). Move Cursor to Left: Shifts focus cursor one digit to the right. Move Cursor to Right: Shifts focus cursor one digit to the right. Sign Key (+/-): Toggles signed value. Sign Key (+/-) and 0: Toggles signed value, and then enters 0. Numeric keys 0-9 and A-F: Enters designated digit. Edit Bit On: Changes Bit Entry value to 1.
MAPware-7000 Programming Manual Set RTC Description: Change a set value (i.e. year, month, day, etc.) of the internal real-time clock of the HMC. This is done by configuring the key to increment or decrement the current value by 1 whenever the key is pressed.
MAPware-7000 Programming Manual Subtract Tag B from Tag A Description: Subtract a value residing in the Tag B register to the current value residing in the Tag A register. Parameters: Tag A: this is the destination address Tag B: this is the source address Toggle Bit Description: Toggles (turn off/on) an internal tag or PLC tag coil/bit. Parameters: Tag: this is the target address Turn Bit ON Description: Set (turn on) an internal tag or PLC tag coil/bit.
MAPware-7000 Programming Manual 213 Wait While Description: Any tasks in the list that are after this task do not execute until this condition is true. Parameters: Tag: Register that is continuously monitored to see if the condition is met Operation: the operation performed to determine if the condition is met.
MAPware-7000 Programming Manual Membrane key tasks –tasks attached to one or more of the membrane-style keys. Key tasks can be assigned globally (task is executed no matter what screen is currently displayed) or by screen. Key tasks are further split into three types: o Press tasks: task executes each time the targeted key is pressed by the operator. It does not matter if the key is pressed and released or pressed and held down, the associated task will execute only once per key press.
MAPware-7000 Programming Manual 215 Task Method of Execution Table Advanced Bit PowerOn Screen Tasks Word Button Global Membrane Keys Task Description Press/ Released Tasks Go To Screen x x x Previous Screen x x x Next Screen x x x Switch Screen From Tag x x x x Go to Popup Screen x Write Value to Tag x x x x x x Add a Constant Value to a Tag x x x x x x Subtract a Constant Value from a Tag x x x x x x Add Tag B to Tag A x x x x x x Subtract Tag B from
MAPware-7000 Programming Manual Print Data x Set RTC x Copy Tag to LED x (membrane only) Copy HMI Block to HMI/PLC Block x Copy HMI/PLC Block to HMI Block x x x x x x x x x x x x x x x Copy RTC to PLC Block USB Data Log Upload x x x x x Wait While x Delay x Key Specific Task: x x Clear Data Entry xx Cancel Data Entry xx Accept Data Entry xx Switch to Next Data xx Entry Switch to Previous Data xx Entry Increase Value by 1 xx xx Decrease Value by 1 xx xx Increase
MAPware-7000 Programming Manual 217 Move Cursor to Right xx Sign Key (+/-) xx Sign Key (+/-) and 0 xx Numeric keys 0-9 and xx A-F Edit Bit On xx Edit Bit Off xx Acknowledge Alarm xx Acknowledge All Alarms xx Previous Alarm xx xx Next Alarm xx xx Previous Historical xx Alarm xx Next Historical Alarm xx xx Refresh All Trends xx Start Logger for all Groups Stop Logger for all Groups Start Logger of Group # Stop Logger of Group # Clear Log Memory xx Move to Latest xx Historical Alarm Move to Oldest xx
Move to oldest Alarm xx Start Printing of Group # Stop Printing of Group # Clear Historical Alarm xx Memory 1010-1040, Rev.
MAPware-7000 Programming Manual Chapter 7 - Alarms What are Alarms? At the most basic level, alarms are simply predefined messages that display on the HMC7000 screen when a bit attached to each message triggers. This is used in circumstances in which the HMC operator must be notified immediately of a problem or event that is occurring in the system. Configure up to 256 unique alarm messages for each project.
MAPware-7000 Programming Manual - 16 random words: this option allows you to randomly select word registers. They do not have to be in consecutive order and you do not have to allocate 16 registers. Select 16 consecutive words if you: a. Plan to configure all or most of the 256 alarm messages available in each project. b. Wish to ensure maximum speed and minimize any delays in displaying alarm messages. Select 16 random words if you: a.
MAPware-7000 Programming Manual 2. Create the alarm tags using the Tag Database Before you can start creating your alarm messages, you must open the tag database (Tags folder in the Project Information window) and assign word registers for the alarm messages. The word registers can be internal HMC memory or registers located in a connected PLC. Calculate how many alarm tags you need based upon the number of alarm messages that you wish to display.
MAPware-7000 Programming Manual Step 1: Select the alarm you wish to edit/modify. To enter or modify a particular alarm message, you must click on the Alarm Number of the alarm you wish to edit- a forward page symbol appears in the first column to indicate the selected alarm. The table indicates the current settings for each alarm and cannot be directly edited (so do not bother clicking on any of the entries).
MAPware-7000 Programming Manual language (see Multi-Language Feature in Chapter 5 Data Objects), click the Language pull-down box to configure a unique alarm message per language selected. Step 3: Alarm Notification Check the Print box to send a copy of the alarm text message to a connected serial printer when an alarm activates. Step 4: Alarm Severity Alarms display in the Alarm List object according to the severity level assigned to each alarm. This is a useful feature if you wish to prioritize alarms.
MAPware-7000 Programming Manual In the example above, Alarm0 (green) activates, and then is acknowledged by the plant floor operator. Alarm1 (red) is also activate but has not been acknowledged. Finally, Alarm2 (yellow) was activate but became inactive before the operator acknowledged the occurrence of the alarm. When an alarm is configured with the Acknowledge option, the alarm message remains on display after the operator has acknowledged the alarm (as shown above).
MAPware-7000 Programming Manual Reset All Alarms: completely clears all of the alarms and returns them back to default. Note: you must reassign the Alarm Acknowledge coil and the tag registers before you can start creating alarm messages again. Export: save the alarm database as a CSV file that can be modified and imported back into the project. Import: use this button to import an alarm database CSV file.
MAPware-7000 Programming Manual To place an Alarm on a screen: 6. Use one of the following: a. Click Draw…Display Objects…Alarm from the standard menu b. Click Advanced Objects…Alarm from the Draw toolbar c. Click on the Alarm icon in the Objects toolbar. 7. Move cursor to a start point for the Alarm List object. Click and hold mouse cursor. 8. Drag mouse cursor to an end point for the Alarm object and release. The object appears on screen and the Alarm Properties box displays.
MAPware-7000 Programming Manual c. Alarm Color – Inactive Unacknowledged – the color used for text that is displayed when the alarm is no longer active but did not get acknowledged by the HMC operator. Note: not available for Historical Alarm Type. d. Alarm Severity – ten levels (0-9) used to represent which alarms should be displayed. For example, if alarm severity level is set to 3, then only alarm messages in the Alarm Database with Severity levels of 3, 4 … 9 will be displayed. e.
MAPware-7000 Programming Manual How do I resize an Alarm List object? You can change the overall height and width of the Alarm List object by holding the mouse cursor over one of the white demarcation boxes along the perimeter of the object, then hold down the left mouse button to drag to a new position. You can limit the viewable messages to one or expand the Alarm List object to cover the entire screen. Note: The font size of each message is fixed (to 5x7 pixels) and cannot be changed.
MAPware-7000 Programming Manual We have configured this alarm display with a black background and text colors of green, red, and yellow to indicate the active acknowledged, active not acknowledged, and inactive states respectively. We will display the alarm text, an alarm number, and acknowledge indicator for each alarm message displayed.
MAPware-7000 Programming Manual Note that the color of the alarm has changed to green and the acknowledgement indicator is ‘YES’. However, the alarm is still active so the message remains on display. Let’s press the R5_0 button again, to clear the alarm condition: The alarm message has been acknowledged and cleared (become inactive) so the message is removed from the Alarm List object.
MAPware-7000 Programming Manual In this case, the alarm remains on screen but the color is yellow (indicating alarm is no longer active). Also note that the alarm acknowledgement indicator is ‘NO’. The alarm remains on screen until the operator presses the acknowledgement key (%M10).
MAPware-7000 Programming Manual Below is an example of a historical alarm: Note that the three alarm color options are not available for historical alarms; use the background and text font color options. In this example, the following fields are shown; alarm number, alarm text, on-time, off-time, and ack-time. For clarity, we have placed titles on the top of the alarm list to help identify each field.
MAPware-7000 Programming Manual historical alarm. To see a historical alarm, you must download the project to the HMC unit: Let’s activate Alarm#1 by pressing the R5_0 button. Then we acknowledge this alarm by pressing the %M10 button and press the R5_0 button again to deactivate the alarm: The text appears on display, along with the time at which the alarm became active, acknowledged, and then inactive. 1010-1040, Rev.
MAPware-7000 Programming Manual Let’s press R5_0 again to activate the same alarm, but instead of acknowledging the alarm, let’s deactivate the alarm without acknowledgement: In the Alarm Database, this alarm is configured with the ‘History Without Acknowledge’ attribute. New instances of this alarm will be recorded into the Alarm History memory of the HMC even though the operator did not acknowledge the last alarm.
MAPware-7000 Programming Manual So far, nothing different; this alarm behaves the same as the prior alarm. Let’s now activate the same alarm again, but instead of acknowledging, we will deactivate the alarm: If this alarm is activated again, it is not placed into the Alarm Memory. Therefore, it does not appear on screen.
MAPware-7000 Programming Manual Memory. Otherwise, the memory is cleared based upon the global setting (see Constructing an Alarm Database at the beginning of this chapter) in the Project Configuration dialog box (in the Alarms folder, click Change Properties). How to upload historical alarms In addition to viewing historical alarms using the Historical Alarm object above, you can also upload the alarms to the MAPware-7000 software.
MAPware-7000 Programming Manual o 1: offline operation, all occurring alarms are ignored (not displayed or entered into the historical alarm memory area) until control is reset back to 0. Note: any alarms that occurred while offline are displayed after control is reset back to 0. Historical Alarm Count (SW0004 register, Read Only): represents the total number of alarms currently listed in the Historical Alarm Memory.
MAPware-7000 Programming Manual Touchscreen Tasks Alarm Acknowledge button: use this button to acknowledge the topmost alarm currently displayed in the Alarm List. This button will only work if the following conditions are met: o The Acknowledge All feature (see Project Configuration dialog box under the Alarm tab, Auto Acknowledge option) is not set. o The selectable Acknowledge bit is not enabled for each alarm.
MAPware-7000 Programming Manual Chapter 8 - Data Logger and Trending Data Logger The Data Logger is used to record the values of tags (either memory built-in to the HMC or from an attached PLC) over time. The collected data is stored in non-volatile memory inside the HMC7000. This data can be displayed in graphic format on the HMC using the Historical Trend Object. You can also upload the collected data to a computer (using MAPware-7000) or to an attached USB Flash drive as a CSV file.
MAPware-7000 Programming Manual Determine which HMC7000 or PLC data registers you wish to monitor and add these to the tag database. Determine how you wish to capture the data (Logging Mode): o Power up – continuously captures data at a predefined frequency while power is applied to HMC7000. o Start/Stop Time - captures data at a predefined time period and frequency during each 24 hour cycle.
MAPware-7000 Programming Manual How to configure the Data Logger Click on the Data Logger folder in the Project Information directory, or click Define…Data Logger from the standard menu to display the Data Logger window: Definition of Terms: Click on the Group Information tab: No. of Groups: Data Logging is configured according to “groups”. A “group” is a collection of registers that the HMC will poll and record data according to the “logging mode” selected.
MAPware-7000 Programming Manual Logging mode: this setting determines how and when the HMC collects data. Each group can have a different logging mode. There are six options for the logging mode: o Power up- collects data immediately after the HMC has initialized, according to the time value entered into ‘Log at Every’ field. Therefore, if the value entered into this field is 00:00:10, then the HMC records the data every ten seconds after initial power-up.
MAPware-7000 Programming Manual this list, simply click the tag to highlight it, and then click on the Delete button. The highlighted tag is removed from this list and placed back into the Defined Tags list. Note: deleting a tag from this list does not delete the tag from the tag database. Printing collected data using a serial printer In addition to capturing and storing data into memory, the HMC7000 can also send Data Logger records to a connected serial printer.
MAPware-7000 Programming Manual Print Format when using Logging with Run Time Frequency mode: When using this logging mode, you can format the printout to display a header and/or footer. You can also adjust the margins and insert an optional column which shows the time of each data capture: 1010-1040, Rev.
MAPware-7000 Programming Manual Definition of Terms: Logged Tags: this is a list of all of the tags that are to be logged for the selected Group. To print a tag, highlight (click) the tag, then click the Add button. This will add the tag to the ‘Tags to be Printed’ list on the right. Tags to be Printed: this is the list of tags that will be printed.
MAPware-7000 Programming Manual Click the Print Preview button to see how your printout will look: Print Format when using all other logging modes except Logging with Run Time Frequency: The print feature is available for all other modes of Data Logging (i.e. Power Up, Start/Stop Time, etc.) but is limited to a few options when formatting the printout: As you can see from the picture above, most of the options available when using Logging with Run Time Frequency mode are not available.
MAPware-7000 Programming Manual You also have the option of setting the number of lines printed per page (up to 60) or you can use a targeted tag address if you wish to dynamically change the lines per page during runtime operation. Configuring Print Time for the Data Logger: After you have configured the format of the printouts (using the Print Properties button), you need to determine the period of time that is to be printed.
MAPware-7000 Programming Manual Start/End Entries: these are the tag registers that the HMC reads to determine what the Start/End Date and Time (if More than 1 Day is selected) periods are. The HMC7000 will read these registers whenever the operator presses the Key Specific Task- Start Print of Group# with Port# function key to initiate printing. Both 16-bit and 32-bit tags can be assigned to each register but only 16-bit is necessary.
MAPware-7000 Programming Manual Click single key option, then highlight the Function key (F1, F2 …) that you wish to use. Under Tasks, click Press Tasks. From the Select Task menu, select Key’s Specific Task. Click on Start or Stop Printing of Group. Enter the Group # (1-4). Under Port #, enter the com port that the serial printer is attached to (Com1 or Com2). Click the Add button. Should appear in the Press Tasks section as shown above. Click the OK button (for Multi-Task buttons).
MAPware-7000 Programming Manual Using the Historical Trend Graph: Steps to create a Historical Trend Graph are covered in Chapter 5 – Data Objects in the section on Advanced Objects so they will not be repeated here. However, keep in mind that the Historical Trend Graph does not show real-time data- only data as recorded in the Data Logger.
MAPware-7000 Programming Manual following message should appear: Click ‘Upload’ to see: Click on ‘Application+Logged Data’ to see: Click ‘OK’. The message ‘Uploading Application file’ should appear along with a System Load Bar. After some time, another message ‘Uploading Logged Data file’ should appear. The entire DataLog file (size is 256KB, 512KB, 1024KB, or 2048KB depending upon memory allocated) is uploaded into the Flash Drive.
MAPware-7000 Programming Manual Method 2: Configure the USB Data Log Upload task to download a particular data group (1-4) to the USB Flash Drive. The USB Data Log Upload task can be initiated in several ways: o Using a global or screen-dependent function key with the Press Task or Released Task. o Using a Multi-State Single/Multiple Task touchscreen button with the Press Task or Released Task. o Use the Power-On or Global Task option. o Use any of the screen-dependent tasks.
MAPware-7000 Programming Manual 1010-1040, Rev. 02 253 +3 Start Date: Hour 0-23 +4 Start Date: Minute 0-59 +5 Start Date: Seconds 0-59 +6 End Date: Day 1-31 +7 End Date: Month 1-12 +8 End Date: Year 0-99 +9 End Date: Hour 0-23 +10 End Date: Minute 0-59 +11 End Date: Seconds 0-59 Group: this is the tag register that the HMC reads to determine which Data Group to upload.
MAPware-7000 Programming Manual 1010-1040, Rev.
MAPware-7000 Programming Manual for each register used (see example below): 1010-1040, Rev. 02 During operation, go to the project screen that you created to enter the Start/Stop Date/Time. Remember that this is the portion of the Data Log that you wish to capture to the USB Flash Drive. Enter the Group# that you wish to capture. Enter the name of the file (not required if you are using a predefined filename) for the USB Flash Drive upload. Up to 8 characters are allowed.
MAPware-7000 Programming Manual Click on the CSV file to load the file into Microsoft Excel: Upload to the MAPware-7000 software: The last method of uploading DataLog files from the HMC7000 is to use the MAPware-7000 software and simply upload the DataLog file. To do this, connect the HMC7000 to your computer, and then perform the following steps: Start MAPware-7000, and then close out any project that is automatically loaded. 1010-1040, Rev.
MAPware-7000 Programming Manual Click Project…Transfer…Upload from the standard menu. The ‘Upload From Device’ dialog box is displayed: Click on ‘Logged Data’ in the Project section, and then click the Upload button. Click OK to begin the upload process. Once completed, click the Close button. The DataLog file is automatically stored onto your computer in the same directory that the MAPware software is located (default is C:\Program Files\Maple Systems\MAPware7000) as “Logg.csv”.
MAPware-7000 Programming Manual Reserved Memory in Tag Database for DataLogging There are a number of system bits and registers in the tag database reserved specifically for Data Logger functions. Some of these have already been described in the sections above but here is the complete list: Register/Coil S00012 Description: S00028 thru S00031 Description: Recommended Object Refresh Historical Trend Bit Read/Write Set Bit Use this bit to update or ‘refresh’ the historical trend graph.
MAPware-7000 Programming Manual 259 Tasks related to DataLogging There are a number of tasks that are specifically used for DataLogging.
MAPware-7000 Programming Manual Description: Use this task to begin or stop logging data for all data groups configured as Logging Mode: Key Task in the Data Logger Key’s Specific Task: Key Tasks (Global or Screen-Dependent) Start/Stop Logger of Group # # = 1-4 And Multi-Task Buttons Press task Released task Description: Use this task to begin or stop logging data for a specific data group configured as Logging Mode: Key Task in the Data Logger Key’s Specific Task: Key Tasks (Global or Scree
MAPware-7000 Programming Manual Chapter 9 - Using Function Keys Introduction The function keys are all of the membrane style (non-touchscreen) keys of the HMC. The number of keys available depends upon the model selected: the HMC7057 and HMC7035 have six function keys; the HMC7030 has six function keys plus a numeric keypad for a total of 18 membrane style keys.
MAPware-7000 Programming Manual First, click on the Fn key that you wish to configure. This key will be highlighted as the F1 key in the picture above. Under Select Key Type: choose the Single Key option or Two Simultaneous Keys. o Two Simultaneous Keys- this option allows you to select two keys (by highlighting two of the Fn keys) which during operation, must both be pressed to perform the assigned tasks.
MAPware-7000 Programming Manual 263 Updating/modifying operation of a function key To change the tasks assigned to each function key, highlight the particular function key, then highlight the task you wish to modify: To delete the task, click on the button while the task is highlighted. A popup dialog box appears, asking if you want to remove the task: To change the parameters of the selected key task, simply edit the parameters for that task, and then click the key.
MAPware-7000 Programming Manual If you wish to reorder the tasks listed, simply use the up/down the order: You can also configure multiple tasks using all of the key actions (key press, key pressed, and key release).
MAPware-7000 Programming Manual A Global Function Key executes a task no matter what screen is on display on the HMC7000. The exception to this rule is when you have the same function key configured as both a global and a screen-dependent key. For example, suppose F1 is configured as a Global key with the task of ‘GoTo Screen’. On Screen #1, the F1 key is also configured to ‘Write a Value’. During operation, if Screen #1 is displayed and F1 is pressed, then the task ‘Write a Value’ is executed.
MAPware-7000 Programming Manual Chapter 10 - Miscellaneous Features This chapter reviews some features available in the MAPware-7000 software and the HMC7000 Series that are important but do not easily fit in other chapters of this manual.
MAPware-7000 Programming Manual By default, the monitor shows a block of ten registers in the Timer (T) memory. To create or edit additional blocks of memory, right click anywhere on the Data Monitor window to display a popup dialog box: Create a New Block By clicking on the New Block option in the dialog box above, the following is displayed: Address: Use the Address pull-down box to select the area of memory (see Appendix AInternal Memory Address for more information on internal memory).
MAPware-7000 Programming Manual Delete a Block Click Delete Block to display the following: The Delete Block dialog box displays all of the blocks currently configured, along with the size of each block. To delete a particular block, simply highlight (click) the block you wish to delete and click the OK button. Editing a Block To modify a block listed in the Data Monitor window, right click on any of the addresses listed within the block to display the popup dialog box.
MAPware-7000 Programming Manual See ‘Creating a Block’ for info on what each field does. Importing/Exporting Data The Data Monitor table can export as a CSV (comma-separated value) file to be used by another project or edited outside of the MAPware-7000 software. Then import the file into an existing project. To export: Click on Export Data from the popup dialog box In the Save As box, enter the name you wish to give to the CSV file. Then click OK.
MAPware-7000 Programming Manual Note that for bit registers (i.e. B memory), although the data is represented under the Binary Value column with 16 bits, it is really a single bit register. Therefore, when entering a value, you have two options: 0 or 1. Continue clicking on each register until you have entered all of your preset values. Next, save and compile your project, then click on the Download icon Download screen: Under Project, make sure that Data is checked.
MAPware-7000 Programming Manual the main Logic block: Click the Data Monitor Monitor window: You can change values while online with the HMC simply by double-clicking on a register: The new value is sent to the HMC immediately after you press the Set button. You can also place the HMC in Halt mode. In Halt mode, the HMC discontinues running the project and displays a screen: 1010-1040, Rev.
MAPware-7000 Programming Manual Halt mode is useful if you wish to change values in the Data Monitor window but not while the HMC is running the project you downloaded into it. However, the HMC will clear all internal memory registers (except the retentive memory) when you place the HMC in Run mode again. To place the unit in Halt mode, click on the Halt resume, click on the Run icon in the standard toolbar. To icon.
MAPware-7000 Programming Manual Application Memory – this is the memory used for screens, global tasks, alarms, and tags. Data Logger Memory – indicates how much memory has been allocated for the data logger feature. Ladder Logic Memory – shows how much memory has been consumed for the ladder logic diagrams. This tool is accessible is by clicking Tools…Application Memory Status from the menu bar.
MAPware-7000 Programming Manual Initialize keep memory area after download- if checked, the designated Keep Memory Areas are set to 0 after download is completed. If not checked, the values in the Keep Memory Areas are retained. Initialize all device registers except keep memory after download- if checked, the entire internal tag registers (i.e. D, X, XW, C, T, etc.) memory of the HMC7000 are set to 0 after download except for any registers designated as Keep Memory.
MAPware-7000 Programming Manual 275 With 1=Sun…7=Sat 5 Minute Change Status S00003 Momentarily sets whenever the minute value in SW14 changes Read Only 6 Hour Change Status S00004 Momentarily sets when the hour value in SW13 changes Read Only 7 Date Change Status S00005 Momentarily sets when the date value in SW10 changes Read Only 8 Month Change Status S00006 Momentarily sets when the month value in SW11 changes Read Only 9 Year Change Status S00007 Momentarily sets when the year v
MAPware-7000 Programming Manual Chapter 11 – (Ladder) Logic Blocks Introduction Logic blocks are a very useful and significant part of the feature set of the HMC7000 products. A logic block is a series of ladder logic instructions or commands that is executed by the HMC7000. As you will see later in this chapter, there are different types of logic blocks. These blocks vary according to how they are initiated and in the order of execution.
MAPware-7000 Programming Manual 277 If the elements in a net are not connected, the software will display an error message in the View Window when you compile your project. Connect elements using the horizontal link and vertical link connectors. Ladder Diagrams The MAPware-7000 software uses ‘ladder diagrams’. A ladder diagram is a language-composed program that uses relay symbols as a base for an image similar to a hard-wired relay sequence.
MAPware-7000 Programming Manual Each element in a rung is executed according to the following rules: 1. When there is no vertical connection, each element is executed on the rung from left to right. 2. When an ‘OR’ connection occurs, the logic is executed first, before continuing to the next element on the rung. 3. When a branch occurs, each element of a line is executed, starting with the top line of the branch. 4.
MAPware-7000 Programming Manual The same rules apply to all ladder logic instructions as well except for program control instructions (i.e. Jump, loops, subroutines, etc). In these cases, program sequence will depend upon the particular program control instruction used. Placing elements in a ladder rung Selecting an element and placing it onto the rung is fairly straightforward: 1. Start by inserting a rung that you can then edit. Right-click on the default rung (rung with the End element).
MAPware-7000 Programming Manual Errors when placing elements in rungs In some instances, an element or instruction may require more space than is available on the rung. In such an instance, you may see an error displayed: When such an error occurs, try inserting additional lines or inserting the instruction in a different column location: If you get the following compile error: Try using a different instruction.
MAPware-7000 Programming Manual Here’s another example in which placing an instruction (i.e. Add) on a rung causes an error: In this instance, we need to remove one of the horizontal link elements to make room for the Add instruction: Moving elements in rungs After an element has been placed onto a ladder rung, you can move the element to a new location provided there is space for the element and the area is unoccupied.
MAPware-7000 Programming Manual To cut: Right-click over the element and select Cut from the popup dialog box (or select ): The element(s) are removed from the ladder logic and placed in the Windows clipboard memory. To copy: Same as above except select Copy Similar to Cut, except that the original remains. To paste: Same as above except select Paste Elements can be pasted where no obstruction (like another element) exists. To paste any element, you must have first copied or cut it.
MAPware-7000 Programming Manual To delete: Simply click on the element(s) that you wish to delete, and then press the Delete key. Shortcuts when editing the ladder rungs Suppose you have started a simple rung with a contact: If you place an element in the last column next to the right rail, the MAPware-7000 will automatically link the two elements: 1010-1040, Rev.
MAPware-7000 Programming Manual Right click on one of the rungs to display a popup dialog box: Use this handy box to: Duplicate, Delete, or Close Blocks Copy all Instructions within a rung or line Select All Objects Insert and delete rungs and lines Find/Replace instructions or specific Operand Addresses Using Rung Comments The dialog box in the last section can also be used to activate the rung comments.
MAPware-7000 Programming Manual 285 Main Program block The main program is the core of the user program. It is executed once during each scan. Multiple logic blocks can be created (up to 256) and used in the Main Program block. During execution, the HMC7000 starts with the first block listed. When completed, it will execute each block in sequence. Each logic block must have an END instruction to indicate where execution of instructions ends and the program is exited.
MAPware-7000 Programming Manual Subroutines Subroutines operate the same as the main program except they are not executed unless specifically called on by another logic block. Subroutines are useful when you have a set of commands that should be executed only under certain conditions. A subroutine is activated using the CALL function (see the Instruction List).
MAPware-7000 Programming Manual I/O Interrupts 1 and 2 The I/O interrupt program is also a high priority task. It is executed immediately when the interrupt factor is generated, while suspending other operations. Two I/O interrupt programs are supported in the HMC7000 unit. Note: only models with builtin IO modules such as the HMC7030A-L support the I/O interrupt blocks. The end of each Interrupt program is recognized by the END instruction.
MAPware-7000 Programming Manual b. Comment Text Background: this determines the background color used for comments. To select a different color, click on the color to display a pull-down box. Click the pull-down box and select one of the colors provided. c. Comment Text Foreground: this determines the foreground color used for comments. To select a different color, click on the color to display a pull-down box. Click the pull-down box and select one of the colors provided. 2. Design a.
MAPware-7000 Programming Manual 2. Right-click on Rung 1. A popup dialog box should appear: 3. Click on Insert Rung. A new rung is created on Rung 1. Click on the Ladder Logic…I/O Instructions menu. Click on the Normally Open (NO) Contact. Then move the focus cursor to the first column of Rung 1 and click. A NO contact should appear on Rung 1: 4. In the Instruction Properties attributes box, select tag address B0 (Start Timer). 5. Click on the Ladder Logic…Timer menu. Click on the ON Timer.
MAPware-7000 Programming Manual appear on Rung 1: 6. In the Instruction Properties attributes box for the timer, enter a constant value of 1000 (10 seconds) for the Tag (Preset Register). Make sure the tag address for the Tag (Timer Register) is set to T00001. 7. Right-click on Rung 2 to display the popup dialog box again. Click on Insert Rung. A new rung should be created on Rung 2. 8. Create another Normally Open (NO) Contact and place it on the first column of Rung 2.
MAPware-7000 Programming Manual g. Bit Lamp object: Tag Address of B1 (Timer Set) 13. Save the Project. Compile the project. Download the project to the target HMC (make sure that both Application and Ladder are selected). Note: Simulation of Logic Blocks is not available in offline simulation mode. When Screen #1 appears on the HMC7000, click on the Toggle button to activate the ten second timer. You will see the timer increment in 10 msec intervals until 10 seconds has passed. Then lamp B1 will light.
MAPware-7000 Programming Manual Online Ladder Monitoring Online ladder monitoring allows you to monitor ladder logic blocks running in the HMC7000. You can use this tool to debug the ladder logic program. MAPware-7000 has three modes that are set by clicking on the Mode option in the Menu Bar or the Online icon in the Project Toolbar: Offline mode- this is the default-operating mode for MAPware-7000.
MAPware-7000 Programming Manual The computer serial port must be able to support the settings listed above (115.2K baud, No Parity, 8 Data bits, and 1 Stop Bit). Importing Ladder Logic Blocks from another project MAPware-7000 has a nice feature that allows you to import ladder logic blocks that were created in another project. Of course, you can do this by simply copying another project but this feature allows you to import only the ladder logic blocks that you wish without any of the other project data.
MAPware-7000 Programming Manual A File...Open dialog box appears. Select the project that you wish to extract the logic block(s) from. A dialog box appears: Select which logic blocks you wish to import, then click OK. 1010-1040, Rev.
MAPware-7000 Programming Manual Verify that the selected logic blocks are now part of your project: Block menu from standard toolbar Instructions List toolbar Common Commands Vertical toolbar Horizontal Block Command toolbar Configuring color preferences Select Tools…Preferences from the standard menu. 1010-1040, Rev.
MAPware-7000 Programming Manual Click on the Colors option to display the dialog box: These options apply to the colors used when editing the ladder logic program and when viewing the ladder logic in online mode. Click on each option to change color to suit your tastes. Click on the Tools…Preferences, then Others option to display: The ladder instruction tag length determines how many characters of the tag name are displayed in the ladder logic blocks. 1010-1040, Rev.
MAPware-7000 Programming Manual 297 Appendix A – Internal Memory Addresses Each HMC7000 unit has internal memory which can be used for operations that do not require data from an attached PLC. The number of memory registers available depends upon which HMC model you have selected. Part of this memory is reserved for specific uses (see Appendix B – Predefined System Tags) while the rest of the memory is openly available for your application.
I/O Configuration Registers MAPware-7000 Programming Manual MW0000 or MW0000_00 0-3100, 015 Bit or Register Read/Write IO registers for base expansion modules Note: IO Coils and IO Registers share same memory (2 bytes) System Coils S00000 0-99 Bit Only Read/Write Status and control bits for HMC System Registers SW0000 or SW0000_00 0-255, Bit or Register Read/Write Status and control registers for HMC 0-15 (2 bytes) Internal Coils B00000 0-4095 Bit Only Read/Write General Purpos
MAPware-7000 Programming Manual In this example, we use the K index register along with an internal register (D0). When this ladder rung is executed, the HMC7000 reads the value in the K register. It then adds this value to the D0 register (as an offset) to determine the true register that the constant value 50 is written to. If the value in the K register is 1, then the constant value 50 is written to internal memory register D1.
MAPware-7000 Programming Manual Counter and Timer Registers/Coils (C, C., T, T.) The HMC7000 Series has four memory registers which are specifically used with the Counter and Timer instructions: Counter (C) registers Counter (C.) coils Timer (T) registers Timer (T.) coils Each Timer or Counter register is ‘connected’ to a corresponding Timer or Counter coil. In a Timer or Counter instruction, when the Timer or Counter reaches its set value, the corresponding Timer or Counter coil is set.
MAPware-7000 Programming Manual Output Registers/Coils (Y, YW) These registers and coils are designed for use by the physical outputs (digital or analog) from an attached or built-in (HMC7030A-L) output expansion module. The value read from these internal registers/coils is used to determine and set the current state of the physical output of the expansion module assigned to it.
MAPware-7000 Programming Manual If slot#2 contains an analog 2 input/2 output module, the software assigns no coil addresses and registers MW0200-MS0203 to read/write to the analog registers. When slot#4 contains a 12 point relay output module, MAPware-7000 assigns the MW0400 register for relay outputs. The M and MW registers are mapped to the same memory area in the HMC with sixteen M coils per MW register. For example, M161 corresponds to the second least significant bit (bit 1) of MW0010.
MAPware-7000 Programming Manual Retentive Registers (R) These are general registers which can be used at the discretion of the HMC programmer. This area of memory is retentive so any data stored in these registers remains once power has been removed from the HMC. Note that reading/writing to these registers requires more processing time than does using any of the other registers in memory due to their retentive nature.
MAPware-7000 Programming Manual Appendix B – System Tag Memory The following table lists all of the internal memory of the HMC7000 which is reserved for specific purposes. S memory (System bits) Tag No.
MAPware-7000 Programming Manual 14 Invalid key beeper Control S0017 15 Invalid RTC date entry S0019 16 Popup Screen trigger S0020 17 COM1 failed node reconnect control 18 COM2 failed node reconnect control 19 COM3 failed node reconnect control 20 Static Data Entry Focus Control Coil (1 bit) Coil (1 bit) Coil (1 bit) Coil (1 bit) S0021 Coil (1 bit) S0022 Coil (1 bit) S0023 S0027 Coil (1 bit) 21 Datlog Group1 log Control S0028 Coil (1 bit) 22 Datlog Group2 log Control S0029 Coil
MAPware-7000 Programming Manual Coil (1 bit) 26 27 28 29 30 31 32 33 34 Data Entry Key Selection Ladder Instruction Error Status Real and Historical Alarm Control RUN LED Control USB Host Menu Trigger Factory application Menu Trigger Backlight Color Control-Red (Retentive) Backlight Color Control-Green (Retentive) Backlight Color Control-Blue (Retentive) 1010-1040, Rev. 02 HMC7000 Read/ Write HMC7035A-M HMC7057A-M User can choose the mode of data entry using this bit.
MAPware-7000 Programming Manual 307 SW memory (System registers) Tag No.
MAPware-7000 Programming Manual 19 Scan time register 20 COM1 failed node reconnect time (Sec) 21 COM2 failed node reconnect time (Sec) 22 Driver Scan time register for port1 Register (2 bytes) SW0017 SW0018 SW0019 SW0020 23 Driver Scan time register for port2 24 COM3 failed node reconnect time (Sec) SW0022 25 Popup Screen number SW0023 26 Ladder Scan Time SW046 27 Node Status Registers for COM1 28 Node Status Registers for COM1 29 Node Status Registers for COM2 1010-1040,
MAPware-7000 Programming Manual 30 Node Status Registers for COM2 31 Node Status Registers for COM3 32 33 34 35 36 37 38 39 40 41 Factory Application 1 Factory Application 2 Factory Application 3 Factory Application 4 Factory Application 5 Factory Application 6 Factory Application 7 Factory Application 8 Factory Application 9 Failed Expansion slot reconnect time (Sec) 1010-1040, Rev.
MAPware-7000 Programming Manual M memory Tag No. Tag Name Tag Address Type 1 CPU error M00016 2 I/O error M00017 3 Program error M00018 Coil (1 bit) Coil (1 bit) Coil (1 bit) M00021 Coil (1 bit) 4 5 6 7 8 8 9 10 11 12 13 14 15 16 Clock/calendar illegal value warning Retentive data invalid warning Watchdog timer error I/O mismatch error Analog Power Fail (alarm) I/O communication error Ladder Scan time error System timer coil for 0.1 sec interval System timer coil for 0.
MAPware-7000 Programming Manual 17 18 19 20 System timer coil for 8 sec interval Timer interrupt ladder execution status IO1 interrupt execution status IO2 interrupt execution status Hold mode status M00487 M00496 M00497 M00498 M00504 Coil (1 bit) Coil (1 bit) Read Only Coil (1 bit) Coil (1 bit) Coil (1 bit) Read Only Read Only Read Only Read Only Read Only Read/ Write Read/ Write Read/ Write Read/ Write 27 HSC Enable Bit (CH1)-Slot01 M01080 Coil (1 bit) Coil (1 bit) Coil (1 bit) Coil (1 bit)
MAPware-7000 Programming Manual 34 HSC Reset Bit(CH2)-Slot02 M02177 Coil (1 bit) 35 HSC Enable Bit (CH1)-Slot03 M03080 Coil (1 bit) 36 HSC Reset Bit(CH1)-Slot03 M03081 Coil (1 bit) 37 HSC Enable Bit (CH2)-Slot03 M03176 Coil (1 bit) 38 HSC Reset Bit(CH2)-Slot03 M03177 Coil (1 bit) 39 HSC Enable Bit (CH1)-Slot04 M04080 Coil (1 bit) 40 HSC Reset Bit(CH1)-Slot04 M04081 41 HSC Enable Bit (CH2)-Slot04 M04176 42 HSC Reset Bit(CH2)-Slot04 M04177 43 HSC Enable Bit (CH1)-Slot05
MAPware-7000 Programming Manual 313 MW memory (IO registers) Tag No.
MAPware-7000 Programming Manual 10 Default Gateway (High Word) MW0038 Register (2 bytes) Read Only PLC7008A-ME only 11 High-speed counter (HSC) configuration register (for Channel 1) High-speed counter (HSC) Current value (for Channel 1) High-speed counter (HSC) Preset value (for Channel 1) High-speed counter (HSC) configuration register (for Channel 2) High-speed counter (HSC) Current value (for Channel 2) High-speed counter (HSC) Preset value (for Channel 2) High-speed counter (HSC) configura
MAPware-7000 Programming Manual 19 20 21 22 23 24 25 26 High-speed counter (HSC) Preset value (for Channel 1- Slot 1) High-speed counter (HSC) configuration register (for Channel 2- Slot 1) High-speed counter (HSC) Current value (for Channel 2Slot 1) High-speed counter (HSC) Preset value (for Channel 2- Slot 1) High-speed counter (HSC) configuration register (for Channel 1- Slot 2) High-speed counter (HSC) Current value (for Channel 1Slot 2) High-speed counter (HSC) Preset value (for Channel 1- Slot
27 28 29 30 31 32 33 34 MAPware-7000 Programming Manual High-speed counter (HSC) Current value (for Channel 2Slot 2) High-speed counter (HSC) Preset value (for Channel 2- Slot 2) High-speed counter (HSC) configuration register (for Channel 1- Slot 3) High-speed counter (HSC) Current value (for Channel 1Slot 3) High-speed counter (HSC) Preset value (for Channel 1- Slot 3) High-speed counter (HSC) configuration register (for Channel 2- Slot 3) High-speed counter (HSC) Current value (for Channel 2S
MAPware-7000 Programming Manual 35 36 37 38 39 40 41 42 High-speed counter (HSC) configuration register (for Channel 1- Slot 2) High-speed counter (HSC) Current value (for Channel 1Slot 2) High-speed counter (HSC) Preset value (for Channel 1- Slot 2) High-speed counter (HSC) configuration register (for Channel 2- Slot 2) High-speed counter (HSC) Current value (for Channel 2Slot 2) High-speed counter (HSC) Preset value (for Channel 2- Slot 2) High-speed counter (HSC) configuration register (for Chann
43 44 45 46 MAPware-7000 Programming Manual High-speed counter (HSC) Preset value (for Channel 1- Slot 2) High-speed counter (HSC) configuration register (for Channel 2- Slot 2) High-speed counter (HSC) Current value (for Channel 2Slot 2) High-speed counter (HSC) Preset value (for Channel 2- Slot 2) 1010-1040, Rev.
MAPware-7000 Programming Manual Appendix C - Maintenance and Test Modes Hardware Test Modes The HMC7000 Series has a built-in series of hardware tests that can be used to ensure that the hardware is in good working order. These are the same tests that are used at the factory. The tests are divided into two main categories: factory hardware tests (FHWT) and system setup tests.
MAPware-7000 Programming Manual Options: SKIP – press this button to skip this step and proceed to this screen: For more information about this screen, see HALT mode screen below. CONFIRM – press this button to erase the firmware. Application Erase Mode… Enter by pressing the upper right corner of the touchscreen during power up: Options: SKIP – press this button to skip this step and proceed to this screen: For more information about this screen, see HALT mode screen below.
MAPware-7000 Programming Manual Firmware Information Mode… This is entered by pressing the lower right corner of the touchscreen during power up: Options: EXIT – after reviewing the information, press this button to proceed to this screen: For more information about this screen, see HALT mode screen below. Touchscreen Calibration/Factory Application Entry Screen This is entered by pressing the lower left corner of the touchscreen during power up: 1010-1040, Rev.
MAPware-7000 Programming Manual Options: 1. Remove stylus and press again… – lift your stylus (or finger) off the lower left corner of the touchscreen, then touch and hold down the same area (lower left corner). You should see the following screen appear: Touch the crosshair symbol. The symbol will then move to the upper right corner; touch it again. Unit will calibrate and reinitialize. 2.
MAPware-7000 Programming Manual Touch the crosshair symbol. The symbol will then move to the upper right corner; touch it again. Unit will calibrate and reinitialize to this screen: For more information about this screen, see HALT mode screen below. Entering test modes via a touchscreen button Configure a Set Bit object on a screen in your project that is tagged to the S00038 (Factory application menu trigger) internal memory bit.
MAPware-7000 Programming Manual System Setup Mode- these are a series of screens that provide information about the current hardware (e.g. serial port settings) or to configure initial hardware settings such as touchscreen calibration, enable beeper, screensaver timeout, etc. Press the System Setup button to enter this mode. For more information on these screens, see System Setup Mode. Press the Exit button to leave the MODE SELECTION MENU.
MAPware-7000 Programming Manual When this is set to HALT, the F2 function key is disabled. Pressing the F1 key causes the HMC7000 to change to RUN mode and begin executing the installed application. If you do not press the F1 key when the HMC is in HALT mode, then it will continue to display this screen after power-up. Factory Hardware Test Mode (FHWT) The Factory Hardware Test Mode is used to test and confirm that the hardware of the HMC7000 is in proper working order.
MAPware-7000 Programming Manual Press the FHWT button on the MODE SELECTION MENU to enter the Factory Hardware Test Mode (FHWT) main screen: Serial No.- this is the serial number assigned to the HMC LCD button – executes the LCD display color test. When pressed, the following screen is displayed: Verify that the proper colors are displayed and there are no missing pixels. Press the black square in the lower left corner to return to the FHWT menu.
MAPware-7000 Programming Manual Power Down button – tests ability to retain data in non-volatile memory after the HMC has shut off: Shut off the HMC7000 when this screen appears, then reapply power after a few seconds. Touch Screen button – this button executes a test of the touchscreen: Press the crosshair symbol at each requested location, (you must touch the crosshair within two seconds of appearance). If all goes well, the HMC7000 will report that the touchscreen is working properly.
MAPware-7000 Programming Manual Function Key LED button – each function key LED is lit for two seconds in sequence. This is another visual test, so you must watch the LEDs come on as the HMC7000 states that the LED is on. Flash button – this is a non-destructive Flash memory test. This test splits the flash memory into eight sections, testing each section in sequence. The total test takes about 3 minutes to complete: It is important not to remove power during this test.
MAPware-7000 Programming Manual Press the Next button on the Factory Hardware Test Mode (FHWT) main screen to display the secondary FHWT menu: RS232 Com1 button – executes serial port tests for Com1 RS232: There are two tests available- a loopback test and a test that does not require a loopback connector. To perform the loopback test, you must connect a loopback connector (DE9P connector with pins 2 and 3 jumpered).
MAPware-7000 Programming Manual RS485 Com2 button (HMC7057 only) – executes serial port tests for Com2 RS485: USB button – executes a USB loopback test. This test requires that a USB cable connect to the USB Host port (Type A) and the other end connect to the USB Slave (Type B) port. Expansion Port button – this tests each I/O expansion slot on the HMC7000 unit. If an expansion module is connected to the slot, the test will report the condition of the module.
MAPware-7000 Programming Manual Display Result button – displays the results of the tests on the HMC screen: Result to USB Stick button – this will copy the test results to a USB flash drive that is inserted into the USB host port as a text file (FHWT.TXT). System Setup Mode The System Setup Mode provides information about the HMC7000 hardware (i.e. firmware revision, serial port settings, etc.).
MAPware-7000 Programming Manual Press the System Setup button on the MODE SELECTION MENU to enter the System Setup Mode main screen: TouchScreen Calibrate button – executes the touchscreen calibration screen: Touch the crosshair symbol. The symbol will then move to the upper right corner; touch it again. Unit will calibrate and reinitialize. Com Port Settings button – this screen will allow you to configure the communication parameters (i.e. baud rate, parity, etc) for each serial port.
MAPware-7000 Programming Manual Screen Saver Time button – configures the timeout before screensaver is engaged.
MAPware-7000 Programming Manual Firmware Erase button – this displays the following screen and provides you with the option of erasing the firmware in the HMC7000: Why would you want to erase the firmware? Normally, there is no reason to perform this step. If a firmware upgrade is issued, you can easily download the upgrade using the MAPware-7000 software without erasing the existing firmware.
MAPware-7000 Programming Manual System Information button – this screen provides hardware information on the HMC, including bootblock version and firmware version. Exit button – press this button to exit the System Setup menus. Unit will reinitialize and display the Halt mode screen: Simply press the F2 function key to run the installed project or recycle power to the HMC7000. For more information on the Halt mode screen, see HMC7000 HALT mode screen section earlier in this chapter. 1010-1040, Rev.
MAPware-7000 Programming Manual Maple Systems Inc. th 808 134 Street SW, Suite 120 Everett, WA 98204-7333 Phone: (425) 745-3229 Email: maple@maplesystems.com © 2011 Maple Systems Inc. All rights reserved. Web: www.maplesystems.com 1010-1040, Rev.