plc soft master ml200
TRANSCRIPT
-
7/24/2019 PLC Soft Master ML200
1/477
Honeywell Process Solutions
SoftMaster
User's Guide
ML200-SoftMaster
R200
January 2011
Release 200
Honeywell
-
7/24/2019 PLC Soft Master ML200
2/477
ii SoftMaster User's Guide R200Honeywell January 2011
Notices and Trademarks
Copyright 2011 by Honeywell International Srl.Release 200 January 2011
While this information is current in good faith and believed to be accurate, Honeywell disclaims theimplied warranties of merchantability and fitness for a particular purpose and makes no expresswarranties 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 TotalPlantare registered trademarks of HoneywellInternational 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
-
7/24/2019 PLC Soft Master ML200
3/477
R200 SoftMaster User's Guide iiiJanuary 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 DocumentID
ReleaseNumber
PublicationDate
SoftMaster User's Guide - ML200 ML200-SoftMaster
200 January2011
References
The following list identifies all documents that may be source of reference for material discussed
in this publication.
Document Title
2MLI CPUU Users Guide
-
7/24/2019 PLC Soft Master ML200
4/477
Support and Other Contacts
iv SoftMaster User's Guide R200Honeywell January 2011
Support and Other Contacts
United States and Canada
Contact:Phone:
Fascimile:Mail:
Honeywell Solution Support Center1-800-822-7673Calls are answered by dispatcher between 6:00 am and 4:00 pmMountain Standard Time. Emergency calls outside normal working hoursare received by an answering service and returned within one hour.1-973-455-5000Honeywell TAC, MS L17
1860 W. Garden LanePhoenix, AZ, 85027 USA
Europe, Middle East, and Africa (EMEA)
Contact:Phone:Fascimile:Mail:
Honeywell TAC-EMEA+32-2-728-2345+32-2-728-2696TAC-BE02Hermes PlazaHermeslaan, 1HB-1831 Diegem, Belgium
Pacific
Contact:Phone:
Fascimile:Mail:
Email:
Honeywell Global TAC Pacific1300-364-822 (toll free within Australia)+61-8-9362-9559 (outside Australia)+61-8-9362-9564Honeywell Limited Australia5 Kitchener WayBurswood 6100, Western [email protected]
India
Contact:Phone:Fascimile:Mail:
Email:
Honeywell Global TAC India+91-20- 6603-9400+91-20- 6603-9800Honeywell Automation India Ltd56 and 57, Hadapsar Industrial EstateHadapsar, Pune 411 013, [email protected]
-
7/24/2019 PLC Soft Master ML200
5/477
Support and Other Contacts
R200 SoftMaster User's Guide vJanuary 2011 Honeywell
Korea
Contact:Phone:Fascimile:Mail:
Email:
Honeywell Global TAC Korea+82-2-799-6317+82-2-792-9015Honeywell Co., Ltd4F, Sangam IT Tower1590, DMC Sangam-dong, Mapo-guSeoul, 121-836, [email protected]
Peoples Republic of China
Contact:Phone:
Mail:
Email:
Honeywell Global TAC China+86- 21-2219-6888800-820-0237400-820-0386Honeywell (China) Co., Ltd33/F, Tower A, City Center, 100 Zunyi Rd.Shanghai 200051, Peoples Republic of [email protected]
Singapore
Contact:Phone:Fascimile:
Mail:
Email:
Honeywell Global TAC South East Asia+65-6580-3500+65-6580-3501
+65-6445-3033Honeywell Private LimitedHoneywell Building17, Changi Business Park Central 1Singapore [email protected]
Taiwan
Contact:Phone:Fascimile:Mail:
Email:
Honeywell Global TAC Taiwan+886-7-536-2567+886-7-536-2039Honeywell Taiwan Ltd.17F-1, No. 260, Jhongshan 2nd Road.Cianjhen District
Kaohsiung, Taiwan, [email protected]
-
7/24/2019 PLC Soft Master ML200
6/477
Support and Other Contacts
vi SoftMaster User's Guide R200Honeywell January 2011
Japan
Contact:Phone:Fascimile:Mail:
Email:
Honeywell Global TAC Japan+81-3-6730-7160+81-3-6730-7228Honeywell Japan Inc.New Pier Takeshiba, South Tower Building,20th Floor, 1-16-1 Kaigan, Minato-ku,Tokyo 105-0022, [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/pshttp://www.honeywell.com/pshttp://www.automationcollege.com/http://www.automationcollege.com/http://www.automationcollege.com/http://www.honeywell.com/ps -
7/24/2019 PLC Soft Master ML200
7/477
Acronyms and Definitions
R200 SoftMaster User's Guide viiJanuary 2011 Honeywell
Acronyms and Definitions
Acronym/Term Definition
A/D Analog to Digital Conversion
BaseBase is the back plane of the PLC on which the powersupply, communication and other modules gets installedFor example: main base, expansion base.
BCD Binary coded decimal
Cold restart
This is one of the CPU restart modes which affects thevariable parameters of the I/O image area when the CPUis restarted. With the CPU restart mode set to cold restart,all the parameters (like the internal register, timer, andcounter) initialize to zero.
CPU Central processing unit
D/A Digital to analog conversion
Direct variable
Memory area which can be directly accessed with IECstandard addressing notations with or without any variablename. They are %I (input), %Q (output), and %M (internalflags and registers) variables.
Address Examples: %IX0.0.2, %QW1.2.1, and %MD1234
Dnet DeviceNet Network.
FEnet Fast Ethernet Network.
FO Fiber Optic
FunctionIs an operation unit that immediately outputs the operationresults for an input such as four arithmetical operationsand comparative operations.
Function block
Is an operation unit that memorizes the operation resultswithin the commands such as timer and counter or resultsderived from several scans. Function blocks are thefundamental element for logic programs. Function blockslike timer and counter have input and output connections
to indicate the flow.
HSL High-Speed Link Service in MasterLogic-200communication modules.
-
7/24/2019 PLC Soft Master ML200
8/477
Acronyms and Definitions
viii SoftMaster User's Guide R200Honeywell January 2011
Acronym/Term Definition
I/O Input/Output
I/O image areaInternal memory area of CPU module installed to maintainI/O states.
IEC International Electrotechnical Commission
Interrupt task
Interrupt driven task programs executed on meeting agiven condition, in addition, to regular scan programs. Itconsists 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 configurea system, such as the I/O board assembled to be insertedinto the base motherboard.
For example: CPU module, power module, and I/Omodule.
MSB Most significant bit
O/S Operating system
P2P Point to point service in MasterLogic-200 communicationmodules
PAC Process automation controller
PLC Programmable logic controller
PLC systemA system consisting of a PLC, CPU, modules, andperipherals, configured to be controlled by a user
program.
Pnet Profibus-DP network.
-
7/24/2019 PLC Soft Master ML200
9/477
Acronyms and Definitions
R200 SoftMaster User's Guide ixJanuary 2011 Honeywell
Acronym/Term Definition
RAM Random access memory
RTCAs an abbreviation of real time clock, it is collectivelyreferred as a universal IC, with the function of a clock.
RTC Real time clock
Snet Serial link network.
SoftMasterProgramming tool for creating, editing, and debugging aprogram.
STP Shielded twisted pair
Symbolic variable
Named variables which are declared with a name, type,but address is automatically allocated in symbolic memoryarea (%A) by the CPU. For instance, named variablesdeclared as Valve1, Pump2 or Speed3 with any IECstandard data type.
TP Twisted pair cables (typically CAT5 cables with RJ45connectors for Ethernet communication)
UTP Unshield twisted pair
Warm restart
This is one of the CPU restart modes which affects thevariable parameters of the I/O image area when the CPUis restarted. When the CPU restart mode is set to warm
restart, all the parameters (like the internal register, timerand counter) retain the previous values.
Watchdog timerA timer to monitor pre-determined execution time of aprogram and to generate a warning, when it is notcomplete within the time.
-
7/24/2019 PLC Soft Master ML200
10/477
Symbol Definitions
x SoftMaster User's Guide R200Honeywell 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 specialconsideration.
TIP:Identifies advice or hints for the user, often in terms ofperforming a task.
REFERENCE -EXTERNAL:Identifies an additional source ofinformation outside of the bookset.
REFERENCE - INTERNAL:Identifies an additional source ofinformation within the bookset.
CAUTION Indicates a situation which, if not avoided, may result in equipmentor work (data) on the system being damaged or lost, or may result inthe inability to properly operate the process.
CAUTION: Indicates a potentially hazardous situation which, if notavoided, may result in minor or moderate injury. It may also be usedto alert against unsafe practices.
CAUTION symbol on the equipment refers the user to the productmanual for additional information. The symbol appears next torequired information in the manual.
WARNING: Indicates a potentially hazardous situation, which, if notavoided, could result in serious injury or death.
WARNING symbol on the equipment refers the user to the productmanual for additional information. The symbol appears next torequired information in the manual.
WARNING, Risk of electrical shock: Potential shock hazard whereHAZARDOUS LIVE voltages greater than 30 Vrms, 42.4 Vpeak, or60 VDC may be accessible.
-
7/24/2019 PLC Soft Master ML200
11/477
Symbol Definitions
R200 SoftMaster User's Guide xiJanuary 2011 Honeywell
Symbol Definition
ESD HAZARD:Danger of an electro-static discharge to whichequipment may be sensitive. Observe precautions for handlingelectrostatically sensitive devices.
Protective Earth (PE) terminal: Provided for connection of theprotective 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 thesource of supply in accordance with national local electrical coderequirements.
Earth Ground:Functional earth connection.
NOTE: This connection shall be bonded to Protective Earth at thesource of supply in accordance with national and local electricalcode requirements.
Chassis Ground: Identifies a connection to the chassis or frame ofthe equipment shall be bonded to Protective Earth at the source ofsupply in accordance with national and local electrical coderequirements.
-
7/24/2019 PLC Soft Master ML200
12/477
Symbol Definitions
xii SoftMaster User's Guide R200Honeywell January 2011
-
7/24/2019 PLC Soft Master ML200
13/477
R200 SoftMaster User's Guide xiiiJanuary 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 .................................................................. 31Verifying the USB device driver installation .......................................................................... 32
3. BASIC APPLICATION .................................................................35
3.1 SoftMaster user interface ............................................................................. 35Menu bar .............................................................................................................................. 36Tool bar ................................................................................................................................ 45Status display line ................................................................................................................ 46Change view window ........................................................................................................... 47
3.2 Edit functions ................................................................................................ 47
Cutpaste ............................................................................................................................. 47
Copypaste .......................................................................................................................... 47
Drag and drop ...................................................................................................................... 47Zooming in/zooming out ....................................................................................................... 48
3.3 Shortcut keys................................................................................................. 49Configuring shortcut keys ..................................................................................................... 49Shortcut keys ....................................................................................................................... 49
3.4 Customizing SoftMaster ............................................................................... 51Configuring SoftMaster options ............................................................................................ 52Configuring LD option .......................................................................................................... 57Configuring SFC option ........................................................................................................ 58Configuring ST option .......................................................................................................... 60
4.
PROJECT CONFIGURATION ......................................................63
4.1 Overview of project configuration ............................................................... 63Project configuration window ................................................................................................ 63
-
7/24/2019 PLC Soft Master ML200
14/477
ContentsSymbol Definitions
xiv SoftMaster User's Guide R200Honeywell January 2011
4.2 Project management ..................................................................................... 65Creating a new project ........................................................................................................ 65Opening the project ............................................................................................................. 66Opening a project from PLC ................................................................................................ 66Saving a project................................................................................................................... 66Saving project as ................................................................................................................. 67
4.3 Project item .................................................................................................... 68Add item .............................................................................................................................. 68Adding a program ................................................................................................................ 72Exporting to file .................................................................................................................... 72Importing from file ................................................................................................................ 75Changing program execution sequence .............................................................................. 79
Comparing projects ............................................................................................................. 80
4.4 Project password ........................................................................................... 81Setting project password ..................................................................................................... 81Deleting password ............................................................................................................... 82
5.
VARIABLES ................................................................................ 83
5.1 Overview of variables .................................................................................... 83
5.2 Global/direct variable .................................................................................... 83Global variable .................................................................................................................... 83Direct variable comments .................................................................................................... 84Flag ..................................................................................................................................... 84
5.3
Global/direct variable edit ............................................................................. 86
Global/direct variable registration ........................................................................................ 86
Copy, cut, delete, and paste ................................................................................................ 88Changing variable name ..................................................................................................... 93Insert line ............................................................................................................................. 93Delete line ........................................................................................................................... 94Drag and drop ..................................................................................................................... 94Export to file ........................................................................................................................ 95Preview ............................................................................................................................... 95Print ..................................................................................................................................... 96Other functions .................................................................................................................... 96
5.4 Local variable ................................................................................................. 97Local variable registration ................................................................................................... 97Editing a local variable ........................................................................................................ 97
5.5
Function block variable............................................................................... 100
FB variable ........................................................................................................................ 100FB variable edit ................................................................................................................. 100FB variable registration ..................................................................................................... 100
-
7/24/2019 PLC Soft Master ML200
15/477
ContentsSymbol Definitions
R200 SoftMaster User's Guide xvJanuary 2011 Honeywell
5.6 FUNCTION variable ..................................................................................... 103FUN variable ...................................................................................................................... 103FUN variable edit ............................................................................................................... 103FUN variable registration.................................................................................................... 103
5.7 Editing variables.......................................................................................... 105Variable registration ........................................................................................................... 105
5.8 User-defined function/function block ....................................................... 107Creating user-defined function/function block program ...................................................... 108Creating user-defined function/function block I/O variable ................................................. 109User-defined function/function block programming ............................................................ 110Using user-defined function/function blocks ....................................................................... 111
6. LD EDIT ...................................................................................... 113
6.1 Overview ...................................................................................................... 113
6.2 Limits ............................................................................................................ 113
6.3 Program edit ................................................................................................ 114Edit tools ............................................................................................................................ 114Input contact point .............................................................................................................. 116Input OR contact point ....................................................................................................... 117Entering variable/address................................................................................................... 118Inserting lines ..................................................................................................................... 121Inserting coil ....................................................................................................................... 121Inserting a function block ................................................................................................... 122
Favorite function block ....................................................................................................... 124
Entering comments ............................................................................................................ 127
Input label........................................................................................................................... 129Insert extension function .................................................................................................... 130Insert cell ............................................................................................................................ 131Insert line............................................................................................................................ 131Delete item ......................................................................................................................... 132Delete cell .......................................................................................................................... 132Delete line .......................................................................................................................... 133Copy/cut/paste ................................................................................................................... 133Undo and redo ................................................................................................................... 134Program edit mode ............................................................................................................. 135
6.4 Viewing program options ........................................................................... 138View IL program ................................................................................................................. 138
Program magnification change ........................................................................................... 138
View address ...................................................................................................................... 139
View variables .................................................................................................................... 139View address/variables ...................................................................................................... 140View address/comment ...................................................................................................... 140
-
7/24/2019 PLC Soft Master ML200
16/477
ContentsSymbol Definitions
xvi SoftMaster User's Guide R200Honeywell January 2011
View variables/comments .................................................................................................. 140Adjust number of contact point .......................................................................................... 141LD view properties ............................................................................................................. 142
6.5 Additional edit function............................................................................... 143Optimize program .............................................................................................................. 143Block mask instruction ....................................................................................................... 144Bookmark .......................................................................................................................... 145Go to ................................................................................................................................. 148
7. SFC EDIT ................................................................................... 153
7.1 Overview ....................................................................................................... 153
7.2 SFC program limitations ............................................................................. 153
7.3 Program edit ................................................................................................. 154Edit tools ........................................................................................................................... 154Input step/transition ........................................................................................................... 155Input action ........................................................................................................................ 157Input block/transition ......................................................................................................... 158Input label .......................................................................................................................... 158Input jump ......................................................................................................................... 159Create left branch .............................................................................................................. 160Create right branch ............................................................................................................ 162Edit step property .............................................................................................................. 164Transition property ............................................................................................................ 165
Action property .................................................................................................................. 166
Edit block property ............................................................................................................. 168Edit label property ............................................................................................................. 169
Jump property ................................................................................................................... 169Set branch priority ............................................................................................................. 170Erase branch priority ......................................................................................................... 171Delete item ........................................................................................................................ 171Copy/cut/paste .................................................................................................................. 172Cut/paste ........................................................................................................................... 173Undo and redo................................................................................................................... 173Program edit mode ............................................................................................................ 175
7.4 View program ............................................................................................... 175Program zoom in/out ......................................................................................................... 175SFC property ..................................................................................................................... 175View block/action/transition list .......................................................................................... 182
Open action/transition ....................................................................................................... 183Address/variables .............................................................................................................. 183
Address/comments ............................................................................................................ 183Adjust contact number ....................................................................................................... 184
-
7/24/2019 PLC Soft Master ML200
17/477
ContentsSymbol Definitions
R200 SoftMaster User's Guide xviiJanuary 2011 Honeywell
7.5 Edit additional function .............................................................................. 185Bookmark setting ............................................................................................................... 185Go to .................................................................................................................................. 185
8. PROGRAMMING ........................................................................ 187
8.1 Cross reference ........................................................................................... 187View all addresses ............................................................................................................. 187Data sorting ........................................................................................................................ 188Output cross reference instantly ......................................................................................... 189Check duplicate coil instantly ............................................................................................. 190
8.2 Used address ............................................................................................... 191Viewing used address ........................................................................................................ 191
View address uses ............................................................................................................. 192
8.3 Check program ............................................................................................ 193Check program setting ....................................................................................................... 193Check result trace .............................................................................................................. 195Logic error .......................................................................................................................... 195Grammar error ................................................................................................................... 200
9.
FIND/REPLACE ......................................................................... 213
9.1 Find address ................................................................................................ 213Find next address ............................................................................................................... 214Find all address .................................................................................................................. 215
9.2
Find text ....................................................................................................... 216
Finding text ......................................................................................................................... 216Find all text ......................................................................................................................... 218
9.3 Address replacement .................................................................................. 219Replace address ................................................................................................................ 219Replace all addresses ........................................................................................................ 221
9.4 Text replacement ......................................................................................... 223Replace text string ............................................................................................................. 223Replace all string ................................................................................................................ 225
9.5 Find again .................................................................................................... 225
10.
PARAMETERS ........................................................................... 227
10.1 Basic parameter ....................................................................................... 227Basic parameter setting ..................................................................................................... 227
-
7/24/2019 PLC Soft Master ML200
18/477
ContentsSymbol Definitions
xviii SoftMaster User's Guide R200Honeywell January 2011
10.2 I/O parameters .......................................................................................... 232Setting I/O parameters ...................................................................................................... 232Base module setup ............................................................................................................ 234Module information setting based on slots ........................................................................ 235I/O parameter edit function ................................................................................................ 235Detailed module information setting .................................................................................. 237I/O parameter print function ............................................................................................... 245
11. ONLINE...................................................................................... 247
11.1 Connection options for the PLC ............................................................. 247Local connection setting .................................................................................................... 247
Using the local RS-232C ................................................................................................... 248
Using the local USB .......................................................................................................... 249
Remote 1 connect setting .................................................................................................. 249Remote 2 connect setting .................................................................................................. 251
11.2 Online functions ....................................................................................... 252Connect ............................................................................................................................. 252Write .................................................................................................................................. 254Read .................................................................................................................................. 255Change mode .................................................................................................................... 255Compare with PLC ............................................................................................................ 256Reset PLC ......................................................................................................................... 257Clearing PLC data ............................................................................................................. 257PLC information ................................................................................................................. 258Password .......................................................................................................................... 259
PLC history ........................................................................................................................ 262
PLC error/warning ............................................................................................................. 265
Flash memory setting ........................................................................................................ 265Force I/O setting ................................................................................................................ 266Force I/O setting ................................................................................................................ 268Forced I/O cancel .............................................................................................................. 269Skip I/O setting .................................................................................................................. 270Fault mask ......................................................................................................................... 273
11.3 Module changing wizard ......................................................................... 275
12.
MONITORING ............................................................................ 279
12.1 Monitoring ................................................................................................. 279Start/stop monitoring ......................................................................................................... 279
Change current value ........................................................................................................ 279
Pause/restart monitoring ................................................................................................... 281Pausing conditions ............................................................................................................ 282
12.2 LD program monitoring ........................................................................... 284
-
7/24/2019 PLC Soft Master ML200
19/477
ContentsSymbol Definitions
R200 SoftMaster User's Guide xixJanuary 2011 Honeywell
Start/stop monitoring .......................................................................................................... 285
12.3 Variable monitoring ................................................................................. 286Registering variable/comment ............................................................................................ 287Register all ......................................................................................................................... 288Register by user ................................................................................................................. 289Drag and drop register from other windows ....................................................................... 289View detailed/briefly ........................................................................................................... 291Monitoring operations ......................................................................................................... 294Find .................................................................................................................................... 295Print .................................................................................................................................... 295
Alignment ........................................................................................................................... 295
12.4 System monitoring .................................................................................. 296
Basic application ................................................................................................................ 296
Connect/disconnect ............................................................................................................ 298System synchronization ..................................................................................................... 298
All I/O modules ON/OFF .................................................................................................... 299Selected I/O modules ON/OFF .......................................................................................... 299Change current value ......................................................................................................... 300Information display of power module .................................................................................. 300Information display of CPU module .................................................................................... 301Information display of communication module ................................................................... 302Viewing information of special modules ............................................................................. 302Start/stop monitoring .......................................................................................................... 303Special module monitoring ................................................................................................. 303Save ................................................................................................................................... 304Open .................................................................................................................................. 304Navigate base .................................................................................................................... 305Print preview ...................................................................................................................... 305
12.5 Address monitoring ................................................................................ 306Basic application ................................................................................................................ 306
Address areas .................................................................................................................... 307Data format and display items ............................................................................................ 307Edit data ............................................................................................................................. 308Save address ..................................................................................................................... 309Open address ..................................................................................................................... 309Data value setting .............................................................................................................. 310Clear data........................................................................................................................... 311Write to PLC ....................................................................................................................... 311Read from PLC .................................................................................................................. 312Write selected area on PLC ............................................................................................... 313Start/stop monitoring .......................................................................................................... 313Change current value ......................................................................................................... 314
PLC type settings ............................................................................................................... 315Screen zoom-in/zoom-out .................................................................................................. 315
Automatic width/height adjustment ..................................................................................... 315
-
7/24/2019 PLC Soft Master ML200
20/477
ContentsSymbol Definitions
xx SoftMaster User's Guide R200Honeywell January 2011
View properties .................................................................................................................. 316Page setting ...................................................................................................................... 316
12.6 Special module monitoring ..................................................................... 317
12.7 Trend monitoring ..................................................................................... 318Configuring trend monitoring ............................................................................................. 318Start trend monitoring ........................................................................................................ 320Setting trend graph ............................................................................................................ 322Setting graph ..................................................................................................................... 323Setting graph window ........................................................................................................ 325Graph function ................................................................................................................... 326Scroll synchronization ....................................................................................................... 326
12.8
Data traces ................................................................................................ 330Connecting to PLC ............................................................................................................ 332
Trace setting...................................................................................................................... 332Graph settings ................................................................................................................... 335Trace ................................................................................................................................. 337
Animation .......................................................................................................................... 338Graph function ................................................................................................................... 339File function ....................................................................................................................... 339View function ..................................................................................................................... 341
12.9 Custom events ......................................................................................... 343Overview of custom events ............................................................................................... 343Event setting...................................................................................................................... 344
Adding custom event item ................................................................................................. 345Event history...................................................................................................................... 350
13. DEBUGGING ............................................................................. 355
13.1 Start/stop debugging ............................................................................... 355Start debugging ................................................................................................................. 355Stop debugging ................................................................................................................. 355
13.2 LD program debugging ........................................................................... 356Set remove breakpoints .................................................................................................... 356Go ..................................................................................................................................... 357Go to cursor....................................................................................................................... 358Step into, step out and step over functions ....................................................................... 359
13.3 List of break points .................................................................................. 362
13.4
Variable break ........................................................................................... 363Setting variable break ........................................................................................................ 363
13.5 Scan break ................................................................................................ 365Scan break run .................................................................................................................. 366
-
7/24/2019 PLC Soft Master ML200
21/477
ContentsSymbol Definitions
R200 SoftMaster User's Guide xxiJanuary 2011 Honeywell
14.
ONLINE EDITING ....................................................................... 367
14.1 Online editing sequence ......................................................................... 367Open project ....................................................................................................................... 368Connect .............................................................................................................................. 368Start monitoring .................................................................................................................. 368Start online editing ............................................................................................................. 368Edit ..................................................................................................................................... 369Write modified program ...................................................................................................... 369End online editing ............................................................................................................... 369
15. PRINTING ................................................................................... 371
15.1
Print project.............................................................................................. 371
Printing a project ................................................................................................................ 371Print setting ........................................................................................................................ 372Page setup ......................................................................................................................... 372Header/footer setting .......................................................................................................... 374Cover setup ........................................................................................................................ 375
15.2 LD program print ..................................................................................... 378Print setting ........................................................................................................................ 378Print 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 ............................................................................................... 387System configuration for execution of SoftMaster-SIM ...................................................... 387Starting SoftMaster-SIM ..................................................................................................... 388
17.2
Program window configuration .............................................................. 391
Configuring the program window ........................................................................................ 391Channel list ........................................................................................................................ 392Channel monitor ................................................................................................................. 393
-
7/24/2019 PLC Soft Master ML200
22/477
ContentsSymbol Definitions
xxii SoftMaster User's Guide R200Honeywell January 2011
I/O condition ...................................................................................................................... 394I/O condition monitor ......................................................................................................... 406Module simulation ............................................................................................................. 407Digital I/O module .............................................................................................................. 409
Analog output module (D/A conversion module) ............................................................... 410High-speed counter module (HSC Module) ....................................................................... 412RTD module ...................................................................................................................... 413
Advanced positioning module (APM module) .................................................................... 414
17.3 Limitations ................................................................................................ 421Watchdog timer ................................................................................................................. 421Communication module ..................................................................................................... 421
18.
ST EDITION ............................................................................... 423
18.1 Writing ST program .................................................................................. 423Adding scan program ........................................................................................................ 423Adding user function/function block ................................................................................... 423Adding SFC transition, action ............................................................................................ 423
18.2 Limit ........................................................................................................... 425
18.3 Editing program ....................................................................................... 425Shortcut keys..................................................................................................................... 425Copy/paste ........................................................................................................................ 426Undo/redo ......................................................................................................................... 426
Adding/selecting variable .................................................................................................. 427Inserting function/function block ........................................................................................ 428
18.4
Viewing program ...................................................................................... 430
ST option ........................................................................................................................... 430Font/color .......................................................................................................................... 431Zoom ................................................................................................................................. 431Tab .................................................................................................................................... 431Showing line numbers ....................................................................................................... 432
18.5 Additional edit functions ......................................................................... 433Book mark ......................................................................................................................... 433Selection from character string list .................................................................................... 434Selecting member variable from character string list ......................................................... 436Setting/removing block mask ............................................................................................ 436Setting/removing line block mask ...................................................................................... 438Indent/outdent ................................................................................................................... 439
19. EVENT INPUT MODULE ........................................................... 441
19.1 Overview ................................................................................................... 441
-
7/24/2019 PLC Soft Master ML200
23/477
ContentsSymbol Definitions
R200 SoftMaster User's Guide xxiiiJanuary 2011 Honeywell
Characteristics of SOE monitor .......................................................................................... 441Functions of the SOE monitor ............................................................................................ 441Files created in the SOE monitor ....................................................................................... 442
19.2 Screen configuration ............................................................................... 442Menu structure ................................................................................................................... 443Tools .................................................................................................................................. 445SOE event history window ................................................................................................. 446Status bar ........................................................................................................................... 446
19.3 Basic parameter setting .......................................................................... 447Setting items ...................................................................................................................... 447
19.4 I/O parameter setting ............................................................................... 447
Setting item ........................................................................................................................ 447Chatter setting .................................................................................................................... 450
19.5 View module information ........................................................................ 452
19.6 Event history monitor ............................................................................. 452Example of event filter ........................................................................................................ 454Prioritizing events .............................................................................................................. 454Comparing events .............................................................................................................. 456Deleting 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 ................................................................................ 463Change of master CPU ...................................................................................................... 463Standby CPU control .......................................................................................................... 464
20.4 System monitoring .................................................................................. 465System configuration ......................................................................................................... 465Node count change ............................................................................................................ 466Base information ............................................................................................................... 467Base changing wizard ........................................................................................................ 470
-
7/24/2019 PLC Soft Master ML200
24/477
ContentsSymbol Definitions
xxiv SoftMaster User's Guide R200Honeywell January 2011
-
7/24/2019 PLC Soft Master ML200
25/477
R200 SoftMaster User's Guide 25January 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 suchas 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.
-
7/24/2019 PLC Soft Master ML200
26/477
1. Introduction1.1. Features of SoftMaster
26 SoftMaster User's Guide R200Honeywell 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 aspecific address.
Module Changing Wizard
Easy and safe change of module during PLC RUN.
-
7/24/2019 PLC Soft Master ML200
27/477
1. Introduction1.2. System requirements
R200 SoftMaster User's Guide 27January 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 higherresolution
Operating System Compatible with Windows XP/Vista/7
ATTENTION
It is recommended to install SoftMaster on Windows XP or Windows Vista orWindows 7.
-
7/24/2019 PLC Soft Master ML200
28/477
1. Introduction1.2. System requirements
28 SoftMaster User's Guide R200Honeywell January 2011
-
7/24/2019 PLC Soft Master ML200
29/477
R200 SoftMaster User's Guide 29January 2011 Honeywell
2. Installation
2.1 Installing SoftMaster
To install SoftMaster, perform the following steps:
Step Action
1 Double-click the SoftMaster.exefile from the location to execute theinstallation.
Installation wizard displays and prepares for installation.
2 Click Next.The Customer Informationpage appears.
3 Type the User Nameand name of the Organization.
4 Click Next. The Destination Folderpage appears.
In this page, you can either install in default location or specify the location toinstall SoftMaster. Click Changeto install in different location. Youcanbrowse and select the required location.
-
7/24/2019 PLC Soft Master ML200
30/477
2. Installation2.1. Installing SoftMaster
30 SoftMaster User's Guide R200Honeywell January 2011
Step Action
5 Click Next. The Ready to Install Programpage displays.
Note: SoftMaster needs 30 MB of free disk space. In case of inadequate freespace, you are prompted to select a disk with enough capacity.
6 Click Installto begin installation. The status bar displays the progress of theinstallation.
All the program features selected are installed. Once the SoftMaster issuccessfully installed, the InstallShield Wizard Completedpage displays.
7 Click Finishto exit from the wizard.
-
7/24/2019 PLC Soft Master ML200
31/477
2. Installation2.2. Installing the USB device driver
R200 SoftMaster User's Guide 31January 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 Driverssub-folder is created under thefolder where SoftMaster is installed and there are two driver files,GmUSBD.sys and GmUSBD.inf in the Driversfolder. If there is no folder ordriver 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 Wizarddialogbox appears.
2 Click Install from a list or specific location (Advanced) option and thenclick Next.
The Search and Installation page displays.
3 Select Search for the best driver in these locations and Include this location inthe search options.
-
7/24/2019 PLC Soft Master ML200
32/477
2. Installation2.2. Installing the USB device driver
32 SoftMaster User's Guide R200Honeywell January 2011
Step Action
4 Click Browse. The Browse For Folderdialog box displays, select Driversfolder 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 toinstall the selected device driver. Since, USB device driver operates stablybased on Windows OS, click Continue Anyway.
Once the device driver is installed completely, the Installation Completepage displays.
7 Click Finishto exit from the wizard.
Verifying the USB device driver installation
If USB connection is not available, check the installation status of the device driver asfollows:
Step Action
1 On the desktop, right-click My Computerand click Manage.
The Computer Managementwindow appears.
2 In the left pane, choose Computer Management(Local) >System Tools >Device Manager. The items displayed in the right pane may be differentaccording to the devices installed on the computer.
-
7/24/2019 PLC Soft Master ML200
33/477
2. Installation2.2. Installing the USB device driver
R200 SoftMaster User's Guide 33January 2011 Honeywell
Normal case
If the USB device driver for MasterLogic 200 PLC is installed successfully, theHoneywell MasterLogic Seriesitem appears under Universal Serial Bus Controllerasshown 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 Controlleras shown in the following
figure.
-
7/24/2019 PLC Soft Master ML200
34/477
2. Installation2.2. Installing the USB device driver
34 SoftMaster User's Guide R200Honeywell 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 Driverfrom the contextmenu.
2 The Found New Hardware Wizarddisplays.
Click Installation from a list or specific location (Advanced)option andthen click Next. Then, follow the same steps as in section Installing the USBdevice driver.
-
7/24/2019 PLC Soft Master ML200
35/477
R200 SoftMaster User's Guide 35January 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 Menubar: It is the basic menu bar of SoftMaster.
B Toolbar: The toolbar below the menu bar contains buttons andcommands to access frequently used tasks.
-
7/24/2019 PLC Soft Master ML200
36/477
3. Basic application3.1. SoftMaster user interface
36 SoftMaster User's Guide R200Honeywell January 2011
UI area Description
C Projectwindow: Displays the components of the currently openproject.
D VariableMonitoringwindow: Used to register and monitorvariables.
E Status bar: Display the status of SoftMaster, the information of theconnected 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 selectan 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 storedin PLC.
Save Project Saves the project.
Save As Enables you to save the project with adifferent 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.
-
7/24/2019 PLC Soft Master ML200
37/477
3. Basic application3.1. SoftMaster user interface
R200 SoftMaster User's Guide 37January 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 fromFile
PLC Imports the PLC program from the file.
GlobalVariables/Address
Imports global variables/address from thefile.
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 projectwindow into the file.
Save Variable Names to File Saves variable names to a file.
Compare Projects Compares two projects stored in the PCand displays its result.
Print Prints the active windows 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 EditWindow to recover its previous status.
Redo Recovers the edit cancelled using Undo.
-
7/24/2019 PLC Soft Master ML200
38/477
3. Basic application3.1. SoftMaster user interface
38 SoftMaster User's Guide R200Honeywell January 2011
Menu option Description
Cut Copies the selected block to clipboardand deletes the block.
Copy Copies the selected block to theclipboard.
Paste Copies from the clipboard and pastes onthe 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 insertmode.
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 cursorposition.
Delete Cell Deletes a cell from the cursor position.
Register Special/Communication ModuleVariables
Registers special module variables inglobal variables list and deletes previous
list.
Optimize Program Optimizes the program automatically.
Insert Comment/Label Inserts a comment or label in the cursorposition.
Set Block Mask Sets cursor-positioned rung or specifiedblock area block mask in rung unit.
Remove Block Mask Removes cursor-positioned rung orspecified 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.
-
7/24/2019 PLC Soft Master ML200
39/477
3. Basic application3.1. SoftMaster user interface
R200 SoftMaster User's Guide 39January 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 thevariable name.
Replace Address Replaces variable address with anotheraddress.
Replace Text Replaces variable name with some othertext.
Find Again Searches again.
Go To Step/line Moves the cursor to the position of aspecific step/line.
Rung comment Moves the cursor to the position of aspecific rung comment.
Label Moves the cursor to the position of aspecific label.
END command Moves the cursor to the position of ENDcommand.
Previous Message Moves from the current message windowto the previous message window.
Next Message Moves from the current message windowto the next message window.
-
7/24/2019 PLC Soft Master ML200
40/477
3. Basic application3.1. SoftMaster user interface
40 SoftMaster User's Guide R200Honeywell 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 monitorwindow.
Instruction Window Shows or hides the instruction window.
Cross Reference Displays the used-memory informationon the message windows CrossReference tab.
Used Address Lists all the memory addresses which areused in the program.
Check Program Checks the program and displays itsresult on the message windows CheckProgram tab.
Variables Displays the variable name in theprogram.
Address Indicates the memory address.
Flags Indicates default system defined flags.
Address/Variables Displays the address and the variable inthe program.
Address/Comments Displays the address and the comment inthe program.
Variables/Comments Displays the variable and the comment inthe program.
Zoom-In Magnifies the window.
Zoom-Out Reduces the window.
Resize Width Automatically adjusts the cell width to thestring width in the variable/commentwindow.
-
7/24/2019 PLC Soft Master ML200
41/477
3. Basic application3.1. SoftMaster user interface
R200 SoftMaster User's Guide 41January 2011 Honeywell
Menu Description
Resize Height Automatically adjusts the cell heightapplicably to the string height in the LD orvariable/comment window.
Full Screen Enlarges the program window orvariable/comment window applicably tothe whole screen.
Properties Displays the registered information of theselected item on the project window.
LD Properties Displays the LD properties in theprogram.
Change Columns Increase or decrease the columns in theprogram screen.
Open Local Variables Converts from the program screen to thelocal variable screen.
Open User Function Opens the user-defined program.
Open Program Converts from the local variable screento 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 inPLC.
-
7/24/2019 PLC Soft Master ML200
42/477
3. Basic application3.1. SoftMaster user interface
42 SoftMaster User's Guide R200Honeywell January 2011
Menu Description
Set Flash Memory Copies the program into PLC flash memory ifenabled.
Reset PLC Resets PLC.
Clear PLC Deletes parameter/program/comment saved inPLC.
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/Osetting.
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 themodules.
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 editedprogram online when the PLC is running. Themodified program gets activated online.
End Online Editing This ends the online editing session and theprogram comes back to normal operation.
-
7/24/2019 PLC Soft Master ML200
43/477
3. Basic application3.1. SoftMaster user interface
R200 SoftMaster User's Guide 43January 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 monitortemporary stop.
Change Current Value Specifies the address value beingmonitored.
System Monitoring Executes the system monitor.
Address Monitoring Execute the address monitor windowwhich 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 inputmodules.
Custom Events Specifies the custom events.
Data Traces Specifies the address to monitor thechange 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/StopDebugging.
Go Runs to the break point.
-
7/24/2019 PLC Soft Master ML200
44/477
3. Basic application3.1. SoftMaster user interface
44 SoftMaster User's Guide R200Honeywell 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 pointsspecified.
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 specifiesthe 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 SoftMasterenvironment as per the user preference.
Create Host ID This creates the host ID file. Host ID isrequired 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 activewindow.
Split Splits the Project window.
-
7/24/2019 PLC Soft Master ML200
45/477
3. Basic application3.1. SoftMaster user interface
R200 SoftMaster User's Guide 45January 2011 Honeywell
Menu Description
Cascade Arranges the several windows ofSoftMaster in steps.
Tile Horizontally Arranges the several windows ofSoftMaster horizontally.
Tile Vertically Arranges the several windows ofSoftMaster 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 Customizedialog box displays.
Select the tool bars to show/hide.
-
7/24/2019 PLC Soft Master ML200
46/477
3. Basic application3.1. SoftMaster user interface
46 SoftMaster User's Guide R200Honeywell January 2011
Step Action
2 Click New.
The New Toolbardialog box displays.
3 Type a name for the new tool bar.
4 Click OKto 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 Commandtab 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 follow