Académique Documents
Professionnel Documents
Culture Documents
SoftMaster
User's Guide
ML200-SoftMaster
R200
January 2011
Release 200
Honeywell
ii
R200
January 2011
Release Information
Document Name
Document
ID
Release
Number
Publication
Date
ML200SoftMaster
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 Users Guide
R200
January 2011
iii
Fascimile:
Mail:
Honeywell TAC-EMEA
+32-2-728-2345
+32-2-728-2696
TAC-BE02
Hermes Plaza
Hermeslaan, 1H
B-1831 Diegem, Belgium
Contact:
Phone:
Pacific
Fascimile:
Mail:
Email:
India
Contact:
Phone:
Fascimile:
Mail:
Email:
iv
R200
January 2011
Korea
Contact:
Phone:
Fascimile:
Mail:
Email:
Singapore
Contact:
Phone:
Fascimile:
Mail:
Email:
Taiwan
Contact:
Phone:
Fascimile:
Mail:
Email:
R200
January 2011
Japan
Contact:
Phone:
Fascimile:
Mail:
Email:
Elsewhere
Call your nearest Honeywell office.
Training Classes
Honeywell Automation College:
http://www.automationcollege.com
vi
R200
January 2011
Definition
A/D
Base
BCD
Cold restart
CPU
D/A
Direct variable
Dnet
DeviceNet Network.
FEnet
FO
Fiber Optic
Function
Function block
HSL
R200
January 2011
vii
Acronym/Term
Definition
I/O
Input/Output
IEC
Interrupt task
KB
Kilo bytes
KStep
Kilo steps
LSB
MB
Mega bytes
ML-200
MasterLogic-200
Module
viii
MSB
O/S
Operating system
P2P
PAC
PLC
PLC system
Pnet
Profibus-DP network.
R200
January 2011
Acronym/Term
Definition
RAM
RTC
RTC
Snet
SoftMaster
STP
Symbolic variable
TP
UTP
Warm restart
Watchdog timer
R200
January 2011
ix
Symbol Definitions
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
R200
January 2011
Symbol Definitions
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.
R200
January 2011
xi
Symbol Definitions
xii
R200
January 2011
Contents
1.
INTRODUCTION ..........................................................................25
1.1
1.2
2.
INSTALLATION ...........................................................................29
2.1
2.2
3.
3.2
3.3
Shortcut keys................................................................................................. 49
3.4
4.
R200
January 2011
xiii
Contents
Symbol Definitions
4.2
4.3
4.4
5.
VARIABLES ................................................................................ 83
5.1
5.2
5.3
5.4
5.5
xiv
R200
January 2011
Contents
Symbol Definitions
5.6
5.7
5.8
6.
LD EDIT ......................................................................................113
6.1
6.2
6.3
6.4
R200
January 2011
xv
Contents
Symbol Definitions
6.5
7.
Overview .......................................................................................................153
7.2
7.3
7.4
xvi
R200
January 2011
Contents
Symbol Definitions
7.5
8.
PROGRAMMING ........................................................................187
8.1
8.2
8.3
9.
FIND/REPLACE .........................................................................213
9.1
9.2
9.3
9.4
9.5
10.
PARAMETERS ...........................................................................227
10.1
R200
January 2011
xvii
Contents
Symbol Definitions
10.2
11.
ONLINE...................................................................................... 247
11.1
11.2
11.3
12.
12.1
Monitoring .................................................................................................279
12.2
xviii
R200
January 2011
Contents
Symbol Definitions
12.3
12.4
12.5
R200
January 2011
xix
Contents
Symbol Definitions
12.6
12.7
12.8
12.9
13.
13.1
13.2
13.3
13.4
13.5
xx
R200
January 2011
Contents
Symbol Definitions
14.
14.1
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
15.2
16.
16.1
16.2
16.3
16.4
16.5
17.
17.1
17.2
R200
January 2011
xxi
Contents
Symbol Definitions
17.3
Limitations ................................................................................................421
18.
18.1
Writing ST program..................................................................................423
18.2
Limit ...........................................................................................................425
18.3
18.4
18.5
19.
19.1
xxii
R200
January 2011
Contents
Symbol Definitions
19.2
19.3
19.4
19.5
19.6
19.7
20.
20.1
20.2
20.3
20.4
R200
January 2011
xxiii
Contents
Symbol Definitions
xxiv
R200
January 2011
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
Shortcut Keys
Message Windows
Easy and convenient editing with Drag and Drop function on most editors such
as Project, Variable/Comment, LD Edit, Variable Monitor, and so on.
Edit option is available through View Variable, View Address, and View Flag.
R200
January 2011
25
1. Introduction
1.1. Features of SoftMaster
Monitoring Functions
Logging and reading data available if user-defined conditions are met for a
specific address.
26
Custom Events
R200
January 2011
1. Introduction
1.2. System requirements
1.2
System requirements
The following are the system requirements of SoftMaster.
Item
Specification
COM port
Hard disk
Monitor
Operating System
ATTENTION
It is recommended to install SoftMaster on Windows XP or Windows Vista or
Windows 7.
R200
January 2011
27
1. Introduction
1.2. System requirements
28
R200
January 2011
2. Installation
2.1
Installing SoftMaster
To install SoftMaster, perform the following steps:
Step
1
Action
Double-click the SoftMaster.exe file from the location to execute the
installation.
Installation wizard displays and prepares for installation.
R200
January 2011
29
2. Installation
2.1. Installing SoftMaster
Step
5
Action
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.
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.
30
R200
January 2011
2. Installation
2.2. Installing the USB device driver
2.2
Action
Turn PLC power ON and connect USB device to the PC.
If the connection is established, the Found New Hardware Wizard dialog
box appears.
Click Install from a list or specific location (Advanced) option and then
click Next.
The Search and Installation page displays.
R200
January 2011
Select Search for the best driver in these locations and Include this location in
the search options.
SoftMaster User's Guide
Honeywell
31
2. Installation
2.2. Installing the USB device driver
Step
Action
Click Browse. The Browse For Folder dialog box displays, select Drivers
folder where SoftMaster is installed.
Click OK. Then, the system searches for the driver files in the selected folder.
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.
Action
On the desktop, right-click My Computer and click Manage.
The Computer Management window appears.
32
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.
R200
January 2011
2. Installation
2.2. Installing the USB device driver
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.
R200
January 2011
33
2. Installation
2.2. Installing the USB device driver
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
Right-click the device driver item and click Update Driver from the context
menu.
34
R200
January 2011
3. Basic application
3.1
UI area
Description
Tool bar: The toolbar below the menu bar contains buttons and
commands to access frequently used tasks.
R200
January 2011
35
3. Basic application
3.1. SoftMaster user interface
UI area
Description
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
New Project
Open Project
Save Project
Save As
Close Project
Add Item
36
Description
PLC
Task
Program
Function
R200
January 2011
3. Basic application
3.1. SoftMaster user interface
Menu option
Description
Function Block
Data type
PLC
Global
Variables/Address
Program
I/O parameter
Basic parameter
Function/FB
Export to File
Compare Projects
Preview
Print Project
Print Setup
Exit
Edit
The following table lists the edit menu options with their description.
Menu option
Description
Undo
Redo
R200
January 2011
37
3. Basic application
3.1. SoftMaster user interface
Menu option
38
Description
Cut
Copy
Paste
Delete
Select All
Insert Mode
Insert Line
Delete Line
Insert Cell
Delete Cell
Optimize Program
Insert Comment/Label
Bookmark
Set/Remove
Remove All
Previous Bookmark
Next Bookmark
R200
January 2011
3. Basic application
3.1. SoftMaster user interface
Menu option
Tools
Description
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
Find Text
Replace Address
Replace Text
Find Again
Searches again.
Go To
Step/line
Rung comment
Label
END command
Previous Message
Next Message
R200
January 2011
39
3. Basic application
3.1. SoftMaster user interface
View
The following table lists the view menu options with their description.
Menu
40
Description
IL
Project Window
Message Window
Instruction Window
Cross Reference
Used Address
Check Program
Variables
Address
Flags
Address/Variables
Address/Comments
Variables/Comments
Zoom-In
Zoom-Out
Resize Width
R200
January 2011
3. Basic application
3.1. SoftMaster user interface
Menu
Description
Resize Height
Full Screen
Properties
LD Properties
Change Columns
Open Program
Online
The following table lists the online menu options with their description.
Menu
Description
Connect/Disconnect
Connection Settings
Change Mode
Run
Stop
Debug
Read
Write
R200
January 2011
41
3. Basic application
3.1. SoftMaster user interface
Menu
42
Description
Reset PLC
Resets PLC.
Clear PLC
PLC Information
PLC History
PLC Errors/Warnings
I/O Information
Force I/O
Skip I/O
Fault Mask
R200
January 2011
3. Basic application
3.1. SoftMaster user interface
Monitor
The following table lists the monitor menu options with their description.
Menu
Description
Start/Stop Monitoring
Pause
Resume
Pausing Conditions
System Monitoring
Address Monitoring
Trend Monitoring
PID Monitoring
SOE Monitoring
Custom Events
Data Traces
Debug
The following table lists the debug menu options with their description.
Menu
Description
Start/Stop Debugging
Go
R200
January 2011
43
3. Basic application
3.1. SoftMaster user interface
Menu
Description
Step Over
Step Into
Step Out
Go to Cursor
Set/Remove Breakpoints
Breakpoints List
Breakpoint Conditions
Tools
The following table lists the tools menu options with their description.
Menu
Description
Network Manager
Start/End Simulator
Customize
Shortcut Settings
Options
Create Host ID
Window
The following table lists the window menu options with their description.
Menu
44
Description
New Window
Split
R200
January 2011
3. Basic application
3.1. SoftMaster user interface
Menu
Description
Cascade
Tile Horizontally
Tile Vertically
Arrange Icons
Close All
Help
The following table lists the help menu options with their description.
Instruction
Description
SoftMaster Help
Instruction Help
About SoftMaster
Tool bar
SoftMaster provides shortcut icons for frequently used menus on the tool bar. Click the
required tool to execute.
Action
Click Tools > Customize.
The Customize dialog box displays.
Select the tool bars to show/hide.
R200
January 2011
45
3. Basic application
3.1. SoftMaster user interface
Step
2
Action
Click New.
The New Toolbar dialog box displays.
Action
Select the menus that you want as a part of the new tool bar.
46
Legend
Description
Tool tip of
selected toolbar
item
Name of the
PLC
PLC Mode
display
R200
January 2011
3. Basic application
3.2. Edit functions
Legend
Description
Warning Display
Cursor Position
Mode
3.2
Edit functions
These functions are available in LD, IL, Variable/Comment, Variable Monitor, and
Project Window. Variable/Comment and Excel can share the edited details with each
other.
Cutpaste
Cut > Paste menu is used to move the data of the selected area to a new position to paste
the data on.
Copypaste
Copy > Paste menu is used to create data identical to the data of the selected area. In
case the variable name is duplicated as described in Variable/Comment, an applicable
warning message appears. For more details refer to the comment of each edit window.
Drag and drop
Drag and Drop is used to apply either Cut > Paste or Copy > Paste. When dragging and
dropping in a same area such as same LD or IL window, it applies Cut > Paste; if
R200
January 2011
47
3. Basic application
3.3. Shortcut keys
dragging and dropping with two and more SoftMaster Program instances opened, it
applies Copy > Paste.
TIP
Cut, Copy and Paste can be also controlled by the context menu in Edit
window.
Cut, Copy or Paste from/to different areas may cause fatal program errors.
48
R200
January 2011
3. Basic application
3.3. Shortcut keys
3.3
Shortcut keys
Action
Click Tools > Shortcut Settings. The Shortcut Keys window displays.
Field Label
Description
Select a macro
Create Shortcut
Remove
Reset All
From the Select a macro list, select the menu to specify its shortcut key.
Set the shortcut key. For example, to apply Alt + Z, press Alt and Z on the
keyboard. A shortcut key is displayed on the Edit Window. If this key
association is already used, a menu applicable to the specified shortcut key is
displayed.
Shortcut keys
Shortcut Keys
Comment
Home
End
Ctrl + Home
Ctrl + End
R200
January 2011
49
3. Basic application
3.3. Shortcut keys
Shortcut Keys
Shift + Ctrl + Home
Shift + Page Up
Shift + Tab,
Shift + Enter
50
Comment
Tab, Enter
Ctrl + Enter
R200
January 2011
3. Basic application
3.4. Customizing SoftMaster
3.4
Customizing SoftMaster
This function enables you to configure the default folder for storing projects, to set a
common editor, and configure the font/color for LD, SFC, and ST.
3
1.
Category: Enables to configure the default folder for storing projects, to set a
common editor, and configure the font/color for LD, SFC, and ST.
2.
3.
Buttons: These buttons are used to apply the setting, cancel the setting, to reset all
the setting, and to exit from options window.
R200
January 2011
51
3. Basic application
3.4. Customizing SoftMaster
Action
52
Description
Select Folder
Click OK.
R200
January 2011
3. Basic application
3.4. Customizing SoftMaster
Action
Select Common Editor in the Option window and select the options you
want to change.
The following table provides a brief description of common editor settings.
Field Label
R200
January 2011
Description
Output cross
reference instantly
Show grid
Displays grid.
Click OK.
53
3. Basic application
3.4. Customizing SoftMaster
Action
Select Font/Color in the Option window and select the options you want to
change.
The following table provides a brief description of font and color settings.
Field Label
Description
Items
Font
Color
Default
Preview
Click OK.
Action
54
R200
January 2011
3. Basic application
3.4. Customizing SoftMaster
Step
Action
Type
Unsigned
decimal
Signed
decimal
Hexadecimal
As instruction
R200
January 2011
55
3. Basic application
3.4. Customizing SoftMaster
Step
Action
As variable
Show Message when changing the PLC mode: When changing the PLC,
select this option to display the conversion message automatically. When
changing stop mode to run mode, the following message displays.
Contrary, when changing run mode to stop mode, the following message
displays.
56
R200
January 2011
3. Basic application
3.4. Customizing SoftMaster
Step
Action
Configuring LD option
This option enables you to can change text and column width of LD editor.
Perform the following steps to display the LD option.
Step
Action
R200
January 2011
Description
Display
Click OK.
57
3. Basic application
3.4. Customizing SoftMaster
LD font/color option
This option enables you to can change the Font/Color used in LD editor.
Perform the following steps, to set the LD font/color option.
Step
Action
Select Font/Color in LD category and select the options you want to change.
The following table provides a brief description of font and color settings.
Field Label
Description
Items
Font
Color
Default
Preview
Click OK.
58
Action
R200
January 2011
3. Basic application
3.4. Customizing SoftMaster
Step
Action
The following table provides a brief description of SFC settings.
Field Label
Description
Show comment
ATTENTION
Click OK.
Action
Select Font/Color in SFC category and select the options you want to
change.
R200
January 2011
59
3. Basic application
3.4. Customizing SoftMaster
Step
Action
The following table provides a brief description of font and color settings.
Field Label
Description
Items
Font
Color
Default
Preview
Click OK.
Configuring ST option
This option is used in editing ST program.
Perform the following steps to display the ST option.
Step
Action
60
Description
Parameter information
R200
January 2011
3. Basic application
3.4. Customizing SoftMaster
Step
Action
Tab size
Auto indent
Enhance
Click OK.
ST font/color option
This option enables you to can change Font/Color used in ST editor.
Perform the following steps, to set the ST font/color option.
Step
Action
Select Font/Color in ST category and select the options you want to change.
The following table provides a brief description of font and color settings.
Field Label
R200
January 2011
Description
Items
Font
Color
Default
Preview
Click OK.
61
3. Basic application
3.4. Customizing SoftMaster
62
R200
January 2011
4. Project Configuration
4.1
R200
January 2011
63
4. Project Configuration
4.1. Overview of project configuration
Legend
Item Name
Description
Project
PLC
Global/Direct Variables
Parameter
Basic Parameters
I/O Parameters
Scan Program
New program
Scan Program 2
Task1
Task Program1
User function/function
block
Function1
TIP
A project can include several PLCs. This way, SoftMaster can be used to
conveniently manage and monitor several PLCs simultaneously.
64
R200
January 2011
4. Project Configuration
4.2. Project management
4.2
Project management
Action
Click Project > New Project. The New Project window displays.
The following table provides a brief description about New Project window
fields.
Field Label
Description
Project name
File directory
Select Folder
PLC series
CPU type
Program name
Program language
Project description
TIP
When you create a new project, it is stored in a folder with a name that is
identical to the project name. The extension of .xgp is automatically attached
to the project file if it is not specified.
R200
January 2011
65
4. Project Configuration
4.2. Project management
Action
Click Project > Open Project. The Open dialog box displays.
Action
Click Project > Open from PLC. The Online Settings window displays.
TIP
Click Project > Save Project to save the project read from the PLC in
the PC.
Click Online > Read to read the items of PLC and to import to the
currently open Project.
Saving a project
This option enables you to save changes in a project.
To save a Project, on the menu bar, click Project > Save Project.
66
R200
January 2011
4. Project Configuration
4.3. Project item
TIP
If items in the project have changed and need to be saved, * displays
beside the project name in the Project Window.
Saving project as
This option enables you to save the project in a different file name.
Perform the following steps to save the project, with a different file name:
Step
Action
Enter a new project file name and select a folder, where you want to save the
project file.
The following table provides a brief description about Save As window fields.
Field Label
3
R200
January 2011
Description
File name
File directory
Select Folder
Click OK.
SoftMaster User's Guide
Honeywell
67
4. Project Configuration
4.3. Project item
4.3
Project item
Add item
You can add a PLC, task, and program into the project.
Perform the following steps to add PLC.
Step
Action
Click Project > Add Item >PLC. The PLC window displays.
Type the PLC name and PLC description and select PLC type from the dropdown list. Click OK to create a new PLC.
TIP
SoftMaster allows the user to specify the project and to include several PLCs
in one project for convenient program management.
68
R200
January 2011
4. Project Configuration
4.3. Project item
Add task
Perform the following steps to add a task.
Step
Action
Click Project > Add Item > Task. The Task window displays.
Type the Task name, Task number and select Priority, Execution Condition.
Click OK to create a new Task.
R200
January 2011
69
4. Project Configuration
4.3. Project item
Step
Action
The following table provides a brief description about Task window fields.
Field Label
70
Description
Task name
Priority
Task number
Execution condition
Address
R200
January 2011
4. Project Configuration
4.3. Project item
TIP
Execution condition may be different according to the PLC type.
REFERENCE - INTERNAL
For additional information on the operation and details of the task, see 2MLK
CPU manual.
R200
January 2011
71
4. Project Configuration
4.3. Project item
Adding a program
Perform the following steps to add a Program.
Step
Action
On the Project Window, select the program location to add. The program
can be added to Scan Program or Task Item.
Click Project > Add Item > Program. The Program window displays.
Type the Program Name, Program Description, and select language. Click
OK to create a program.
Exporting to file
The following items can be saved as separate item files.
Item
72
File Extension
PLC
plc
Global/direct variables
gdv
I/O parameter
iop
Basic parameter
bsp
Program
prg
fun
R200
January 2011
4. Project Configuration
4.3. Project item
Action
Click Project > Export to File > PLC. The Open dialog box displays.
Exporting variable/comment
Perform the following steps to export a variable/comment.
Step
Action
Click Project > Export to File > Variable/Comment. The Open dialog box
displays.
R200
January 2011
73
4. Project Configuration
4.3. Project item
Action
Click Project > Export to File > I/O Parameter. The Open dialog box
displays.
Action
Click Project > Export to File > Basic Parameter. The Open dialog box
displays.
Exporting a program
Perform the following steps to export a program.
Step
Action
Click Project > Export to File > Program. The Open dialog box displays.
TIP
74
Items can be easily copied or moved between the projects using the
Drag and Drop function.
R200
January 2011
4. Project Configuration
4.3. Project item
File extension
PLC
plc
Global/direct variables
gdv
I/O parameter
iop
Basic parameter
bsp
Program
prg
fun
Imports item from saved item files. The contents from PLC, program is inserted into the
project. Variable/comment, basic parameter, I/O parameter, and so on is overwritten on
the previous item.
TIP
Since variable/comment, basic parameters, and I/O parameters are
overwritten on the existing items; the content of the existing item is deleted.
R200
January 2011
75
4. Project Configuration
4.3. Project item
Action
Click Project > Import Item from File > PLC. The Open dialog box displays.
Importing variable/comment
Perform the following steps to import variable/comment.
Step
76
Action
Click Project > Import Item from File > Global Variables/Address. The
Open dialog box displays.
R200
January 2011
4. Project Configuration
4.3. Project item
Action
Click Project > Import Item from File > I/O Parameter. The Open dialog
box displays.
Action
Click Project > Import Item from File > Basic Parameter. The Open dialog
box displays.
Importing a program
Perform the following steps to import a program,
Step
Action
On the Project Window, select the program location to add. The program
can be added to Scan Program or Task Item.
Click Project > Import Item from File > Program. The Open dialog box
displays.
R200
January 2011
77
4. Project Configuration
4.3. Project item
Project properties
Perform the following steps to view the project properties,
Step
Action
78
Description
Project name
Project description
File name
R200
January 2011
4. Project Configuration
4.3. Project item
Action
Action
Action
R200
January 2011
79
4. Project Configuration
4.3. Project item
Action
Select a program.
Comparing projects
Two projects can be compared with respect to specific items. The Result window
displays the compared results.
Perform the following steps to compare two projects.
Step
80
Action
Select the items to compare with. The selected items of both projects should
be identical.
R200
January 2011
4. Project Configuration
4.4. Project password
4.4
Project password
Action
Enter the password in the Password field in the New password section.
Click OK.
R200
January 2011
81
4. Project Configuration
4.4. Project password
Changing password
Perform the following steps to change password.
Step
Action
Enter the new password in Password field in the New password section.
Click OK.
Deleting password
Perform the following steps to delete password.
Step
82
Action
R200
January 2011
5. Variables
5.1
Overview of variables
Use of variables is program dependent. In general, global variable is available in every
program. To use a global variable as a local variable, it is necessary to declare it as
EXTERN before use. Local variable is available only in a designated program. Direct
variable (variables with user specified address) can be used in the program. In addition, a
comment can be entered to the direct variable.
5.2
Global/direct variable
Global/direct variables consist of global variables, direct variable comments, and flags. A
global variable declares the variable to be used for a program or displays a list of the
declared variables, based on the available variables. Direct variable comment declares the
direct variable comment available in a program or displays the comment. The flag
displays a list of flags provided by the declaration. The following are the different types
of flags:
System flag
P2P flag
PID flag.
Global variable
Global variables are declared and the list displays as in the following figure.
R200
January 2011
83
5. Variables
5.2. Global/direct variable
a)
Flag
84
R200
January 2011
5. Variables
5.2. Global/direct variable
Description
Flag kind
You can select the type of flag (System, HS link, P2P and PID).
All
Used to display the entire list of flags selected from Flag kind. In case of system
flag, all the details are displayed on the window. If All is not selected, only the flag
applicable to the Parameter number and Block index displays.
Parameter
number
This is active only for High-speed link, P2P and PID flag. Only the flag item of the
input parameter number displays. (For example, if parameter number 1 is entered;
the flag number displays as shown in the following figure.)
Block index
This is active only for high-speed link and P2P flag. Only the flag item of the input
block index displays. (For example, if block index 120 is entered; it is as shown in
the following figure.)
R200
January 2011
85
5. Variables
5.3. Global/direct variable edit
5.3
Field Label
Description
Variable kind
Variable name
WB0)
a variable.
Type
86
5. Variables
5.3. Global/direct variable edit
Field Label
Description
SINT, INT, DINT, LINT, USINT, UINT,
UDINT, ULINT, REAL, LREAL, TIME,
DATE, TIME_OF_DAY,
DATE_AND_TIME, STRING
Derived type(3):
Memory address
Indicates the memory address that can be entered using the direct
variable (I, Q, M, R, W).
Initial value
Retain
M:
I, Q:
Used
Comment
Allows entry of a comment. Use Ctrl + Enter key to enter multi line
comments.
Line validity
TIP
An error that occurs when editing a cell is highlighted in pink. Press ESC key
to recover the previous value during the cell edit.
R200
January 2011
87
5. Variables
5.3. Global/direct variable edit
Action
TIP
Registering Special Module Variables removes existing registered entries and
re-registers with the newly specified I/O parameters.
88
R200
January 2011
5. Variables
5.3. Global/direct variable edit
Step
Action
TIP
To select the area,
Use the mouse to select the cell of (0,0) in order to select the whole
table
Click Edit > Select All in order to select the whole table.
Use the mouse to select the column header of the cell in order to
select the whole columns.
Use the mouse to select the row header of the cell in order to select
the whole rows.
Use the mouse to drag the part of the cell in order to select the area.
Use Shift + Arrow keys on the keyboard in order to select the area
Delete
Delete is used to delete the data of a selected area from the list of global/direct variables.
Perform the following steps to delete data of a selected area.
Step
Action
R200
January 2011
89
5. Variables
5.3. Global/direct variable edit
Cut
Cut is used to save the selected data in the clipboard in order to add to the current project
or other projects. Unlike Copy, Cut deletes the selected data from the original area.
Perform the following steps to cut the data and save it in windows clipboard.
Step
Action
Paste
Paste option enables the pasting of cut or copied data (saved on the clipboard) in the
selected position. If the data is already copied, a dialog box displays to select and change
the data.
90
Action
R200
January 2011
5. Variables
5.3. Global/direct variable edit
a)
Number: used to display the duplicated number of the variables and direct
variables to paste.
b)
c)
d)
White Line: used to display the list of variables/comments obtained from the
clipboard, which is not edited.
e)
f)
Cancel: The existing list of variables/comments is not deleted, and a new the
list of variables/comments is not applied accordingly.
g)
h)
Unselect All: used to cancel all the selections in the Replace column.
R200
January 2011
91
5. Variables
5.3. Global/direct variable edit
92
Action
a)
Number: Used to display the duplicated number of the variables and direct
variables to paste.
b)
c)
Gray Line: Used to display the data in the existing cell, which is not edited.
d)
e)
f)
Unselect All: Used to cancel all the selections in the Replace column.
SoftMaster User's Guide
Honeywell
R200
January 2011
5. Variables
5.3. Global/direct variable edit
TIP
If all items are identical, the cell cannot be edited, while if partially
identical, the cell can be edited.
If the data saved in the clipboard is greater than the number of the lines
to paste, it is not possible to paste.
Paste in View Direct Variable Comment regards the data saved in the
clipboard as partial columns.
Action
Click the header of the Serial Number column to select the entire list of
variables.
Click Edit > Cut or right-click and choose Cut from the menu.
Right click on the header of the Serial Number column and choose Paste.
ATTENTION
Do not re-register the special modules.
Insert line
Insert line is used to insert new lines in the selected area. Inserting a line pushes down the
existing lines.
Perform the following steps to insert new lines.
R200
January 2011
93
5. Variables
5.3. Global/direct variable edit
Step
Action
Click Edit > Insert Line. A line is inserted above the selected line.
TIP
Press Enter or Tab to create a new line at the end of the last line.
Delete line
Delete line is used to delete the lines in a selected area. Perform the following steps to
delete existing lines.
Step
Action
Select a line.
ATTENTION
Delete Line is not executed If no cell is selected.
Action
The mouse cursor changes to the state available for drag and drop.
Keep the left mouse button pressed and drag and drop the selected items in
a position to paste it.
Drag and drop is available on the Variable Monitoring Window, LD Window, Data
Traces window, Global Variable window of other SoftMaster programs and Direct
Variable Comment window of other SoftMaster programs.
94
R200
January 2011
5. Variables
5.3. Global/direct variable edit
Copy is available when drag and drop is executed in the Excel program.
ATTENTION
Data does not move but is copied when dragged and dropped
Export to file
Export to file is used to save the previously declared list of global variables in a file that
can be subsequently opened and read from external programs.
To export a file, click Edit > Export to File.
ATTENTION
This function is available only for Global Variables.
Preview
Preview option is used to view the preview of the screen to be printed.
Perform the following steps to see the print preview.
Step
Action
Click Project > Preview on the window for which you want to preview.
TIP
R200
January 2011
95
5. Variables
5.3. Global/direct variable edit
Print
Print option is used to print the screen displayed on Global Variable, Direct Variable
Comment, and Flag windows.
Perform the following steps to print the data.
Step
Action
TIP
Other functions
Sort
Double-click the column header to sort the column data in the descending/
ascending sequence.
View
96
Screen Zoom-In: Displays a magnified view of the screen. Click View > ZoomIn.
Screen Zoom-Out: Displays a shrunk/reduced view of the screen. Click View >
Zoom-Out.
R200
January 2011
5. Variables
5.4. Local variable
Use Combo Box for screen Zoom-In/Zoom-Out. Select the magnification rate in
combo box of the toolbar.
5.4
Width Automatic Adjust: Adjusts the column size applicably to the String
length of the cell. Click View > Resize Width.
Height Automatic Adjust: Adjusts the line height applicably to the String height
of the cell. Click View > Resize Height.
Local variable
Local variable declares the variables used in a program or displays the list of declared
variables.
a)
R200
January 2011
97
5. Variables
5.4. Local variable
b)
c)
98
If variable type is CONSTANT, it sets the initial value as the default (0).
If the variable type is VAR_EXTERNAL or
VAR_EXTERNAL_CONSTANT, the columns of the initial value and
retain value are displayed as defaults.
Variable name: The declared variable cannot be duplicated within the Local
variable.
The name cannot be identical to the name of a direct variable (that is,
MB4, W4, RW9)
Basic types(20):
Derived
types(3):
d)
e)
f)
M:
I, Q:
g)
h)
R200
January 2011
5. Variables
5.4. Local variable
i)
ATTENTION
Press ESC key to recover the previous value during the cell edit.
Click Edit > Add EXTERNAL Variable. The ADD External Variable window
displays.
Export to file
An Export variable to file is used to save the previously declared list of global variables
on the file and to open and read in the external programs.
To export a file:
R200
January 2011
99
5. Variables
5.5. Function block variable
5.5
FB variable
You can either declare the variable or view the list of declared FB variables.
FB variable edit
You can edit the variable kind, variable name, type, trigger, memory address, initial
value, retain, used or not used, and comment of the already declared FB variables in the
list. In addition, a new FB variable can be added to the list of the FB variables.
FB variable registration
FB variables, like the global variables and local variables must be registered before they
are used in a program.
A variable can be added to the list of FB variables, modified or deleted from it.
a)
100
R200
January 2011
5. Variables
5.5. Function block variable
b)
c)
Variable name: The declared variable cannot be duplicated with the identical
name.
A direct variable with the same name is not available (that is, MB4, W4,
RW9)
Basic type(20):
Derived type(3):
d)
e)
f)
g)
h)
i)
R200
January 2011
101
5. Variables
5.5. Function block variable
j)
ATTENTION
102
Press ESC key to recover the previous value during the cell edit.
R200
January 2011
5. Variables
5.6. FUNCTION variable
5.6
FUNCTION variable
Function (FUN) variables are a part of user-defined functions. FUN Variables do not
store the operation results. You can go to user-defined function blocks in the project tree
to add a function.
FUN variable
FUN variable either declares the variable or displays the list of declared FUN variables.
FUN variable edit
On the list of the currently declared FUN variables, variable kind, variable name, type,
trigger, memory address, initial value, retain, used and comment items can be edited. In
addition, a new FUN variable can be added to the list of the FUN variables.
FUN variable registration
The FUN variables must be registered before they are used in a program.
A variable can be added to the list of FUN variables, modified or deleted from it.
a)
b)
Variable name: The declared variable cannot be duplicated with the identical
name.
R200
January 2011
103
5. Variables
5.6. FUNCTION variable
c)
The name of the FUN variable must not be same as that of a direct
variable.
Basic types(20):
Derived types(2):
d)
e)
f)
g)
104
Press ESC key to recover the previous value during the cell edit.
R200
January 2011
5. Variables
5.7. Editing variables
5.7
Editing variables
You can edit the variable, type, memory allocation, initial value, retain, and comment
from the list of the already declared data types. In addition, it adds the data type used in
the program to the list of data types.
Variable registration
A variable must be registered before it is used in a program.
A variable can be added to, modified, or deleted from the list of variables.
a)
Variable Name: The declared variable cannot be duplicated with the identical
name.
b)
R200
January 2011
105
5. Variables
5.7. Editing variables
Derived types(1):
c)
d)
e)
f)
TIP
106
Press ESC key to recover the previous value during the cell edit.
R200
January 2011
5. Variables
5.8. User-defined function/function block
5.8
R200
January 2011
107
5. Variables
5.8. User-defined function/function block
108
a)
b)
c)
Use EN/ENO: You can select whether to use or not use EN/ENO, which is
used under the operation condition of function/function block. If you do not
select EN/ENO, a user should declare BOOL type variable in the first input
and first output parameters of the function/function block.
d)
Return Data Type: Designates the type of the results after a user-defined
function is executed. It is activated only when a user-defined function is
created.
R200
January 2011
5. Variables
5.8. User-defined function/function block
e)
f)
OK: Saves the entry in the dialog box and closes the dialog box.
g)
Cancel: Cancels the entry in the dialog box and closes the dialog box.
ATTENTION
Click OK creates a new item with the name entered in the item of userdefined function/function block.
Action
If you double-click a local variable among the items created with the name of
user-defined function/function block, the following local variable window is
created.
Add input variable, I/O variable, and output value in the local variable window.
Depending on the added I/O variables, the function/function block type is
automatically changed in the lower-half of the local variable window.
a)
R200
January 2011
109
5. Variables
5.8. User-defined function/function block
There should be at least one or more input and output variables with
a maximum limit of 32.
Action
If you double-click a program among the items created with the newly entered
name in the user-defined function/function block, a program window with the
previously designated language appears. The following window shows the
screen created when selecting the LD.
Create a program, based on the variable input in the local variable window.
ATTENTION
If local variable edit and program edit are finished, select function/function
block toolbar instruction to check whether the edited user-defined
function/function block is registered.
110
R200
January 2011
5. Variables
5.8. User-defined function/function block
Action
R200
January 2011
111
5. Variables
5.8. User-defined function/function block
Step
112
Action
R200
January 2011
6. LD Edit
6.1
Overview
LD program displays the PLC program through graphic signals of coils or contact points
used in the relay logic diagram.
6.2
Limits
There are functional limits in LD Program Edit as described in the following table.
Item
Description
Up to 31
Maximum lines
Up to 65535
Up to 300
Up to 300
R200
January 2011
Limit
113
6. LD Edit
6.3. Program edit
6.3
Program edit
Edit tools
The input of LD edit items are enabled after you select the input symbols from the LD
tool box and if you click on the specific position or if you press applicable shortcut key.
Symbol
114
Shortcut key
Description
Esc
Changes to selection
mode
F3
F4
Shift + F1
Shift + F2
F5
Horizontal line
F6
Vertical line
Shift + F8
Connection line
Shift + F9
Reverse input
F9
Coil
F11
Reverse coil
Shift + F3
Set(latch) coil
Shift + F4
Reset(unlatch) coil
R200
January 2011
6. LD Edit
6.3. Program edit
Symbol
Shortcut key
Description
Shift + F5
Shift + F6
Negative transition
sensing coil
F10
Function/function block
Shift + F7
Extended function
Ctrl+3
Normally open OR
contact point
Ctrl+4
Normally closed OR
contact point
Ctrl+5
Positive-conversion
detection OR contact
point
Ctrl+6
Negative-conversion
detection OR contact
point
The following are the shortcut keys related to the movement of the cursor. Applicable
shortcut keys can be customized by users of SoftMaster.
Shortcut Key
Description
Home
Ctrl+Home
Back space
End
Ctrl + End
R200
January 2011
115
6. LD Edit
6.3. Program edit
TIP
Among shortcut keys in edit toolbox, s stands for Shift key, c for Ctrl
key. For example, Positive transition pulse contact point: Shift + F1 s
+ F1 sF1.
The shortcut keys described in edit tool are based on the shortcut keys
basically provided in SoftMaster.
116
Action
On the tool box, select the type of the contact to insert and click the edit area
or click shortcut key applicable to the contact to insert.
After the address name is inserted in the Variable Input dialog box, click OK.
R200
January 2011
6. LD Edit
6.3. Program edit
TIP
Click Tool > Options. Select Common Editor under options. If the input
mode is promptly released from the edit page, the Variable Input dialog box is
not automatically displayed when inserting a contact point and coil.
Action
On the tool box, select the type of the contact to insert and click the edit area
or click the shortcut key applicable to the OR contact point to insert.
After the address name is inserted in the Variable Input dialog box, click OK.
R200
January 2011
117
6. LD Edit
6.3. Program edit
Step
Action
ATTENTION
Entering variable/address
It is used to enter the Address or Variable/Comment.
118
R200
January 2011
6. LD Edit
6.3. Program edit
Field Label
Description
Variable Name
Local variable
Address Comment
Flag
List
Displays the list of flags for selection. You can select among
System/High-speed link/P2P/PID Flags.
All
Select this option to display all the flags for the item. Clear this
option to display the flags applicable to the input parameter
number/block index.
Parameter number
Enter and set the number for each selected flag item. 0~12 is
available for HS link, 0~8 for P2P, and 0~63 for PID.
Block Index
Enter the block number for each selected flag item. 0~127 is
available for High-speed link and 0~63 for P2P.
Global variable
New Variable
Edit Variable
Delete Variable
OK
Cancel
R200
January 2011
119
6. LD Edit
6.3. Program edit
Field Label
Description
Variable Name
Data Type
Variable Kind
Address
Initial value
Trigger
Retain
Description
TIP
If the variable name is entered on the Variable/Address dialog box, it is
automatically completed based on the currently displayed Variable/Comment
list.
120
R200
January 2011
6. LD Edit
6.3. Program edit
Inserting lines
Insert a horizontal line for horizontal connection between LD edit factors, and a vertical
line for vertical connections.
Inserting a horizontal line
Perform the following steps to insert a horizontal line.
Step
Action
Select the shortcut key of Horizontal Line Input or select Horizontal Line on
the tool box and select the edit area to insert the Horizontal Line.
Action
Select the shortcut key of Vertical Line Input or select Vertical Line on the tool
box and select the edit area to insert the Vertical Line.
TIP
The vertical line is inserted to the left of the current location of the cursor.
Inserting coil
It is used to insert coils, that is, coil, reverse coil, positive transition pulse coil, and
negative transition pulse coil.
Perform the following steps to insert reverse coil/positive transition pulse coil/negative
transition pulse coil.
R200
January 2011
121
6. LD Edit
6.3. Program edit
Step
Action
On the tool box, select the type of coil to insert and then click the edit area or
click the shortcut key applicable to the coil to insert it.
After a variable name is entered on the Variable Selection dialog box, click
OK.
TIP
Action
Move the cursor to the location where the function (block) is to be entered.
On the tool box, select the function (block) to enter and then click the edit
area or click the shortcut key applicable to the function (block) input.
Select a function/function block.
122
R200
January 2011
6. LD Edit
6.3. Program edit
Step
3
R200
January 2011
Action
a)
b)
c)
d)
e)
f)
g)
OK: Click to apply the details and close the dialog box.
h)
On the Function (block) Input dialog box, enter the function (block), and then
SoftMaster User's Guide
Honeywell
123
6. LD Edit
6.3. Program edit
Step
Action
click OK.
REFERENCE - INTERNAL
For additional information on the function (block), refer to the 2MLI CPU
Users Guide.
Action
124
R200
January 2011
6. LD Edit
6.3. Program edit
Step
Action
If the current list selection is Most Recently Used, the function is determined
by the frequency of function block used.
TIP
A function copied or pasted does not affect the frequency and the
recent use.
Action
Click Edit to view the list of Functions. The Favorite Function Setting
window displays.
The field description for Favorite Function Setting window are as
follows:
Favorite Function: Displays the currently selected function. The content
displayed on the Favorite Function List is the content to be displayed in the
Command window.
Function List: Displays the list of function blocks available for the current
project.
R200
January 2011
125
6. LD Edit
6.3. Program edit
Step
Action
Add: Select a function and click Add to add the selected function to the
Favorite Function list.
Remove: Click to delete a selected function from the Favorite Function.
Up: Click to move a selected item to a higher level of the favorite function.
Down: Click to move a selected item to a lower level of the favorite function.
Clear All: Click to clear the current favorite function list.
OK: Click to check and save changes. It also closes the dialog box.
Cancel: Click to close the dialog box.
Use function
It is used to use the function block on the list.
Perform the following steps to use the function block.
Step
126
Action
R200
January 2011
6. LD Edit
6.3. Program edit
Step
Action
TIP
It is also possible to drag an item to insert in the Command Window and
insert it to the LD program.
Entering comments
It is used to insert the Rung and Output Comment. The comment displayed at the start of
Rung is called Rung Comment, and the comment for the output factor is called Output
Comment.
R200
January 2011
Action
Move the cursor to the location to enter the rung comment.
127
6. LD Edit
6.3. Program edit
Step
2
Action
Click Edit > Comment/Label Input.
Enter the Comment and Label.
a)
b)
c)
OK: Click to apply the selected details and to close the dialog box.
d)
If the Rung Comment dialog box displays, enter the comment and click OK.
Enter or edit the Rung Comment or the Output Comment.
128
a)
b)
OK: Click to apply the input details and to close the dialog box.
c)
R200
January 2011
6. LD Edit
6.3. Program edit
Output comment
Perform the following steps to enter the output comment.
Step
Action
Enter the output comment on the Output Comment dialog box and click OK.
TIP
You can enter an output comment only when an output is available.
Input label
It is used to enter the label to refer to from the extended function of JMP.
Perform the following steps to enter a label on a function.
Step
Action
Select Label and press Enter or click OK. The Label List window displays.
In the Label List window, enter the label to add and click OK.
The field description for Label List window are as follows:
R200
January 2011
a)
b)
Label in: Displays the label currently in use in the same scan program.
Selecting an item on the Label in use, the selected item is entered.
129
6. LD Edit
6.3. Program edit
TIP
Action
Click Edit > Tools > Extension Function. The Extension Function window
displays.
b)
c)
OK: Click to apply a selected item and to close the dialog box.
d)
TIP
Extension functions, SBRT, and RET cannot be inserted at LD used in SFC
Action and Transition.
130
R200
January 2011
6. LD Edit
6.3. Program edit
Insert cell
It is used to insert a new cell at the current cursor position.
Perform the following steps to insert a new cell.
Step
Action
TIP
If inserting a cell in Function Block, a variable is also moved together.
Insert line
It is used to insert a new line at the current cursor position.
Perform the following steps to insert a line.
Step
Action
R200
January 2011
131
6. LD Edit
6.3. Program edit
Step
Action
TIP
a) If you Insert Line, a new line is inserted in the current cursor position.
b) If you select an area for Line Insert, new lines equal to the lines in the
selected area are inserted.
c) If the function block is contained, the line cannot be inserted.
Delete item
It is used to delete the input contact point, coil, function block, line, rung/output
comment, and label.
Perform the following steps to delete an item.
Step
Action
Delete cell
It is used to delete factors such as the input contact point and horizontal line to draw in
the next cell.
Perform the following steps to delete cell (input contact point and horizontal line).
Step
132
Action
R200
January 2011
6. LD Edit
6.3. Program edit
Step
Action
TIP
Position the cursor on the cell to be deleted and press Delete on the
keyboard. Alternately, right-click and select Delete from the context menu.
Delete line
It is used to delete all the cells in the selected row.
Perform the following steps to delete a line.
Step
Action
Copy/cut/paste
It is used to copy data from a selected area, or cut the data to copy at a specific position.
Unlike Copy, the Cut function deletes the data from the selected area.
Copy and paste
Perform the following steps to copy the data to windows clipboard.
Step
Action
R200
January 2011
133
6. LD Edit
6.3. Program edit
Step
Action
Action
134
R200
January 2011
6. LD Edit
6.3. Program edit
Action
TIP
R200
January 2011
135
6. LD Edit
6.3. Program edit
Overwrite mode:
TIP
Use Insert key on the keyboard to toggle between Overwrite and Insert.
Insert mode: Always inserts a new contact point to a designated position, regardless of
contact point type. Insertion operation is as same as Insert Cell.
Insert mode: It inserts a space as high as a function (block) if there is no enough space to
insert the function. Insert Space is as same as Insert Line.
136
R200
January 2011
6. LD Edit
6.3. Program edit
R200
January 2011
137
6. LD Edit
6.4. Viewing program options
6.4
View IL program
It is used to convert the LD program to the IL program and displays with the IL program.
Perform the following steps to view an IL program.
Step
Action
Select a program.
ATTENTION
R200
January 2011
6. LD Edit
6.4. Viewing program options
Zoom-in
To Zoom-in, click View > Zoom-In.
Zoom-out
To Zoom-out, click View > Zoom-Out.
TIP
Hold the CTRL key on your keyboard and spin the mouse wheel
forward to zoom-in.
Hold the CTRL key on your keyboard and spin the mouse wheel
backward to zoom-out.
On the View Tool selection box, the user can select or directly enter
the magnification.
REFERENCE - INTERNAL
For additional information on Tool bars, refer to Tool bar.
View address
It is used for displaying only the name of the address for the variable or address used as
the contact point, coil, and function (block). If there is no address, it displays a name of
variable.
To view an address:
View variables
It is used for displaying the name of the variable for the variable or address used as the
contact point, coil, and function (block).
If no variable is declared for the address, it is displayed as the address name.
To view variables:
R200
January 2011
139
6. LD Edit
6.4. Viewing program options
View address/variables
It is used for displaying the name of the address/variable for the variable or address used
in the contact point, coil, and function (block).
If there is no address in the variable, the variable name is displayed.
To view address/variable:
View address/comment
It is used for displaying the address/comment for the variable or address used in the
contact point, coil, and function (block).
If there is no address in the variable, the variable name is displayed.
To view an address/comment:
If View Options are changed, it may take some time according to the
amount of the edited program steps.
View variables/comments
It is used for displaying the variable/comment for the device used as the operand of the
contact point, coil, and application instruction.
To view a variable/comment:
140
If View Options are changed, it may take some time according to the
number of the edited program steps.
R200
January 2011
6. LD Edit
6.4. Viewing program options
If the data on the right of the current screen is larger than the number of contact points to
display, it may be displayed by rung including arrow.
TIP
R200
January 2011
141
6. LD Edit
6.5. Additional edit function
LD view properties
It is used to select the viewing options of the LD window. In the window, the options of
address, variable and comment view can be set while magnification and the number of
contact points can be set simultaneously.
Perform the following steps to view LD screen properties.
Step
Action
142
Description
View Option
Magnification
No. of contacts
OK
Cancel
Apply
Default
Reset
All Windows
R200
January 2011
6. LD Edit
6.5. Additional edit function
TIP
6.5
Optimize program
It is used for deleting the horizontal and empty lines between the contact points, to
optimize the position where LD diagram is drawn.
Perform the following steps to optimize the program.
R200
January 2011
143
6. LD Edit
6.5. Additional edit function
ATTENTION
144
Action
R200
January 2011
6. LD Edit
6.5. Additional edit function
Action
Move the cursor to the rung to cancel the Block Mask instruction.
Bookmark
It enables the user to easily move to a specific area with the bookmark specified on the
line.
Set bookmark
Perform the following steps to set a bookmark.
Step
Action
R200
January 2011
145
6. LD Edit
6.5. Additional edit function
Step
Action
Reset bookmark
Perform the following steps to reset a bookmark.
Step
Action
R200
January 2011
6. LD Edit
6.5. Additional edit function
Previous bookmark
To edit the previous bookmark, click Edit > Bookmark > Previous Bookmark.
Next bookmark
To edit the next bookmark, click Edit > Bookmark > Next Bookmark.
R200
January 2011
147
6. LD Edit
6.5. Additional edit function
TIP
Bookmark is not an item to edit, thus the Set/Reset options are not
included in Undo and Redo.
Go to
Finding specific line
It is used to move to the specified line position, or go to the position of the edited label
and rung comment.
Perform the following steps to find a specific line in the program:
Step
Action
148
Description
Go to line
Program list
R200
January 2011
6. LD Edit
6.5. Additional edit function
Step
Action
Go to
Cancel
Select the line to go to and the program from the list. Click Go to for moving
the specified line/step.
TIP
Action
Click Find/Replace > Go To > Label. The Go To Label window displays.
The field description for Go To Label window are as follows:
Field Label
R200
January 2011
Description
Program
Labels list
Go To
Cancel
Select the label and program from the list. Click Go to to move to the
specified label.
149
6. LD Edit
6.5. Additional edit function
TIP
Action
Description
Program
Go to
Cancel
Select the program and the rung comment to go to from the list. Click Go to
to move to the specified rung comment.
TIP
R200
January 2011
6. LD Edit
6.5. Additional edit function
Step
Action
Description
Program
Go to
Close
Select the program and the END command to go to from the list. Click Go to
to move to the specified END command.
TIP
R200
January 2011
151
6. LD Edit
6.5. Additional edit function
152
R200
January 2011
7. SFC Edit
7.1
Overview
SFC is used for controlling the execution sequence of other programs (LD, ST) by using
graphic symbols (step, transition, and branch).
7.2
Description
Limit
Maximum step
number
512 steps
Maximum row
number
65,535 rows
Maximum
column number
65,535 columns
R200
January 2011
153
7. SFC Edit
7.3. Program edit
7.3
Program edit
Edit tools
To begin entering the inputs of SFC Edit items, select the input symbols from the LD tool
box and click on a specific location or press the associated shortcut key.
Symbol
Shortcut Key
Description
Esc
Step+Transiton or Transition+Step
Action
Block+Transition or Transition+Block
Label
Jump
Left Branch
Right Branch
The following shortcut keys are related with the movement of the cursor. Applicable
Shortcut Keys can be specified by users in the SoftMaster.
Shortcut Key
154
Description
Home
Ctrl + Home
R200
January 2011
7. SFC Edit
7.3. Program edit
Shortcut Key
Description
End
Ctrl + End
ATTENTION
Among shortcut keys in Edit Toolbox, s stands for Shift key, c for
Ctrl key, a for Alt key.
The shortcut keys described in Edit Tool are based on the shortcut
keys basically provided in SoftMaster. For more details on the userdefined shortcut keys, refer to Configuring shortcut keys.
For each SFC program added to the project program list, atleast 64
words of automatic variables must be declared.
Input step/transition
This is used to insert a Step/Transition in a program.
Perform the following steps to insert a Step/Transition.
Step
Action
Select symbol on the tool box and click the edit area or press shortcut key
applicable to symbol.
R200
January 2011
155
7. SFC Edit
7.3. Program edit
Step
Action
ATTENTION
Step +
Transition
Transition
+ Step
156
R200
January 2011
7. SFC Edit
7.3. Program edit
Input action
Action is executed when step is activated. Executes the program connected with action.
Perform the following steps to edit the symbol in a program.
Step
Action
Select symbol on the tool box and click the edit area or press shortcut key
applicable to symbol.
or
ATTENTION
Location
R200
January 2011
item
Right
Bottom
157
7. SFC Edit
7.3. Program edit
Input block/transition
Perform the following steps to insert a Block/Transaction.
Step
Action
Select a block on the tool box and click the edit area or click the shortcut key
applicable to symbol.
ATTENTION
Input label
Perform the following steps to input a label.
Step
158
Action
On the tool box, select the label to enter and then click the edit area or click
the shortcut key applicable to symbol.
R200
January 2011
7. SFC Edit
7.3. Program edit
Step
Action
ATTENTION
Input jump
Perform the following steps to insert a jump in a program.
Step
Action
On the tool box, select the Jump to insert and then click the edit area or click
the shortcut key applicable to symbol.
R200
January 2011
159
7. SFC Edit
7.3. Program edit
ATTENTION
The jump can be inserted when selecting the last transition within
selection branch or transition of program in the last row.
Action
On the tool box, select the left branch and click the edit area or press
shortcut key.
160
R200
January 2011
7. SFC Edit
7.3. Program edit
Step
6
Action
The branch is created.
ATTENTION
Line shape
Selection branch
Step, block
Parallel branch
Transition
Extending branch
Perform the following steps to extend a branch.
Step
Action
On the tool box, select the left branch and click the edit area or press
appropriate shortcut key.
R200
January 2011
161
7. SFC Edit
7.3. Program edit
Step
Action
ATTENTION
Action
On the tool box, select the right branch and click the edit area or press
shortcut key.
It displays the branch start location and the branch connection location.
162
R200
January 2011
7. SFC Edit
7.3. Program edit
Step
Action
ATTENTION
Extending branch
Perform the following steps to extend a branch of a location.
Step
Action
On the tool box, select the right branch and click the edit area or press
shortcut key.
R200
January 2011
163
7. SFC Edit
7.3. Program edit
Step
Action
Action
164
Description
Name
Comment
Initial step
Step variable
Find
OK
Cancel
R200
January 2011
7. SFC Edit
7.3. Program edit
ATTENTION
The initial step is execution start step of the program. You can
designate only one. When checking the program, it checks the error.
When using step variable, you can refer it from other programs.
Transition property
You can edit the transitions name, comment.
Perform the following steps to edit the transition property of a location.
Step
Action
Description
Name
Comment
Type
List
Find
Less
OK
Cancel
ATTENTION
R200
January 2011
165
7. SFC Edit
7.3. Program edit
Action property
You can edit the actions name, comment, and qualifier.
Perform the following steps to edit the action property of a location.
Step
Action
166
Description
Name
Comment
Type
Post scan
List
Qualifier
Time
Find
Less
OK
Cancel
R200
January 2011
7. SFC Edit
7.3. Program edit
ATTENTION
Qualifier
Functions
N (Nonstored)
R (overriding
Reset)
S (Set)
L (time
Limited)
D (time
Delayed)
P (Pulse)
SD (Stored
& time
Delay)
DS (time
Delayed &
Stored)
SL (Stored &
time Limited)
R200
January 2011
Action characteristic
R qualifier is executed
Setting time
1 scan execution
R
R
167
7. SFC Edit
7.3. Program edit
ATTENTION
Action
Press Enter key or double-click the block. The Block Properties window
displays.
The field description for Block Properties window are as follows:
Field Label
Description
Name
Comment
List
Less
OK
Cancel
ATTENTION
168
R200
January 2011
7. SFC Edit
7.3. Program edit
Action
Press Enter key or double-click the block. The Label Properties window
displays.
The field description for Label Properties window are as follows:
Field Label
Description
Name
List
OK
Cancel
Jump property
You can edit jumps name.
Perform the following steps to edit Jump property of a program.
Step
Action
R200
January 2011
Description
Name
List
OK
169
7. SFC Edit
7.3. Program edit
Step
Action
Cancel
ATTENTION
Ensure that the name of the Jump is the same as label name.
Action
Click the select branchs start location in order to set branch priority.
ATTENTION
170
You can set selection branch priority equal to the branch number.
R200
January 2011
7. SFC Edit
7.3. Program edit
Action
Delete item
You can delete a step, transition, action, block, label, jump, and branch of a program.
Perform the following steps to delete an existing item.
Step
Action
Move the cursor to the location where the item you want to delete exists.
ATTENTION
R200
January 2011
171
7. SFC Edit
7.3. Program edit
Copy/cut/paste
Perform the following steps to copy and paste data.
Step
Action
ATTENTION
172
The item under step, transition and block can be copied with step,
transition and block according to selected location.
When copying the branch start point, the item under branch is copied
with branch start point.
R200
January 2011
7. SFC Edit
7.3. Program edit
The selection branch can be pasted into the selection branch and the
parallel branch can be pasted into the parallel branch.
When pasting into the action, select the step you want to paste.
Cut/paste
Perform the following steps to Cut and Paste data.
Step
Action
173
7. SFC Edit
7.3. Program edit
Undo (example)
Perform the following steps to undo an action.
Step
Action
Redo (example)
Perform the following steps to redo an action.
ATTENTION
174
R200
January 2011
7. SFC Edit
7.4. View program
7.4
View program
You can zoom in or zoom out on a program.
Zoom out
To Zoom Out:
Hold the CTRL key on your keyboard and spin the mouse wheel
forward to zoom-in.
Hold the CTRL key on your keyboard and spin the mouse wheel
backward to zoom-out.
On the View Tool selection box, the user can select or directly enter
the magnification.
SFC property
It enables you to edit SFC property.
R200
January 2011
175
7. SFC Edit
7.4. View program
a)
Show comment: Displays the comment of step, transition, action, and block.
b)
Show print area: Displays the printing area with thick dotted line.
c)
Show page number: Displays page number printed in the print area.
d)
Step column width: Sets width of vertical column of step, transition location.
e)
f)
Utilize SFC split window: You can use SFC split window.
g)
Split window position: You may decide in which direction the window gets
divided.
h)
Split window contents: You may decide which contents the program displays
in the split window.
ATTENTION
176
R200
January 2011
7. SFC Edit
7.4. View program
Show comment
<Showing comment>
R200
January 2011
177
7. SFC Edit
7.4. View program
178
R200
January 2011
7. SFC Edit
7.4. View program
R200
January 2011
179
7. SFC Edit
7.4. View program
180
R200
January 2011
7. SFC Edit
7.4. View program
<Viewing the fix split window contents: displays the previous screen>
Split window position
<Right>
R200
January 2011
181
7. SFC Edit
7.4. View program
<Bottom>
View block/action/transition list
You can check other programs list used in the SFC program and edit the name and
comment.
Perform the following steps to view Block/Action/Transition List.
Step
182
Action
R200
January 2011
7. SFC Edit
7.4. View program
Open action/transition
In the SFC program, open the selected action, transition with the new window.
Perform the following steps to open Action/Transition.
Step
Action
Move the cursor to the location you want to open the program.
Address/variables
Displays variables or address used in the contact, coil, function (block) as
Address/Variables name. If variable does not have an address, it displays the variable
name.
To view Address/Variables:
Address/comments
Displays variables or addresses used in the contact, coil, function (block) as
Address/Comment. If the variable does not have an address, it displays the name of the
variable.
To view Address/Comments:
R200
January 2011
183
7. SFC Edit
7.5. Edit additional function
ATTENTION
If the data to the right of the current window is larger than the number of contact points
to display, it may be displayed by rung including arrow.
ATTENTION
184
R200
January 2011
7. SFC Edit
7.5. Edit additional function
7.5
Bookmark setting
It enables the user to easily move to a specific area with the bookmark specified on the
line. For more information, refer to Bookmark.
Go to
You can go to designated line, edited label, and rung comment. For more information,
refer to Go to.
R200
January 2011
185
7. SFC Edit
7.5. Edit additional function
186
R200
January 2011
8. Programming
8.1
Cross reference
It is used to display the application details of all the addresses and variables used in a
program. It includes contact points (normally open contact point, normally closed contact
point, positive transition pulse contact point and negative transition pulse contact point),
coils (coil, reverse coil, positive transition pulse coil and negative transition pulse coil),
I/O parameter of function(block) and all the addresses and variables used as the operand
of extended functions.
Description
Address
Displays the names of all the addresses used in the current PLC.
Variable
Name
PLC
Program
Position
Comment
Information
R200
January 2011
187
8. Programming
8.1. Cross reference
Field Label
Description
-| |-: Normally open contact point
-|/|-: Normally closed contact point
-|P|-: Positive transition pulse contact point
-|N|-: Negative transition pulse contact point
-[F]-: Extended function parameter
-VAR-: Function(block) I/O parameter
Data sorting
Click the column header to sort the applicable column. Whenever you click the column,
it is sorted in the ascending and then descending sequence, repeatedly. A triangle is
displayed on the basic column of the current alignment. The normal triangle indicates
that the data is sorted in the ascending sequence, and a reverse triangle indicates that the
data is sorted in the descending sequence.
Example 1: Alignment in the ascending sequence based on the address names.
Go to
It is used to go to the position of the program using the selected address. Double-click the
applicable line, or right-click to select Go To from the menu.
188
R200
January 2011
8. Programming
8.1. Cross reference
Select row
It is used to display the specific data only on the screen. Right-click and select each item
from the Select Row menu.
Lock data
Details of the Cross Reference Window are updated when the cursor moves in the
program. If you do not want to update them, specify the Fix function. Right-click and
select Lock Data.
Delete data
It deletes all the details of the Cross Reference Window.
Output cross reference instantly
If an address or variable is selected in the program, the used position and the application
are displayed.
Perform the following steps to view the output cross-reference instantly.
Step
1
Action
Select the Cross Reference tab to display the Cross Reference Result.
Move the cursor to the position of the address to display its purpose.
R200
January 2011
189
8. Programming
8.2. Used address
ATTENTION
Select Tools > Options > Edit Ladder/Mnemonic, on the Edit page,
select Output cross reference instantly option.
Action
Add a coil.
Select and copy the line where the applicable coil is included. Move to the
next line and paste.
ATTENTION
190
Select Tools > Options > Edit Ladder/Mnemonic, on the Edit page,
select Check duplicated coil instantly option.
Check duplicated coil instantly checks the coil and the reverse coil,
positive transition pulse coil, and negative transition pulse coil.
R200
January 2011
8. Programming
8.2. Used address
8.2
Used address
It shows all the addresses and the numbers used in the program (LD, SFC). The addresses
used in each address area according to the designated types are displayed as classified
into input and output.
a)
b)
Word Column: Displays the number of the applicable address types used in
the program. The column displays the number in accordance with the address
type designated when executing the address used.
c)
Bit Column: Displays the number of applicable bit addresses used in the
program. The addresses of S area, T area, and C area are displayed. The
column displays the addresses of the types smaller than those designated when
executing the used address in bit type. Therefore, if designating word type, it
displays the bit only. If the column designates 16 data types, 8 columns are
created.
d)
e)
f)
Action
R200
January 2011
191
8. Programming
8.2. Used address
Step
Action
The field description for Used I/O Selection Dialog window are as follows:
Field Label
Description
ATTENTION
Editing the program after Used Address is executed, does not update
the content of the Used Address automatically. If you want to see the
Used Address of edited program, again select Update Used
Address.
192
Description
PLC
Address used
Program
Address
Type
IN/OUT
Instruction
R200
January 2011
8. Programming
8.3. Check program
Field Label
Description
the instruction tool bar of LD editor.)
8.3
Position
Comment
Go To
Check program
This function is used to check the prepared LD program for errors. The following items
are checked.
Duplicated Coil Error: checks for errors if duplicate output items are used.
Action
Click View > Check Program. The Program Check window displays. By
default, Program Check tab is selected.
The field description for Program Check window are as follows:
Field Label
Description
R200
January 2011
Logic Error
Grammar Error
Unreferenced label
193
8. Programming
8.3. Check program
Step
Action
Unreferenced
subroutine
Report unused
variables
Current program
(modbus)
All programs
Checking Option
OK
Cancel
ATTENTION
194
Error: If any error occurs, Error is displayed on the Result Window and
writing a program on PLC is unavailable.
R200
January 2011
8. Programming
8.3. Check program
ATTENTION
When writing a program on the PLC, all the items except the
Duplicated Coil are always checked even if it is not specified by the
user.
In the 2MLI series of PLC, many programs can be added to the PLC
item and the SBRT call is available between programs.
ATTENTION
Set coil (-(S)-) and Reset coil (-(R)-) are not checked for Duplicate
Coil.
L0000: Input or output is not connected. This error occurs if the contact point is not
connected with the power line.
R200
January 2011
195
8. Programming
8.3. Check program
2.
L0100: It is a short circuit. This error occurs if the area connected with the OR is
connected with the horizontal line without the contact point.
Action: Delete OR if the OR connection is not necessary any more, or enter the contact
point in the applicable location.
3.
L0200: Address or variable is not input. This error occurs if the address or variable
is not input in the contact point or coil.
Action: Input a proper address in the contact point or coil where the error occurs.
4.
196
R200
January 2011
8. Programming
8.3. Check program
Action: Search for OR-LOAD incorrectly connected and then correct the LD program.
5.
L0400: Specified number of contact points is exceeded. This error occurs if the
number of continuous LOAD instructions exceeds 32.
Action: Correct the LD program to limit the LOAD instructions within 32.
6.
R200
January 2011
L0401: Incorrect input. This error occurs if the input necessary is nonexistent.
197
8. Programming
8.3. Check program
7.
L0402: Incorrect input. This error occurs if the input unnecessary is existent.
8.
198
L0404: The maximum number of MPUSH exceeded. This error occurs if the
number of continuous MPUSH/MPOP exceeds 16.
R200
January 2011
8. Programming
8.3. Check program
Action: Replace the instruction with the one provided by the 2MLI series of PLC.
R200
January 2011
199
8. Programming
8.3. Check program
ATTENTION
This error occurs if GMWIN series PLC project file is converted to 2MLI
project.
Grammar error
This function is used to check for grammar related errors generated when an application
instruction is used.
1.
E1001: Label declared as duplicate. This error occurs if duplicated LABEL is used.
Action: Delete the duplicated label, or change the name of the label.
E1002: Label Name is nonexistent. This error occurs if JMP is used to refer to the
nonexistent label.
Action: Add the label where the error occurs, or correct the JMP instruction which uses
the label.
200
E1003: Label Name is not used. This error occurs if the JMP instruction is not used
in the program.
R200
January 2011
8. Programming
8.3. Check program
E1004: Label Name not used in the subroutine. This error occurs if the JMP
instruction is not used in the program.
Action: Delete the label in the subroutine, or add the application JMP instruction.
R200
January 2011
201
8. Programming
8.3. Check program
ATTENTION
E1005: Label Name is nonexistent in the subroutine. This error occurs if the JMP
instruction uses the label nonexistent in the subroutine.
Action: Add the label in the subroutine, or correct the JMP instruction.
R200
January 2011
8. Programming
8.3. Check program
E2010: Subroutine call is nonexistent. The call of nonexistent SBRT causes an error.
E2003: Subroutine Name is positioned prior to END instruction. SBRT and RET
positioned prior to END instruction causes an error.
R200
January 2011
203
8. Programming
8.3. Check program
Action: Move the application instructions SBRT and RET to the position after the end of
the instruction.
Action: Delete the subroutine not being used, or add the CALL instruction.
204
R200
January 2011
8. Programming
8.3. Check program
ATTENTION
E2014: The maximum number of subroutines exceeded. Based on the PLC type, the
maximum number of subroutines is exceeded.
R200
January 2011
205
8. Programming
8.3. Check program
ATTENTION
Action: Let the number of FOR instructions and NEXT instructions be the same.
Action: Let the number of FOR instructions and NEXT instructions be identical.
206
R200
January 2011
8. Programming
8.3. Check program
Action: Limit the number of the FOR/NEXT blocks not to exceed 16.
R200
January 2011
207
8. Programming
8.3. Check program
Action: Change the location of the END and RET instruction positioned between
FOR/NEXT blocks.
E3005: BREAK singly used. BREAK instruction can be used only between
FOR/NEXT blocks.
00002: needs one or more scan program. There is no scan program in the current
PLC item, which causes an error.
00003: There is no program to check. There is no program in the current PLC item.
Action: The function block and positive (negative) transition pulse contact point (coil)
are not available in UDF.
208
R200
January 2011
8. Programming
8.3. Check program
ATTENTION
Action: The VAR_RETURN type variable is not designated in UDF, which causes an
error. Check whether the variable is used in the program.
Action: TRANS variable is not designated as the output in the SFC Transition Program
created by LD, which causes an error. Check whether the variable is used as output in the
program.
E5000: Needs one or more INIT_DONE instruction to end the initialization task.
Action: Although the initialization task is added, the conditions to end the initialization
task are not designated. To normally end the scan program, the conditions to end the
initialization task must be designated.
Action: The variable used as the IO parameter of contact point, coil, and function
(Block) is not declared. Check whether the variable is declared in the local variable.
Action: The type of used address or variable is not suitable. Check the type of used
address or variable.
Action: The line connection of function (block) is only available for BOOL type. The
input here needs a non-BOOL type input.
L0703: Function (block) cannot have more than one input line.
R200
January 2011
209
8. Programming
8.3. Check program
Action: Check the connection to ensure that the Function (block) does not have more
than one input line.
Action: The line connection of function (block) is only available for BOOL type. Since
line cannot be connected to other type but BOOL, check the line output.
L0705: Function (block) must not have more than one output line.
Action: Function (block) must not have more than one output line. Check the line
connection.
210
R200
January 2011
8. Programming
8.3. Check program
Action: In case of the function (block) having ANY type as the IO parameter, the data
type of IO parameter indicated as ANY type must be the same. Check the data type of the
input IO parameter.
ATTENTION
If the strict data type check is not set in the program check options, it
checks the only IO parameter size of the function (block).
Action: The size of array used in MOVE function as the IO parameter must be same.
Action: The instance name is omitted in the function block. Check the input items.
Action: The instance type of function block is not identical with the function block.
Check the input items.
Action: The function block instance is not declared in the local variable. Declare the
function block instance in the local variable before use.
R200
January 2011
211
8. Programming
8.3. Check program
212
R200
January 2011
9. Find/Replace
9.1
Find address
The Find/Replace function is used to find or change the address and the string in LD,
SFC, and Variable/Comment of SoftMaster.
Perform the following steps to find an address.
Step
1
Action
Click Find/Replace > Find Address. The Find Address window displays.
The field description for Find Address window are as follows:
Field Label
R200
January 2011
Description
Find what
Output to pane
2
Direction
Range
Find Next
Find All
Advanced>>
213
9. Find/Replace
9.1. Find address
Step
Action
ATTENTION
The result is displayed on the find window only with Find All run.
214
Action
Click Find/Replace > Find Address. The Find Address window displays.
Click Find Next. If address is found identical to the detail as specified on the
dialog box, move to the address whose cell is identical.
R200
January 2011
9. Find/Replace
9.2. Find text
ATTENTION
Find Next finds all the current programs based on the selected cell
when the address find dialog box displays. If the direction is set
Downward, it starts finding the address from the cell next to the
selected cell to the last cell of the program, and then from the starting
cell of the program.
Action
Click Find/Replace > Find Address. The Find Address window displays.
Click Find All. Find All yields its result on the find message window as in the
following figure.
On the find window, select the line to find and then click Enter to move the
cell to the line of the applicable LD program.
ATTENTION
Find All finds the address in all the programs included in the current PLC.
R200
January 2011
215
9. Find/Replace
9.2. Find text
9.2
Find text
Finding text
This function is used to find the String of Rung Comment, Variable, Variable Comment,
Application Instruction, and Label.
It is used for LD, SFC, IL, Global/Direct Variable, Variable and Local Variable.
Based on LD, the details of this function are described as follows:
Perform the following steps to find text.
Step
Action
Click Find/Replace > Find Text. The Find String window displays.
The field description for Find String window are as follows:
Field Label
216
Description
Find what:
Case-sensitive
Output to pane 2
Direction
Find Next
Find All
R200
January 2011
9. Find/Replace
9.2. Find text
Step
Action
Range
Advanced>>
Specify the String to find, the selection options, and the direction.
Click Find Next. If a string identical to the specified detail is found on the
dialog box, it moves to the string whose cell is identical.
ATTENTION
Find Next finds the current programs based on the selected cell
when the String Find dialog box displays. If the direction is set
Downward, it begins finding the String from the cell next to the
selected cell to the last cell of the program, and then from the starting
cell of the program.
ATTENTION
R200
January 2011
The result is displayed on the Find windows 1 or 2 only when Find All
is run.
Since Find All finds all details in the applicable documents, the
direction is not significant to select.
217
9. Find/Replace
9.2. Find text
Action
Click Find/Replace > Find String. The Find String window displays.
Specify the string to find, the selection options, and the direction.
Click Find All. Find All displays the results on the find message window as in
the following figure.
On the find window, select the line to find and then click Enter to move the
cell to the line of the applicable LD program.
ATTENTION
Find All finds the string in all the programs included in the current PLC.
218
R200
January 2011
9. Find/Replace
9.3. Address replacement
9.3
Address replacement
Replace address
This function is used to change the address previously made in LD Editor, IL Editor, or
Variable/Comment Editor.
It is used for LD editor, SFC editor and Variable/Comment. This function is used to find
a previously created address. Details of this function are described as follows based on
LD.
Perform the following steps to replace an address.
Step
Action
Specify the details to find and replace the type and the direction.
R200
January 2011
219
9. Find/Replace
9.3. Address replacement
Step
Action
The field description for Replace Address window are as follows:
Field Label
220
Description
Find what
Replace with
Include Variable
Range
Area
Direction
Range
Find Next
Replace
R200
January 2011
9. Find/Replace
9.3. Address replacement
Step
Action
based on the currently selected position (line).
Replace All
Advanced>>
Click Replace. The selected cell is replaced with the address specified for
replacement.
ATTENTION
Replace finds all the current programs based on the selected cell
when the address Replace dialog box displays. If the direction is set
downward, it starts to find the address identical from the cell selected
to the last of the programs, and then the address identical, again from
the first of the programs to the basic cell.
Action
Specify the details to find and replace the type and the direction.
R200
January 2011
221
9. Find/Replace
9.3. Address replacement
Step
4
Action
Once the Replace All is completed in the current program, the following
message appears.
Action
Specify the details to Find and Replace the type and the direction, Select
Replace with Range check box and then enter the number of addresses to
replace with range.
ATTENTION
Replace with range is available only for the addresses, not for the constants.
222
R200
January 2011
9. Find/Replace
9.4. Text replacement
9.4
Text replacement
Action
Click Find/Replace > Replace String. The Replace String window displays.
Specify the String to find and replace the selection options and the direction.
The field description for Replace String window are as follows:
Field Label
R200
January 2011
Description
Replace With
Find What
Match whole
word only
Case-sensitive
Include variable
Direction
223
9. Find/Replace
9.4. Text replacement
Step
Action
Range
Find Next
Replace
Replace All
Advanced>>
Click Replace. The selected string is replaced with the string specified for
replacement.
ATTENTION
224
Click Replace to move to the next cell identical to the detail to find as
specified on the dialog box regardless of the execution of Replace.
Replace finds all the current programs based on the selected cell
when the address Replace dialog box displays.
Replace finds all the current programs based on the selected cell
when the address Replace dialog box displays. If the direction is set
downward, it starts to find the address identical from the cell selected
to the last of the programs, and then the address identical again from
the first of the programs to the basic cell.
Replace finds all the current programs based on the selected cell
when the Replace String dialog box displays. If the direction is set
downward, it starts to find the string identical from the cell selected to
the last of the programs, and then again from the first of the programs
to the basic cell.
R200
January 2011
9. Find/Replace
9.5. Find again
9.5
Step
Action
Click Find/Replace > Replace String. The Replace String window displays.
Specify the details to Find and Replace the selection options and the direction.
Find again
Find Again is used to find the details of Find Address or Find String again if once run
previously. If Find was not run previously, it is inactive.
R200
January 2011
225
9. Find/Replace
9.5. Find again
226
R200
January 2011
10. Parameters
10.1 Basic parameter
Basic parameter setting
It is used to specify the basic parameters related with the PLC operation.
To access Basic Parameter settings:
Step
Action
On the project tree, double-click Parameter > Basic Parameter. The Basic
Parameter Setting window displays.
The field description for Basic Parameter Setting > Basic Operation Setup
window are as follows:
R200
January 2011
Field Label
Description
Watchdog timer
Restart Method
Output during
debugging
227
10. Parameters
10.1. Basic parameter
Step
228
Action
Keep Output when
converting RUN>STOP
R200
January 2011
10. Parameters
10.1. Basic parameter
Step
Action
Retain Area Setup: Sets the options necessary for Retain Area in the Basic
Parameter information.
M area Retain setting: Sets the M area (retain area) to preserve the data
when PLC is restarted.
R200
January 2011
229
10. Parameters
10.1. Basic parameter
Step
3
Action
Error Operation Setup tab: Specifies the operation method when an error
occurs on the PLC.
The field description for Basic Parameter Setting > Error Operation Setup
window are as follows:
Field Label
Description
Continue running
when a fuse error
occurs
Continue running
when an I/O module
error occurs
Continue running
when a special module
error occurs
Continue running
when a communication
module error occurs
Continue running
when an extended
base error occurs
TIP
Configure the Snet module before configuring the Modbus Server or client in
serial mode.
Configure the FEnet module before configuring the Modbus Server or client in
TCP mode.
The above settings are accomplished on an extra port in the CPU which is
exclusively for Modbus Server in the Serial Mode which eliminates the need
for using extra Snet or FEnet module. Refer to the 2MLI CPUU guide to
check whether your CPU supports this additional option.
230
R200
January 2011
10. Parameters
10.1. Basic parameter
ATTENTION
Restart Mode
Restart mode is used to define the restart method of CPU when a Restart
command is issued to the CPU.
Cold Restart
1.
It is run when setting the restart mode of the parameter as warm restart.
2.
3.
R200
January 2011
Warm Restart
The data set only with the initial value are set with the initial values.
231
10. Parameters
10.2. I/O parameters
Action
On the project tree, double-click Parameter > I/O Parameters. The I/O
Parameter Setting window displays.
The field description for I/O Parameter Setting window are as follows:
Field Label
232
Description
All Base
Set Base
Module List
Slot Information
Delete Slot
Delete Base
Base Setting
Delete All
Details
OK
R200
January 2011
10. Parameters
10.2. I/O parameters
Step
Action
Cancel
ATTENTION
The 2MLI project type supports the only fixed allocation type.
Therefore, the allocation information column is always displayed as
disabled.
Slot
Variable
Assignment
Module Name
Fixed Assignment
16-point Input
P00000 ~ P0000F
P00000 ~ P0003F
16-point Output
P00010 ~ P0001F
P00040 ~ P0007F
A/D Module
P00020 ~ P0002F
P00080 ~ P0011F
Communication
Module
P00030 ~ P0003F
P00120 ~ P0015F
16-point Output
P00050 ~ P0005F
P00200 ~ P0023F
REFERENCE - INTERNAL
For additional information on the communication module information setting,
refer SoftMaster-NM Users Guide.
For additional information on the positioning module, refer APM Users Guide.
R200
January 2011
233
10. Parameters
10.2. I/O parameters
Action
Select the base module to specify from the address list (Base 00 to Base 07).
Right-click and select Base Setting or click Base Setting. The Base Module
Setup window displays.
The field description for I/O Parameter Setting window are as follows:
Field Label
Description
Slot
OK
Cancel
ATTENTION
234
Action
You are prompted to confirm the deletion. Click OK to delete the information
of the applicable base module.
R200
January 2011
10. Parameters
10.2. I/O parameters
Action
Select the Module from the drop-down list or right-click and select Edit to
view the list of modules.
This is applicable only when a module is already configured in the slot.
ATTENTION
The module description can contain a maximum of 128 English characters.
Action
R200
January 2011
235
10. Parameters
10.2. I/O parameters
Cut/paste
Perform the following steps to cut and paste a selected slot.
Step
Action
Undo
Perform the following steps to undo a particular action.
Step
Action
ATTENTION
A maximum of 20 last actions can be revoked using the Undo feature.
Redo
To redo a particular action:
236
The shortcut keys used in I/O Parameters Edit cannot be used as the
user-defined shortcut key specified in SoftMaster.
Click once on a slot to select one slot. To select multiple slots, click
on a slot and drag it down to multiple slots.
SoftMaster User's Guide
Honeywell
R200
January 2011
10. Parameters
10.2. I/O parameters
Action
Double-click I/O Parameters from the tree-view. The I/O Parameter setting
window displays.
Double-click an input module. The Input Module Setting dialog box displays.
The field description for Input Module Setting dialog box are as follows:
Field Label
R200
January 2011
Description
Filter
OK
Cancel
237
10. Parameters
10.2. I/O parameters
ATTENTION
Digital module with the input of AC cannot specify the filter value.
The input filter used for checking the input signal does not change for
the filtering time. The following figure is with the input filter value of
3ms. As the input signal is the same for 3ms from the moment
detected, it is processed as normal input signal after 3ms.
Output module
Perform the following steps to set output module setting.
238
Step
Action
Double-click I/O Parameters from the tree-view. The I/O Parameter Setting
window displays.
R200
January 2011
10. Parameters
10.2. I/O parameters
Step
Action
The field description for Output Module Setting dialog box are as follows:
Field Label
Description
Channel
OK
Cancel
ATTENTION
Module reservation
It assigns the points of the module only without any specific module specified. The 16,
32, and 64 points are available for the assignment.
Analog Input module
On the I/O Parameter Setting window, select Analog Input module and then click
Details to view the Parameter Setting dialog box.
Perform the following steps to set Analog Input module setting.
Step
Action
Double-click I/O Parameters from the tree-view. The I/O Parameter setting
window displays.
Double-click an A/I module. The Analog Input Module Setting dialog box
displays.
R200
January 2011
239
10. Parameters
10.2. I/O parameters
Step
Action
The field description for Analog Input Module Setting dialog box are as
follows:
Field Label
Description
Maximum/Minimum
Value Display
OK
Cancel
Output Type
240
Setting Items
Default
Disable/Enable
Disable
1~5V
4~20mA
0~16000/-8000~8000/1000-5000/0~10000%
0~16000
Filter Process
Disable/Enable
Disable
Filter Constants
1-99
Average Process
Disable/Enable
Disable
Average Method
Count Average
Average Value
R200
January 2011
10. Parameters
10.2. I/O parameters
Action
Double-click I/O Parameters from the tree-view. The I/O Parameter setting
window displays.
Double-click an A/O module. The Analog Output Module Setting dialog box
displays.
The field description for Analog Output Module Setting dialog box are as
follows:
Field Label
Description
Maximum/Minimum
Value Display
OK
Cancel
Output Range
R200
January 2011
Setting Items
Default
STOP/RUN
STOP
1~5V
4~20mA/0~20mA
(Current Type)
4~20mA
241
10. Parameters
10.2. I/O parameters
Parameter
Setting Items
Default
0~16000/8000~8000/10005000/0~10000%
Input Type
0~16000
Previous/minimum/middle
/maximum Value
Previous Value
Action
Double-click I/O Parameters from the tree-view. The I/O Parameter setting
window displays.
242
Description
Parameter Area
Maximum/Minimum
Value Display
OK
Cancel
R200
January 2011
10. Parameters
10.2. I/O parameters
Setting Items
Linear Counter/Ring Counter
Default
Linear Counter
2-phase
1-multiplier
N/A
0-60000
(Single Compare)
less
(Single Compare)
Compared Output 1
Mode
-2147483648-2147483647
Ring Counter,
Minimum Value
-2147483648-2147483647
Ring Counter,
Maximum Value
-2147483648-2147483647
R200
January 2011
less
243
10. Parameters
10.2. I/O parameters
Parameter
Setting Items
Default
Compared Output 0
Minimum Setting
Value
-2147483648-2147483647
Compared Output 0
Maximum Setting
Value
-2147483648-2147483647
Compared Output 1
Minimum Setting
Value
-2147483648-2147483647
Compared Output 1
Maximum Setting
Value
-2147483648-2147483647
0-60000
Frequency Display
mode
1Hz/10Hz/100Hz/1000Hz
1Hz
ATTENTION
Pulse/Rev value option among High-speed counter parameter option is
active when the Auxiliary Mode is set to Revolution/Unit time.
REFERENCE - INTERNAL
For additional information on the communication module, see SoftMaster NM
Manual.
For additional information on the positioning module, see the APM manual.
244
R200
January 2011
10. Parameters
10.2. I/O parameters
On I/O Parameter Setting window, select Print > Print. The Print window
displays.
R200
January 2011
a)
Print All: Prints all I/O configuration table and detailed module information.
b)
I/O Configuration Table: Prints I/O parameter's module setting details based
on slots, description and I/O information assigned.
c)
Detailed Info of Each Module: Prints the detailed module information for the
specified slot module.
245
10. Parameters
10.2. I/O parameters
Print preview
Perform the following steps to view the Print Preview.
Step
Action
On the I/O Parameter Setting window, select Print > Print. The Print
window displays.
Copy to clipboard
It is used for copying the I/O parameter table to the clipboard, thus to add onto the String
editor, word processor or spread sheet.
To copy the data to windows clipboard:
On the I/O Parameter Setting window, select Print > Copy to Clipboard.
ATTENTION
Only I/O configuration table can be copied to clipboard.
246
R200
January 2011
11. Online
11.1 Connection options for the PLC
It is used to specify the connection network with the PLC.
Local connection setting
RS-232C or USB connection is available for Local Connection Setting.
Click Online > Connection Settings. The Online Settings window displays.
Description
Type
Depth
Connect
Settings
Preview
Timeout
interval
Retrial
times
Read/Write
data size in
PLC run
mode
Used to specify the frame size of the data to transfer. This option is
available only when the PLC operation is in Run mode. In other modes
of operation, data is transferred in the maximum frame size.
R200
January 2011
247
11. Online
11.1. Connection options for the PLC
Action
ATTENTION
248
R200
January 2011
11. Online
11.1. Connection options for the PLC
Action
ATTENTION
USB device driver has to be installed for the USB to connect to the
PLC. Install the USB device driver before attempting to connect to the
PLC.
Action
ATTENTION
R200
January 2011
The connection to PLC CPU can be tested using ping command from
PC.
249
11. Online
11.1. Connection options for the PLC
Modem connect
Perform the following steps to connect using the Modem.
Step
Action
Description
Modem Type
Port number
Baud rate
Phone number
Station number
Action
Click Settings and click the Remote 1 tab to specify Remote 1 settings.
The field description for Details > Remote 1 window are as follows:
Field
250
Description
Network type
Base number
R200
January 2011
11. Online
11.1. Connection options for the PLC
Step
Action
number of local PLC base.
Slot number
Station number
IP address
Snet channel
ATTENTION
R200
January 2011
a)
Network type: Used to specify PLC communication module type for remote
connection. Snet, FEnet and FDEnet are available for the communication
modules.
b)
251
11. Online
11.2. Online functions
c)
d)
e)
Action
If connected to the PLC, the Online menu and Online status displays.
If a password has been setup in the PLC, you are prompted to enter the
Password.
ATTENTION
252
If the connection to the PLC is fast, the window may appear and
disappear quickly while connecting.
After the connection has been established, the PLCs status displays
beside the project name on the project window and on the status display
line.
R200
January 2011
11. Online
11.2. Online functions
ATTENTION
1.
RS-232C
Check if the COM port number of the computer matches with the COM
port number where the cable is connected.
2.
USB
Check if the USB cable connection between the Computer and PLC is
correct.
Check if the computer identified the PLC as an USB device during the
connection.
a)
ATTENTION
a)
Click Start>Run.
R200
January 2011
253
11. Online
11.2. Online functions
Write
It is used to transfer user programs, parameters, and comments to the PLC.
Perform the following steps to transfer user programs, parameters and comment to the
PLC.
Step
Action
Select the data to transfer to the PLC and then click OK to start transferring
the selected data to PLC.
The field description for Write window are as follows:
Field Label
254
Description
Selection Tree
OK
Cancel
a)
b)
Displays the data size of the item (current items size/ all items size).
c)
d)
e)
f)
R200
January 2011
11. Online
11.2. Online functions
ATTENTION
Parameter Write takes more time during CPU RUN than in CPU
STOP mode.
Read
It is used to transfer user programs, parameters, and comments from the PLC to a current
project.
Perform the following steps to upload the data in PLC and to apply them to a new
project.
Step
Action
Select items to upload from the PLC and click OK. The uploaded items are
applied to the current project.
A message is displays to confirm that the reading is complete.
ATTENTION
Change mode
It is used to convert the operation mode of the PLC in operation.
Perform the following steps to change the PLC operation mode.
Step
Action
R200
January 2011
255
11. Online
11.2. Online functions
ATTENTION
Ensure that PLCs remote dip switch is ON with the operation mode
dip switch as Stop.
If Show Message when changing the PLC mode in the Tool >
Option > Online is not selected, the confirmation message is not
displayed when Mode Change instruction is run.
Action
Click Online > Compare with PLC. The Compare with PLC window
displays.
256
Description
Current project
Compare
PLC
R200
January 2011
11. Online
11.2. Online functions
ATTENTION
Reset PLC
This function is used to reset the PLC. Reset PLC is also possible using the Reset PLC
dip switch in the CPU module.
Perform the following steps to reset the PLC.
Step
Action
Click Online > Reset PLC. The Reset PLC window displays.
ATTENTION
Beware of the fact that after reset, the PLC is OFF and then ON
again.
Action
Select Online > Clear PLC. The Clear PLC window displays.
R200
January 2011
257
11. Online
11.2. Online functions
Step
Action
Select items to delete and then click Clear to start Clear PLC.
Under the Clear Item tab, select items of the project saved in the PLC to be
deleted.
Select the Clear Memory tab to clear the selected memory area in the PLC.
The field description for Clear PLC window are as follows:
Field
Description
Clear
Select All
Reset All
PLC information
You can view the information regarding the connected PLC. You can also set the
password and the PLC timer on the PLC Information window.
CPU information
This function allows checking the detailed information of the PLC CPU.
Perform the following steps to check the detailed information of PLC CPU.
Step
258
Action
Click Online > PLC Information. The PLC Information window displays.
Select the CPU tab. Shows the specified details and status of the connected
PLC CPU.
R200
January 2011
11. Online
11.2. Online functions
CPU performance
SoftMaster enables you to check the scan time of the PLC and memory application
status.
Perform the following steps to check the scan time and memory application status of
PLC.
Step
Action
Click Online > PLC Information. The PLC Information window displays.
Description
Scan Time
Details
Details
Click Details to view details of the Program Memory used. The list of all
saved programs and their size displays.
Password
The user password can be specified, changed or deleted to protect PLC information.
Perform the following steps to assign, change, and delete the user password.
R200
January 2011
259
11. Online
11.2. Online functions
Step
Action
Click Online > PLC Information. The PLC Information window displays.
Description
Current Password
New password
Confirm password
Delete
Change
Setting password
Perform the following steps to set a new password.
Step
Action
Changing password
Perform the following steps to change an existing password.
Step
260
Action
R200
January 2011
11. Online
11.2. Online functions
Step
4
Action
Click Change to change the password of the PLC.
Deleting password
Perform the following steps to delete an existing password.
Step
Action
ATTENTION
Action
Click Online > PLC Information. The PLC Information window displays.
R200
January 2011
261
11. Online
11.2. Online functions
Step
Action
The field description for PLC Information > PLC RTC window are as follows:
Field Label
Description
State
Date
Displays date.
Time
Displays time.
Send to PLC
PLC history
It displays the history data of error/warning, Change Mode and Shut down Log saved in
PLC.
Error log
Perform the following steps to view the error log.
Step
262
Action
Click Online > PLC History. The PLC History window displays.
R200
January 2011
11. Online
11.2. Online functions
Step
Action
The field description for PLC History > Error Log window are as follows:
Field Label
Description
List
Details/Remedy
Read All
Update
Save
Clear
Close
Mode log
It shows the Mode Change Log of PLC operation modes.
Perform the following steps to view the Mode log.
Step
Action
Click Online > PLC History. The PLC History window displays.
R200
January 2011
263
11. Online
11.2. Online functions
Action
Click Online > PLC History. The PLC History window displays.
ATTENTION
The shut down log also displays the base number where power shut down
occurred.
System log
It shows the history of tasks run by SoftMaster when the PLC is running.
Perform the following steps to view the System log.
Step
Action
Click Online > PLC History. The PLC History window displays.
ATTENTION
264
The history is saved as .csv file. This file can be opened in MS Excel
or other String editing programs.
A maximum of 100 history data are displayed. Click Read All to read
more PLC histories. If the number of items in history is less than 100,
the Read All is disabled.
R200
January 2011
11. Online
11.2. Online functions
PLC error/warning
You can check the error/warning and previous error log currently saved in PLC.
Perform the following steps to check the error/warning and previous error logs in the
PLC.
Step
Action
ATTENTION
If the error is an I/O parameter issue, I/O installation error, fuse error,
I/O Read/Write error, special communication module error, the
applicable errors slot information displays.
When a Program Error (when the PLC mode is changed from Stop
to Run) or Execution Program Error (when PLC is in Run mode)
occurs, if the SM project and the downloaded PLC program are
same, then double-click the area of program name to move to the
corresponding step in the program.
R200
January 2011
265
11. Online
11.2. Online functions
Perform the following steps to view or change the flash memory settings.
Step
Action
Click Online > Set Flash Memory. The Flash Memory Run Mode Setup
window displays.
The field description for Flash Memory Run Mode Setup window are as
follows:
Field Label
Description
ATTENTION
Action
Click Online > Force I/O. The Force I/O Setup window displays.
The field description for The Force I/O Setup window are as follows:
266
R200
January 2011
11. Online
11.2. Online functions
Step
Action
Field Label
Description
Module address
Forced Input
Forced Output
Apply
Forced I/O
Delete
Variable Names
Delete All
Select All
OK
Cancel
ATTENTION
R200
January 2011
The flag displays the Forced I/O application status for each bit. If you
select the flag, it means Enable, and if you do not select the flag, it
means Disable.
The data displays the forced value. If selected, 1 is the forced value,
SoftMaster User's Guide
Honeywell
267
11. Online
11.2. Online functions
and if not, 0 is the forced value. However, it is effective only when the
flag is in Enable status.
Flag
Data
Forced Value
0 (not selected)
0 (not selected)
0 (not selected)
1 (selected)
1 (selected)
0 (not selected)
1 (selected)
1 (selected)
268
Action
Select the flag and data of the bit 3. %QW0.0.0 is registered to the
established Address.
Select the flag of the bit 7. As the forced output value of the bit 7 is 0, no data
needs to be selected. Since %QW0.0.0 is already registered in the pre-set
Address, it is not added again.
R200
January 2011
11. Online
11.2. Online functions
Step
Action
Select the Forced Output Enable Flag and then click Apply to apply the
forced value.
Action
Move to %QW0.0.0. Use the button or directly enter the area to move to.
Click the bit 3 and 7s flag to cancel the forced output value.
R200
January 2011
269
11. Online
11.2. Online functions
Step
Action
Click Apply.
ATTENTION
In program monitoring, the following are applicable:
270
Action
Click Online > Skip I/O. The Skip I/O Setup window displays.
R200
January 2011
11. Online
11.2. Online functions
Step
Action
The field description for Skip I/O Setup window are as follows:
Field Label
Description
Details
OK
Cancel
Action
Select the check box corresponding to the module. Observe that * appears
beside the base.
R200
January 2011
271
11. Online
11.2. Online functions
Action
Clear the check box corresponding to the module. Observe that the *mark
beside the base disappears if there is no slot where Skip I/O is specified in
the applicable base.
Action
272
Action
Clear the check box corresponding to the selected module. As the base Skip
I/O is cancelled, the Skip I/O for each slot can be specified or cancelled.
R200
January 2011
11. Online
11.2. Online functions
Fault mask
It is used to configure whether the module must be run in Fault during PLC operation.
Perform the following steps to view fault mask setting.
Step
1
Action
Click Online > Fault Mask. The Fault Mask Setup window displays.
The field description for Fault Mask Setup window are as follows:
Field Label
Description
Details
OK
Cancel
ATTENTION
R200
January 2011
273
11. Online
11.2. Online functions
ATTENTION
274
The I/O Information window which is similar to Fault Mask or I/O skip
window when Online > I/O Information is selected. I/O Sync. is
activated only when the PLC is in STOP Mode.
R200
January 2011
11. Online
11.3. Module changing wizard
Action
Click Online > Module Changing Wizard. The Selecting Module window
displays.
The field description for Selecting Module window are as follows:
Field Label
Description
Comment
Back
Next
Cancel
Select the module to change and then click Next. The Checking Module
window displays.
The field description for Checking Module window are as follows:
Field Label
R200
January 2011
Description
Comment
Module Information
Back
Next
Cancel
275
11. Online
11.3. Module changing wizard
Step
Action
Description
Comment
Back
Next
Cancel
After removing the module, click Next, the Changing Module Finished
window displays. Click Back to move back to the previous stage or click
Cancel to cancel the Module Changing Wizard.
276
Description
Description
Back
Finish
After inserting the module, click Next. Click Back to move back to the
previous stage or click Cancel to cancel the Module Changing Wizard.
R200
January 2011
11. Online
11.3. Module changing wizard
ATTENTION
ATTENTION
If the Module Changing Wizard is cancelled, Fault Mask and Skip I/O
may continue to be active. Activate the Fault mask and Skip I/O to
operate the module again.
ATTENTION
To change the module without using the wizard, perform the following steps:
1.
2.
3.
4.
5.
6.
Click Online > PLC Error/Warning to check for any error on the
applicable module.
7.
If no error is found on the applicable module, release the Fault Mask for
the module.
REFERENCE - INTERNAL
For additional information on Skip I/O and Fault Mask specified for the
module, refer to Skip I/O setting and Fault mask.
R200
January 2011
277
11. Online
11.3. Module changing wizard
278
R200
January 2011
12. Monitoring
12.1 Monitoring
SoftMasters monitoring functions include: Start/Stop Monitoring, Pause, Resume,
Pausing Conditions, and Change Current Value.
Start/stop monitoring
Perform the following steps to start/stop monitoring.
Step
Action
Click Monitor > Start Monitoring to start monitoring. Click Monitor > Stop
Monitoring to stop monitoring.
ATTENTION
When monitoring starts, correct value may not be monitored, if PLC program
and SoftMaster program are different.
Action
Click Monitor > Change Current Value. The Change Current Value
window displays.
R200
January 2011
279
12. Monitoring
12.1. Monitoring
Step
Action
The field description for Change Current Value window are as follows:
Field Label
280
Description
Address
Type
Range
Value On/Off
Value
Forced I/O
Flag
OK
Data
Enter Current Value in the window and click OK to change the current value.
R200
January 2011
12. Monitoring
12.1. Monitoring
Step
Action
ATTENTION
1.
2.
The value may not be entered according to its display type. In other
words, if displayed in hexadecimal, it can be entered as unsigned
decimal.
3.
When you click OK, an error may occur due to ineffective input value or
range exceedance.
4.
5.
6.
7.
Only if variable is I/Q address and BOOL type, compulsory I/O is active.
8.
If forced I/O is inactive, edit feature of current value and ON/OFF setting
is inactive.
9.
Change Current Value and Forced I/O Setting are not run at a time.
REFERENCE - INTERNAL
For additional information, refer to Force I/O setting.
Pause/restart monitoring
You can pause and restart monitoring.
Pause monitoring
Perform the following steps to pause monitoring.
Step
Action
R200
January 2011
281
12. Monitoring
12.1. Monitoring
Restart monitoring
Perform the following steps to restart monitoring.
If the current value is changed with Pause Monitoring, the PLC value
changes but monitoring value of program window is not renewed.
Pausing conditions
If a specified address meets the set conditions, monitoring is paused.
Perform the following steps to set the pausing conditions.
Step
282
Action
R200
January 2011
12. Monitoring
12.1. Monitoring
Step
Action
The field descriptions for Pausing Conditions window are as follows:
Field Label
R200
January 2011
Description
Select All
Use
Program
Reset All
Variable
Condition
Set value
Type
Comment
Find
OK
Cancel
283
12. Monitoring
12.2. LD program monitoring
ATTENTION
When you click OK, the items in error are not saved.
Among the five conditions [==, >, <, >=, <=] available for pause
monitoring, you can select one.
Action
284
R200
January 2011
12. Monitoring
12.3. Variable monitoring
2.
3.
4.
Coil: If applicable coils value is On status, address (or variable) value displays in
red, and the power flow inside the coil in blue.
2.
3.
4.
5.
6.
Start/stop monitoring
Stop monitoring
R200
January 2011
285
12. Monitoring
12.3. Variable monitoring
ATTENTION
286
Description
PLC
Program
Variable Name/
Address
Value
Type
Address/Variable
Name
Comment
Error Display
R200
January 2011
12. Monitoring
12.3. Variable monitoring
Field Label
Error Type
Description
Error type:
ATTENTION
You cannot monitor four variable monitoring tabs at the same time.
The larger the number of addresses, the longer the monitoring refresh
takes.
Registering variable/comment
Monitoring items can be registered on local variable list on the variable monitoring
window.
Perform the following steps to register in variable/comment.
Step
Action
The Select dialog box appears, if two or more PLCs are included in the
project or if two or more programs are included in a PLC. Select the PLC and
program to register.
R200
January 2011
287
12. Monitoring
12.3. Variable monitoring
Step
3
Action
Click OK. The Select Variable window displays.
The field description of Select Variable window are as follows:
Field Label
Description
Variable
Variable type
Variable List
OK
ATTENTION
The selected item is added in the last line of the variable monitoring
window.
Register all
You can register all direct variables at the same time.
Perform the following steps to register all variables.
288
Step
Action
On the variable monitoring window, right-click the mouse and select Register
All from the context menu.
The Select dialog box appears, if two or more PLCs are included in the
project. Select a PLC and program to register.
R200
January 2011
12. Monitoring
12.3. Variable monitoring
Step
Action
The field description for Register All window are as follows:
Field label
Description
Start Address
Count
ATTENTION
The item to register is added at the last line of the variable monitoring
window.
Register by user
The user can directly enter items to register on the variable monitoring window. You can
directly edit the PLC, Program, and Variable/Address Column.
ATTENTION
Copy, Paste, Cut, and Delete functions are provided.
Paste: Paste is available for variable monitoring after Copy from Excel or
other String editors.
Delete: used to delete the selected row. Delete is also applicable for
several selected rows.
289
12. Monitoring
12.3. Variable monitoring
Perform the following steps to drag and drop area to register from other windows.
Step
Action
Select the area from other windows (LD, SFC, Variable/Comment window) to
register on the variable monitoring.
Area to register onto the variable monitoring from LD window Red Edge.
Move to the variable monitoring window, press and hold the mouses left
button on the selected area.
Cursor shape and input image is created onto the variable monitoring
290
Release the mouse button after positioning on the row of the variable
monitoring window to insert the selected items.
SoftMaster User's Guide
Honeywell
R200
January 2011
12. Monitoring
12.3. Variable monitoring
Step
4
Action
The selected items are registered on the variable monitoring window as
shown in the following figure.
ATTENTION
Press and hold mouses left button and move onto variable monitoring
number tabs (Monitoring 1, Monitoring 2, Monitoring 3, and Monitoring 4)
to register on the applicable variable monitoring tabs.
View detailed/briefly
This function enables to view as many variables as possible on the variable monitoring
window.
Perform the following steps to view detailed/briefly.
Step
1
Action
On the variable monitoring window, right-click and select Briefly. The
following window displays.
R200
January 2011
291
12. Monitoring
12.3. Variable monitoring
ATTENTION
Even when in Brief View mode, the hidden columns can be viewed
through View function.
In Brief View mode, the number of rows change if the size of the Variable
Monitoring Window changes.
Even if in Brief View mode, Register, Delete and Edit functions are all
available. However, Undo and Redo functions are not supported.
Tool tips display PLC, Type and Address only. However, the variable if
declared also displays.
View options
The user can select specific columns.
Perform the following steps to view a selected function.
Step
292
Action
On the variable monitoring window, right-click and select View Option >
Column Name (PLC, Program, Variable/Address, Value,
Address/Variable, Comment) from the context menu.
To hide the selected column, right-click and select the same menu again.
R200
January 2011
12. Monitoring
12.3. Variable monitoring
ATTENTION
Display
The display of the monitoring value of the address registered on the variable monitoring
can be changed.
Perform the following steps to change the display type of an address.
Step
Action
ATTENTION
R200
January 2011
Can set different type than defined in the monitoring option for LD.
293
12. Monitoring
12.3. Variable monitoring
Monitoring operations
Start monitoring
It is used to begin monitoring of the registered addresses on the variable monitoring
window.
Perform the following steps to start monitoring.
Step
Action
Displays item with identical Start Monitoring PLC name and the item with no
error execute Monitoring.
ATTENTION
294
Action
Select Address.
Click Monitor > Change Current Value. Double-click the address selected
SoftMaster User's Guide
Honeywell
R200
January 2011
12. Monitoring
12.3. Variable monitoring
Step
Action
on the variable monitoring window or press Enter.
The Change Current Value window displays, enabling you to directly enter
the current value.
Find
Find
It is used to find a string based on the classification by capital/small letter.
ATTENTION
Find again
It is used to find the string found before once again. Initiate the Find command on the
program or Variable/Comment, and then initiate Find Again on the variable monitoring
to start find.
Print
It prints the current active variable monitoring tab contents.
ATTENTION
Alignment
Alignment can be changed to ascending or descending sequence.
Perform the following steps to change the alignment.
R200
January 2011
295
12. Monitoring
12.4. System monitoring
Step
Action
ATTENTION
296
R200
January 2011
12. Monitoring
12.4. System monitoring
The Module Information window displays the information of the PLC slot. After reading
the module information saved in the PLC, it displays it on the data display screen of the
module information window.
Select one of the following options view the Base.
Step
Action
Use the direction key on the keyboard to position the modules cursor on the
base to select.
ATTENTION
To start System Monitoring, the SoftMaster must be Online with the PLC and
the Monitoring must be ON.
R200
January 2011
297
12. Monitoring
12.4. System monitoring
Connect/disconnect
System Monitoring is initiated from SoftMaster, it can also be initiated independently.
Thus, the connection is available to PLC with Connect options. If connected with PLC,
base information is read from PLC to display on the module information window.
Perform the following steps to connect/disconnect system monitoring to PLC.
Step
Action
ATTENTION
System synchronization
It reads base information, I/O assignment method, and slot information specified in the
PLC to display on the window. When monitored, it reads I/O skip information and forced
I/O input/output information to change the current value.
Perform the following steps for system synchronization.
Step
Action
ATTENTION
298
R200
January 2011
12. Monitoring
12.4. System monitoring
Action
Action
Action
R200
January 2011
299
12. Monitoring
12.4. System monitoring
Action
Action
Ensure that the PLC is online and the monitoring mode is enabled.
Position the mouse cursor on the I/O modules contact point to change the
cursor to hand shape.
ATTENTION
Move the mouse to the I/O contact point to display the assigned address
on the status bar (located on the bottom-right of the window).
300
R200
January 2011
12. Monitoring
12.4. System monitoring
Action
context menu.
ATTENTION
Action
Select one of the following methods to display the CPU module information.
Select the CPU Module and select PLC > Module Info.
Select the CPU Module on the Module Information window, and right-click
301
12. Monitoring
12.4. System monitoring
Action
Select one of the following methods to display the COM module information.
Select Communication Module and select PLC > Module Info.
Select Communication Module on the Module Information window, right-
click and select Connection Module Info. from the context menu.
window.
Action
302
R200
January 2011
12. Monitoring
12.4. System monitoring
Classification
Description
Module name
O/S version
O/S date
Module status
Start/stop monitoring
It reads PLCs I/O data to display on the window.
Start monitoring
Perform the following steps to start monitoring.
Step
Action
Stop monitoring
Perform the following steps to stop monitoring.
Step
Action
303
12. Monitoring
12.4. System monitoring
Step
Action
Click PLC > Special Module Monitoring. The Special Module Monitor
window displays.
ATTENTION
Save
It is used to save the system information and data currently displayed on the window.
Perform the following steps to save the data and system information:
Step
Action
Click File > Save As to save the data in a different file name.
ATTENTION
Open
It is used to read the system information file previously saved.
To open a file:
304
Drag and drop the file onto the System Monitoring to open it.
R200
January 2011
12. Monitoring
12.5. Address monitoring
Navigate base
It selects a base to show its module information.
Perform the following steps to navigate to the first, previous, next, and last base.
Step
1
Action
Navigate to the first base:
On the menu, click Base > First Base.
Print preview
This function is used to see a print preview of system monitoring.
On the Preview window, the user can modify the area to be printed.
Perform the following steps for a preview before printing.
Step
Action
ATTENTION
R200
January 2011
305
12. Monitoring
12.5. Address monitoring
On the Start menu, click Program > SoftMaster > Address Monitoring.
The address information window displays all the address areas in the PLC, based on CPU
type.
Double-click the address icon (Example: I. Q, M, R, W) or right-click on the Address
Tree window and choose Open Address from the context menu.
306
R200
January 2011
12. Monitoring
12.5. Address monitoring
ATTENTION
If monitoring mode is OFF, the address displays the previous data value.
The data value is initialized to 0.
Address areas
Address areas are necessary for effective and correct control of various types of data.
PLC provides various address areas of data to manage the data effectively.
REFERENCE - INTERNAL
For additional information on the respective detailed address area, refer to
2MLI CPUU Users Guide.
Description
Data Size
Display Format
Click View > View Options >1 bit/8 bit/16 bit/32 bit/64 bit from the menu of the
Address Monitoring window.
ATTENTION
The address of a selected cell is displayed in the task bar.
R200
January 2011
307
12. Monitoring
12.5. Address monitoring
Binary, BCD, unsigned decimal, signed decimal, hexadecimal, real, and text
Address data can also be displayed in binary, BCD, unsigned decimal, signed decimal,
hexadecimal, real, and text format by choosing the appropriate View option.
Edit data
Data value is specified to write address data on the PLC, or to write the selected area on
the PLC.
Edit cell
It is used to edit data in the cell.
Perform the following steps to edit data in the cell:
Step
Action
308
Action
Position the mouse at the end of the cell to make the mouse cursor shape as
+.
Move the mouse with its left button pressed up/down and right/left.
R200
January 2011
12. Monitoring
12.5. Address monitoring
Save address
Use one of the following three methods to save the address.
Save all address areas
To save all address areas:
Step
Action
Click File > Save As to save the data with a different file name.
File extension is set as (.mem).
Action
Click File > Export Address to File.
File extension is set as (address+m). (Example: iim, iqm, imm,)
Action
Open address
Use one of the following three methods available to open an address.
R200
January 2011
309
12. Monitoring
12.5. Address monitoring
Click File > Import Address from File. Select the address to open from the list.
ATTENTION
When in monitoring mode, Open and Import Address from File are inactive.
Stop monitoring.
Select Edit > Fill Data Area. The Fill Data Area window displays.
The field descriptions for Fill Data Area window are as follows:
Field Label
310
Description
Title bar
Data value
Bit value
R200
January 2011
12. Monitoring
12.5. Address monitoring
Field Label
Description
Setup area
Display
ATTENTION
Address name is displayed on the title to display Setting Data Value.
Clear data
It is used to delete all data values of the address.
Perform the following steps to delete all the data values of an address.
Step
Action
Write to PLC
It is used to transfer the address data saved in online computer to PLC.
Perform the following steps to write a saved address data to PLC.
Step
Action
Click PLC > Write to PLC. The Write to PLC window displays.
R200
January 2011
311
12. Monitoring
12.5. Address monitoring
Step
Action
The field descriptions for Write to PLC window are as follows:
Field Label
Description
Address Area
Select All
Unselect All
ATTENTION
F addresss exclusive Read areas cannot be written on PLC. Exclusive read
areas are based on the type of CPU.
Action
Click PLC > Read from PLC. The Read from PLC window displays.
312
Description
Address Area
Select All
Unselect All
R200
January 2011
12. Monitoring
12.5. Address monitoring
Step
4
Action
Click OK to read the selected address from the PLC.
Action
Start/stop monitoring
It reads the address data from PLC to display on the window in the online status, or it
stops reading the data.
Start monitoring
It reads the address data from PLC to display on the window in the online status.
Perform the following steps to start monitoring.
Step
Action
R200
January 2011
313
12. Monitoring
12.5. Address monitoring
Stop monitoring
It stops reading the address data from PLC in the on-line status.
Perform the following steps to stop monitoring.
Step
Action
ATTENTION
Action
Click PLC > Change Current Value. The Change Current Value window
displays.
The field descriptions for Change Current Value window are as follows:
Field Label
Address
Bit number
Display
314
Description
R200
January 2011
12. Monitoring
12.5. Address monitoring
Step
Action
Set Value
ATTENTION
If the current value is changed in string display format, the data value of 32byte area is always changed from the start address.
Select File > PLC Type Settings. The PLC Type Setting window displays.
The field descriptions for PLC Type Setting window are as follows:
Field Label
Description
PLC Type
CPU Type
ATTENTION
While connected to the PLC, the current PLC type displays but is not
changeable.
Screen zoom-in/zoom-out
It is used to zoom in or out the size of the screen displayed.
315
12. Monitoring
12.5. Address monitoring
Width AutoFit adjusts the size to the string length of the cell. Automatic Height
Adjustment adjusts the row height to the string height of the cell.
View properties
It is used to change the font and font size of the data value displayed on the window. In
addition, the color of the data value can be changed in the monitoring mode.
Perform the following steps to view the properties of data value.
Step
Action
Click View > View Properties. The View Setting window displays.
Description
Font
Color
Page setting
It is used to specify the address page printed. Page margins, title, and grid lines can be
shown or hidden as necessary. In addition, the sequence of pages to print can be specified
with priority of row or column.
Perform the following steps to view or change the page settings.
316
R200
January 2011
12. Monitoring
12.6. Special module monitoring
Step
Action
Select File > Page Setup. The Page Setup window displays.
Specify margins.
Action
Click Monitor > Special Module Monitoring. The Special Module List
window displays. It displays the list of special module currently installed on
the PLC system.
Select a module on the list and click Monitor. The Special Module
Monitoring window displays.
The field descriptions for Special Module Monitoring window are as follows:
Field Label
R200
January 2011
Description
Start Monitoring
Test
317
12. Monitoring
12.7. Trend monitoring
Step
Action
parameter information to the module so to
display its result on the monitoring window
for the user to confirm.
Instruction Screen
Through the Monitoring/Test window, the user can directly change the
parameter value saved in the special module while checking the test
operation and its status of the applicable module.
ATTENTION
Select the HS counter module on the special module window to write HS
counter Flag monitoring and instruction functions.
318
Step
Action
R200
January 2011
12. Monitoring
12.7. Trend monitoring
Step
2
Action
The field descriptions for Trend Setup window are as follows:
Field Label
Description
Frequency
Address Setting
OK
Cancel
ATTENTION
R200
January 2011
The maximum time to display cannot be greater than the maximum time
to keep.
319
12. Monitoring
12.7. Trend monitoring
320
Action
R200
January 2011
12. Monitoring
12.7. Trend monitoring
Step
Action
The Legend description are as follows:
Legend
Description
Bit graph index: displays the bit graph and graph colors.
ATTENTION
The data displayed in the trend monitor may be different with the actual data.
In order to monitor accurate timing, use the data trace function.
REFERENCE - INTERNAL
For information on the data trace function, refer to Data traces.
Action
R200
January 2011
321
12. Monitoring
12.7. Trend monitoring
Step
Action
Enter the address of bit type or double-click the variable column to select the
declared address on the Variable/Comment window.
ATTENTION
A maximum of eight bit addresses can be registered.
Action
Enter the address of word type or double-click the variable column to select
the declared address on the Variable/Comment window.
ATTENTION
A maximum of four trend addresses can be registered. Supported data types
are as follows:
Type
322
Size
Type
Size
BIT
1 bit
REAL
4 bytes
BYTE
1 byte
LREAL
8 bytes
WORD
2 bytes
INT
2 bytes
DWORD
4 bytes
DINT
4 bytes
LWORD
8 bytes
LINT
8 bytes
R200
January 2011
12. Monitoring
12.7. Trend monitoring
Setting graph
Perform the following steps to view or change graph settings.
Step
Action
Select Graph > Graph Settings. The Graph Setup window displays.
The field descriptions for Graph Setup window are as follows:
Field Label
Description
Show grid
Minimum
value/Maximum value
Color
OK
Cancel
ATTENTION
R200
January 2011
The minimum value input cannot be greater than the maximum value.
323
12. Monitoring
12.7. Trend monitoring
If you do not select View in Setting Color, its applicable address does not
display in the graph.
324
Action
Click the color column to display the Color dialog box. On the dialog box,
select a color and click OK.
R200
January 2011
12. Monitoring
12.7. Trend monitoring
Action
Action
Select Graph > Graph window Settings. The Graph Window Setup
window displays.
The field descriptions for Graph Window Setup window are as follows:
Field Label
R200
January 2011
Description
View all
325
12. Monitoring
12.7. Trend monitoring
Graph function
View cursor
It is used to display the data value where the mouse is positioned on.
Perform the following steps to view the data value the mouse is positioned on.
Step
Action
Click to select the graph. Whenever the mouse moves, the data value where
the cursor is positioned displays.
ATTENTION
Show cursor function is only active in the state of Stop Monitoring/Pause
Monitoring.
Scroll synchronization
It is used to synchronize the bit graph with the trend graph in time axis. It is useful in
monitoring the bit graph and the trend graph data simultaneously.
For scroll synchronization:
Select Graph > Synchronize Scrolling.
326
Move the horizontal scroll bar to scroll the bit graph and the trend graph at the
same time based on the specified scroll synchronization.
R200
January 2011
12. Monitoring
12.7. Trend monitoring
Select Graph > Zoom In X axis, Zoom Out X axis, Reset X-axis. Based on the
selected item, X-axiss time interval is increased, decreased or back to default value.
327
12. Monitoring
12.7. Trend monitoring
Select Graph > Zoom In Y axis, Zoom Out Y axis, Reset Y axis. Based on the
selected item, Y-axiss height is increased, decreased or back to default value.
Auto-fit Y-axis
It is used to decide to adjust Y-axis automatically. The automatic adjustment of Y-axis is
applicable only to the trend graph.
To adjust Y-axis automatically:
328
R200
January 2011
12. Monitoring
12.7. Trend monitoring
Save as bitmap
It is used to save the graph currently displayed on the window as bit map.
Perform the following steps to save the data as a bitmap.
Step
Action
Save as text
It is used to save the graph data as a text file. Samples as many as the maximum samples
specified in setting the maximum graph saved.
Perform the following steps to save the data as a text.
Step
Action
ATTENTION
The string file is saved in CSV format of Excel.
Copy to clipboard
It is used to copy the graph currently displayed on the window onto the window
clipboard.
Perform the following steps to copy the graph to clipboard.
R200
January 2011
329
12. Monitoring
12.8. Data traces
Trace Setting
Writing to PLC
Trace starts
Read Data
Creating a graph
330
Details
Confirm the connection with PLC and the Run status of PLC.
Decide to allow trace or not and specify trigger condition, sample
properties, and trace address. For more information, refer to Trace
setting.
Write trace setting items on PLC. For more information, refer to Write
trace setting.
Start trace with specified trigger conditions automatically or with
manual trace selected. For details on trigger setting, refer to Trace
setting. For details on manual trace, refer to Write trace setting.
Read trace data from PLC. For more details, see section on Read
Trace in Write trace setting.
For more details, refer to Trace setting.
R200
January 2011
12. Monitoring
12.8. Data traces
Action
Click Monitor > Data Traces. The Data Traces window displays.
R200
January 2011
Description
a. Menu
b. Tool Box
c. Bit graph
Index
d. Bit graph
e. Word graph
Index
f. Word graph
331
12. Monitoring
12.8. Data traces
Step
Action
g. Status bar
h. Progress bar
PLC status
j. Trace status
Connecting to PLC
To connect to the PLC:
Trace setting
It is used to specify trace conditions and trace address.
Perform the following steps to view or change data trace settings.
Step
Action
On the Data Traces window, select Trace > Trace Settings from the menu.
The Data trace setting window displays.
The field descriptions for Data trace setting > Trend Setup window are as
follows:
Field Label
332
Description
Trace
Trigger settings
Bit condition
R200
January 2011
12. Monitoring
12.8. Data traces
Step
Action
Trigger.
Address
Word condition
Address
Sampling frequency
Total sample
OK
Cancel
To set the bit trigger, select the bit condition check box.
Enter the address to use as a bit condition. Bit address format is only
available.
To set the Word Trigger, select the word condition check box.
It uses the variation of the word address value as a trigger condition.
Enter the address to use as a word condition. Word address format is only
available.
R200
January 2011
333
12. Monitoring
12.8. Data traces
Step
Action
Select a condition to use to compare with the constant value input. Available
conditions are as follows:
< (less than), <= (less than or equal to), == (equal to), >= (greater than or
equal to), > (greater than),
Bit address settings
10
Select the Bit address settings tab on the Data Trace Settings window.
It is used to select the bit address to collect data. The selected address
displays in a bit graph.
The field descriptions for Data trace setting > Bit address settings window
are as follows:
Field Label
Description
Number of addresses
Size of data
Address list
ATTENTION
A maximum of 16 bit type addresses can be entered.
Word address settings
11
Select the word address setting tab on the Data Trace Settings window.
It is used to select the word address to collect data. The selected address
displays in a word graph.
The field descriptions for Data trace setting > Word address settings
window are as follows:
Field Label
334
Description
Number of Address
Size of data
R200
January 2011
12. Monitoring
12.8. Data traces
Step
Action
decided based on the specified data type.
Address list
Address
Data type
ATTENTION
A maximum of eight addresses of word type can be entered.
Supported data types are as follows:
Type
Size
Type
Size
SINT
1 byte
REAL
4 bytes
INT
2 bytes
LREAL
8 bytes
DINT
4 bytes
INT
2 bytes
LINT
8 bytes
DINT
4 bytes
USINT
1 byte
LINT
8 bytes
ATTENTION
Use the number of samples in total and the number of samples after trigger to
apply various collection methods.
Graph settings
To view or change graph address settings:
Select Graph > Graph Settings. The Graph Setting window displays.
R200
January 2011
335
12. Monitoring
12.8. Data traces
336
a)
Show grid: used to decide whether to show XY grid or not on the window.
b)
Show trigger: used to decide whether to display the trigger position on the
graph, and to specify the color.
c)
Bit graph legend: used to specify the position of bit graph index. The options
are displayed as: No Index, Left Upper, Right Upper, Left Bottom, and Right
Bottom for the Bit Index Position.
d)
Word graph legend: used to specify the position of word graph index. The
options are displayed as: No Index, Left Upper, Right Upper, Left Bottom, and
Right Bottom for the Word Index Position.
e)
f)
g)
R200
January 2011
12. Monitoring
12.8. Data traces
Action
Click the color column to display color dialog box. On the dialog box, select a
color and click OK.
Trace
It is used to read the data traced from the PLC or the data specified.
Write trace setting
It applies the trace setting to the PLC.
To view write trace settings:
R200
January 2011
337
12. Monitoring
12.8. Data traces
Animation
Using the trace data read from the PLC, it displays the data chronological sequence.
Animation settings
To view animation settings:
Step
Action
On the Data Traces window menu, select Animation > Animation Setting.
The Animation window displays.
The field descriptions for Animation window are as follows:
Field Label
Description
Frequency
OK
Cancel
Start
It is used to start Animation. Animation is active only with trace data is available.
Pause
It is used to stop Animation in progress momentarily.
338
R200
January 2011
12. Monitoring
12.8. Data traces
Resume
It is used to continue Animation which was momentarily stopped.
Stop
It is used to stop Animation.
Graph function
REFERENCE - INTERNAL
For additional information on the basic graph functions, refer to Graph
function.
Move trigger
It moves the trigger to its generated point of time.
To move the trigger:
File function
It is used to save or read trace setting from the file.
Open
Perform the following steps to open a file.
Step
Action
R200
January 2011
339
12. Monitoring
12.8. Data traces
Save
Perform the following steps to save a file.
Step
Action
Click File > Save. The File Save dialog box displays.
Save as
Perform the following steps to save a file with a specific file name.
Step
Action
Click File > Save As. The File Save dialog box displays.
Action
Save text
It is used to save the graph data on the file in text. Samples as many as the maximum
samples specified in setting as maximum graph are saved.
Perform the following steps to save trace data as text.
Step
340
Action
R200
January 2011
12. Monitoring
12.8. Data traces
Copy clipboard
It is used to copy the graph currently displayed on the window clipboard.
To copy the data onto the windows clipboard:
View function
This function is used to display or hide the tool bar and the status display line on the
window.
View tool bar
To view toolbar:
Data
It displays the trace data value. View Data is active only with trace data available.
To view Trace Data:
Click View > Trace Data. The Trace Data window displays.
R200
January 2011
341
12. Monitoring
12.9. Custom events
342
a)
b)
c)
Data Grid: displays the current value specified in the sequence of the
samples. The sample data displays in negative before trigger, and in positive
after trigger.
d)
e)
R200
January 2011
12. Monitoring
12.9. Custom events
Action
Write the program to the PLC and click Monitor > Custom Event. The
Custom Event window displays.
Click Menu>Add event. The Event Setting window displays and setup basic
setting in the window.
R200
January 2011
343
12. Monitoring
12.9. Custom events
Step
Action
Click Associated Address Setup tab and setup the bit address %MX100
and word address %MW0 to store the data when the event is met.
Click Online > Monitor > Custom Event to check event history. The
Custom Event window displays and select Event History tab.
In the Event History tab, an Event History window displays when you select
an event item, click Properties to view the list of associated address and the
details of event.
Event setting
Example
An event is defined as the data of %MW0 whose data increase by 1 if every scan is
greater than 100 and less than 110, and if the event is met, PLC stores the data of
%MW0.
Perform the following steps for event setting.
Step
Action
Click Monitor > Custom Events. The Custom Events window displays.
344
Description
Used to determine whether to allow the user
event or not. If the event is disabled, PLC
does not collect the Custom Events.
R200
January 2011
12. Monitoring
12.9. Custom events
Step
Action
Events History
Menu
Apply PLC
OK
Cancel
ATTENTION
For additional information on each item of the events list, refer to Adding
custom event item.
Action
On the Custom Event window, select Add Event from Menu. The Event
Setting window displays.
R200
January 2011
Description
Address
Variable Names
Event condition
345
12. Monitoring
12.9. Custom events
Step
Action
event occurs whenever the event address value
changes.
Type
Message
OK
Cancel
Enter event address information, event conditions, event type, and event
message or click Variable/Comment to select the address from the declared
Variable/Comment.
Description
Available
ATTENTION
Event type is specified by user based on the importance of the event and is
used as a classifying method of events for Event View.
346
R200
January 2011
12. Monitoring
12.9. Custom events
REFERENCE - INTERNAL
For additional information on address type and display format, refer to
Registering variable/comment. Also refer to Event history.
ATTENTION
Size
Type
Size
BIT
1 Byte
REAL
4 Bytes
USINT
1 Byte
LREAL
8 Bytes
UINT
2 Bytes
INT
2 Bytes
UDINT
4 Bytes
DINT
4 Bytes
ULINT
8 Bytes
LINT
8 Bytes
Editing events
It is used to edit the user event items.
Perform the following steps to edit a user event.
Step
Action
Right-click and select Edit Event from the context menu. The Event Setting
window displays.
R200
January 2011
347
12. Monitoring
12.9. Custom events
Step
3
Action
Update the changes and click OK to save the changes, or click Cancel to
cancel it.
Deleting event
It deletes the user event input.
Perform the following steps to delete an event.
Step
Action
Select Delete All from the context menu to delete all events.
348
Action
R200
January 2011
12. Monitoring
12.9. Custom events
Action
Select the event to copy.
Right-click and select Copy from the context menu.
Move to the position to paste and right-click and select Paste from the
context menu.
Action
Save event
Since the user-defined event is saved in PLC, it is additionally saved to manage as files.
Perform the following steps to save all the events.
R200
January 2011
349
12. Monitoring
12.9. Custom events
Step
Action
Enter a file name to save on the File Save dialog box and click OK.
Open event
It read user-defined event setting from the file.
Perform the following steps to open an event.
Step
Action
On the Custom Event window, right-click and select Open Event from the
context menu.
ATTENTION
Event history
Read the user event history saved in the PLC to display the details.
Perform the following steps to view event history.
Step
Action
Description
R200
January 2011
12. Monitoring
12.9. Custom events
Step
Action
Menu
Apply PLC
OK
Cancel
ATTENTION
REFERENCE - INTERNAL
For additional information on an event history item, refer to Detailed event
history view.
Action
On the Custom Event window, select the item to display its Event History.
R200
January 2011
Description
Displays the date when an event occurs in YearMonth-Date format.
SoftMaster User's Guide
Honeywell
351
12. Monitoring
12.9. Custom events
Step
Action
Time
Condition
Related address
list
Back
Next
Copy
Close
REFERENCE - INTERNAL
For additional information on an event history item, refer to Detailed event
history view.
Refresh
It updates the event history with recent details in PLC.
To refresh the event history, on the Custom Event window, click Menu>Refresh.
Event filtering
The history displays based on the event type selected.
Select View All.
352
R200
January 2011
12. Monitoring
12.9. Custom events
R200
January 2011
353
12. Monitoring
12.9. Custom events
354
R200
January 2011
13. Debugging
13.1 Start/stop debugging
Start debugging
Perform the following steps to start debugging.
Step
Action
ATTENTION
Debug function is available only when the SoftMaster program and PLC
program are identical. If they are not identical, download the applicable
program.
If an error occurs on the PLC, Debug instruction does not work normally.
Clear the error to run the Debug instruction.
Stop debugging
Perform the following steps to stop debugging.
Step
Action
Click Online > Change Mode > Stop or Debug > Start/Stop Debugging.
ATTENTION
Even if Debug stops, Monitoring continues.
R200
January 2011
355
13. Debugging
13.2. LD program debugging
Action
ATTENTION
356
R200
January 2011
13. Debugging
13.2. LD program debugging
Remove breakpoint
Perform eth following steps to remove Breakpoints.
Step
Action
Go
It starts program debugging using the specified Breakpoint. With the Go function, the
program can be run up to the Breakpoint specified.
Perform the following steps to run the program up to the specified Breakpoint.
Step
Action
Click Debug > Go. The program runs until the breakpoint condition is reached.
R200
January 2011
357
13. Debugging
13.2. LD program debugging
Step
Action
Go to cursor
It is used to make the program run up to the cursor position.
Perform the following steps to run the program until the cursor position.
Step
358
Action
R200
January 2011
13. Debugging
13.2. LD program debugging
ATTENTION
If not with CALL instruction or if the CALL running condition is not satisfied,
the program runs to the next step.
R200
January 2011
359
13. Debugging
13.2. LD program debugging
Step out
It is used to step out of the subroutine block once entered with Step into function
executed.
360
R200
January 2011
13. Debugging
13.2. LD program debugging
ATTENTION
If the currently debugged step is not inside the subroutine block, the
program is run to the next step.
Step over
It is used to run the program to the next step. Unlike Step Into, even if the current step is
an application instruction CALL, it does not enter the subroutine block but run the
program to the next step.
R200
January 2011
361
13. Debugging
13.3. List of break points
362
Program: Displays the name of the program where the breakpoint is used.
Count: The number of time run, as the specified steps where the breakpoint is
caught, PLC is braked. (Example: if the breakpoint is set inside, FOR 20 ~
NEXT with the number of times 10, FOR 20 ~NEXT is run 10 times and then is
braked.)
Go to: Used to move to the position where the selected breakpoint is used.
R200
January 2011
13. Debugging
13.4. Variable break
ATTENTION
A maximum of 62 Breakpoints can be registered in the PLC.
On the menu, click Debug > Breakpoint Conditions. The Break Condition
window displays. Select Variable Break point tab.
R200
January 2011
a)
Use the address as a variable break point: If you do not select the check
box, the variable break even if saved, is not be used.
b)
c)
Program: Shows the program name of the variable used for variable break.
d)
e)
f)
Value Condition: If you do not select the check box, the value even if saved,
does not make the value break engaged.
SoftMaster User's Guide
Honeywell
363
13. Debugging
13.5. Scan break
g)
Value: If the specified address value is reached, the break is engaged. The
maximum/minimum value is based on the variable type.
h)
i)
j)
k)
Condition: Makes the break engaged when writing the value or reading the
value from address.
364
Action
R200
January 2011
13. Debugging
13.5. Scan break
ATTENTION
Among variable types, BYTE, NIBBLE, and STRING do not support the
variable break instruction.
When the PLC is in debug mode, the meeting of any one condition
(breakpoint, variable break, scan break, and so on), applies the break.
Click the program name to move to the program position where the
variable break is applied.
Action
On the menu, click Debug > Breakpoint Conditions. The Break Condition
window displays.
a)
R200
January 2011
Use Scan Break point: If you do not select this check box, the specified
scan break times even if saved, is not run while PLC runs debugging.
SoftMaster User's Guide
Honeywell
365
13. Debugging
13.5. Scan break
Step
Action
b)
366
Action
Select Use Scan Break and specify the scan times to apply the break.
PLC informs that the scan break is engaged after executing as many as
specified scan times.
R200
January 2011
Open Project
Connect
Start Monitoring
Start
Online Editing
Edit
* Start Online Editing and Write Modified Program can be repeated.
Write Modified
Program
R200
January 2011
367
Open project
Click Project > Open Project. Opens the project identical to the PLC project to
perform Online Editing.
or
Connect
Start monitoring
368
Online editing is available after its program window is active and the program is
selected.
After Program or Variable is edited during Run, the program window changes to
edit mode during Run.
R200
January 2011
If Online Editing starts, the background color of the program can be changed
through its applicable option.
Edit
R200
January 2011
369
ATTENTION
Project properties
Program
Global variable
Local variable
User-defined type
370
Description
Edit
Add
Delete
Change
Add
Delete
Item
Description
Edit
Add
Delete
Change
LD
Edit
IL
Edit
Change
SFC
Edit
Add
Add
Delete
Delete
Change
Change
Add
Add
Delete
Change
User-defined
function/function
block
SFC Transition
(LD)
Delete
Change
Add
Parameter change
Edit
Delete
Local variable
retain setting
Edit
Change
Global variable
retain setting
Edit
R200
January 2011
15. Printing
15.1 Print project
Printing a project
This instruction is used to print the contents of a project sequentially.
It is also used to select items to be printed, specify necessary setting options for printing
per item, and execute Preview and Print instruction.
To print the contents of a project:
Click Project > Print Project. The Print Project window displays.
R200
January 2011
a)
Project Level Diagram: Displays tree structure of the item printable in the
Project. Detailed setting functions are available in the tree structure of the
Level Diagram. Print and Previous View functions are available for the
selected item.
b)
c)
Save Selection Item: Saves the selected item in the Project Level Diagram.
SoftMaster User's Guide
Honeywell
371
15. Printing
15.1. Print project
d)
Details: Used to specify details of the selected item in the Project Level
Diagram.
e)
Preview: Used to view the selected item before print in the Project Level
Diagram.
f)
Settings: Sets the general print options such as Printer Setting, Print Page
Setting, Margin Setting, and so on.
ATTENTION
Details button in the Project Level Tree is enabled only if you select
the Cover, Program, I/O parameter.
Refer to each print option for setting each item in detail (Program
Print Setting Program Print).
Print setting
It is used to specify paper to print on and the printer.
Click Settings>Page Setup on the Print Project window or right-click on the Print
Project window and select Page Setup from the context menu.
.
a)
b)
Page Setup: Used to specify the page setup of the paper to print on.
c)
Page setup
It is used to specify margins of paper to print.
Perform the following steps to specify the Page setup:
372
R200
January 2011
15. Printing
15.1. Print project
Step
Action
Select Page Setup from the context menu. The Page Setup window
displays.
a)
b)
c)
d)
e)
f)
ATTENTION
R200
January 2011
373
15. Printing
15.1. Print project
printed.
Header/footer setting
It is used to specify the content of Header/Footer.
374
a)
b)
Insert Field: used to insert the field into the position of the cursor currently
placed on the Edit Box (left, center, right).
R200
January 2011
15. Printing
15.1. Print project
ATTENTION
The user can specify the content of the header/footer using Input and
Field at the same time.
Example: If the content of The date today is &d is input on the
header/footer The date today is 2004-06-01 is printed.
Field Content
Path and file name: &F file name displayed with its directory route.
Cover setup
It is used to specify the print cover.
Perform the following steps to specify the print cover.
Step
Action
Select Cover in the Project Level Diagram on the Print Project window.
Right-click Cover and select Details or click or press Enter key. The Cover
Setup window displays.
R200
January 2011
375
15. Printing
15.1. Print project
Step
Action
376
Description
Cover Paper
Margin Display
Edit Box
Edit
Font
Add
R200
January 2011
15. Printing
15.1. Print project
Step
Action
Delete
OK
Cancel
Add content
Perform the following steps to add content.
Step
Action
On the Cover Setup window, right-click and select Add from context menu.
Move the mouse on the Cover setup page. The mouse cursor changes.
Click on Cover setup page to view an Edit dialog box. Edit the required text.
Press ESC to change the mouse cursor to the arrow shape again.
ATTENTION
R200
January 2011
Edit Box can be aligned in the page. It is available through the menu,
right-click and select the alignment from the context menu.
Edit Box > Center: aligns the selected Edit Box to the center of
page.
String > left Align: aligns the content of the selected Edit Box to the
left of the page.
377
15. Printing
15.2. LD program print
Edit Box can be moved by Drag and Drop instruction of the mouse
or with the arrow keys.
Action
R200
January 2011
15. Printing
15.2. LD program print
Step
Action
Field Label
Description
Select Program
View Options
Contact
Print Range
Print in Color
Print Grid
OK
Cancel
Print Setting
Page Setting
ATTENTION
When printing the project, click Details after selecting the program name to
set print setup.
R200
January 2011
379
15. Printing
15.2. LD program print
Print preview
It is used to see the preview of the specified print job.
380
R200
January 2011
R200
January 2011
381
Action
Click Project > Add Item >-Function.
or
Click Project > Add Item > Function Block.
The User Function/Function Block window displays.
The field descriptions for User Function/Function Block window are as
follows:
Field Label
382
Description
Program Name
Language
Use EN/ENO
Designates the type of the results after a userdefined function is executed. It is activated only
when a user-defined function is created.
Program
description
OK
Cancel
R200
January 2011
Step
Action
ATTENTION
If you click OK, a new item with the name entered in the item of User
Function/Function Block creates.
Action
Double-click a local variable among the items created with the name of User
Function/Function Block, the following local variable window displays.
R200
January 2011
a)
b)
Add input variable, I/O variable, and output value in the local variable window.
Depending on the added I/O variables, the function/function block type is
automatically changed on the local variable window.
SoftMaster User's Guide
Honeywell
383
Step
Action
ATTENTION
Minimum input variable and output variable must be at least one.
But, the maximum number is limited to 32.
Action
Double-click a program among the items created with the newly created User
Function/Function Block, a program window with the previously designated
language appears.
The following window shows the screen created when selecting the LD.
384
R200
January 2011
Step
Action
Create a program, based on the variable input in the local variable window.
ATTENTION
If local variable edit and program edit are completed, select
function/function block toolbar instruction to check whether the
edited User Function/Function Block is registered.
R200
January 2011
385
386
Action
Open the program to use a User Function/Function Block and move the
cursor to the position to input.
R200
January 2011
Program simulation
You can simulate the program written by LD/SFC/ST in the SoftMaster. It supports
online editing by which you can edit during RUN mode and debugging function by
which you can trace the program as step unit.
You can use program monitoring function and online diagnosis function such as system
monitoring, address monitoring, trend monitoring, data trace, and custom events.
Module simulation
You can simulate the digital I/O module, A/D conversion module, D/A conversion
module, counter, temperature control module, positioning module. By using simulation
function, you can set the input value of each module.
You can set address value by setting specific address value or channel value of the
module as input condition. If you use I/O input condition setting, you need not write
other program to test PLC program.
System configuration for execution of SoftMaster-SIM
The system configuration required by SoftMaster-SIM is higher than that of SoftMaster.
Minimum specification: Pentium 3900MHz, RAM 256MB.
Recommended specification: Pentium 4, 1.5GHz, RAM 512MB and more.
R200
January 2011
387
ATTENTION
In case of minimum specification, the fixed period scan may not operate
properly because scan period may be longer than the fixed period and
disconnection may occur. Despite using recommended specification, if
system load is heavy, same phenomenon may occur. And regardless of
system specification, according to user setting like systems SLEEP mode,
disconnection can occur.
When using fixed period, fixed period error/warning dialog box may not
display.
Starting SoftMaster-SIM
Perform the following steps to start SoftMaster-SIM.
Step
388
Action
Start SoftMaster and write the program to execute through the SoftMasterSIM.
Click Online > Change Mode > Run and execute the download program.
When using SoftMaster-SIM, for online menu supported by SoftMaster, refer
to the following table.
SoftMaster User's Guide
Honeywell
R200
January 2011
Menu items
support
Menu items
support
Fault mask
Module changing
wizard
Disconnect
Read
Start/stop monitoring
Write
Pause
Resume
Pausing conditions
Reset PLC
System monitoring
Clear PLC
Address monitoring
Special module
monitoring
PLC Information
(Performance)
Custom events
PLC Information
(Password)
Data traces
Start/stop debugging
Debug (Go)
R200
January 2011
389
Menu items
390
support
Menu items
support
PLC errors/warnings
I/O Information
Set/Remove
Breakpoints
Force I/O
Breakpoints list
Skip I/O
Breakpoint conditions
R200
January 2011
1.
Channel list
Displays favorite channels according to module and channel. In case of module, displays
only module set in I/O parameter. In module, B0 means base number and S00 means slot
number.
2.
I/O condition
R200
January 2011
391
Status
Description
Initial conditions
Connection
available
Continuous I/O
condition execution
Window
Channel list
Module channel
In tree view, double-click the channel you want to read. If you use specific channel as
favorite channel, select favorite channel check box.
392
R200
January 2011
Channel monitor
Perform the following steps to monitor a channel.
Step
Action
Start monitoring:
1
R200
January 2011
393
I/O condition
I/O condition is used to write a specific value to specific address when specific condition
is met by user input. For example, if address %IX0.0.0 becomes 1, set address
%MX0~%MX100 as 1.
The user should modify address value periodically by using the monitor current value of
SoftMaster or write other PLC program to test PLC program. SoftMaster-SIM support
reflects the data yielded to a module or entered from a module to a program.
Condition expression
Displays condition expression used in the single input condition and continuous
condition. One condition expression consists of more than one condition by combination
of conditions.
Type
Comparison
Numerical
operation
Bit
operation
394
Operator
Priority
Contents
==
Equal
!=
Not equal
>
Greater than
>=
<=
<
Less than
Add
Subtract
Multiply
Division
&
12
Bit multiply
13
Bit sum
14
R200
January 2011
Type
Logical
operation
ETC.
Operator
Priority
Contents
&&
10
Logical multiply
||
11
Logical sum
Action
R200
January 2011
395
Step
Action
Action
Modify the items in the I/O condition dialog box and click OK.
396
Action
R200
January 2011
Action
Action
Insert line
Perform the following steps to insert a line.
Step
1
R200
January 2011
Action
Select line to insert.
397
Step
2
Action
Click Edit > Insert Line.
Delete line
Perform the following steps to delete a line.
Step
Action
398
R200
January 2011
The field descriptions for Single I/O Condition window are as follows:
Field Label
Description
Use condition
Name
Description
Always execute
Execution by button
Execution by condition
expression
R200
January 2011
399
a)
b)
Set value: Inputs setting value. Values available are: Address, channel, and
constant.
The field descriptions for Single I/O Condition window are as follows:
400
R200
January 2011
Field Label
Description
Use condition
Name
Description
Always execute
Execution by button
Execution by condition
expression
Description
Repeated Execution
Output setting
R200
January 2011
401
ATTENTION
When setting continuous I/O, it writes the value in the continuous value
setting to each address/channel. If you set the Ignore Condition during
execution, only the first value is written. If Always Execute is set, all the
values are written in sequence. And if you set repeated value, it writes value
repeatedly.
Continuous value
no.
Value
For example,
not setting Ignore Condition while execution/ not setting Repeated
Execution (Execution by button / condition expression is false)
77777777
not setting Ignore Condition while execution/ not setting Repeated
Execution (Always execution / condition is true)
7654321
setting Ignore Condition while execution / not setting Repeated Execution
7654321
not setting Ignore Condition while execution / setting Repeated Execution
(Execution by button / condition expression is false)
77777777777777
402
R200
January 2011
The field descriptions for Continuous I/O Condition window are as follows:
Field Label
Description
Address/channel
Value
R200
January 2011
403
Field Label
Description
OK
Cancel
Action
The field descriptions for Continuous I/O Condition window are as follows:
Field Label
404
Description
Channel/Address Name
OK
Cancel
R200
January 2011
Input value
Perform the following steps to enter values.
Step
Action
On the Continuous Value Setting dialog box, move the cursor to the
position to enter the value.
Auto fill
Perform the following steps to auto fill.
Step
Action
On the Continuous Value Setting dialog box, select the area to be copied.
ATTENTION
R200
January 2011
If you use control key for auto fill, you can input the value according
to mouse drag direction.
405
On the menu, click Tools > Use single I/O condition or Tools > Use continuous
I/O condition.
End monitoring
To end monitoring:
406
On the menu, Cancel Tools > Use single I/O condition or Tools > Use continuous
I/O condition.
R200
January 2011
ATTENTION
Program is executed from first step to last step repeatedly and this process is
called as scan program. SoftMaster-SIM is also executed through scan and
has the following process.
Module simulation
SoftMaster-SIM supports simple simulation function for the I/O module and special
module. In case of digital I/O module, it supports I/O function about I or Q area and in
case of special module it supports monitoring function such as analog input or output
value monitoring.
R200
January 2011
407
Setting of module
All simulation function in the SoftMaster-SIM uses information set in the I/O parameter.
Hence, ensure that you set each module in the I/O parameter to simulate module and
reflect it to program.
For example, in order to simulate the following PLC system, set the I/O parameter as
follows:
Base
Slot
Module name
Module type
DC 2
Basic base
2MLI-D21A
Basic base
2MLF-AV8A
Basic base
2MLF-HO2A
4V input 8 points
After executing the SoftMaster-SIM, the module set in the I/O parameter displays as
follows in System Monitoring.
408
R200
January 2011
ATTENTION
To apply I/O parameter set in the SoftMaster, download I/O parameter to
SoftMaster-SIM. In case the module has been changed, re-launch
SoftMaster-SIM module and execute the SoftMaster-SIM again.
Modification of the
monitor current value is
available.
Modification of the
SoftMaster-SIM channel
value is available.
Modification of output
value
Not available
Not available
Not applied
Applied
Not applied
Applied
Support
SoftMaster-SIM supports four types of input voltage range and digital data output format
and two types of input current range. It is as follows.
Input Voltage Range
1 ~ 5V
4 ~ 20mA
0 ~ 16000
0 ~ 5V
0 ~ 20mA
-8000 ~ 8000
R200
January 2011
409
0 ~ 10V
1000 ~ 5000
-10 ~ 10V
0 ~ 10000 (%)
Support
Parameter
Support
Operation channel
Filter constant
Input voltage(current)
range
Filter process
Average method
Filter process
Average value
You can set analog input value in the SoftMaster-SIM window and input range is
effective within voltage (current) set in parameter.
ATTENTION
For the analog modules parameter setting and how to use the program, refer
to the users guide of each module.
You can set the analog input value in the SoftMaster-SIM window.
Analog output module (D/A conversion module)
SoftMaster-SIM supports the following analog output module.
Module Name
410
Support
R200
January 2011
Module Name
Support
SoftMaster-SIM supports the following voltage (current) range and input data type.
Input Data Type
0 ~ 16000
1 ~ 5V
4 ~ 20mA
-8000 ~ 8000
0 ~ 5V
0 ~ 20mA
1000 ~ 5000
0 ~ 10V
0 ~ 10000 (%)
-10 ~ 10V
Support
Operation channel
You can input digital input value through special module variable and it is effective
within the range set in the parameter.
ATTENTION
For analog output modules parameter and how to use the program, refer to
the users guide of each module.
You can check the changed analog output value in the SoftMaster-SIM windows
channel item.
R200
January 2011
411
Support
412
Support
Parameter
Support
Count mode
Preset
Comparison output 0
minimum setting value
R200
January 2011
ATTENTION
In the SoftMaster-SIM windows channel item, you can change current count value.
High-speed counter simulation, compare the input count value with parameter setting
value and use it as comparison output signal.
RTD module
The SoftMaster-SIM supports the following RTD module.
Module Name
Support
Support
Parameter
Support
Operation channel
Sensor type
Temperature unit
Filter constant
Average process
Average value
R200
January 2011
413
Parameter
Support
Parameter
Support
ATTENTION
For parameter specific content of RTD module and how to use the program,
refer to the users guide of each module.
You can set temperature input value in the SoftMaster-SIM windows channel item.
414
Support
R200
January 2011
Module Name
Support
The SoftMaster-SIM supports the following step data parameter (X/Y/Z axis).
Parameter
Support
Parameter
Support
Coordinate
Control method
M code
Operation pattern
ACC/DEC Number
Operation method
Operation speed
Dwell time
Circular interpolation
direction
Item
Basic parameter
Bias speed
Extension parameter
External command
External stop
External speed/position
conversion
Origin address
Origin/manual parameter
Origin/Manual parameter
R200
January 2011
Support
415
Parameter type
Item
Support
Inching speed
416
Command
Support
APM_ORG
Homing start
APM_FLT
APM_DST
Direct start
APM_IST
Indirect start
APM_LIN
APM_CIN
APM_SST
Simultaneous start
APM_VTP
Speed/position
conversion
APM_PTV
Position/speed conversion
APM_STP
Stop
APM_SKP
Skip operation
APM_SSP
Position sync.
APM_SSS
Speed sync.
APM_POR
Position override
APM_SOR
Speed override
APM_PSO
APM_NMV
Continuous operation
APM_INCH
Inching start
APM_RTP
Manual operation
previous location return
R200
January 2011
Function Block
Command
Support
APM_SNS
APM_SRS
APM_MOF
M code off
APM_PRS
APM_ZONE
APM_EPRS
Encoder preset
APM_EMG
Emergency stop
APM_CLR
Error reset
APM_PST
Point operation
APM_PWR
APM_SRD
APM_CRD
APM_ENCRD
APM_JOG
JOG start
APM_MPG
Meaning
151
221
R200
January 2011
417
Error code
418
Meaning
224
231
234
291
294
321
331
355
356
361
371
391
401
431
441
461
481
R200
January 2011
ATTENTION
Slot
Project Storage
Name
B0S0.apm
10
B0S10.apm
B1S0.apm
11
B1S11.apm
B2S0.apm
12
B2S12.apm
You can check APM modules status in the SoftMaster-SIM windows channel item.
R200
January 2011
419
ATTENTION
420
Meaning
XCurrentPosH
XCurrentPosL
XCurrentVelH
XCurrentVelL
R200
January 2011
17.3 Limitations
SoftMaster-SIM has the following limitations in comparison with real PLC.
Watchdog timer
In 2MLI PLC, you can set watchdog timer to prevent error. But in SoftMaster-SIM, it
does not work properly because scan time in SoftMaster-SIM is longer than that in PLC.
Communication module
SoftMaster-SIM does not support function related with communication module. So the
following function block does not work and is saved in SoftMaster-SIM.
Category
Name
Function
P2PSN
P2PRD_BOOL
P2PRD_BYTE
P2PRD_WORD
P2PRD_DWORD
P2PRD_LWORD
P2PWR_BOOL
P2PWR_BYTE
P2PWR_WORD
P2PWR_DWORD
P2PWR_LWORD
R200
January 2011
421
422
R200
January 2011
18. ST Edition
18.1 Writing ST program
ST based on character is a program language and conforms to IEC 61131-3.
Scan program, user function/FB, SFC can be written by ST language.
Adding scan program
Perform the following steps to add a scan program.
Step
Action
Click Project > Add item > Program. The Program window displays.
Action
Click Project > Add Item > Function or Function Block. The User
Function/Function Block window displays.
R200
January 2011
Action
Select the transition in which you want to input program in SFC program.
423
18. ST Edition
18.1. Writing ST program
Step
Action
After you select the transition, double-click or press Enter. The Transition
Properties window displays.
424
Action
R200
January 2011
18. ST Edition
18.2. Limit
18.2 Limit
When editing ST language, the limit is as described below.
Item
Content
Maximum number
of character in one
line
Limit
2048
ATTENTION
Shortcut Key
Description
Copy
Ctrl + C
Paste
Ctrl + V
Delete
Del
Cut
Ctrl + X
Undo
Ctrl + Z
Redo
Ctrl + Y
Select All
Ctrl + A
R200
January 2011
425
18. ST Edition
18.3. Editing program
Copy/paste
Copies selected character string into clipboard and pastes it.
Perform the following steps to copy and paste the character string.
Step
Action
ATTENTION
Undo/redo
Undo cancels edition and Redo cancels Undo action.
Perform the following steps to do Undo and Redo actions.
Step
1
Action
After executing Paste, click Edit > Undo.
Pasted contents are deleted.
426
R200
January 2011
18. ST Edition
18.3. Editing program
Adding/selecting variable
Enter a variable at the selected location.
Perform the following steps to add or select variable.
Step
1
Action
After moving the cursor, click Edit > Select/Add Variable. The Select
Variable window displays.
The field description for Select Variable window are as follows:
Field Label
R200
January 2011
Description
Variable
Local variable
Direct variable
Flag
List
All
Parameter number
Enter number to sort flags. 0~12 for highspeed link, 0~12 for P2P, 0~63 for PID.
Block index
Enter number to sort flags. 0~127 for highspeed link, 0~63 for P2P.
Global Variable
New Variable
Edit Variable
Delete Variable
427
18. ST Edition
18.3. Editing program
Step
Action
OK
Cancel
When you select, add a new variable. The Variable Name Add window
displays. The field description for Variable Name Add window are as follows:
Field Label
Description
Variable
Data Type
Variable Kind
Address
Initial Value
Trigger
Retain
Description
ATTENTION
428
Action
R200
January 2011
18. ST Edition
18.3. Editing program
Step
Action
The field description for Function/Function Block window are as follows:
Field Label
Description
Name
Search
List
Category
Function List
Function Information
OK
Cancel
ATTENTION
I/O parameters of function/function block are not inserted
automatically. Additionally, you should edit them.
R200
January 2011
429
18. ST Edition
18.4. Viewing program
Action
Select ST.
The field description for Options window are as follows:
Field Label
430
Description
Parameter information
Tab size
Auto indent
Enhance
R200
January 2011
18. ST Edition
18.4. Viewing program
Font/color
It is used for designating the font or color in the ST program.
Perform the following steps to change the font in the ST program.
Step
Action
Change Font.
ATTENTION
Action
Change color.
Zoom
ST program does not support Zoom function.
Tab
When using Tab, Tab size is designated.
Perform the following steps to change the tab size.
Step
Action
Select ST.
Select Change Tab size. For tab size 4, the screen is as follows:
R200
January 2011
431
18. ST Edition
18.4. Viewing program
Step
Action
ATTENTION
432
Action
R200
January 2011
18. ST Edition
18.5. Additional edit functions
Action
Removing bookmark
Perform the following steps to remove the bookmark.
Step
Action
R200
January 2011
433
18. ST Edition
18.5. Additional edit functions
Step
Action
Previous bookmark
To go to previous bookmark:
Next bookmark
To go to next bookmark:
434
R200
January 2011
18. ST Edition
18.5. Additional edit functions
Step
Action
ATTENTION
Following are the descriptions of character string list bit map.
1.
R200
January 2011
2.
: Variable name
3.
4.
: Function name
SoftMaster User's Guide
Honeywell
435
18. ST Edition
18.5. Additional edit functions
Step
Action
5.
6.
7.
Action
Enter . after name of FB or user data type instance.
For example, instance name of TON is TON_Inst.
436
R200
January 2011
18. ST Edition
18.5. Additional edit functions
Action
Action
R200
January 2011
437
18. ST Edition
18.5. Additional edit functions
Step
Action
438
Action
R200
January 2011
18. ST Edition
18.5. Additional edit functions
Action
Indent/outdent
Enables you to indent/outdent at the selected area.
Indent
Perform the following steps to indent.
Step
Action
Press TAB.
R200
January 2011
439
18. ST Edition
18.5. Additional edit functions
Step
Action
Outdent
Perform the following steps to outdent.
Step
440
Action
R200
January 2011
2MLK/I/R CPU: saves 3000 events at maximum (Up to 3000 events can be saved in
the order of occurrence.)
This is a software package for the operation and monitoring of the 2MLF-SOEA
module of 2MLT series.
2.
This package provides a function that enables independent operation of the SOE
monitor, regardless of the SoftMaster.
3.
2.
3.
4.
R200
January 2011
441
<Name>.set: the log file for the event the user has created. This file is created for
saving the event.
<Name>.xls: the module event file created by the user. Event record is saved in an
Excel file.
442
R200
January 2011
Field
Description
Menu
Tools
SOE
Event monitor
window
Status bar
Menu structure
If you select a menu item, commands appear. The commands can be executed with
mouse or keyboard. Some menus provide shortcut keys.
File
Command
Description
Open logging
Save logging as
Export to file
Exit
View
Command
Description
All Event
Filtering
Newest First
Oldest First
Compare Event
Find event
R200
January 2011
443
Command
Module Property
Description
Shows parameter setting (in online operation)
Online
Command
Description
Connect/Disconnect
Connection setting
Clear PLC Event History Deletes the event data saved in the PLC CPU memory.
Clear SOE Module
Event History
Refresh Event
Tool
Command
Description
Option
Customize
Window
Command
444
Description
New window
Cascade
Tile Horizontally
Tile Vertically
R200
January 2011
Command
Description
Close all
Help
Command
Description
Tools
Frequently used menu items are provided with respective shortcut keys (icons).You can
click the icon to execute the menu.
Action
On the Tools menu, click Customize.
The Customize window displays.
Click New.
The New Toolbar dialog box appears.
Description
Toolbars
New
Reset
R200
January 2011
445
CPU event history: Select the event saved in the CPU module.
Module event history: Select the event saved in the SOE module.
Double-click the CPU event history or module event history to activate the event monitor
window.
Status bar
The following figure displays the status bar of SOE Monitoring window.
446
Event No.: Shows the number of the events in the event monitor window.
PLC name: Shows the name of the PLC connected with the SOE monitor.
SoftMaster User's Guide
Honeywell
R200
January 2011
Save the latest SOE events: Used for saving the most recent event. If there are more
than 3000 events, the oldest event is deleted and the new event is saved.
Save the first SOE events: Used to maintain the first event. If there are more than
3000 events, no new events will be saved.
Action
In the project tree, click Parameter > I/O Parameter. The I/O Parameter
Setting window displays.
In the I/O Parameter Setting window, click the slot of the base where the
module is mounted.
In the example below, the 2MLF-SOEA module is at #4 slot, #0 base.
R200
January 2011
447
Step
448
Action
In the I/O Parameter Setting window, select the desired module from the
drop-down arrow.
After selecting the module, click Details. The SOE Module window displays.
The field description for the SOE Module window are as follows:
R200
January 2011
Step
Action
Field
Input Filter
Description
Sets up the time which enables an event to be
identified as an effective input data.
(Setting range: 1ms ~ 100ms)
SOE History
Event setting
details
R200
January 2011
449
Chatter setting
Chatter setting enables the module to identify an event repeated many times during a
short period of time as chattering, and not an effective event. Some sensors using
mechanical contacts may cause chattering, which can be eliminated with this function.
Setting items
1.
450
2.
Event number: Enter the number of the events including the first effective signal
(minimum 2)
3.
Chatter detection time (duration): If the chatter detection time is passed from the
time the first effective event was detected, the chatter detection function for the
specific event frequency is terminated, even if the set-up number of chattering is not
completed.
4.
Minimum chatter detection time (duration): Co-related with the set up chattering
event number.
R200
January 2011
In addition, since an event has passed the input filter, it should satisfy following criteria:
(Number of Events Input Filter Value) Chatter Detection Time (Duration)
or
Input Filter Value (Chatter Detection Time (Duration) / Number of Events)
For example:
If, chatter detection time = 30ms, number of chattering events = 5,
30ms 5 = 6ms,
Therefore, the input filter must be less than 6ms.
Example of chatter setting
Condition:
Input filter: 1ms
Detail event setting: Rise event
Chatter event: 4
Chatter time: 8ms
Sequence diagram of event occurrence is as follows:
R200
January 2011
451
Two of the four events passing the filter are ignored by chatter detection function.
The last event which enters after expiration of the chatter detection time is recorded
normally as the first event of a new period.
Action
Click Online > Connect. After connecting to PLC, click Online > I/O
Information. The I/O information window displays.
Action
Click Online > Connect. The SOE Monitoring menu is activated only after
connecting to PLC.
Click Monitor > SOE Monitoring. The SOE Monitoring window appears.
CPU Event History: the event history stored in the CPU module.
Module Event History: the event history stored in the SOEA module.
Double-click the CPU event history or module event history to activate the
event monitor window.
452
Double-click CPU Event History and click Online > Refresh Event.
Double-click Module Event History and click Online > Refresh Event.
SoftMaster User's Guide
Honeywell
R200
January 2011
Step
Action
Click View > All Event to search and compare all events.
Click View > Filtering to search the behavior of a specific event. The Event
Filtering window displays.
The field description for Event Filtering window are as follows:
Field
R200
January 2011
Description
Specify Event
Occurred Position
Event type
Show SOE
installed position
only
Base/Slot
Begin/End
Specify the event filter with the time and the first
event, and the last event.
453
Filtering result:
#0 bit
Rise Event
You can also filter events based on Base and Occurred time.
Prioritizing events
454
Priority to the recent events: the recent events have priority over the old events in
the display list.
Priority to old events: the old events have priority over the recent events in the
display list.
SoftMaster User's Guide
Honeywell
R200
January 2011
To view the recent events first, click View > Newest First.
To view the old events first, click View > Oldest First.
R200
January 2011
455
Comparing events
Compare the events stored in the CPU and event input modules and show the result.
To compare the events, click View > Compare Event.
456
R200
January 2011
Action
Select the event history to be converted into an Excel file in the event monitor
window.
ATTENTION
The conversion to an Excel file is effective only for the currently
active main screen (one window).
5
R200
January 2011
Open file in the Excel application (to read the saved event file in Excel).
457
458
R200
January 2011
R200
January 2011
459
Redundancy
parameter
Contents
Base
Module
Hot Swapping
Option
Extended Base
Power Failure
Setup
Warning Option
Switching
condition
I/Q Base
Redundancy
Synchronization
Area
460
Operation
R200
January 2011
Redundancy
parameter
R200
January 2011
Contents
Operation
M Area
R Area
W Area
PID Block
461
The following table describes the fields in the Redundancy PLC state window.
Field
462
Description
R200
January 2011
The following table describes the fields in the Redundancy control window.
Field
Description
Master CPU
Change
R200
January 2011
463
ATTENTION
The redundancy state is changeable:
1.
2.
3.
The following table describes the fields of the Standby CPU in the Redundancy Control
window.
Field
464
Description
R200
January 2011
System configuration
To perform system configuration:
465
1.
2.
3.
4.
5.
It displays base information of selected base (click mouse button or press enter key).
Click View > Node Count, then select node among [2], [3], [4], [5], [6].
466
To view node count [2]: click View > Node Count - [2].
R200
January 2011
To view node count [4], click View > Node Count - [4].
Base information
It displays base information installed in base.
R200
January 2011
467
Master/standby base
2.
3.
4.
5.
6.
7.
8.
9.
468
R200
January 2011
Expansion base
It displays base number of expansion module.
Base information
1.
2.
3.
R200
January 2011
Base Number: Base number which is set in the switch of base setting for expansion
drive module.
SoftMaster User's Guide
Honeywell
469
2.
3.
4.
5.
6.
Port 1 Cable: Cable type (Optic/Electric) connected with port 1. In case of Electric
cable, it displays the measured length of cable for port 1.
7.
Port 1 Date: In case of Electric cable, it displays the measured date for port 1.
8.
9.
Port 2 Cable: Cable type (Optic/Electric) connected with port 2. In case of Electric
cable, it displays the measured length of cable for port 1.
10. Port 2 Date: In case of Electric cable, it displays the measured date for port 1.
Base changing wizard
Base can be changed easily by Base Changing Wizard while PLC is operating. Base
Changing Wizard has four steps: Selecting Base, Removing Base, Installing New Base,
and Changing Base Finished.
ATTENTION
In 2MLR system, a part of expansion base can be exchanged according to
configuration of expansion base.
470
Action
In Selecting Base window, select base for changing and click Next.
R200
January 2011
Step
Action
Description
: Non-changeable base).
ATTENTION
If Base Changing Wizard execution is canceled, selected base is
excluded from operation. Ensure to check Fault Mask and I/O Skip.
R200
January 2011
471
Step
3
Action
Follow the information of Removing Base step and click Next.
Description
ATTENTION
Error in Removing Base is occurred when base is not removed.
4
472
R200
January 2011
Step
Action
The field description for Installing New Base window are as follows:
Field
Description
ATTENTION
Error in Installing New Base is occurred when base is not installed. If
base is installed normally, error is occurred when module type is
different within setting module in I/O parameter and real installed
base.
R200
January 2011
473
Step
Action
The field description for Changing Base Finished window are as follows:
474
R200
January 2011
Step
Action
Field
Description
ATTENTION
Follow the below steps when base changing without Base Changing
Wizard.
1.
2.
3.
4.
5.
6.
7.
8.
REFERENCE - INTERNAL
For more information, refer to 2MLR CPU Users Guide.
R200
January 2011
475
476
R200
January 2011