softmaster user guide - honeywell€¦ · manual for additional information. the symbol appears...

478
Honeywell Process Solutions SoftMaster User's Guide ML200-SoftMaster R200 January 2011 Release 200 Honeywell

Upload: others

Post on 19-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

  • Honeywell Process Solutions

    SoftMaster User's Guide

    ML200-SoftMaster R200

    January 2011

    Release 200 Honeywell

  • ii SoftMaster User's Guide R200 Honeywell January 2011

    Notices and Trademarks Copyright 2011 by Honeywell International Sárl.

    Release 200 January 2011

    While this information is current in good faith and believed to be accurate, Honeywell disclaims the implied warranties of merchantability and fitness for a particular purpose and makes no express warranties except as may be stated in its written agreement with and for its customers.

    In no event is Honeywell liable to anyone for any indirect, special or consequential damages. The information and specifications in this document are subject to change without notice.

    Honeywell, PlantScape, Experion PKS, and TotalPlant are registered trademarks of Honeywell International Inc.

    Other brand or product names are trademarks of their respective owners.

    Honeywell Process Solutions

    1860 W. Rose Garden Lane

    Phoenix, AZ 85027 USA

    1-800 822-7673

  • R200 SoftMaster User's Guide iii January 2011 Honeywell

    About This Document This document describes the operations involved in using SoftMaster to program and debug the MasterLogic 200 PLC series.

    Release Information

    Document Name Document ID

    Release Number

    Publication Date

    SoftMaster User's Guide - ML200 ML200-SoftMaster

    200 January 2011

    References The following list identifies all documents that may be source of reference for material discussed in this publication.

    Document Title

    2MLI CPUU User’s Guide

  • Support and Other Contacts

    iv SoftMaster User's Guide R200 Honeywell January 2011

    Support and Other Contacts

    United States and Canada Contact:

    Phone: Fascimile: Mail:

    Honeywell Solution Support Center 1-800-822-7673 Calls are answered by dispatcher between 6:00 am and 4:00 pm Mountain Standard Time. Emergency calls outside normal working hours are received by an answering service and returned within one hour. 1-973-455-5000 Honeywell TAC, MS L17 1860 W. Garden Lane Phoenix, AZ, 85027 USA

    Europe, Middle East, and Africa (EMEA) Contact:

    Phone: Fascimile: Mail:

    Honeywell TAC-EMEA +32-2-728-2345 +32-2-728-2696 TAC-BE02 Hermes Plaza Hermeslaan, 1H B-1831 Diegem, Belgium

    Pacific Contact:

    Phone: Fascimile: Mail: Email:

    Honeywell Global TAC – Pacific 1300-364-822 (toll free within Australia) +61-8-9362-9559 (outside Australia) +61-8-9362-9564 Honeywell Limited Australia 5 Kitchener Way Burswood 6100, Western Australia [email protected]

    India Contact:

    Phone: Fascimile: Mail: Email:

    Honeywell Global TAC – India +91-20- 6603-9400 +91-20- 6603-9800 Honeywell Automation India Ltd 56 and 57, Hadapsar Industrial Estate Hadapsar, Pune –411 013, India [email protected]

  • Support and Other Contacts

    R200 SoftMaster User's Guide v January 2011 Honeywell

    Korea Contact:

    Phone: Fascimile: Mail: Email:

    Honeywell Global TAC – Korea +82-2-799-6317 +82-2-792-9015 Honeywell Co., Ltd 4F, Sangam IT Tower 1590, DMC Sangam-dong, Mapo-gu Seoul, 121-836, Korea [email protected]

    People’s Republic of China Contact:

    Phone: Mail: Email:

    Honeywell Global TAC – China +86- 21-2219-6888 800-820-0237 400-820-0386 Honeywell (China) Co., Ltd 33/F, Tower A, City Center, 100 Zunyi Rd. Shanghai 200051, People’s Republic of China [email protected]

    Singapore Contact:

    Phone: Fascimile: Mail: Email:

    Honeywell Global TAC – South East Asia +65-6580-3500 +65-6580-3501 +65-6445-3033 Honeywell Private Limited Honeywell Building 17, Changi Business Park Central 1 Singapore 486073 [email protected]

    Taiwan Contact:

    Phone: Fascimile: Mail: Email:

    Honeywell Global TAC – Taiwan +886-7-536-2567 +886-7-536-2039 Honeywell Taiwan Ltd. 17F-1, No. 260, Jhongshan 2nd Road. Cianjhen District Kaohsiung, Taiwan, ROC [email protected]

  • Support and Other Contacts

    vi SoftMaster User's Guide R200 Honeywell January 2011

    Japan Contact:

    Phone: Fascimile: Mail: Email:

    Honeywell Global TAC – Japan +81-3-6730-7160 +81-3-6730-7228 Honeywell Japan Inc. New Pier Takeshiba, South Tower Building, 20th Floor, 1-16-1 Kaigan, Minato-ku, Tokyo 105-0022, Japan [email protected]

    Elsewhere Call your nearest Honeywell office.

    World Wide Web Honeywell Solution Support Online:

    http://www.honeywell.com/ps

    Training Classes Honeywell Automation College:

    http://www.automationcollege.com

    http://www.honeywell.com/ps�http://www.automationcollege.com/�

  • Acronyms and Definitions

    R200 SoftMaster User's Guide vii January 2011 Honeywell

    Acronyms and Definitions

    Acronym/Term Definition

    A/D Analog to Digital Conversion

    Base Base is the back plane of the PLC on which the power supply, communication and other modules gets installed For example: main base, expansion base.

    BCD Binary coded decimal

    Cold restart

    This is one of the CPU restart modes which affects the variable parameters of the I/O image area when the CPU is restarted. With the CPU restart mode set to cold restart, all the parameters (like the internal register, timer, and counter) initialize to zero.

    CPU Central processing unit

    D/A Digital to analog conversion

    Direct variable

    Memory area which can be directly accessed with IEC standard addressing notations with or without any variable name. They are %I (input), %Q (output), and %M (internal flags and registers) variables.

    Address Examples: %IX0.0.2, %QW1.2.1, and %MD1234

    Dnet DeviceNet Network.

    FEnet Fast Ethernet Network.

    FO Fiber Optic

    Function Is an operation unit that immediately outputs the operation results for an input such as four arithmetical operations and comparative operations.

    Function block

    Is an operation unit that memorizes the operation results within the commands such as timer and counter or results derived from several scans. Function blocks are the fundamental element for logic programs. Function blocks like timer and counter have input and output connections to indicate the flow.

    HSL High-Speed Link Service in MasterLogic-200 communication modules.

  • Acronyms and Definitions

    viii SoftMaster User's Guide R200 Honeywell January 2011

    Acronym/Term Definition

    I/O Input/Output

    I/O image area Internal memory area of CPU module installed to maintain I/O states.

    IEC International Electrotechnical Commission

    Interrupt task

    Interrupt driven task programs executed on meeting a given condition, in addition, to regular scan programs. It consists of two types:

    • Timer interrupt task

    • Internal flag interrupt task

    KB Kilo bytes

    KStep Kilo steps

    LSB Least significant bit

    MB Mega bytes

    ML-200 MasterLogic-200

    Module

    A standard component with a specific function to configure a system, such as the I/O board assembled to be inserted into the base motherboard.

    For example: CPU module, power module, and I/O module.

    MSB Most significant bit

    O/S Operating system

    P2P Point to point service in MasterLogic-200 communication modules

    PAC Process automation controller

    PLC Programmable logic controller

    PLC system A system consisting of a PLC, CPU, modules, and peripherals, configured to be controlled by a user program.

    Pnet Profibus-DP network.

  • Acronyms and Definitions

    R200 SoftMaster User's Guide ix January 2011 Honeywell

    Acronym/Term Definition

    RAM Random access memory

    RTC As an abbreviation of real time clock, it is collectively referred as a universal IC, with the function of a clock.

    RTC Real time clock

    Snet Serial link network.

    SoftMaster Programming tool for creating, editing, and debugging a program.

    STP Shielded twisted pair

    Symbolic variable

    Named variables which are declared with a name, type, but address is automatically allocated in symbolic memory area (%A) by the CPU. For instance, named variables declared as ‘Valve1’, ‘Pump2’ or ‘Speed3’ with any IEC standard data type.

    TP Twisted pair cables (typically CAT5 cables with RJ45 connectors for Ethernet communication)

    UTP Unshield twisted pair

    Warm restart

    This is one of the CPU restart modes which affects the variable parameters of the I/O image area when the CPU is restarted. When the CPU restart mode is set to warm restart, all the parameters (like the internal register, timer and counter) retain the previous values.

    Watchdog timer A timer to monitor pre-determined execution time of a program and to generate a warning, when it is not complete within the time.

  • Symbol Definitions

    x SoftMaster User's Guide R200 Honeywell January 2011

    Symbol Definitions The following table lists the symbols used in this document to denote certain conditions.

    Symbol Definition

    ATTENTION: Identifies information that requires special consideration.

    TIP: Identifies advice or hints for the user, often in terms of performing a task.

    REFERENCE -EXTERNAL: Identifies an additional source of information outside of the bookset.

    REFERENCE - INTERNAL: Identifies an additional source of information within the bookset.

    CAUTION

    Indicates a situation which, if not avoided, may result in equipment or work (data) on the system being damaged or lost, or may result in the inability to properly operate the process.

    CAUTION: Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury. It may also be used to alert against unsafe practices.

    CAUTION symbol on the equipment refers the user to the product manual for additional information. The symbol appears next to required information in the manual.

    WARNING: Indicates a potentially hazardous situation, which, if not avoided, could result in serious injury or death.

    WARNING symbol on the equipment refers the user to the product manual for additional information. The symbol appears next to required information in the manual.

    WARNING, Risk of electrical shock: Potential shock hazard where HAZARDOUS LIVE voltages greater than 30 Vrms, 42.4 Vpeak, or 60 VDC may be accessible.

  • Symbol Definitions

    R200 SoftMaster User's Guide xi January 2011 Honeywell

    Symbol Definition

    ESD HAZARD: Danger of an electro-static discharge to which equipment may be sensitive. Observe precautions for handling electrostatically sensitive devices.

    Protective Earth (PE) terminal: Provided for connection of the protective earth (green or green/yellow) supply system conductor.

    Functional earth terminal: Used for non-safety purposes such as noise immunity improvement.

    NOTE: This connection shall be bonded to Protective Earth at the source of supply in accordance with national local electrical code requirements.

    Earth Ground: Functional earth connection.

    NOTE: This connection shall be bonded to Protective Earth at the source of supply in accordance with national and local electrical code requirements.

    Chassis Ground: Identifies a connection to the chassis or frame of the equipment shall be bonded to Protective Earth at the source of supply in accordance with national and local electrical code requirements.

  • Symbol Definitions

    xii SoftMaster User's Guide R200 Honeywell January 2011

  • R200 SoftMaster User's Guide xiii January 2011 Honeywell

    Contents

    1. INTRODUCTION .......................................................................... 25 1.1 Features of SoftMaster ................................................................................. 25

    1.2 System requirements .................................................................................... 27

    2. INSTALLATION ........................................................................... 29 2.1 Installing SoftMaster ..................................................................................... 29

    2.2 Installing the USB device driver .................................................................. 31 Verifying the USB device driver installation .......................................................................... 32

    3. BASIC APPLICATION ................................................................. 35 3.1 SoftMaster user interface ............................................................................. 35

    Menu bar .............................................................................................................................. 36 Tool bar ................................................................................................................................ 45 Status display line ................................................................................................................ 46 Change view window ........................................................................................................... 47

    3.2 Edit functions ................................................................................................ 47 Cut–paste ............................................................................................................................. 47 Copy–paste .......................................................................................................................... 47 Drag and drop ...................................................................................................................... 47 Zooming in/zooming out ....................................................................................................... 48

    3.3 Shortcut keys ................................................................................................. 49 Configuring shortcut keys ..................................................................................................... 49 Shortcut keys ....................................................................................................................... 49

    3.4 Customizing SoftMaster ............................................................................... 51 Configuring SoftMaster options ............................................................................................ 52 Configuring LD option .......................................................................................................... 57 Configuring SFC option ........................................................................................................ 58 Configuring ST option .......................................................................................................... 60

    4. PROJECT CONFIGURATION ...................................................... 63 4.1 Overview of project configuration ............................................................... 63

    Project configuration window ................................................................................................ 63

  • Contents Symbol Definitions

    xiv SoftMaster User's Guide R200 Honeywell January 2011

    4.2 Project management ..................................................................................... 65 Creating a new project ........................................................................................................ 65 Opening the project ............................................................................................................. 66 Opening a project from PLC ................................................................................................ 66 Saving a project ................................................................................................................... 66 Saving project as ................................................................................................................. 67

    4.3 Project item .................................................................................................... 68 Add item .............................................................................................................................. 68 Adding a program ................................................................................................................ 72 Exporting to file .................................................................................................................... 72 Importing from file ................................................................................................................ 75 Changing program execution sequence .............................................................................. 79 Comparing projects ............................................................................................................. 80

    4.4 Project password ........................................................................................... 81 Setting project password ..................................................................................................... 81 Deleting password ............................................................................................................... 82

    5. VARIABLES ................................................................................ 83 5.1 Overview of variables .................................................................................... 83

    5.2 Global/direct variable .................................................................................... 83 Global variable .................................................................................................................... 83 Direct variable comments .................................................................................................... 84 Flag ..................................................................................................................................... 84

    5.3 Global/direct variable edit ............................................................................. 86 Global/direct variable registration ........................................................................................ 86 Copy, cut, delete, and paste ................................................................................................ 88 Changing variable name ..................................................................................................... 93 Insert line ............................................................................................................................. 93 Delete line ........................................................................................................................... 94 Drag and drop ..................................................................................................................... 94 Export to file ........................................................................................................................ 95 Preview ............................................................................................................................... 95 Print ..................................................................................................................................... 96 Other functions .................................................................................................................... 96

    5.4 Local variable ................................................................................................. 97 Local variable registration ................................................................................................... 97 Editing a local variable ........................................................................................................ 97

    5.5 Function block variable ............................................................................... 100 FB variable ........................................................................................................................ 100 FB variable edit ................................................................................................................. 100 FB variable registration ..................................................................................................... 100

  • Contents Symbol Definitions

    R200 SoftMaster User's Guide xv January 2011 Honeywell

    5.6 FUNCTION variable ..................................................................................... 103 FUN variable ...................................................................................................................... 103 FUN variable edit ............................................................................................................... 103 FUN variable registration.................................................................................................... 103

    5.7 Editing variables.......................................................................................... 105 Variable registration ........................................................................................................... 105

    5.8 User-defined function/function block ....................................................... 107 Creating user-defined function/function block program ...................................................... 108 Creating user-defined function/function block I/O variable ................................................. 109 User-defined function/function block programming ............................................................ 110 Using user-defined function/function blocks ....................................................................... 111

    6. LD EDIT ...................................................................................... 113 6.1 Overview ...................................................................................................... 113

    6.2 Limits ............................................................................................................ 113

    6.3 Program edit ................................................................................................ 114 Edit tools ............................................................................................................................ 114 Input contact point .............................................................................................................. 116 Input OR contact point ....................................................................................................... 117 Entering variable/address................................................................................................... 118 Inserting lines ..................................................................................................................... 121 Inserting coil ....................................................................................................................... 121 Inserting a function block ................................................................................................... 122 Favorite function block ....................................................................................................... 124 Entering comments ............................................................................................................ 127 Input label ........................................................................................................................... 129 Insert extension function .................................................................................................... 130 Insert cell ............................................................................................................................ 131 Insert line ............................................................................................................................ 131 Delete item ......................................................................................................................... 132 Delete cell .......................................................................................................................... 132 Delete line .......................................................................................................................... 133 Copy/cut/paste ................................................................................................................... 133 Undo and redo ................................................................................................................... 134 Program edit mode ............................................................................................................. 135

    6.4 Viewing program options ........................................................................... 138 View IL program ................................................................................................................. 138 Program magnification change ........................................................................................... 138 View address ...................................................................................................................... 139 View variables .................................................................................................................... 139 View address/variables ...................................................................................................... 140 View address/comment ...................................................................................................... 140

  • Contents Symbol Definitions

    xvi SoftMaster User's Guide R200 Honeywell January 2011

    View variables/comments .................................................................................................. 140 Adjust number of contact point .......................................................................................... 141 LD view properties ............................................................................................................. 142

    6.5 Additional edit function ............................................................................... 143 Optimize program .............................................................................................................. 143 Block mask instruction ....................................................................................................... 144 Bookmark .......................................................................................................................... 145 Go to ................................................................................................................................. 148

    7. SFC EDIT ................................................................................... 153 7.1 Overview ....................................................................................................... 153

    7.2 SFC program limitations ............................................................................. 153

    7.3 Program edit ................................................................................................. 154 Edit tools ........................................................................................................................... 154 Input step/transition ........................................................................................................... 155 Input action ........................................................................................................................ 157 Input block/transition ......................................................................................................... 158 Input label .......................................................................................................................... 158 Input jump ......................................................................................................................... 159 Create left branch .............................................................................................................. 160 Create right branch ............................................................................................................ 162 Edit step property .............................................................................................................. 164 Transition property ............................................................................................................ 165 Action property .................................................................................................................. 166 Edit block property ............................................................................................................. 168 Edit label property ............................................................................................................. 169 Jump property ................................................................................................................... 169 Set branch priority ............................................................................................................. 170 Erase branch priority ......................................................................................................... 171 Delete item ........................................................................................................................ 171 Copy/cut/paste .................................................................................................................. 172 Cut/paste ........................................................................................................................... 173 Undo and redo ................................................................................................................... 173 Program edit mode ............................................................................................................ 175

    7.4 View program ............................................................................................... 175 Program zoom in/out ......................................................................................................... 175 SFC property ..................................................................................................................... 175 View block/action/transition list .......................................................................................... 182 Open action/transition ....................................................................................................... 183 Address/variables .............................................................................................................. 183 Address/comments ............................................................................................................ 183 Adjust contact number ....................................................................................................... 184

  • Contents Symbol Definitions

    R200 SoftMaster User's Guide xvii January 2011 Honeywell

    7.5 Edit additional function .............................................................................. 185 Bookmark setting ............................................................................................................... 185 Go to .................................................................................................................................. 185

    8. PROGRAMMING ........................................................................ 187 8.1 Cross reference ........................................................................................... 187

    View all addresses ............................................................................................................. 187 Data sorting ........................................................................................................................ 188 Output cross reference instantly ......................................................................................... 189 Check duplicate coil instantly ............................................................................................. 190

    8.2 Used address ............................................................................................... 191 Viewing used address ........................................................................................................ 191 View address uses ............................................................................................................. 192

    8.3 Check program ............................................................................................ 193 Check program setting ....................................................................................................... 193 Check result trace .............................................................................................................. 195 Logic error .......................................................................................................................... 195 Grammar error ................................................................................................................... 200

    9. FIND/REPLACE ......................................................................... 213 9.1 Find address ................................................................................................ 213

    Find next address ............................................................................................................... 214 Find all address .................................................................................................................. 215

    9.2 Find text ....................................................................................................... 216 Finding text ......................................................................................................................... 216 Find all text ......................................................................................................................... 218

    9.3 Address replacement .................................................................................. 219 Replace address ................................................................................................................ 219 Replace all addresses ........................................................................................................ 221

    9.4 Text replacement ......................................................................................... 223 Replace text string ............................................................................................................. 223 Replace all string ................................................................................................................ 225

    9.5 Find again .................................................................................................... 225

    10. PARAMETERS ........................................................................... 227 10.1 Basic parameter ....................................................................................... 227

    Basic parameter setting ..................................................................................................... 227

  • Contents Symbol Definitions

    xviii SoftMaster User's Guide R200 Honeywell January 2011

    10.2 I/O parameters .......................................................................................... 232 Setting I/O parameters ...................................................................................................... 232 Base module setup ............................................................................................................ 234 Module information setting based on slots ........................................................................ 235 I/O parameter edit function ................................................................................................ 235 Detailed module information setting .................................................................................. 237 I/O parameter print function ............................................................................................... 245

    11. ONLINE...................................................................................... 247 11.1 Connection options for the PLC ............................................................. 247

    Local connection setting .................................................................................................... 247 Using the local RS-232C ................................................................................................... 248 Using the local USB .......................................................................................................... 249 Remote 1 connect setting .................................................................................................. 249 Remote 2 connect setting .................................................................................................. 251

    11.2 Online functions ....................................................................................... 252 Connect ............................................................................................................................. 252 Write .................................................................................................................................. 254 Read .................................................................................................................................. 255 Change mode .................................................................................................................... 255 Compare with PLC ............................................................................................................ 256 Reset PLC ......................................................................................................................... 257 Clearing PLC data ............................................................................................................. 257 PLC information ................................................................................................................. 258 Password .......................................................................................................................... 259 PLC history ........................................................................................................................ 262 PLC error/warning ............................................................................................................. 265 Flash memory setting ........................................................................................................ 265 Force I/O setting ................................................................................................................ 266 Force I/O setting ................................................................................................................ 268 Forced I/O cancel .............................................................................................................. 269 Skip I/O setting .................................................................................................................. 270 Fault mask ......................................................................................................................... 273

    11.3 Module changing wizard ......................................................................... 275

    12. MONITORING ............................................................................ 279 12.1 Monitoring ................................................................................................. 279

    Start/stop monitoring ......................................................................................................... 279 Change current value ........................................................................................................ 279 Pause/restart monitoring ................................................................................................... 281 Pausing conditions ............................................................................................................ 282

    12.2 LD program monitoring ........................................................................... 284

  • Contents Symbol Definitions

    R200 SoftMaster User's Guide xix January 2011 Honeywell

    Start/stop monitoring .......................................................................................................... 285

    12.3 Variable monitoring ................................................................................. 286 Registering variable/comment ............................................................................................ 287 Register all ......................................................................................................................... 288 Register by user ................................................................................................................. 289 Drag and drop register from other windows ....................................................................... 289 View detailed/briefly ........................................................................................................... 291 Monitoring operations ......................................................................................................... 294 Find .................................................................................................................................... 295 Print .................................................................................................................................... 295 Alignment ........................................................................................................................... 295

    12.4 System monitoring .................................................................................. 296 Basic application ................................................................................................................ 296 Connect/disconnect ............................................................................................................ 298 System synchronization ..................................................................................................... 298 All I/O modules ON/OFF .................................................................................................... 299 Selected I/O modules ON/OFF .......................................................................................... 299 Change current value ......................................................................................................... 300 Information display of power module .................................................................................. 300 Information display of CPU module .................................................................................... 301 Information display of communication module ................................................................... 302 Viewing information of special modules ............................................................................. 302 Start/stop monitoring .......................................................................................................... 303 Special module monitoring ................................................................................................. 303 Save ................................................................................................................................... 304 Open .................................................................................................................................. 304 Navigate base .................................................................................................................... 305 Print preview ...................................................................................................................... 305

    12.5 Address monitoring ................................................................................ 306 Basic application ................................................................................................................ 306 Address areas .................................................................................................................... 307 Data format and display items ............................................................................................ 307 Edit data ............................................................................................................................. 308 Save address ..................................................................................................................... 309 Open address ..................................................................................................................... 309 Data value setting .............................................................................................................. 310 Clear data ........................................................................................................................... 311 Write to PLC ....................................................................................................................... 311 Read from PLC .................................................................................................................. 312 Write selected area on PLC ............................................................................................... 313 Start/stop monitoring .......................................................................................................... 313 Change current value ......................................................................................................... 314 PLC type settings ............................................................................................................... 315 Screen zoom-in/zoom-out .................................................................................................. 315 Automatic width/height adjustment ..................................................................................... 315

  • Contents Symbol Definitions

    xx SoftMaster User's Guide R200 Honeywell January 2011

    View properties .................................................................................................................. 316 Page setting ...................................................................................................................... 316

    12.6 Special module monitoring ..................................................................... 317

    12.7 Trend monitoring ..................................................................................... 318 Configuring trend monitoring ............................................................................................. 318 Start trend monitoring ........................................................................................................ 320 Setting trend graph ............................................................................................................ 322 Setting graph ..................................................................................................................... 323 Setting graph window ........................................................................................................ 325 Graph function ................................................................................................................... 326 Scroll synchronization ....................................................................................................... 326

    12.8 Data traces ................................................................................................ 330 Connecting to PLC ............................................................................................................ 332 Trace setting...................................................................................................................... 332 Graph settings ................................................................................................................... 335 Trace ................................................................................................................................. 337 Animation .......................................................................................................................... 338 Graph function ................................................................................................................... 339 File function ....................................................................................................................... 339 View function ..................................................................................................................... 341

    12.9 Custom events ......................................................................................... 343 Overview of custom events ............................................................................................... 343 Event setting...................................................................................................................... 344 Adding custom event item ................................................................................................. 345 Event history...................................................................................................................... 350

    13. DEBUGGING ............................................................................. 355 13.1 Start/stop debugging ............................................................................... 355

    Start debugging ................................................................................................................. 355 Stop debugging ................................................................................................................. 355

    13.2 LD program debugging ........................................................................... 356 Set remove breakpoints .................................................................................................... 356 Go ..................................................................................................................................... 357 Go to cursor....................................................................................................................... 358 Step into, step out and step over functions ....................................................................... 359

    13.3 List of break points .................................................................................. 362

    13.4 Variable break ........................................................................................... 363 Setting variable break ........................................................................................................ 363

    13.5 Scan break ................................................................................................ 365 Scan break run .................................................................................................................. 366

  • Contents Symbol Definitions

    R200 SoftMaster User's Guide xxi January 2011 Honeywell

    14. ONLINE EDITING ....................................................................... 367 14.1 Online editing sequence ......................................................................... 367

    Open project ....................................................................................................................... 368 Connect .............................................................................................................................. 368 Start monitoring .................................................................................................................. 368 Start online editing ............................................................................................................. 368 Edit ..................................................................................................................................... 369 Write modified program ...................................................................................................... 369 End online editing ............................................................................................................... 369

    15. PRINTING ................................................................................... 371 15.1 Print project .............................................................................................. 371

    Printing a project ................................................................................................................ 371 Print setting ........................................................................................................................ 372 Page setup ......................................................................................................................... 372 Header/footer setting .......................................................................................................... 374 Cover setup ........................................................................................................................ 375

    15.2 LD program print ..................................................................................... 378 Print setting ........................................................................................................................ 378 Print preview ...................................................................................................................... 380

    16. USER FUNCTION/FUNCTION BLOCK ..................................... 381 16.1 Overview ................................................................................................... 381

    16.2 Create user function/function block ...................................................... 382

    16.3 Create user function/function block I/O variable ................................. 383

    16.4 User function/function block programming ......................................... 384

    16.5 Working with user function/function block .......................................... 386

    17. SOFTMASTER SIMULATOR ..................................................... 387 17.1 Overview of the SoftMaster simulator (SIM) ......................................... 387

    Features of SoftMaster-SIM ............................................................................................... 387 System configuration for execution of SoftMaster-SIM ...................................................... 387 Starting SoftMaster-SIM ..................................................................................................... 388

    17.2 Program window configuration .............................................................. 391 Configuring the program window ........................................................................................ 391 Channel list ........................................................................................................................ 392 Channel monitor ................................................................................................................. 393

  • Contents Symbol Definitions

    xxii SoftMaster User's Guide R200 Honeywell January 2011

    I/O condition ...................................................................................................................... 394 I/O condition monitor ......................................................................................................... 406 Module simulation ............................................................................................................. 407 Digital I/O module .............................................................................................................. 409 Analog output module (D/A conversion module) ............................................................... 410 High-speed counter module (HSC Module) ....................................................................... 412 RTD module ...................................................................................................................... 413 Advanced positioning module (APM module) .................................................................... 414

    17.3 Limitations ................................................................................................ 421 Watchdog timer ................................................................................................................. 421 Communication module ..................................................................................................... 421

    18. ST EDITION ............................................................................... 423 18.1 Writing ST program .................................................................................. 423

    Adding scan program ........................................................................................................ 423 Adding user function/function block ................................................................................... 423 Adding SFC transition, action ............................................................................................ 423

    18.2 Limit ........................................................................................................... 425

    18.3 Editing program ....................................................................................... 425 Shortcut keys..................................................................................................................... 425 Copy/paste ........................................................................................................................ 426 Undo/redo ......................................................................................................................... 426 Adding/selecting variable .................................................................................................. 427 Inserting function/function block ........................................................................................ 428

    18.4 Viewing program ...................................................................................... 430 ST option ........................................................................................................................... 430 Font/color .......................................................................................................................... 431 Zoom ................................................................................................................................. 431 Tab .................................................................................................................................... 431 Showing line numbers ....................................................................................................... 432

    18.5 Additional edit functions ......................................................................... 433 Book mark ......................................................................................................................... 433 Selection from character string list .................................................................................... 434 Selecting member variable from character string list ......................................................... 436 Setting/removing block mask ............................................................................................ 436 Setting/removing line block mask ...................................................................................... 438 Indent/outdent ................................................................................................................... 439

    19. EVENT INPUT MODULE ........................................................... 441 19.1 Overview ................................................................................................... 441

  • Contents Symbol Definitions

    R200 SoftMaster User's Guide xxiii January 2011 Honeywell

    Characteristics of SOE monitor .......................................................................................... 441 Functions of the SOE monitor ............................................................................................ 441 Files created in the SOE monitor ....................................................................................... 442

    19.2 Screen configuration ............................................................................... 442 Menu structure ................................................................................................................... 443 Tools .................................................................................................................................. 445 SOE event history window ................................................................................................. 446 Status bar ........................................................................................................................... 446

    19.3 Basic parameter setting .......................................................................... 447 Setting items ...................................................................................................................... 447

    19.4 I/O parameter setting ............................................................................... 447 Setting item ........................................................................................................................ 447 Chatter setting .................................................................................................................... 450

    19.5 View module information ........................................................................ 452

    19.6 Event history monitor ............................................................................. 452 Example of event filter ........................................................................................................ 454 Prioritizing events .............................................................................................................. 454 Comparing events .............................................................................................................. 456 Deleting event history ......................................................................................................... 456

    19.7 Save as an excel file ................................................................................ 457

    20. DEDICATED ML200R FUNCTION ............................................. 459 20.1 Redundancy parameter ........................................................................... 459

    20.2 Redundancy PLC state window ............................................................. 462

    20.3 Control redundancy ................................................................................ 463 Change of master CPU ...................................................................................................... 463 Standby CPU control .......................................................................................................... 464

    20.4 System monitoring .................................................................................. 465 System configuration ......................................................................................................... 465 Node count change ............................................................................................................ 466 Base information ............................................................................................................... 467 Base changing wizard ........................................................................................................ 470

  • Contents Symbol Definitions

    xxiv SoftMaster User's Guide R200 Honeywell January 2011

  • R200 SoftMaster User's Guide 25 January 2011 Honeywell

    1. Introduction

    1.1 Features of SoftMaster SoftMaster is a software tool designed to program and debug the MasterLogic 200 PLC series. Following are some of the key features of SoftMaster.

    • Multi-PLC, Multi-Program

    • Edit, monitor, and manage ML200 PLCs included in a project.

    • Enables multiple scan programs and task programs

    • Drag and Drop option

    • Easy and convenient editing with Drag and Drop function on most editors such as Project, Variable/Comment, LD Edit, Variable Monitor, and so on.

    • Shortcut Keys

    • The default shortcut keys provided are customizable.

    • Message Windows

    • Different message windows to edit and check programs.

    • Convenient Variable/Comment Editing

    • Option to edit using MS Excel.

    • Edit option is available through View Variable, View Address, and View Flag.

    • Auto-fill function to fill similar Variables

    • Drag and Drop option on the Variable/Comment Windows.

    • Convenient Program Edit

    • Unlimited Undo/Redo function.

    • Block Edit available in cell.

    • Independent screen-level edit.

    • Enhanced Find/Replace function.

    • Block Mask function to prohibit execution in rung.

    • Bookmark function for access to a specific location in a LD program.

  • 1. Introduction 1.1. Features of SoftMaster

    26 SoftMaster User's Guide R200 Honeywell January 2011

    • Allows reference to memory of selected address when editing LD.

    • Monitoring Functions

    • Monitoring functions for variable monitoring, address monitoring, system monitoring, trend monitoring, special module monitoring.

    • Custom Events

    • Logging and reading data available if user-defined conditions are met for a specific address.

    • Module Changing Wizard

    • Easy and safe change of module during PLC RUN.

  • 1. Introduction 1.2. System requirements

    R200 SoftMaster User's Guide 27 January 2011 Honeywell

    1.2 System requirements The following are the system requirements of SoftMaster.

    Item Specification

    Personal computer and memory A Pentium computer and 128MB memory

    COM port RS-232C serial port or USB port

    Hard disk At least 100MB or more space.

    Monitor Monitor should have 1024 x 768 and higher resolution

    Operating System Compatible with Windows XP/Vista/7

    ATTENTION

    It is recommended to install SoftMaster on Windows XP or Windows Vista or Windows 7.

  • 1. Introduction 1.2. System requirements

    28 SoftMaster User's Guide R200 Honeywell January 2011

  • R200 SoftMaster User's Guide 29 January 2011 Honeywell

    2. Installation

    2.1 Installing SoftMaster To install SoftMaster, perform the following steps:

    Step Action

    1 Double-click the SoftMaster.exe file from the location to execute the installation.

    Installation wizard displays and prepares for installation.

    2 Click Next. The Customer Information page appears.

    3 Type the User Name and name of the Organization.

    4 Click Next. The Destination Folder page appears.

    In this page, you can either install in default location or specify the location to install SoftMaster. Click Change to install in different location. You can browse and select the required location.

  • 2. Installation 2.1. Installing SoftMaster

    30 SoftMaster User's Guide R200 Honeywell January 2011

    Step Action

    5 Click Next. The Ready to Install Program page displays.

    Note: SoftMaster needs 30 MB of free disk space. In case of inadequate free space, you are prompted to select a disk with enough capacity.

    6 Click Install to begin installation. The status bar displays the progress of the installation.

    All the program features selected are installed. Once the SoftMaster is successfully installed, the InstallShield Wizard Completed page displays.

    7 Click Finish to exit from the wizard.

  • 2. Installation 2.2. Installing the USB device driver

    R200 SoftMaster User's Guide 31 January 2011 Honeywell

    2.2 Installing the USB device driver If you are installing SoftMaster, you may need to install the USB device driver separately.

    Perform the following steps to install USB Device driver.

    ATTENTION

    When you install a SoftMaster, a Drivers sub-folder is created under the folder where SoftMaster is installed and there are two driver files, GmUSBD.sys and GmUSBD.inf in the Drivers folder. If there is no folder or driver file, reinstall the SoftMaster.

    Step Action

    1 Turn PLC power ON and connect USB device to the PC.

    If the connection is established, the Found New Hardware Wizard dialog box appears.

    2 Click Install from a list or specific location (Advanced) option and then click Next.

    The Search and Installation page displays.

    3 Select Search for the best driver in these locations and Include this location in the search options.

  • 2. Installation 2.2. Installing the USB device driver

    32 SoftMaster User's Guide R200 Honeywell January 2011

    Step Action

    4 Click Browse. The Browse For Folder dialog box displays, select Drivers folder where SoftMaster is installed.

    5 Click OK. Then, the system searches for the driver files in the selected folder.

    6 When the most suitable device driver is found, system prompts and begins to install the selected device driver. Since, USB device driver operates stably based on Windows OS, click Continue Anyway.

    Once the device driver is installed completely, the Installation Complete page displays.

    7 Click Finish to exit from the wizard. Verifying the USB device driver installation

    If USB connection is not available, check the installation status of the device driver as follows:

    Step Action

    1 On the desktop, right-click My Computer and click Manage.

    The Computer Management window appears.

    2 In the left pane, choose Computer Management (Local) > System Tools > Device Manager. The items displayed in the right pane may be different according to the devices installed on the computer.

  • 2. Installation 2.2. Installing the USB device driver

    R200 SoftMaster User's Guide 33 January 2011 Honeywell

    Normal case

    If the USB device driver for MasterLogic 200 PLC is installed successfully, the Honeywell MasterLogic Series item appears under Universal Serial Bus Controller as shown in the following figure.

    Abnormal case

    If the device driver is not installed successfully, then the Honeywell MasterLogic Series item does not appear under Universal Serial Bus Controller as shown in the following figure.

  • 2. Installation 2.2. Installing the USB device driver

    34 SoftMaster User's Guide R200 Honeywell January 2011

    If the USB driver for MasterLogic 200 PLC is not installed successfully, then reinstall the USB driver for MasterLogic 200 PLC using the following steps.

    Step Action

    1 Right-click the device driver item and click Update Driver from the context menu.

    2 The Found New Hardware Wizard displays.

    Click Installation from a list or specific location (Advanced) option and then click Next. Then, follow the same steps as in section Installing the USB device driver.

  • R200 SoftMaster User's Guide 35 January 2011 Honeywell

    3. Basic application

    3.1 SoftMaster user interface The following is an illustration of the SoftMaster user interface. The user interface of SoftMaster can be described as follows:

    UI area Description

    A Menu bar: It is the basic menu bar of SoftMaster.

    B Tool bar: The toolbar below the menu bar contains buttons and commands to access frequently used tasks.

  • 3. Basic application 3.1. SoftMaster user interface

    36 SoftMaster User's Guide R200 Honeywell January 2011

    UI area Description

    C Project window: Displays the components of the currently open project.

    D Variable Monitoring window: Used to register and monitor variables.

    E Status bar: Display the status of SoftMaster, the information of the connected PLC, and so on.

    F Edit window: Displays the current Edit window.

    G Message window: Displays messages when the SoftMaster is in use.

    Menu bar

    Selecting a menu item displays the options under the menu. Click a menu item and select an option from the drop-down list of menu options. You can also access the menu using the shortcut keys.

    Project

    The following table lists the project menu options with their description:

    Menu option Description

    New Project Creates a new project.

    Open Project Opens an existing project.

    Open from PLC Uploads the project and program stored in PLC.

    Save Project Saves the project.

    Save As Enables you to save the project with a different name.

    Close Project Closes the project.

    Add Item PLC Adds a new PLC to the project.

    Task Adds a new task program to the project.

    Program Adds a new scan program to the project.

    Function Adds a new function to the project.

  • 3. Basic application 3.1. SoftMaster user interface

    R200 SoftMaster User's Guide 37 January 2011 Honeywell

    Menu option Description

    Function Block Adds a new function block to the project.

    Data type Adds a new data type to the project.

    Import Item from File

    PLC Imports the PLC program from the file.

    Global Variables/Address

    Imports global variables/address from the file.

    Program Imports the program from the file.

    I/O parameter Imports the I/O parameter from the file.

    Basic parameter Imports the basic parameter from the file.

    Function/FB… Imports the function/FB from the file.

    Export to File Exports the selected item on the project window into the file.

    Save Variable Names to File Saves variable names to a file.

    Compare Projects Compares two projects stored in the PC and displays its result.

    Print Prints the active window’s details.

    Preview Displays a preview of the screen to be printed.

    Print Project Enables selection of a project item for printing.

    Print Setup Sets the printer options.

    Exit Close the SoftMaster.

    Edit

    The following table lists the edit menu options with their description.

    Menu option Description

    Undo Cancels the edit on Program Edit Window to recover its previous status.

    Redo Recovers the edit cancelled using Undo.

  • 3. Basic application 3.1. SoftMaster user interface

    38 SoftMaster User's Guide R200 Honeywell January 2011

    Menu option Description

    Cut Copies the selected block to clipboard and deletes the block.

    Copy Copies the selected block to the clipboard.

    Paste Copies from the clipboard and pastes on the Edit window.

    Delete Deletes the selected block or items.

    Select All Selects all block in the currently active window.

    Insert Mode Changes program edit mode to insert mode.

    Insert Line Adds a new line to the cursor position.

    Delete Line Deletes the line from the cursor position.

    Insert Cell Adds a cell available to the cursor position.

    Delete Cell Deletes a cell from the cursor position.

    Register Special/Communication Module Variables

    Registers special module variables in global variables list and deletes previous list.

    Optimize Program Optimizes the program automatically.

    Insert Comment/Label Inserts a comment or label in the cursor position.

    Set Block Mask Sets cursor-positioned rung or specified block area block mask in rung unit.

    Remove Block Mask Removes cursor-positioned rung or specified block area set in block mask.

    Bookmark Set/Remove Sets or removes a bookmark.

    Remove All Cancels all the bookmarks specified.

    Previous Bookmark Moves to the previous bookmark.

    Next Bookmark Moves to the next bookmark.

  • 3. Basic application 3.1. SoftMaster user interface

    R200 SoftMaster User's Guide 39 January 2011 Honeywell

    Menu option Description

    Tools Edit tools for each program are available.

    Find/replace

    The following table lists the find/replace menu options with their description.

    Menu Option Description

    Find Address Finds variable address.

    Find Text Searches for variable based on the variable name.

    Replace Address Replaces variable address with another address.

    Replace Text Replaces variable name with some other text.

    Find Again Searches again.

    Go To Step/line Moves the cursor to the position of a specific step/line.

    Rung comment Moves the cursor to the position of a specific rung comment.

    Label Moves the cursor to the position of a specific label.

    END command Moves the cursor to the position of END command.

    Previous Message Moves from the current message window to the previous message window.

    Next Message Moves from the current message window to the next message window.

  • 3. Basic application 3.1. SoftMaster user interface

    40 SoftMaster User's Guide R200 Honeywell January 2011

    View

    The following table lists the view menu options with their description.

    Menu Description

    IL Converts to IL View during LD Edit.

    Project Window Shows or hides the project window.

    Message Window Shows or hides the message window.

    Variable Monitoring Window Shows or hides the variable monitor window.

    Instruction Window Shows or hides the instruction window.

    Cross Reference Displays the used-memory information on the message window’s Cross Reference tab.

    Used Address Lists all the memory addresses which are used in the program.

    Check Program Checks the program and displays its result on the message window’s Check Program tab.

    Variables Displays the variable name in the program.

    Address Indicates the memory address.

    Flags Indicates default system defined flags.

    Address/Variables Displays the address and the variable in the program.

    Address/Comments Displays the address and the comment in the program.

    Variables/Comments Displays the variable and the comment in the program.

    Zoom-In Magnifies the window.

    Zoom-Out Reduces the window.

    Resize Width Automatically adjusts the cell width to the string width in the variable/comment window.

  • 3. Basic application 3.1. SoftMaster user interface

    R200 SoftMaster User's Guide 41 January 2011 Honeywell

    Menu Description

    Resize Height Automatically adjusts the cell height applicably to the string height in the LD or variable/comment window.

    Full Screen Enlarges the program window or variable/comment window applicably to the whole screen.

    Properties Displays the registered information of the selected item on the project window.

    LD Properties Displays the LD properties in the program.

    Change Columns Increase or decrease the columns in the program screen.

    Open Local Variables Converts from the program screen to the local variable screen.

    Open User Function Opens the user-defined program.

    Open Program Converts from the local variable screen to the program screen.

    Online

    The following table lists the online menu options with their description.

    Menu Description

    Connect/Disconnect Connects or disconnects with PLC.

    Connection Settings Specifies the connection method.

    Change Mode Run Changes PLC mode.

    Stop

    Debug

    Read Reads parameter/program/comment from PLC.

    Write Writes parameter/program/comment on PLC.

    Compare with PLC Compares the project to the project saved in PLC.

  • 3. Basic application 3.1. SoftMaster user interface

    42 SoftMaster User's Guide R200 Honeywell January 2011

    Menu Description

    Set Flash Memory Copies the program into PLC flash memory if enabled.

    Reset PLC Resets PLC.

    Clear PLC Deletes parameter/program/comment saved in PLC.

    PLC Information Displays PLC information.

    PLC History Displays PLC history.

    PLC Errors/Warnings Displays PLC error/warning information.

    I/O Information Displays PLC I/O information

    Save PLC History Saves PLC history

    Force I/O Displays the window for compulsory I/O setting.

    Skip I/O Displays the window for I/O skip setting.

    Fault Mask Displays the window for fault mask setting.

    Module Changing Wizard Displays the dialog window to change the modules.

    Base Changing Wizard Changes base while PLC is operating.

    Start Online Editing Displays the dialog box to edit the program online when the PLC is running.

    Write Modified Program Displays the dialog box to download the edited program online when the PLC is running. The modified program gets activated online.

    End Online Editing This ends the online editing session and the program comes back to normal operation.

  • 3. Basic application 3.1. SoftMaster user interface

    R200 SoftMaster User's Guide 43 January 2011 Honeywell

    Monitor The following table lists the monitor menu options with their description.

    Menu Description

    Start/Stop Monitoring Starts or stops the monitor.

    Pause Temporarily stops the monitor.

    Resume Restarts the monitor temporarily stopped.

    Pausing Conditions Specifies conditions for the monitor temporary stop.

    Change Current Value Specifies the address value being monitored.

    System Monitoring Executes the system monitor.

    Address Monitoring Execute the address monitor window which shows all memory area addresses.

    Special Module Monitoring Executes the special module monitor.

    Trend Monitoring Executes the trend monitor.

    PID Monitoring Monitors all or individual PID block.

    SOE Monitoring Monitors the events which are entered into the CPU and the event input modules.

    Custom Events Specifies the custom events.

    Data Traces Specifies the address to monitor the change of the data.

    Debug The following table lists the debug menu options with their description.

    Menu Description

    Start/Stop Debugging Converts debug mode to Start/Stop Debugging.

    Go Runs to the break point.

  • 3. Basic application 3.1. SoftMaster user interface

    44 SoftMaster User's Guide R200 Honeywell January 2011

    Menu Description

    Step Over Runs step by step.

    Step Into Debugs the subroutine.

    Step Out Escapes from the subroutine.

    Go to Cursor Runs to the cursor position.

    Set/Remove Breakpoints Sets or cancels the break point.

    Breakpoints List Displays the list of the break points specified.

    Breakpoint Conditions Specifies the break conditions.

    Tools The following table lists the tools menu options with their description.

    Menu Description

    Network Manager Shows the PLC network and specifies the parameter.

    Start/End Simulator Starts or ends the simulator.

    Customize Enables to set tools and options.

    Shortcut Settings User specifies the shortcut keys.

    Options Enables to customize the SoftMaster environment as per the user preference.

    Create Host ID This creates the host ID file. Host ID is required to get the license.

    Window

    The following table lists the window menu options with their description.

    Menu Description

    New Window Opens a new window on the active window.

    Split Splits the Project window.

  • 3. Basic application 3.1. SoftMaster user interface

    R200 SoftMaster User's Guide 45 January 2011 Honeywell

    Menu Description

    Cascade Arranges the several windows of SoftMaster in steps.

    Tile Horizontally Arranges the several windows of SoftMaster horizontally.

    Tile Vertically Arranges the several windows of SoftMaster vertically.

    Arrange Icons Arranges the icons of SoftMaster.

    Close All Closes all the windows of SoftMaster.

    Help

    The following table lists the help menu options with their description.

    Instruction Description

    SoftMaster Help Opens Help for SoftMaster application.

    Instruction Help Opens Help for PLC instructions.

    About SoftMaster Displays SoftMaster information.

    Tool bar SoftMaster provides shortcut icons for frequently used menus on the tool bar. Click the required tool to execute.

    Creating a custom tool bar Perform the following steps to create a custom tool bar.

    Step Action

    1 Click Tools > Customize.

    The Customize dialog box displays.

    Select the tool bars to show/hide.

  • 3. Basic application 3.1. SoftMaster user interface

    46 SoftMaster User's Guide R200 Honeywell January 2011

    Step Action

    2 Click New.

    The New Toolbar dialog box displays.

    3 Type a name for the new tool bar.

    4 Click OK to create a tool bar with no tools.

    Filling the tool box

    This menu is used to populate the tool box created with custom tools. Perform the following steps to fill the tool box.

    Step Action

    1 Select the Command tab on the Customize dialog box.

    2 Select the menus that you want as a part of the new tool bar.

    3 Click OK to create the new tool bar. Status display line

    As depicted in the following illustration, the Status Display line is used to display the following:

    Legend Description

    Tool tip of selected toolbar item

    Used to display the comment of the selected menu, instruction or mouse-positioned tool box.

    Name of the PLC

    Indicates the name of the selected PLC name. If a project has several PLCs, online-related instructions are applied to the PLC displayed here (Example: New PLC).

    PLC Mode display

    Used to display the PLC mode. If several PLCs are in a project, the selected PLC’s mode is displayed (Example: Run).

  • 3. Basic application 3.2. Edit functions

    R200 SoftMaster User's Guide 47 January 2011 Honeywell

    Legend Description

    Warning Display Indicates the error status in the PLC (Example: R1, Ethernet, OK).

    Cursor Position Indicates the cursor position when a program is edited (Example: Row 9, Column 5).

    Mode Indicates the insert mode or overwrite mode. Change view window

    All the windows (such as project window, result window, and so on.) available in view menu are composed of docking windows. Use the mouse to adjust the position and the size of the windows or to hide the windows.

    Change to open w