HMI Manual VK, VT V1.0 PDF
HMI Manual VK, VT V1.0 PDF
HMI Manual VK, VT V1.0 PDF
INTRODUCTION
-i-
1
1.1. Project Development Steps
Set up project
Create a project
protection
Local macros
Download current
panel application
Run
Make Same Width Make the selected objects have the same width as the reference
Size object.
Height Make the selected objects have the same height as the reference
object.
Both Make the selected objects have the same width and height as the
reference object.
Nudge Left Nudge the selection left. When the Snap to Grid option is not
selected, all objects of the selection move one pixel left. When the
Snap to Grid option is selected, each object of the selection moves
left to where its upper-left corner aligns to the nearest grid point.
Right Nudge the selection right. When the Snap to Grid option is not
selected, all objects of the selection move one pixel right. When the
Snap to Grid option is selected, each object of the selection moves
right to where its upper-left corner aligns to the nearest grid point.
Up Nudge the selection up. When the Snap to Grid option is not
selected, all objects of the selection move one pixel up. When the
Snap to Grid option is selected, each object of the selection moves
up to where its upper-left corner aligns to the nearest grid point.
Down Nudge the selection down. When the Snap to Grid option is not
selected, all objects of the selection move one pixel down. When the
Snap to Grid option is selected, each object of the selection moves
down to where its upper-left corner aligns to the nearest grid point.
Continued
Set Order Start the order setting process for the objects of the active screen.
Object Open the property sheet of the selected object.
Properties...
Save as Save the selected object as the default object for the type of that
Default object. Default objects are saved in the Objects category of the
object library.
Save to Object Save the selected object to the object library.
Library...
Save as Global Save the selected object as the global object which is saved in the
Object… Global category of the object library. Global Objects can be used for
the Global Object Containers.
Note:
1. To select a reference object from the selection, use [Ctrl+Click].
2. To add an object to the selection, use [Shift+Click].
New Screen... Create a new screen for the current panel application.
Screen Properties Open the screen property dialog box for the current screen.
Horizontal Line Get ready to place a copy of the default horizontal line on a screen.
Vertical Line Get ready to place a copy of the default vertical line on a screen.
Round Rectangle Get ready to place a copy of the default round rectangle on a screen.
Clipped Rectangle Get ready to place a copy of the default clipped rectangle on a screen.
Pie Get ready to place a copy of the default pie shape on a screen.
Text Get ready to place a copy of the default text object on a screen.
Picture Get ready to place a copy of the default picture object on a screen.
Bit Button Get ready to place a copy of the default bit button on a screen.
Scroll Bar Get ready to place a copy of the default scroll bar on a screen.
Bit Lamp Get ready to place a copy of the default bit lamp on a screen.
English Select English as the language for the U/I of the software.
Chinese (Simplified) Select simplified Chinese as the language for the U/I of the
software.
Chinese Select traditional Chinese as the language for the U/I of the
(Traditional) software.
Run Offline Simulation Run offline simulation for the current application.
Run Online Simulation Run online simulation for the current application.
Set Transparent Open the Set Transparent Communication dialog box.
Communication...
Start Transparent Start the transparent communication.
Communication
End Transparent End the transparent communication.
Communication
Update OS0 through Update the system program OS0 of the target panel through
BIOS its BIOS. This operation is useful when the system programs
of the target panel were destroyed.
Export Text... Export the text of the current application to a PTX file.
Import Text... Import the text in a PTX file for the selected application.
TextEditor Run the TextEditor program to edit the text of a PTX file.
New Screen Create a new screen for the current panel application.
Screen Properties Open the screen property dialog box for the current screen.
Off (State 0) Show the Off state of all the objects on the current screen.
On (State 1) Show the On state of all the objects on the current screen.
Compile the current application to build the runtime data. You can download the
Compile runtime data to the target panel. With the runtime data, the target panel performs
exactly like how the application was programmed.
Download
Download data using the existing settings to the target panel immediately
Immediately
Run Offline
Run offline simulation for the current application.
Simulation
Bit Button Get ready to place a copy of the default bit button on a screen.
Word Button Get ready to place a copy of the default word button on a screen.
Screen Button Get ready to place a copy of the default screen button on a screen.
Page Selector Get ready to place a copy of the default page selector on a screen.
Function Button Get ready to place a copy of the default function button on a screen.
Keypad Button Get ready to place a copy of the default keypad button on a screen.
Scroll Button Group Get ready to place a copy of the default scroll button group on a screen.
Scroll Bar Get ready to place a copy of the default scroll bar on a screen.
Radio Button Group Get ready to place a copy of the default radio button group on a screen.
Step Button Get ready to place a copy of the default step button on a screen.
Toggle Switch Get ready to place a copy of the default toggle switch on a screen.
Multistate Switch Get ready to place a copy of the default multistate switch on a screen.
Slide Switch Get ready to place a copy of the default slide switch on a screen.
Numeric Entry Get ready to place a copy of the default numeric entry on a screen.
ASCII String Entry Get ready to place a copy of the default ASCII string entry on a screen.
Advanced Numeric Display Get ready to place a copy of the default advanced numeric display on a screen.
Bit Lamp Get ready to place a copy of the default bit lamp on a screen.
Multistate Lamp Get ready to place a copy of the default multistate lamp on a screen.
Numeric Display Get ready to place a copy of the default numeric display on a screen.
ASCII String Display Get ready to place a copy of the default ASCII string display on a screen.
Message Display Get ready to place a copy of the default message display on a screen.
Time Display Get ready to place a copy of the default time display on a screen.
Date Display Get ready to place a copy of the default date display on a screen.
Day-of-week Display Get ready to place a copy of the default day-of-week display on a screen.
Dynamic Circle Get ready to place a copy of the default dynamic circle on a screen.
Dynamic Rectangle Get ready to place a copy of the default dynamic rectangle on a screen.
GIF Display Get ready to place a copy of the default GIF display on a screen.
Picture Display Get ready to place a copy of the default picture display on a screen.
Animated Graphic Get ready to place a copy of the default animated graphic on a screen.
Bar Graph Get ready to place a copy of the default bar graph on a screen.
Line Chart Get ready to place a copy of the default line chart on a screen.
Circular Bar Graph Get ready to place a copy of the default circular bar graph on a screen.
Scatter Chart Get ready to place a copy of the default scatter chart on a screen.
Alarm Display Get ready to place a copy of the default alarm display on a screen.
Historic Data Table Get ready to place a copy of the default historic data table on a screen.
Historic Event Table Get ready to place a copy of the default historic event table on a screen.
Historic Trend Graph Get ready to place a copy of the default historic trend graph on a screen.
Single Record Line Chart Get ready to place a copy of the default single record line chart on a screen.
Operation Log Display Get ready to place a copy of the default operation log display on a screen.
Recipe Selector Get ready to place a copy of the default recipe selector on a screen.
Recipe Table Get ready to place a copy of the default recipe table on a screen.
Sublink Table Get ready to place a copy of the default sublink table on a screen.
Schedule Setting Table Get ready to place a copy of the default schedule setting table on a screen.
Screen Window Get ready to place a copy of the default screen window on a screen.
USB Camera View Get ready to place a copy of the default USB camera view on a screen.
Horizontal Line Get ready to place a copy of the default horizontal line on a screen.
Vertical Line Get ready to place a copy of the default vertical line on a screen.
Round Rectangle Get ready to place a copy of the default round rectangle on a screen.
Clipped Rectangle Get ready to place a copy of the default clipped rectangle on a screen.
Pie Get ready to place a copy of the default pie shape on a screen.
Text Get ready to place a copy of the default text object on a screen.
Picture Get ready to place a copy of the default picture object on a screen.
Border Color Select a color for the border of the selected shape.
BG Color Select a color for the background of the selected solid shape.
FG/Pattern Color Select a color for the pattern of the selected solid shape.
Language Select a language that you are defining the text for.
Text Edit the text. Click to select the text from text database.
Text Select the text from the text database. Click to edit text.
Text Color Select a color for the text.
Center Position Position the text at the center within the object.
Horizontal Position Change the horizontal position of the text within the object.
Vertical Position Change the vertical position of the text within the object.
Align Left Align the text to the left of the text body.
Align Right Align the text to the right of the text body
External Label
Change the position of the external label.
Position
Snap to Grid Select or deselect the option of aligning objects to the grid points.
Make Same Width Make the selected objects have the same width as the reference object.
Make Same Height Make the selected objects have the same height as the reference object.
Make Same Size Make the selected objects have the same width and height as the reference object.
Nudge Left Nudge the selection left. When the Snap to Grid option is not selected, all objects of
the selection move one pixel left. When the Snap to Grid option is selected, each
object of the selection moves left to where its upper-left corner aligns to the nearest
grid point.
Nudge Right Nudge the selection right. When the Snap to Grid option is not selected, all objects of
the selection move one pixel right. When the Snap to Grid option is selected, each
object of the selection moves right to where its upper-left corner aligns to the nearest
grid point.
Nudge Up Nudge the selection up. When the Snap to Grid option is not selected, all objects of
the selection move one pixel up. When the Snap to Grid option is selected, each
object of the selection moves up to where its upper-left corner aligns to the nearest
grid point.
Nudge Down Nudge the selection down. When the Snap to Grid option is not selected, all objects of
the selection move one pixel down. When the Snap to Grid option is selected, each
object of the selection moves down to where its upper-left corner aligns to the nearest
grid point.
Continued
Auto Text Resizing Select or deselect the option of automatic text resizing.
Select/Import
Select a picture from the software provided picture library.
from Library
Select or deselect the option that parts of the picture are transparent. The
Transparent
transparent parts are pixels having the specified transparent color.
Transparent
Select a color as the transparent color.
Color
Select or deselect the option that the picture is toned with the specified toning
Tone
color.
Fit to Object Stretch the picture so it has the same size as the object.
Center Position the picture at the center location within the object.
Horizontal
Change the horizontal position of the picture within the object.
Position
Vertical Position Change the vertical position of the picture within the object.
Background
Select a color for the background of the object.
Color
Coordinate of the cursor; (x, y) Size of the selected object; (width x height)
Type of the selected object Coordinate of the selected object; (x, y) Zooming factor of the screen view
Languages node
Project node
Passwords node
Alarms node
Screen node
Macro node
Panel Application node
■ Global Node ( )
The Global node has seven sub-nodes. You can do the following with the Global node:
1) Double-click it to expand or collapse the list of its sub-nodes.
■ Languages Node ( )
You can do the following with the Languages node:
1) Double-click it to open the Languages dialog box.
2) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Properties... Open the Languages dialog box.
■ Links Node ( )
The Links node has one Internal Memory sub-node and can have up to 16 Link sub-nodes. You can do the following with
the Links node:
1) Double-click it to expand or collapse the list of its sub-nodes.
2) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Add Link Create a new communication link.
Driver Open communication driver list dialog box which lists all the supported communication drivers. In the
Link… dialog box, you can export the driver list to the .csv file.
■ Link Node ( )
A Link node is associated with a communication link. You can do the following with the Link node:
1) Double-click it to open the Link Properties dialog box of the associated communication link.
2) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Rename Rename the associated communication link.
Delete Delete the associated communication link.
Properties... Open the Link Properties dialog box of the associated communication link.
■ Tags Node ( )
You can do the following with the Tags node:
1) Double-click it to open the Tags window.
2) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Open Open the Tags window.
■ Setup Node ( )
The Setup node has four sub-nodes. You can do the following with the Setup node:
1) Double-click it to expand or collapse the list of its sub-nodes.
■ Clock Node ( )
You can do the following with the Clock node:
1) Double-click it to open the Clock dialog box.
2) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Properties... Open the Clock dialog box.
■ Passwords Node ( )
You can do the following with the Passwords node:
1) Double-click it to open the Passwords dialog box.
2) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Properties... Open the Passwords dialog box.
■ Screen sub-Node ( )
Each Screen sub-Node is associated with a screen of the panel application. You can do the following with the Screen
sub-node:
1) Double-click it to open the associated screen if the screen is not opened yet.
2) Double-click it to open the property sheet of the associated screen if the screen is already opened.
3) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Open Open the associated screen.
Delete Delete the associated screen.
Properties Open the property sheet of the associated screen.
Export Screen... Export the associated screen to an SNF file.
■ Alarms Node ( )
The Alarms node can have many Discrete Alarm Block sub-nodes and Analog Alarm Block sub-nodes. You can do the
following with the Alarms node:
1) Double-click it to open the Alarm Properties dialog box.
2) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Add Discrete Alarm Block Create a new discrete alarm block.
Add Analog Alarm Block Create a new analog alarm block.
Import Alarm Block... Import an alarm block from an ALM file.
Properties Open the Alarm Properties dialog box.
■ Recipes Node ( )
The Recipes node can have many Recipe Block sub-nodes. Each Recipe Block sub-node is associated with a recipe block
of the panel application. You can do the following with the Recipes node:
1) Double-click it to expand or collapse the list of its sub-nodes.
2) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Add Recipe Block Create a new recipe block.
■ Schedule Node ( )
You can do the following with the Schedule node:
1) Double-click it to open the Schedule dialog box.
2) Right-click it to get a pop-up menu with the following menu item:
Menu Item Description
Properties... Open the Schedule dialog box.
■ Macros Node ( )
The Macros node can have many Macro sub-nodes. Each Macros sub-node is associated with a macro of the panel
application. You can do the following with the Macros node:
1) Double-click it to expand or collapse the list of its sub-nodes.
2) Right-click it to get a pop-up menu with the following menu items.
Menu Item Description
Add Macro... Create a new macro.
Import Macro... Import a macro from an MCR file.
■ Macro Node ( )
Each Macro node is associated with a macro of the panel application. You can do the following with the Macro node:
1) Double-click it to open the editing window of the associated macro.
2) Right-click it to get a pop-up menu with the following menu items.
Menu Item Description
Open Open the editing window of the associated macro.
Close Close the editing window of the associated macro.
Rename Rename the associated macro.
Delete Delete the associated macro.
Export Macro... Export the associated macro to an MCR file.
You can right-click the Screen Manager to get the pop-up menu with the following menu items:
Menu Item Description
New Screen... Create a new screen for the current panel application.
Open Screen... Open the selected screen.
Cut Screen Cut the selected screen and put it on the Clipboard.
Copy Screen Copy the selected screen and put it on the Clipboard.
Paste Screen Insert the screen on the Clipboard to the current panel application.
Delete Screen Delete the selected screen.
Export Screen... Export the selected screen to a file.
Import Screen... Import a screen from a file for the current panel application.
Screen Properties Open the screen property dialog box of the selected screen.
Save as Global Object… Save the selected object as the global object in the Global category of
the object library. Global Objects can be used for the Global Object
Containers.
Save Current Screen as
Save the current screen to a picture file.
Picture…
Screen Properties Open the screen property dialog box for the current screen.
■ For pipelines
Screen Properties Open the screen property dialog box for the current screen.
CREATING PROJECTS
-i-
42
2.1. Project Information and Protection
You can get project information and set up passwords to protect your project, password table, and global macros by using
the Project information & Protection dialog box. To open the dialog box, you can do one of the following:
1) In the Project Manager tool window, double-click the Project node ( ).
2) In the menu bar, click Project to bring up the Project sub-menu. Then, click Information & Protection….
The following is an example of the Project Information and Protection dialog box.
Item Description
Project Name The name of the project. It is also the file name of the project.
Author The author of the project.
Created Time/date The time and date when the project was created.
Last Saved Time/date The last time and date when the project was saved.
Version The version number of the Software that was used to save the project last time.
Developer Click it to bring up the Edit Developer Password dialog box and specify the
Password developer password.
The developer password must be an unsigned integer and can have up to 9
digits. The default developer password is 000000000 (nine 0s) for new projects
and new panels. When the runtime data of an application is downloaded to a
panel, the panel compares its developer password with the developer password
of the application. If the passwords match, the panel accepts the download
operation immediately. If the passwords are different, the panel prompts for the
entry of the developer password of the application. This ensures that one has the
right to use the runtime data. After the entry of the application's developer
password, the panel accepts the download operation and takes the developer
password of the application as its own developer password.
Project File Protect Check this item to enable project file protection. You need to enter the specified
Protection password to open the project file when this item is checked.
Use Developer Available when the Protect item is checked. Check this item if you want to use
Password the developer password as the protection.
Available when the Use Developer Password item is unchecked. Click it to bring
up the Edit Password dialog box and specify the password.
Password Protect Check this item to enable the password table protection. You need to enter the
Table specified password in order to view the password table of any panel application
Protection of the project when this item is checked.
Use Developer Available when the Protect item is checked. Check this item if you want to use
Password the developer password for the protection.
Available when the Use Developer Password item is unchecked. Click it to bring
up the Edit Password dialog box and specify the password.
Global Protect Check this item to enable the global macro protection. You need to enter the
Macro specified password for viewing any global macro of the project when this item is
Protection checked.
Use Developer Available when the Protect item is checked. Check this item if you want to use
Password the developer password as the protection.
Available when the Use Developer Password item is unchecked. Click it to bring
up the Edit Password dialog box and specify the password.
Note You can type a note for the project.
OK Click it to close the dialog box and accept all changes.
Cancel Click it to close the dialog box and discard all changes.
Click it to open the help document for more details about the dialog and how to
use it.
Click it to close the dialog box and discard all changes.
Global settings are the settings that can be used by all panel applications in the same project. They are accessible and
modifiable throughout the project. Global settings help a designer to construct a project that is flexible and easy to update.
Designers can make changes to the overall design of the panel application by revising the global settings directly.
You can modify the Global settings in the corresponding dialog box. To open the dialog box, double-click the related node
under the Global node in the Project Manager tool window. Alternatively, click Project to access the Project sub-menu in
the menu bar, and then click the related command in the Project sub-menu.
■ Languages
Described in Section 2.2.1.
■ Font Templates
Described in Section 2.2.2.
■ Picture Database
Described in Section 2.2.3.
■ Sound Database
Described in Section 2.2.4.
■ Text Database
Described in Section 2.2.5.
■ Global Tags
Described in Section 2.3.
■ Global Macros
Described in Chapter 14.
The following table describes each property in the Languages dialog box.
Property Description
Number of languages Specifies how many languages the project will have.
Language The index of the language.
Name Specifies a name for a language. The name must be unique within the project.
Character Set Specifies the character set for a language to determine how to translate the bytes in the
text into characters on the screen.
Import... Click it to import the languages settings from a LNG file.
Export... Click it to export the languages settings to a LNG file.
OK Click it to close the dialog box and accepts all changes.
Cancel Click it to close the dialog box and discard all changes.
Click it to open the help document for more details about the dialog and how to use it.
Click it to close the dialog box and discard all changes.
The following table describes how to read or use each of the items in the dialog box.
Item Description
Language Specifies the language to apply the font settings to.
Template List Lists the font templates of the selected language. You can select a font template
here as the current template.
Current Name The name of the current template.
Template Windows Font Specifies the Windows font for the current template.
Font Style Specifies the font style for the current template.
Size Specifies the size for the current template.
Underline Specifies if the Underline feature is selected for the current template.
Strikeout Specifies if the Strikeout feature is selected for the current template.
Update Click it to update the selected template using the new settings.
Import... Click it to import the font templates from an FTF file.
Export... Click it to export the font templates to an FTF file.
OK Click it to close the dialog box and accepts all changes.
Cancel Click it to close the dialog box and discard all changes.
Click it to open the help document for more details about the dialog and how to
use it.
Click it to close the dialog box and discard all changes.
■ Importing Pictures
You need to import a picture before you can use it for the project. There are 5 ways to import pictures:
1) Use the Picture Database dialog box to import one picture at a time from a picture file. The types of importable picture
files include: BMP, JPG, GIF, and WMF.
2) Use the Picture Database dialog box to import many pictures at a time from a picture database (PDB) file.
3) Use the Picture Database dialog box to import one or many pictures at a time by dragging the pictures files from
Windows Explorer to the Picture Database list.
4) Click the icon to select and import a picture file when you specify a picture in a dialog box or a property sheet.
5) Click the icon to select and import a picture in a picture database file when you specify a picture in a dialog box or
a property sheet.
■ Exporting Pictures
You can export the pictures of the project so other projects can use those pictures by importing them. There are 2 ways to
export pictures:
1) Use the Picture Database dialog box to export one picture at a time to a picture file.
2) Use the Picture Database dialog box to export many pictures at a time to a picture database (PDB) file.
A picture group is a collection of pictures. Each picture in a picture group represents one state. When a picture group is
displayed as the picture shape of an object, the picture that corresponds to the current object state is shown. This is the
main benefit of using a picture group as the object shape because it can show each object state with a different picture.
When a picture group is used as the shape for buttons or switches, you may want it to look differently when it is pressed. In
order to support the pressed look, a picture group needs two pictures for each state: one picture for the normal (released)
look, and another picture is for the pressed look.
For example, a 3-state multi-state switch needs a picture group that contains 6 pictures as its picture shape if the pressed
look is required.
The following is an example of a picture group supporting 3 states and the pressed look.
Picture Group State Pictures
0 (Normal/Released)
0 (Pressed)
1 (Normal/Released)
1 (Pressed)
2 (Normal/Released)
2 (Pressed)
The following table describes how to read or use each of the items in the dialog box.
Item Description
Click it to open the help document for more details about the dialog and how to use it.
Click it to close the dialog box and discard all changes.
Pictures Lists the pictures and picture groups of the project. You can select a picture or a picture group as the
current selection. You can also make multiple selections.
View Shows the current selection. If the selection is a picture group, the first picture of the group will be
shown.
OK Closes the dialog box and accepts all changes to the picture database.
Cancel Closes the dialog box and discards all changes to the picture database.
Import... Imports a picture from a picture file. The types of importable picture files include: BMP, JPG, GIF,
and WMF.
Import From... Imports pictures from a picture database (PDB) file.
Export... Exports the current picture to a picture file.
Export To... Exports the current selection to a picture database (PDB) file.
Add Group Adds one picture group to the picture database.
Add Item Imports a picture from a picture file and adds the picture to the current picture group.
Continued
Transparent Available when the Transparent item is checked. Select a color for the transparent color.
Color
Rename Click this button to rename the current picture or the current picture group.
Rotate/Flip Rotates or flips the current picture and saves it as another picture in the picture database.
You can select one of the following 7 methods for the Rotate/Flip operation.
Method Description
90° Rotates the picture clockwise by 90 degrees
180° Rotates the picture clockwise by 180 degrees
270° Rotates the picture clockwise by 270 degrees
X Flips the picture over the X axis
90° & X Rotates the picture clockwise by 90 degrees and flips it over the X Axis
Y Flips the picture over the Y axis
90° & Y Rotates the picture clockwise by 90 degrees and flips it over the Y Axis
You can use a function button to play or stop playing a sound. For details, please see Section 5.4.1 Basic Operations of
function buttons
You can use the Execute General Command ($C2.f) command flag setting in the Command Block to play a sound. For
details, please see Section 3.6.7 Using General Commands.
■ Importing Sounds
You need to import a sound before you can use it for the project. There are two ways to import sounds:
1) Use the Sound Database dialog box to import one sound at a time from a sound file. The types of importable sound
files include: WAV.
2) Use the Sound Database dialog box to import many sounds at a time from a sound database (SDB) file.
■ Exporting Sounds
You can export the sounds of the project so other projects can import those sounds. There are 2 ways to export sounds:
1) Use the Sound Database dialog box to export one sound at a time to a sound file.
2) Use the Sound Database dialog box to export many sounds at a time to a sound database (SDB) file.
The following table describes how to read or use each of the items in the dialog box.
Item Description
Click it to open the help document for more details about the dialog and how to use it.
Click it to close the dialog box and discard all changes.
Sounds Lists the sounds of the project. You can select a sound as the current selection. You can also make
multiple selections.
Sound Displays the sound information of the current selection such as sound format and length.
Information
You can click to start playing the sound, click to pause, and click to stop playing the
sound.
OK Closes the dialog box and accepts all changes to the sound database.
Cancel Closes the dialog box and discards all changes to the sound database.
Import... Imports a sound from a sound file. The types of importable sound files include: WAV.
Import From... Imports sounds from a sound database (SDB) file.
Export... Exports the current sound to a sound file.
Export To... Exports the current selection to a sound database (SDB) file.
Rename Click this button to rename the current sound.
Delete Delete the selection.
Move Up Moves the selection down in the list
Move Down Moves the selection up in the list
The following is an example of the Text Database that lists the texts in all the languages of the project.
File to Table Icon Table to File Icon Table to Application Icon Application to Table Icon
To edit text, select a text row by first left-click anywhere in it, and then click the cell of
the row to bring up the edit box. In the edit box, type in the text.
Exports texts from the selected table to a text file (.txt file).
Table Name
Application Name
Exports texts from a panel application of the project to the selected table.
You can right-click the Text Database to get the pop-up menu with the following menu items:
Menu Item Description
Cut Cut the selected text and put it on the Clipboard.
Copy Copy the selected text and put it on the Clipboard.
Paste Insert the text on the Clipboard to the current table.
Delete Delete the selected text.
<Language name> Check the language name to display the text of objects in the selected
language.
A tag represents a single input or output variable monitored or controlled by the system. By changing tags, you can use
any PLC or controller without re-developing the application. This chapter explains how you can define and manage tags
with the tags editor.
After the tag is created in tags editor, you can use it in your application using the Select Tag Dialog Box. Please see
Section 4.4.3.3 Selecting Tags for details. Or you can specify the tag by yourself. The format of a tag is Link Number\Tag
Group Name\Tag Name.
For example:
Tags Description
1\MONITOR\CORE DISPLAY Indicates a local tag named CORE DISPLAY in MONITOR tag group of link 1
0\BOT\DECLARE Indicates a local tag named DECLARE in BOT tag group of internal memory
0\_ALARM SHOW Indicates a global tag named _ALARM SHOW of internal memory
Note that the maximum text amount of the tag/tag group name is 48 characters. You are allowed to define not only tags for
the link, but also the tags for a tag group of the link.
There are two types of tags: global tags and local tags.
■ Global Tag
A global tag is a tag that can be used by all panel applications in the same project. With global tags, the panel applications
in the same project can share the common address declaration without having to keep and maintain the same set of tags
locally.
Note that a global tag can only be associated with internal variables.
■ Local Tag
A local tag is a tag that can only be used by the panel application in which the tag is located.
Tag Groups
Tag explorer displays links, recipes, data loggers and their tag groups, if any. From tags explorer, you can:
■ Open a tag group of a link for editing by clicking the node
■ Import and export tags of a link
Described in Section 2.3.4
■ Add new groups to a link and delete or rename the existing tag groups
Described in Section 2.3.5
■ View tags (Data Items) of recipes and data loggers.
If there are any recipes or data loggers in the application, the tags editor will display their data items as the tags. All the
data items (tags) for the recipes or data loggers are read only in the tags editor. If you want to edit the data items (tags),
please use the corresponding dialog box.
Tag list window displays all the tags related to the selected tag group. In the tag list window, you can:
■ Switch between tag groups by clicking the window tab
■ Click any column header to sort the list
■ Add a tag by defining the tag name and then click other cells to edit the elements of the tag
Item Description
Name Specifies the name for the tag.
The name must be unique in the tag group.
The maximum text amount of the name is 48 characters. Chinese characters are supported.
The name cannot start with a number, and cannot be the same as a macro keyword.
The name of global tags must start with underscore ( _ ). The name of the local tags cannot
start with underscore ( _ ).
Data Type Selects the data type for the tag from the dropdown list. The supported data types for each tag
are the following: 16-Bit Unsigned Integer, 32-Bit Unsigned Integer, 16-Bit Signed Integer,
32-Bit Signed Integer, 16-Bit BCD, 32-Bit BCD, 32-Bit Floating Point, ASCII String, Bit.
Address <Edit Specifies the bit address when the Data Type is Bit, otherwise specifies the word address.
Box>
Click this icon to bring up the Address Input Keypad and specify the desired address for the
<Edit Box> field.
Length Specifies the string length when the Data Type is ASCII string, otherwise displays n/a
Scan Rate Selects the scan rate for the tag from the dropdown list. The supported scan rates for each tag
are Fast and Normal.
Comment Type a comment for the tag.
■ Cut, copy, paste and delete selected tags using menu commands or key combinations.
You can right-click the number column to display a pop-up menu of editing commands. The editing commands available
vary depending on what is selected.
■ Exporting Tags
If you have tags you want to reuse in another application panel, export the tags of the selected tag group as a .csv file. You
may do the following:
1) Locate the tag group you would like to export.
2) Right-click on the tag group to display the pop-up menu; and then click Export Tags..,
3) If you want to save tags in a different folder, locate and open the folder first, then click Save.
You can export all the tags of the internal memory as a .csv file by right-clicking on the internal memory and then using the
Export All Tags command on the pop-up menu.
CREATING PANEL
APPLICATIONS
-i-
3.6.4. Status Word Settings (Type A)..................................................................................... 51
3.6.5. Command Block Settings (Type H)............................................................................. 52
3.6.6. Status Word Settings (Type H) .................................................................................... 54
3.6.7. Using General Commands........................................................................................... 55
3.7. Setting up Clock Operations ..................................................................... 57
3.8. Setting up Passwords.................................................................................. 60
3.9. Screens ......................................................................................................... 61
3.9.1. Types of Screens .......................................................................................................... 61
3.9.2. Creating and Opening Screens..................................................................................... 62
3.9.3. Setting up a Screen ...................................................................................................... 63
3.9.4. Importing/Exporting a Screen...................................................................................... 68
3.9.5. Cutting/Copying/Pasting/Deleting a Screen ................................................................ 68
3.9.6. Saving Screens as Pictures........................................................................................... 69
- ii -
43
3.1. Setting up the Panel Application
You can set up the panel application with the General Setup dialog box. There are five ways to open the dialog box:
1) In the Project Manager window, double-click the panel application node ( ).
2) In the Project Manager window, right-click the panel application node ( ) to bring up the pop-up menu and select
General Setup.
3) In the Project Manager window, double-click the General Setup node ( ) under Setup node of the panel application
4) In the Project Manager window, right-click the General Setup node ( ) under Setup node of the panel application to
bring out the pop-up menu and select Properties.
5) In the menu bar, click Panel | Setup | General Setup….
The General Setup dialog box contains the following pages. Some of the pages appear only when they are needed.
■ General
Described in Section 3.1.1.
■ Custom
Described in Section 3.1.2.
■ Keys
Described in Section 3.2.1.
■ Startup Macro / Main Macro / Event Macro / Time Macro
Described in Section 14.2.6.
Item Description
Application Name The name of the panel application.
Model The model of the target panel.
Click to bring up the Panel Model dialog box which helps you to select a
model by specifying the size, resolution and orientation of the display.
The following is a sample of Panel Model dialog box
Battery Backed RAM Specifies the size of the battery backed RAM installed in the target panel.
Flash ROM Specifies the size of the flash ROM installed in the target panel.
Use External Keypad Available if the target panel supports the custom designed external keypad.
Select this option if the application uses a custom designed external keypad.
Start Up Screen Specifies the first screen of the application that the target panel will display after
powering up.
Delay Time Specifies the time that the target panel will delay to run the application.
Display Check this option if you want the target panel to display countdown while it is
Countdown waiting for the expiry of the Delay Time.
Language Specifies the language the application will display the text in after power up.
Login Required Check this option if you want the target panel to get a valid password from the
operator before it displays the first screen.
Default User Available when Login Required is not selected. Specifies the initial user level for
Level the application.
Idle Display Idle Check this option to display the Idle Screen when the target panel has idled for
Processing Screen the specified amount of time.
Idle Time The length of time used to determine when the idle screen is displayed.
Idle Screen Specifies the screen that will be displayed as the idle screen.
Change User Check this option to change the current user level when the idle screen is
Level displayed.
Idle User Level Available when the Change User Level is selected. Specifies the user once the
idle screen is displayed.
Screen Saver Specifies the screen saver time. The target panel will turn off its backlight when it
Time has not been operated by the operator for the specified amount of time.
Continued
Item Description
Decimal Number Use custom Check this item if you want the application to use the custom keypad instead
Keypad keypad of the built-in keypad for the entry of decimal numbers.
Window Screen Specify the window screen that is designated as the decimal number keypad.
Hexadecimal Use custom Check this item if you want the application to use the custom keypad instead
Number Keypad keypad of the built-in keypad for the entry of hexadecimal numbers.
Window Screen Specify the window screen that is designated as the hexadecimal number
keypad.
Octal Number Use custom Check this item if you want the application to use the custom keypad instead
Keypad keypad of the built-in keypad for the entry of octal numbers.
Window Screen Specify the window screen that is designated as the octal number keypad.
Character Keypad Use custom Check this item if you want the application to use the custom keypad instead
keypad of the built-in keypad for the entry of characters.
Window Screen Specify the window screen that is designated as the character keypad.
Password Keypad Use custom Check this item if you want the application to use the custom keypad instead
keypad of the built-in keypad for the entry of passwords.
Window Screen Specify the window screen that is designated as the password keypad.
Default Folder for File I/O This field is available only for Windows-based panels. There are 4 kinds of
default folder that you can select for your application. They are Same as
Application File, Pre-assigned, New Per Day, New Per Month. Please see
Section 3.1.4 for details
Touch Operation Use custom sign Check this item if you want the application to display the custom sign instead
Disabled Sign of the built-in sign when the touch operation of an object is disabled.
Picture Specify the picture that is to replace the built-in sign.
Transparent Select this item if you want parts of the custom sign to be transparent.
T. Color Specify the transparent color.
CSV/Text Files Date Format The date format that the target panel will use to output date information to text
files.
Time Format The time format that the target panel will use to output time information to text
files.
Separator Select desired delimiter that can be TAB, semicolon, or comma of CSV files.
User Level Required Set Time/Date The minimum user level that is required to set the time and date of the target
in Panel Setup panel through the target panel's Panel Setup menu.
Prohibit uploading and copying of the Check this option if you want to prohibit uploading and copying of the panel
panel application stored in the HMI unit application stored in the HMI unit.
Communication Error Mark Specify what to display for the Numeric Objects (including Numeric Entry and
Numeric Display) and Character Objects (including Character Entry and
Character Display) when their monitored data are unavailable due to
communication errors. You can select the following options as the error mark.
Mark Description
(As is) No communication error mark for the object. Leaves the display
unchanged.
(Blank) Clears the display of the object.
? Displays a string of character ‘?’.
# Display a string of character ‘#’.
1. The types of buttons that support this feature include: Bit Button, Toggle Switch, Screen Button, Function Button, Word
Button, Multi-state Switch, and Keypad Button.
2. The first button, i.e. the top-most button, can only be a bit button, a toggle switch, a word button, a multi-state switch, or
a keypad button. The button cannot have the optional property of Minimum Hold Time or Operator Confirmation. If the
button is a bit button, a toggle switch, or a keypad button, it cannot have any macro. If the button is a word button, it
cannot be configured for Enter Value or Enter Password. If the button is a multi-state switch, it cannot be configured as
a List or Drop-down List.
3. The underlying buttons that have the optional property of Minimum Hold Time or Operator Confirmation will not be
activated.
4. An underlying bit button that is configured for Momentary ON or Momentary OFF will not be activated. However, if that
bit button is the second button and the first button is a keypad button, it can be activated. An underlying bit button that
has any macro will not be activated.
5. An underlying toggle switch that has any macro will not be activated.
6. An underlying multi-state switch that is configured as a List or Drop-down List will not be activated.
7. A function button can only be the last button, i.e. the bottom-most button. All the buttons that are under a function
button will not be activated.
8. A screen button can only be the last button. All the buttons that are under a screen button will not be activated.
9. A word button that is configured for Enter Value or Enter Password can only be the last button. All the buttons that are
under such a button will not be activated.
10. The maximum number of buttons that can be indirectly activated by one touch is 10.
The default folder will be used for a file I/O operation when one of the following two conditions exists:
1) The command issued for the operation does not require a specific filename.
2) The command issued for the operation requires a filename and the specified filename contains no path information.
To specify the default folder, access the “Custom” page of the “Panel General Setup” dialog box. Select “General Setup”
and “Panel” in the submenu to get the dialog box, then click the “Custom” tab. Another way to access the dialog box is to
double-click the “Panel General Setup” node on the project tree.
On the “Custom” page, you can specify the desired default folder in the “Default Folder for File I/O” group according to the
following rules:
1) If you want the folder of your application file (.pe2 or .pl2 file) to be the default folder, select “Same as Application File”
in the “Option” combo box.
For applications with this selection running on HMI units, because the applications are not stored in any file or under
any directory, the root directory of the USB memory stick will be used as the default folder instead.
2) If you want to use a specific folder that will exist at run-time as the default folder, select “Pre-assigned” in the “Option”
combo box and specify the folder in the “Folder” edit box.
Note that the specified folder must exist at run-time or the file I/O operations will fail.
Example:
Folder Name Format Folder Path <Prefix> Date Default Folder Name
<Prefix>yymmdd C: ABC December 19, 2008 C:\ABC081219
<Prefix>yyyymmdd D:\NEO ABC_ December 19, 2008 D:\NEO\ABC_20081219
<Prefix>yyMMMdd C: XYZ January 10, 2009 C:\XYZ09JAN10
<Prefix>yyyyMMMdd D:\123 XYZ_ January 10, 2009 D:\123\XYZ_2009JAN10
4) If your application needs a new default folder every month, select “New Per Month” in the “Option” combo box and
specify the following 3 items:
A) Folder Path: The path for the new folder. The system will create a new default folder under the specified path
every month.
B) Folder Name Format: The format to create a default folder name.
C) <Prefix>: The string to be used as the prefix of the new default folder names. Note that only ASCII characters are
allowed.
Example:
Folder Name Format Folder Path <Prefix> Date Default Folder Name
<Prefix>yymm C: ABC December 19, 2008 C:\ABC0812
<Prefix>yyyymm D:\NEO ABC_ December 19, 2008 D:\NEO\ABC_200812
<Prefix>yyMMM C: XYZ January 10, 2009 C:\XYZ09JAN
<Prefix>yyyyMMM D:\123 XYZ_ January 10, 2009 D:\123\XYZ_2009JAN
Some of the target panels are key type. Those key type panels carry external keys that you can press to perform the
defined operations.
To assign or change the operation of the keys in the panel application, you can use the following two ways:
You can change the default settings of keys for the panel application in the General Setup property sheet. To open the
General Setup property sheet, please see Section 3.1 Setting up the Panel Application for details. The General Setup
property sheet provides you with the Keys page to set up the default keys.
The following is an example of the Keys page and Usage Setup dialog in the General Setup property sheet.
There are two parts in the above illustration: Key Usage Table and Usage Setup Dialog.
■ Key Usage Table
A table lists all the keys of the target panel and their default usages. The key usage table is initially empty (Usages for key
and key combination are none) after the panel application is created. For details about Key Usage Table, please see
Section 3.2.3
■ Usage Setup Dialog
A floating dialog box allows you to specify the usage of the selected key or key combination. Left-click the cell in the key
usage table to bring up the dialog. For details about Usage Setup Dialog, please see Section 3.2.4.
The following is an example of the Keys page and Usage Setup dialog in Screen Properties property sheet.
There are two parts in the above illustration: Key Usage Table and Usage Setup Dialog.
■ Key Usage Table
A table lists all the keys of the target panel and their usages. The key usage table is the same as the one in the Keys page
of the General Setup property sheet when the screen is created. For details about Key Usage Table, please see Section
3.2.3
Property Description
Use Default Check this option if you want to use the default setting in the Keys page of the General Setup
property sheet. The field is only available in the Keys page of the Screen Properties property sheet.
Usage Select a usage for the key or key combination. There are 7 options: None, Bit Button, Function Button,
Keypad Button, Multistate Switch, Screen Button and Word Button.
Bit Button If the usage is Bit Button, specify the following properties:
Property Description
Function Select the operation of the bit button. There are 5 options: Set ON, Set OFF,
Momentary ON, Momentary OFF, and Invert.
For details, see Section 5.1.1 Basic Operations
Write Address Specifies the bit variable to be operated.
Click to enter an address for this field. Click to select a tag for this
field.
ON Macro Check this option for the button to have an ON macro. Select a macro from
the dropdown list. This option is available when the bit button operation is
Set ON, Momentary ON, or Momentary OFF.
OFF Macro Check this option for the button to have an OFF macro. Select a macro from
the dropdown list. This option is available when the bit button operation is
Set OFF, Momentary ON, or Momentary OFF.
Continued
Multistate If the usage is Multistate Switch, you need to specify the following properties:
Switch Property Description
State Type The state type of the monitored variable. There are 2 options: Value and LSB. For
details, see Section 4.4.1.1 State Types
Data Type The data type of the variables specified in this page.
Write Specifies the variable to be controlled.
Address
Click to enter an address for this field. Click to select a tag for this field.
Total State Specifies the number of valid states that the monitored variable has.
Note: The last state is state N-1 when the Total States is N.
Next State Specifies the method of calculating the next state.
+1 means the next state is the current state plus one, when the current state is not
the last state. When the current state is the last state, the next state is state 0.
-1 means the next state is the current state minus one, when the current state is not
state 0. When the current state is state 0, the next state is the last state.
Activation Select Button Down item so the touch operation will be activated when the
button is touched. Select Button Up item so the touch operation will be
activated when the button is released.
Continued
This section describes how to set up and use the internal memory for the panel application.
The index registers are battery backed if the panel has battery backed memory. The index registers are cleared to zero
when the panel application is updated.
You can use the index registers to specify the indirect address. With the support of indirect addressing, an object or macro
can be designed to access different sets of data at run time.
Examples
1) The word address W[$I30] is equivalent to W2000 when the value of $I30 is 2000.
2) The word address $U[$I0+123] is equivalent to $U223 when the value of $I0 is 100.
3) The bit address $U[$I2].a is equivalent to $U0.a when the value of $I2 is 0.
4) The word address [$I2]:W100 is equivalent to 3:W100 when the value of $I2 is 3.
5) The bit address [$I0]: W[$I1+10].f is equivalent to 5:W20.f when the values of $I0 and $I1 are 5 and 10 respectively.
Notes:
1) It is your responsibility to make sure that values in the index registers will result in valid addresses at runtime. The
software has no way of checking the validity of the use of index registers.
2) The offset values must be a positive number, and the maximum offset value is 65535.
3) Only $I0~$I15 can be used for the node address (PLC address), and no offset value is allowed.
4) Make sure the PLC driver you are using supports indirect addressing.
Communication Status
Value Meaning Value Meaning
0 OK 13 Invalid request
1 Overrun error 14 Device busy
2 Break error 15 Unknown error
3 Parity error 16 Link disabled
4 Framing error 17 Initialization failure
5 No response 18 Failed to send data
6 Unrecognized response 19 Failed to receive data
7 Timeout 20 Failed to open connection
8 Inactive CTS 21 Connection not ready
9 Checksum error 22 Invalid sub-link
10 Command rejected 23 Invalid COM port
11 Invalid address 24 Error
12 Invalid range 255 Uncertain
1) In the Project Manager window, double-click the Internal Memory node ( ) under Links node of the panel
application.
2) In the Project Manager window, right-click the Internal Memory node ( ) under Links node of the panel application to
bring out the pop-up menu and select Properties.
This section describes how to set up communication links to allow the panel application to access the data of external
devices.
The following table describes the three types of communication links that the panel application can have.
[Example 1] The panel uses an RS232 direct link to talk with the specified device directly.
[Example 2] The panel uses an RS485 direct link to talk with the specified devices directly.
[Example 3] The panel uses an Ethernet direct link to talk with the specified device directly.
Continued
Continued
Continued
The blue, green, and red lines in the above figure indicate the
different data blocks flowing on the Ethernet with the target panel
acting as a gateway server.
The gateway server makes the HMI behave as a Modbus device.
Your application program can use the Modbus protocol to access the
transfer memory of the gateway server. To use the gateway server,
please see Section 3.4.8 for details.
The following is an example of the General page that defines a communication service link.
Property Description
Link Number The sequence number of the communication link. It is assigned when the link is created and
reassigned when any other link of the same application is removed.
Link Name Specifies the name of the communication link.
Link Type Select one of the following link types for the link:
Link Type Description
Direct Link (COM) The link connects to the specified device directly through the
specified serial (COM) port.
Direct Link The link connects to the specified device directly through the
(Ethernet) specified Ethernet port.
Communication The link connects to one or more other target panels through the
Service (COM) specified serial (COM) port and provides the communication
service specified in the Device/Server field to the connected target
panels. See the description of the Device/Server field to know the
available communication services.
Communication The link connects to one or more other target panels through the
Service (Ethernet) specified Ethernet port and provides the communication service
specified in the Device/Server field to the connected target
panels. See the description of the Device/Server field to know the
available communication services.
Gateway The link connects to a target panel that provides gateway service
Service(Ethernet) as a gateway server through the specified Ethernet port.
The target panel allows an application program running on any
computing device, such as a PC, to access the data of the
controllers through that target panel.
Indirect Link via The link connects to a target panel that provides the
2-to-1 Connection communication service as a 2-to1 server through the specified
(COM) serial (COM) port. The target panel can communicate with the
associated device indirectly through that target panel.
Indirect Link via The link connects to a target panel that provides the
N-to-1 Connection communication service as an N-to1 master through the specified
(COM) serial (COM) port. The target panel can communicate with the
associated device indirectly through that target panel.
Indirect Link via The link connects to a target panel that provides the
N-to-1 Connection communication service as an N-to1 master through the specified
(Ethernet) Ethernet port. The target panel can communicate with the
associated device indirectly through that target panel.
Continued
The following is an example of the Parameter page for a The following is an example of the Parameter page for an
serial direct link. N-to-1 master.
The following table describes each property in the Parameter page of the Link Properties dialog box for a serial link.
Property Description
Baud Rate The baud rate used.
Data Bits The number of data bits used.
Parity The scheme of parity used.
Stop Bits The number of stop bits used.
Panel Address The address of the target panel.
PLC Address The address of the connected device.
Timeout Time The maximum time allowed for the communication driver to wait for a reply from the
connected device. When the elapsed time exceeds the Timeout Time, the communication
driver assumes the communication failed.
Command Delay If the Command Delay is 0, the communication driver immediately sends the next request to
the connected device when it receives a reply from the last request. If the Command Delay
is nonzero, the communication driver delays for the specified amount of time before sending
the next request to the connected device.
Retry Count The number of times the communication driver will retry for each request to get a successful
reply from the connected device. If the number is zero, the communication driver will use the
default retry count.
Specify N-to-1 This button is available when the link is an N-to-1 master. Click this button to bring up the
Connection Slave N-to-1 Connection Slave Panels dialog box. You can define the slave panels of the N-to-1
Panels connection in the dialog box.
Specify Other Data This button is available when the link is a direct link and the connected device is Data
Sharing Panels Sharer (RS485). Click this button to bring up the Other Data Sharing Panels dialog box. You
can define the other data sharing panels in the dialog box.
The following table describes each property in the Parameter page of the Link Properties dialog box for an Ethernet link.
Property Description
IP Address The IP address of the connected device.
Use Default Port Check this option if the default IP port is used
Port Specifies the IP port used
Node Address Specifies the node address of the connected device.
Timeout Time The maximum time allowed for the communication driver to wait for a reply from the connected
device. When the elapsed time exceeds the Timeout Time, the communication driver assumes
the communication failed.
Command Delay If the Command Delay is 0, the communication driver immediately sends the next request to the
connected device when it receives a reply from the last request. If the Command Delay is
nonzero, the communication driver delays for the specified amount of time before sending the
next request to the connected device.
Retry Count The number of times the communication driver will retry for each request to get a successful reply
from the connected device. If the number is zero, the communication driver will use the default
retry count.
This section describes how to define the sub-links within a direct link using the Sub-link page of the Link Properties dialog
box. The following is an example of the Sub-link page.
The following table describes each property in the Sub-link page of the Link Properties dialog box for a direct link.
Property Description
Number of sub-links Specifies how many devices the link will connect as sub-links.
Language Specifies the current language for the Name field.
Name The name of the selected sub-link for the language specified in the Language field.
Node Address The address of the selected sub-link. The address must be a unique number within all the
sub-links.
Initial State The initial communication state for the selected sub-link. If the state is On, the panel will
communicate with the sub-link after running the application. If the state is Off, the panel will
not communicate with the sub-link until the communication state is turn On in a sub-link table.
Show error message If this option is checked, the communication error message will be shown when the selected
sub-link encounters communication errors. If this option is unchecked, no error message will
be shown for any communication errors.
To set up the communication for data sharing, create a direct link and select Data Sharer (UDP) or Data Sharer (RS485)
as the connected device. The panel address that you can set in the Parameter page of the Link Properties dialog box must
be unique for each sharing panel as it is used to identify the shared data.
The communication driver for the link connecting to Data Sharer is responsible for broadcasting the panel's shared data on
the network. For example, if the panel address of a panel is 10 and the number of the link connecting to Data Sharer is 2,
the following Macro command will cause the communication driver to broadcast the corresponding data on the network.
The communication driver receives the broadcasted shared data on the network automatically. It has a block of memory to
store the shared data. To access a word, use the following address, where m is the panel address and n is the word
number of that panel’s shared data.
To access a bit, use the following address, where b is a hexadecimal number representing the bit number in the specified
word.
1. Create a communication link for the application to connect the panel and Device.
or
2. Specify the general settings for the link. You need to select PanelMaster - General Device (COM) as the device to be
connected.
Example:
$U10 = “ABC”
$U20 = B2W($U10, 3) // Convert the byte array to a word array
TX = MOV($U20, 3) // Transmit “ABC” to Device
Operation rules:
1) The transmission cannot start until the previous transmission has finished.
2) The word TXT_STS will be set to 1 when the transmission starts.
3) When the hardware flow control is enabled (Bit EN_HS is set to 1), the
transmission will not start until the device allows the panel to send data (The CTS
signal on the port is asserted).
4) When the RTS/CTS flow control is enabled (Bit EN_HS is set to 1), the RTS
signal on the serial port will be negated when the transmission starts and it will be
asserted when the transmission ends.
5) The transmission will be cancelled if it cannot start after waiting a time specified
by the word TO_TIME. The word TX_STS will be set to 2 when the timeout
condition occurs.
TX_W Word Write TX_W provides the same functionality as TX, except that the write operation is done after
Only all the bytes are transmitted. It is recommended to use TX_W to transmit data as the
macro program will not waste time to wait for the completion and the CPU of the panel will
be utilized more efficiently.
TX_STS Word Read Reading this word gets the status of the last transmission.
Only Value Status
1 Succeeded
2 Timeout
255 In progress
RX Word Read Reading this word copies a specified number of word values from the receive buffer. The
Only receive buffer is a word array. The bytes received from Device are stored in the low bytes
of the buffer. The high bytes of the buffer are always 0. Once the received data are
copied, they are removed from the receive buffer. The read operation is executed whether
or not there are enough bytes received in the buffer.
Example:
$U10 = MOV(RX, 3) // Receive 3 words from the receive buffer.
// $U10 gets the value of the first received byte.
// $U11 gets the value of the second received byte.
// $U12 gets the value of the third received byte.
Operation rules:
Assume the number of words to be read from the buffer is n and the number of
available words in the buffer is m.
1) If there are enough data received in the buffer, the read operation does the
following 4 things: copies the first n words in the buffer to the destination, sets
RX_CNT to n, sets RXB_CNT to (m-n), and sets RX_STS to 1.
2) If there are not enough data received in the buffer, the read operation does the
following 4 things: copies all the available data to the destination, sets RX_CNT
to m, sets RXB_CNT to 0, and sets RX_STS to 1.
Continued
Example:
$U10 = MOV(RX_W, 3) // Receive 3 words from the receive buffer.
// Wait for the data if they are not received from Device yet.
// $U10 gets the value of the first received byte.
// $U11 gets the value of the second received byte.
// $U12 gets the value of the third received byte.
Operation rules:
Assume the number of words to be read from the buffer is n and the number of
available words in the buffer is m
1) If there are enough data received in the buffer, the read operation does the
following 4 things: copies the first n words in the buffer to the destination, sets
RX_CNT to n, sets RXB_CNT to (m-n), and sets RX_STS to 1.
2) If there are not enough data received in the buffer, the read operation will wait a
time specified by TO_TIME for the required data to come. When enough data are
received, the read operation performs rule 1 above. When timeout occurs, the
read operation is cancelled and RX_STS is set to 2.
FLUSH Bit Write Writing 1 to this bit flushes the receive buffer that is used to receive data from Device.
Only
RESET Bit Write Writing 1 to this bit resets the UART that is used for the communication between the panel
Only and Device.
TO_TIME Word Read/ Writing the timeout time to this word sets the timeout time for the communication. The unit
Write is 0.1 second.
Example:
TO_TIME = 20 (U) // Set the timeout time to 2 second
EN_HS Bit Read/ Writing 1 to the bit enables the RTS/CTS flow control.
Write Bit Value Function
0 Disables the hardware flow control.
1 Enables the hardware flow control.
Example:
EN_HS = 1 (B) // Enable the flow control
Continued
Example:
IF !CTS_STS (B) // Do the following when the CTS is asserted
TX = MOV($U100, 10) // Send 10 bytes to Device
ENDIF
RTS Bit Read/ Writing 0 to the bit asserts the RTS signal on the port.
Write Bit Value Function
0 Asserts the RTS signal. The Device is allowed to send data to the panel.
1 Negates the RTS signal. The Device is not allowed to send data to the
panel.
Example:
RTS = 1 (B) // Disallow Device to send data to the panel
There are two gateway servers available to be selected for your application. The Serial Gateway Server is for the serial
port connection, and the TCP/IP Gateway Server is for the Ethernet port connection.
Controller
#1
Controller
#N
The blue dashed lines shown in the above figure indicate that the PC can access the data of Controller #1 and Controller
#N through the HMI with the help of the gateway server.
1. Create a new link and select Gateway Service (Ethernet) as the Link Type and PanelMaster->TCP/IP Gateway Server
as the Device/Server in Link Properties dialog box.
2. You need to define the address mapping table for the gateway server because:
■ When your application writes a block of data to the transfer memory of the gateway server, the gateway server
knows the real destination of that block of data, and writes the data to the real destination for your application.
■ When your application program reads a location of the transfer memory of the gateway server, the gateway server
knows the real data source of the read operation, and retrieves the data from the real data source for your application.
To define the address mapping table, click the Address Mapping Table tab in the Link Properties dialog. The following
is an example of the Address Mapping Table page.
Property Description
Use Check this option if you want to use mapping block #n.
No The mapping block’s number.
Type Select location type for the mapping block. Bit indicates a bit block, and Word indicates a word
block.
Modbus The starting address in the computing device that is using the Modbus protocol. The address
Address ranges and the location types of the transfer memory are shown in the table.
Address Range Location Type Max. Size of Block Read/Write Note
1~9999 Bit 256 bits Read Only
10001~19999 Bit 256 bits
30001~39999 Word 128 words Read Only
40001~49999 Word 128 words
Size The block size. If the location type is Word, the unit is 1 word. If the location type is Bit, the unit
is 16 bits. For example: The size of the mapping bit block, 3, is 2 words and 32 bits.
Corresponding The starting address of the corresponding controller or the target panel with gateway server.
Address
Cached Check this option to save data into the memory devoted to high-speed retrieval of requested
data.
Refresh Available only when the Cached option is checked. Select Fast to refresh data in the memory
every second. Select Normal to refresh data in the memory every 3 seconds.
Limitations:
1. At most, 32 mapping blocks can be defined.
2. At most, 12 mapping blocks can be cached.
3. At most, 4 of the cached mapping blocks can have fast refresh rate.
4. When reading a block of words or bits, the words or bits must be within a single mapping block, or the read
operation will fail.
The sound table contains all the sounds used by the panel application. The sound table is empty when the panel
application is initially created.
In the application, you can use the function button with the play sound operation to play a specified sound.
Before using the sound in a panel application, import or add a sound into the Sound Table.
To open the Sound Table dialog box, please do one of the following:
1) In the Project Manager window, double-click the Sound Table ( ) node of the panel application.
2) In the Project Manager window, right-click the Sound Table ( ) node to bring out the pop-up menu and select
Properties.
3) On the Panel menu, click Sound Table…
OK Close the dialog box and accept all changes to the sound table.
Cancel Close the dialog box and discard all changes to the sound table.
Import… Import a sound from a sound file. The types of importable sound files include: WAV only.
Add Add a sound from the Sound Database to the end of the sound table. To know how to use the Sound
Database, please see Section 2.2.4.
Insert Insert a sound from the Sound Database before the selection. To know how to use Sound Database,
please see Section 2.2.4. This button is available when the selection is made.
Delete Delete all the selections. This button is available when the selection is made.
Move Up Move the selection one item down in the list. This button is available when the selection is made.
Move Down Move the selection one item up in the list. This button is available when the selection is made.
You can command the panel to do a variety of things using the command block. The command block is a block of words in
the controller or the internal memory. The panel scans the control block periodically and performs the specified operations
according to the contents of the control block. You can decide the size of the command block, the command words that are
required in the command block, and the rate of scanning the command block, so the overhead of reading the command
block is minimized.
The panel can provide its status information by writing status values to the status words. The status words are in the
controller or the internal memory. You can decide the status words that are required for your application so the panel will
not waste time to output useless status values.
3.6.1.1. Type A
■ Type A Command Block
The following command words for the application and their order in the command block are adjustable.
Note: To activate any of the above functions, change the corresponding command bit from Off to On. The panel does not
reset the command bit, so you have to reset the command bit before commanding the panel to perform the same
function again. Keep the state of the command bit long enough so the panel can detect the change. The best way is
to use the corresponding acknowledge bit in the Command Status Word. The panel turns on the acknowledge bit
when it detects the change. It is safe to reset the command bit when the acknowledge bit turns on. The panels turns
off the acknowledge bit when it sees the command bit turn off.
You can have the following command words for the application.
Bit Description
0-9 Specifies the screen to be displayed.
11-13 Specifies the language that the panel displays for.
000: The panel does nothing.
001: The panel changes the language to language 1.
010: The panel changes the language to language 2.
...
111: The panel changes the language to language 7.
14 If this bit is On, the panel turns off the back light of the display.
15 If this bit is On, the panel turns on the back light of the display.
Bit Function
0 Clears the alarm history.
1 Clears the alarm counts.
2 (reserved)
3 (reserved)
4 Writes the current recipe of recipe block #0 to the address defined in the Recipe Block dialog box of recipe block
#0.
5 Sets the current recipe number of recipe block #0 to the number specified in Recipe Number Register.
6 Reads the recipe from the address defined in the Recipe Block dialog box of recipe block #0, and use it to
replace the current recipe of recipe block #0.
7 Turns on the buzzer.
8 Used as trigger bit #4.
9 Used as trigger bit #5.
10 Used as trigger bit #6.
11 Used as trigger bit #7.
12 Used as trigger bit #0.
13 Used as trigger bit #1.
14 Used as trigger bit #2.
15 Used as trigger bit #3.
Note: To activate any of the above functions, change the corresponding command bit from Off to On. The panel does not
reset the command bit, so you have to reset the command bit before commanding the panel to perform the same
function again. Keep the state of the command bit long enough so the panel can detect the change. The best way is
to use the corresponding acknowledge bit in the Command Status Word. The panel turns on the acknowledge bit
when it detects the change. It is safe to reset the command bit when the acknowledge bit turns on. The panels turns
off the acknowledge bit when it sees the command bit turn off.
You can have the following status words for the application.
Status Word Description
Whenever the panel switches the main screen, it sets this word to the number of
Screen Status Word
the current main screen.
Command Flag Ack. Word Contains the acknowledge bits for the command flags of Command Flag Register.
Current Recipe Number Word Stores the current recipe number of recipe block #0.
The command words and status words you can have for the application are the same as the H (Binary) type. However, the
values in the following words must be in BCD format: Screen Number Register, Recipe Number Register, Screen Status
Word, and Current Recipe Number Word.
Property Description
Type Select one of the following three types of control block and status words for your
application:
A, H (Binary), H (BCD)
Use Command Block Check this item if the application needs any of the command words.
Read Address Specify the address of the command block.
Size Specify the size of the command block.
Scan Time Select one of the following rates for the panel to scan the command block:
1 second, 0.5 second, 0.25 second
Command Bit Address Show the valid address range of the bits in the command block. Note that the application
Block Range can only read the bits.
Image Word Show the valid address range of the words in the command block. Note that the
Address application can only read the words.
Range
The following table describes each property in the Command Block page.
Property Description
Command Arrangement Select Default for the command words to be in the default order in the
Word command block. Select Custom to arrange each command word in the
command block by yourself.
Screen Switching Check this option to use the word to change the main screen, or display a
Register window screen by setting the word to the number of the desired screen.
Reset SSR to Zero If this option is selected, the panel always resets the Screen Switching
Register to zero when it detects a nonzero value in the word. If this option is
not selected, the panel resets the Screen Switching Register to zero only
when the specified screen is valid and not yet displayed.
Parameter One Register Check this option to use this word to specify the No. 1 parameter for the
specified operation.
Command Flags #0 - #15 Check this option to use the command flags to request the panel to perform
(Command Flag Word) the specified operations.
Trigger Bits #0 - #15 Check this option if any of the trigger bits in the word are needed for your
(Low Trigger Word) application.
Parameter Two Register Check this option to use this word to specify the No. 2 parameter for the
specified operation.
Trigger Bits #16 - #31 Check this option if any of the trigger bits in the word are needed for your
(High Trigger Word) application.
Continued
In the Status Word page, check the needed status words for your application, and specify a word variable that will receive
the status value for each checked status word.
The following table describes when and what the panel will write to each status word.
Status Word Description
Command Flag Ack. Bits #0 - #15 The states of all the effective command flags to this word whenever a state
change occurs on the effective command flags.
Trigger Ack. Bits #0 - #15 The states of trigger bits #0 - #15 to this word whenever a state change occurs on
trigger bits #0 - #15.
Trigger Ack. Bits #16 - #31 The states of trigger bits #16 - #31 to this word whenever a state change occurs
on trigger bits #16 - #3.
Current Screen Number Word The number of the current main screen to this word whenever the main screen
changes.
Current Recipe Block ID Word The current recipe block ID to this word whenever a different recipe block
becomes the current recipe block.
Current Recipe Number Word The current recipe number of the current recipe block to this word whenever a
different recipe becomes the current recipe of the current recipe block.
Current User Level Word The current user level to this word whenever the current user level changes.
Current Language Word The current language number to this word whenever it changes the language.
The following table describes each property in the Command Block page.
Property Description
Command Screen Number Register Use the word to change the main screen, or display a window screen by
Block setting the word to the number of the desired screen. You can also use this
word to request the panel to do the following operations: 1) Change the
language, 2) Turn on the backlight, and 3) Turn off the backlight.
The following table describes how to program this word.
Bit Description
0-9 Specifies the screen to be displayed.
11-13 Specifies the language that the panel displays for.
000: The panel does nothing.
001: The panel changes the language to language 1.
010: The panel changes the language to language 2.
...
111: The panel changes the language to language 7.
14 If this bit is On, the panel turns off the back light of the
display.
15 If this bit is On, the panel turns on the back light of the
display.
Continued
In the Status Word page, check the needed status words for your application and specify a word variable that will receive
the status value for each checked status word.
The following table describes when and what the panel will write to each status word.
Status Word Description
Screen Status Word The panel will write the number of the current main screen to this word whenever
the main screen changes.
Command Flag Ack. Word The panel will write the states of all the effective command flags to this word
whenever there a state change occurs on the effective command flags.
Current Recipe Number Word The panel will write the current recipe number of recipe block #0 to this word
whenever a different recipe becomes the current recipe of recipe block #0.
You can request the panel to perform the following file operations using the General Command and the default filename:
Parameter One
Parameter Two Register
Operation Register Default Filename Format
(Data ID)
(Operation code)
Save logged data to TXT file 1 ID of the data logger (0-15) DL<ID>_<Date>_<Time>.txt
Save logged data to CSV file 14 ID of the data logger (0-15) DL<ID>_<Date>_<Time>.csv
Save logged alarms to TXT file 2 (Not required) AL_<Date>_<Time>.txt
Save logged alarms to CSV file 15 (Not required) AL_<Date>_<Time>.csv
Save alarm counts to TXT file 3 (Not required) AC_<Date>_<Time>.txt
Save alarm counts to CSV file 16 (Not required) AC_<Date>_<Time>.csv
Save recipe data to TXT file 4 ID of the recipe block (0-15) RB<ID>.txt
Save recipe data to CSV file 17 ID of the recipe block (0-15) RB<ID>.csv
Save recipe data to DAT file 5 ID of the recipe block (0-15) RB<ID>.dat
Print screen to BMP file (256 6 Number of the screen S<ID>_<Date>_<Time>.bmp
colors)
If the target panel is PE, the
color resolution follows the
setting of the PC
Print screen to BMP file (64K 7 Number of the screen S<ID>_<Date>_<Time>.bmp
colors)
If the target panel is PE, Print
screen to JPG file
Save logged operations to TXT 9 (Not required) OL_<Date>_<Time>.txt
file
Save logged operations to 18 (Not required) OL_<Date>_<Time>.csv
CSV file
Save logged data to LDF file 10 ID of the data logger (0-15) DL<ID>_<Date>_<Time>.ldf
Take picture and save it to 12 ID of the USB camera (0-3) CAM<ID>_<Date>_<Time>.bm
BMP file p
Take picture and save it to 13 ID of the USB camera (0-3) CAM<ID>_<Date>_<Time>.jpg
JPG file
This section describes how to define Clock Operations for the panel application using the Clock dialog box. The following is
an example of the Clock dialog box.
The following table describes each property in the Clock dialog box.
Property Description
Write Write Time/date to Select this option so the panel will write time and date information to the specified
PLC variable.
Time/date Data Type Select one of the following data types for the output time and data information.
Data Type Description
6 BCD bytes The following shows the data structure.
Byte No. Content
0 Minute; 0-59
1 Hour; 0-23
2 Day; 1-31
3 Month; 1-12
4 Year; 00-99
5 Day-of-week; 0(Sunday)-6(Saturday)
Note: All the values are in BCD format.
Continued
Write Address Specifies the variable that will receive the output time and date information.
Write Timed When this item is selected, the panel writes time and date information to the
Operation specified variable periodically at a rate specified in the Interval field. Specify an
interval between 1 and 255 minutes.
Triggered When this item is selected, the panel writes time and date information to the
specified variable whenever the specified trigger bit changes from Off to On.
Continued
This section describes how to set up passwords for the panel application using the Passwords dialog box. The following is
an example of the Passwords dialog box.
The following table describes each property in the Passwords dialog box.
Property Description
Password The Password column contains 8 fields. Specify the password for a user level in the
corresponding field. A password is a positive integer up to 8 digits. A password must be
unique within the application.
Comment The Comment column contains 8 editable fields. You can type the comment for a
password or user level in the corresponding field.
9 Check this item if you want the developer password to be the password with the highest
privilege.
Automatic login for The password keypad will be displayed to enter a password for a higher user level when
operations requiring a the operator touches an object that requires a higher user level than the current one in
higher user level order to perform the programmed operation.
Login Trigger Bit When the specified trigger bit changes from Off to On, the password keypad will be
displayed to enter a password. The operator can enter a valid password or cancel the
password keypad.
Logout Trigger Bit When the specified trigger bit changes from Off to On, the current user level is reset to 0.
Login Timeout The password keypad will close automatically when it gets no input from the operator for
the specified time.
The following table describes how each type of screen opens, closes, and displays.
Types Description
Normal Screen A screen that will be displayed when it is selected to be a startup screen, or when a screen button
with open screen/previous screen operation is pressed.
Usually the normal screen cannot be closed until the other normal screen is opened.
The normal screen is also called a main screen that is only displayed one at a time in the panel.
The screen size is fixed and depends on the panel model.
Window Screen A screen that appears in the following situations:
z Screen button with open screen operation is pressed
z Selected to be a startup screen
z OPEN_WS macro command is used.
z Alarm is active or clear when the display screen option in the discrete/analog alarm block is
selected
z Page selector object is used
z Custom keypad is needed
Usually the window screen stays on the normal screen until the close button is pressed on the title
bar or the screen button or CLOSE_WS macro command to close. It then disappears.
The menu screen remains on the normal screen or window screen, until an area outside the menu
screen is pressed, or the screen button is used to close the menu screen. The menu screen then
closes.
Usually the menu screen stays on the normal screen or window screen until you press anywhere
outside the menu screen or use screen button to close. It then disappears.
Note: In each panel application, both the screen name and the screen number have to be unique.
■ Opening Screens
To open a screen, you can do the following:
1) In the Project Manager window, double click the screen you want to open
2) On the Screen menu, click Open Screen… In the Open Screen dialog box, select one or multiple screens and click
Open button to open all the selected screens.
The following is an example of Open Screen dialog box.
To set up a current screen (an opened screen which is at the top), do one of the following:
1) In the Project Manager window, double click the current screen.
2) Right click the blank area on the current screen, and then click Screen Properties… on the pop-up menu.
3) On the Screen menu, click Screen Properties…
The Screen Properties dialog box contains the following pages. Some of the pages appear only when they are needed.
■ General
Described in Section 3.9.3.1.
■ Background
Described in Section 3.9.3.2.
■ Keys
Described in Section 3.2.2.
■ Open Macro / Close Macro / Cycle Macro
Described in Section 14.2.6.
This section describes how to define the general settings for a screen. The following is an example of the General page of
the Screen Properties dialog box.
Property Description
Screen Number The number of the screen. It must be between 1 and 7999.
Screen Name The name of the screen.
Use This Screen Check this option to use the screen.
Type Specifies the type of the screen. There are three types: Normal Screen, Window
Screen and Menu Screen. Please see Section 3.9.1 for details.
Continued
This section describes how to define the background of a screen. The following is an example of the Background page of
the Screen Properties dialog box.
Property Description
Solid Color Check this option for the screen background to be filled with a solid color.
<Solid Color> Click the corresponding color button to specify the color used to fill the background.
This item is available when Solid Color option is selected.
Tile Check this option for the screen background to be filled with a pattern.
Pattern Specify the pattern used to fill the background. Click the corresponding Pattern icon
and select a pattern from the Pattern palette. This item is available when Tile option
is selected.
FG Color The color used to paint the black part of the pattern. When the solid white pattern is
selected, this color is not used. This item is available when Tile option is selected.
BG Color The color used to paint the white part of the pattern. This item is available when Tile
option is selected.
Picture Check this option to have a picture background for the screen.
<Name> The name of the picture. Use the drop-down list to select a picture from the picture
database.
Click to select a picture file. Then, the picture of the selected file is imported
and saved in the picture database.
Click to bring up the Select/Import from Library dialog box. Select a picture
from a picture library file. Then, the selected picture is imported and saved in the
picture database.
Stretch Check this item so the picture can change its size automatically to fit the screen.
■ Importing a screen
1) Right-click Panel Application > Screens item in the Project Manager window to bring out the pop-up menu and then
use Import Screen…
2) Click the *.snf file you want to create a new screen from. To open a screen that was saved in a different folder, locate
and open the folder first.
3) Click Open.
■ Exporting a screen
If you have screen you want to reuse, you can export the screen as a .snf file. You can do the following:
1) In the Project Manager window, click the screen to export
2) Right-click on the screen to display the screen item's "pop-up menu"; and then click Export Screen...
3) To save a screen in a different folder, locate and open the folder first, then click Save.
After Copying or Cutting, you can paste the screen by right clicking the blank area on any of the screen, and then use
Paste Screen on the pop-up menu or the Paste Screen command On the Screen menu.
■ Deleting a Screen
To delete a screen which is opened and activated, right click the blank area on the screen, and then click Delete Screen on
the pop-up menu or use the Delete Screen command on the Screen menu.
To delete a screen from Project Manager window, locate the screen to delete and right-click on the screen node to use the
Delete command on the pop-up menu. Confirm the deleting operation.
Property Description
Panel Application The application Name.
Screen The screen list shows all the screens in the panel application. Click the column
header to sort the items.
The following table describes each column in the screen list.
Column Description
Number The screen number. Check the box before the screen
number to save the screen as a picture file.
Name The screen name.
Filename The Filename. The default filename is Screen
Name+Language Name+S+State Number.
Note: If any of the characters such as /\:*?"<>| in the screen
name, they will be converted to underscore ( _ ).
DESIGNING SCREENS
-i-
4.4. Setting up Objects ...................................................................................... 55
4.4.1. States of Objects .......................................................................................................... 55
4.4.2. Operation Options of Objects ...................................................................................... 57
4.4.3. Address Settings .......................................................................................................... 58
4.4.4. Scale Settings............................................................................................................... 61
4.4.5. Advanced Settings ....................................................................................................... 63
4.4.6. Visibility Settings......................................................................................................... 65
- ii -
4
4.1. Drawing Basic Shapes
The software provides a drawing tool you can use to create simple or elaborate drawing shapes such as lines, rectangles,
circles, arcs etc.
To create a drawing shape, click the shape on the Draw Toolbar (See Section 1.4.2.3 Draw Toolbar for details), or use the
command on the Draw menu (See Section 1.4.1.5 Draw menu for details). Then, move the mouse to the position you want
to place the shape and click the left button. To set up a drawing shape, double-click the shape to bring up the
corresponding properties dialog, which can then allow you to set up the color and style of the line/outlined, pattern, FG/BG
Color…of the shape.
Note: If you don’t see the Draw Toolbar pictured below in the lower left corner of the program window, please click the
Draw Toolbar command on the View menu.
The following table describes each property in the Dot dialog box.
Property Description
Style
5. You can click the following icons in the Draw toolbar to modify the properties of the dot.
Click Icon To
1. In the Draw menu or Draw toolbar, click Line to draw a straight line. You can also click Horizontal Line
The picture on the left shows the two handles of a line. Position the mouse
pointer over one of the handles. When the cursor changes to , drag the handle
until the line has the length and slope you want.
5. Left-click and hold down the mouse button until the cursor becomes a cross icon to move the line.
6. Double-click the line to bring up the Line dialog box and then modify the settings of the line. The following is a
sample of the Line dialog box.
Color Static Check this option if the color of the line will not be changed.
Controlled By Bit Check this option if the color of the line will be controlled by the specified bit.
Blink Check this option so the line will blink. You have to choose the blink effects
that change the color of the line from its On state color to Off state color.
Blink(Enabled by Bit) Check this option if you want to enable the line blinking by the specified bit.
State Select the state that you want to view or define the color for.
Color Specifies the line color for the selected state.
Control Bit Specifies the bit that controls the color or enables the color blinking.
Click to enter the bit address. Click to enter the bit tag.
Start / End Start/End Point Select this option if you want the line to have a shape at the start/end point.
Point Type Click the dropdown list to select the type for Start/End Point
Filled Select this option if you want the shape to be filled with the line color.
Size Specifies the shape size.
Visibility Visibility Controlled Check this option if the line will be shown or hidden by the specified bit.
Control By Bit
Control Bit Specifies the bit that shows or hides the object.
Click to enter the bit address. Click to enter the bit tag.
Visible State Specifies the state (On or Off) that makes the line visible.
Terminal X1 The X coordinate of the start point.
Y1 The Y coordinate of the start point.
X2 The X coordinate of the end point.
Y2 The Y coordinate of the end point.
7. You can click the following icons in the Draw toolbar to modify the properties of the line.
Click Icon To
The picture on the left shows all the blue and black handles of a polyline.
Position the mouse pointer over one of the handles. When the cursor
changes to or or or , drag the handle until the polyline is
the shape and size you want.
7. Right-click anywhere on the polyline and use the Insert Point command on the object pop-up menu to insert a new
point for the polyline. Or right-click the existing point of the polyline and use the Delete Point command on the object
pop-up menu to delete the point.
Insert Point
Delete Point
The following table describes each property in the Polyline dialog box.
Property Description
Line Style Specifies the style of the polyline.
Color Static Check this option if the color of the polyline will not be changed.
Controlled By Bit Check this option if the color of the polyline will be controlled by the specified
bit.
Blink Check this option so the polyline will blink. You have to choose the blink
effects that change the color of the polyline from its On state color to Off state
color.
Blink(Enabled by Check this option if you want to enable the polyline blinking by the specified
Bit) bit.
State Select the state that you want to view or define the color for.
Color Specifies the line color for the selected state.
Control Bit Specifies the bit that controls the color or enables the color blinking.
Click to enter the bit address. Click to enter the bit tag.
Start Point Start Point Select this option if you want the polyline to have a shape at the start point.
Type Specifies the shape type.
Filled Select this option if you want the shape to be filled with the line color.
Size Specifies the shape size.
End Point End Point Select this option if you want the polyline to have a shape at the end point.
Type Specifies the shape type.
Filled Select this option if you want the shape to be filled with the line color.
Size Specifies the shape size.
Continued
9. You can click the following icons in the Draw toolbar to modify the properties of the polyline.
Click Icon To
1. In the Draw menu or Draw toolbar, click Rectangle to draw a normal rectangle. You can also click Round
Rectangle to draw a round rectangle or click Clipped Rectangle to draw a clipped rectangle.
2. Move the cursor onto the screen where you want to draw a rectangle. A rectangle with default settings will display
and move along with the cursor.
3. Click the desired position on the screen to place the rectangle. The upper-left corner of the rectangle will be at the
clicked position.
4. Drag one handle of the rectangle at a time to resize the rectangle.
The picture on the left shows the eight handles of a rectangle. Position the mouse pointer
over one of the handles. When the cursor changes to or or or , drag the
handle until the rectangle is the shape and size you want.
5. Double-click the rectangle to bring up the Rectangle dialog box and then modify the settings of the rectangle. The
following is a sample of the Rectangle dialog box.
The following table describes each property in the Rectangle dialog box.
Property Description
Specifies the type of the rectangle. There are three types: Normal, Round, or Clipped.
Normal Round Clipped
Type
Continued
Continued
6. You can click the following icons in the Draw toolbar to modify the properties of the rectangle.
Click Icon To
Select a color for painting the white part of the fill pattern.
Select a color for painting the black part of the fill pattern.
5. Position the mouse pointer over the handle on the center of the circle. When the cursor changes to , left-click the
center and hold down the button to move the circle.
6. Double-click the circle to bring up the Circle dialog box to modify the settings of the circle.
Property Description
Color Static Check this option if the color of the circle will not be changed.
Control Controlled By Bit Check this option if the color of the circle will be controlled by the specified bit.
Blink Check this option so the circle will blink. You have to choose the blink effects
that change the color of the circle from its On state Outlined and Solid option
settings to Off state Outlined and Solid option settings.
Blink(Enabled by Check this option if you want to enable the rectangle blinking by the specified
Bit) bit.
Control Bit Specifies the bit that controls the color or enables the blinking.
Click to enter the bit address. Click to enter the bit tag.
State Select the state that you want to view or define the colors for.
Outline Outlined Check this option if you want the circle to be outlined.
Color Specifies the outline color for the selected state.
Solid Solid Check this option if you want the circle to be solid. A solid circle is filled with the
specified pattern and colors.
Pattern Specifies the fill pattern for the selected state.
FG Color Specifies the color for the selected state that will be used for painting the black
part of the fill pattern.
BG Color Specifies the color for the selected state that will be used for painting the white
part of the fill pattern.
Center X The X coordinate of the center of the circle.
& Y The Y coordinate of the center of the circle.
Radius
Radius The radius of the circle.
Visibility Visibility Check this option if the circle will be shown or hidden by the specified bit.
Control Controlled By Bit
Control Bit Specifies the bit that shows or hides the circle.
Click to enter the bit address. Click to enter the bit tag.
Visible State Specifies the state (On or Off) that makes the circle visible.
7. You can click the following icons in the Draw toolbar to modify the properties of the circle.
Click Icon To
Select a color for painting the white part of the fill pattern.
Select a color for painting the black part of the fill pattern.
The picture on the left shows the eight handles of an ellipse. Position the mouse pointer
over one of the handles. When the cursor changes to or or or , drag the
handle until the rectangle is the shape and size you want.
5. Double-click the ellipse to bring up the Ellipse dialog box and then modify the settings of the ellipse.
The following is a sample of the Ellipse dialog box.
Property Description
Color Static Check this option if the color of the ellipse will not be changed.
Control Controlled By Bit Check this option if the color of the ellipse will be controlled by the specified bit.
Blink Check this option so the ellipse will blink. You have to choose the blink effects
that change the color of the ellipse from its On state Outlined and Solid option
settings to Off state Outlined and Solid option settings.
Blink(Enabled by Check this option if you want to enable the ellipse blinking by the specified bit.
Bit)
Control Bit Specifies the bit that controls the color or enables the blinking.
Click to enter the bit address. Click to enter the bit tag.
State Select the state that you want to view or define the colors for.
Outline Outlined Check this option if you want the ellipse to be outlined.
Color Specifies the outline color for the selected state.
Solid Solid Check this option if you want the ellipse to be solid. A solid ellipse is filled with
the specified pattern and colors.
Pattern Specifies the fill pattern for the selected state.
FG Color Specifies the color for the selected state that will be used for painting the black
part of the fill pattern.
BG Color Specifies the color for the selected state that will be used for painting the white
part of the fill pattern.
Profile Left The X coordinate of the upper-left corner of the bounding rectangle of the ellipse.
Top The Y coordinate of the upper-left corner of the bounding rectangle of the ellipse.
Width The width of the bounding rectangle of the ellipse.
Height The height of the bounding rectangle of the ellipse.
Visibility Visibility Check this option if the ellipse will be shown or hidden by the specified bit.
Control Controlled By Bit
Control Bit Specifies the bit that shows or hides the ellipse.
Click to enter the bit address. Click to enter the bit tag.
Visible State Specifies the state (On or Off) that makes the ellipse visible.
6. You can click the following icons in the Draw toolbar to modify the properties of the ellipse.
Click Icon To
Select a color for painting the white part of the fill pattern.
Select a color for painting the black part of the fill pattern.
The picture on the left shows the handles of an arc. The blue handles are for shaping the
arc. The black handles of the two ends of the arc are for changing the ends' angles. The
black handle at the center of the arc is for forcing the arc to be a part of a circle.
Position the mouse pointer over one of the handles. When the cursor changes to or
or or , drag the handle until the arc is the shape and size you want.
5. Double-click the arc to bring up the Arc dialog box and then modify the settings of the arc.
The following table describes each property in the Arc dialog box.
Property Description
Color Specifies the color of the arc.
Profile Left The X coordinate of the upper-left corner of the bounding rectangle of the arc.
Top The Y coordinate of the upper-left corner of the bounding rectangle of the arc.
Width The width of the bounding rectangle of the arc.
Height The height of the bounding rectangle of the arc.
6. You can click the following icons in the Draw toolbar to modify the properties of the arc.
Click Icon To
1. In the Draw menu or Draw toolbar, click Pie to draw a pie shape.
2. Move the cursor onto the screen where you want to draw a pie shape. A pie shape with default settings will display
and move along with the cursor.
3. Click the desired position on the screen to place the pie shape. The upper-left corner of the bounding rectangle of
the pie shape will be at the clicked position.
4. Drag one handle of the pie shape at a time to change the pie shape.
The picture on the left shows the handles of a pie shape. The blue handles are for
changing the pie shape. The black handles at the two ends of the pie are for
changing the size of the pie. Clicking the black handle at the center of the pie
applies the radius to the entire pie and can be used to change the radius of the
pie.
Position the mouse pointer over one of the handles. When the cursor changes to
or or or , drag the handle until the pie is the shape and size you
t
5. Double-click the pie shape to bring up the Pie dialog box to modify the settings of the pie shape.
The following table describes each property in the Pie dialog box.
Property Description
Outline Outlined Check this option if you want the pie shape to be outlined.
Color Specifies the outline color.
Solid Solid Check this option if you want the pie shape to be solid. A solid pie shape is filled with the
specified pattern and colors.
Pattern Specifies the fill pattern.
FG Color Specifies the color that will be used for painting the black part of the fill pattern.
BG Color Specifies the color that will be used for painting the white part of the fill pattern.
Profile Left The X coordinate of the upper-left corner of the bounding rectangle of the pie shape.
Top The Y coordinate of the upper-left corner of the bounding rectangle of the pie shape.
Width The width of the bounding rectangle of the pie shape.
Height The height of the bounding rectangle of the pie shape.
Click Icon To
Select a color for painting the white part of the fill pattern.
Select a color for painting the black part of the fill pattern.
The picture on the left shows the handles of a polygon. The blue
handles are for resizing the polygon. The black handles are for moving
the vertices of the polygon.
Position the mouse pointer over one of the handles. When the cursor
changes to or or or , drag the handle until the polygon is
the shape and size you want.
7. Right-click anywhere on the polygon and use the Insert Point command on the object pop-up menu to insert a new
point for the polygon. Or right-click the existing point of the polygon and use the Delete Point command on the
object pop-up menu to delete the point.
Insert Point
Delete Point
The following table describes each property in the Polygon dialog box.
Property Description
Color Static Check this option if the color of the polygon will not be changed.
Control Check this option if the color of the polygon will be controlled by the specified
Controlled By Bit
bit.
Blink Check this option so the polygon will blink. You have to choose the blink effects
that change the color of the polygon from its On state Outlined and Solid option
settings to Off state Outlined and Solid option settings.
Blink(Enabled by Check this option if you want to enable the polygon blinking by the specified bit.
Bit)
Specifies the bit that controls the color or enables the blinking.
Control Bit
Click to enter the bit address. Click to enter the bit tag.
State Select the state that you want to view or define the colors for.
Outline Outlined Check this option if you want the polygon to be outlined.
Thickness Specifies the thickness of the outline.
Color Specifies the outline color for the selected state.
Continued
9. You can click the following icons in the Draw toolbar to modify the properties of the polygon.
Click Icon To
Select a color for painting the white part of the fill pattern.
Select a color for painting the black part of the fill pattern.
Note 1: You can use the Text toolbar to modify the properties of the text object's text instantly.
Note 2: You can use the Draw toolbar to modify the properties of the text object's shape instantly.
Tip: By default, the Auto Text Resizing on the Edit menu is checked and the related icon on the Edit toolbar is sunken. If
you don’t want to resize the text when resizing the object, you need to uncheck the Auto Text Resizing command
on the Edit menu or click the sunken icon on the Edit toolbar to make the font size fixed.
This section describes how to define the general settings for text objects.
The above is an example of the General page of the Text Object dialog box.
/ Click to view and edit the text for the selected language in this edit box, or click to
select a text from dropdown text table that lists all the texts from Text Database. You can
change the text database before selecting a text.
Color The color of the text. To specify the color, click the corresponding Color icon and select a
color from the Color palette.
Transparent Check this item to make the background of the text transparent.
BG Color Specifies the background color of the text. This field is available when Transparent is not
selected.
Direction Select one of the following directions to arrange the characters of the text.
From left to From right to From top to From bottom
Direction
right left bottom to top
Input text:
An
example
Position
Border Spacing The margin (in pixels) to the border of the object’s shape for the text body.
Line Spacing The distance (in pixels) between two adjacent lines of the text.
Character Spacing The distance (in pixels) between two adjacent characters of the text.
The following table describes each property in the Picture Object dialog box.
Property Description
The name of the picture that the object displays. You can use the drop-down list to select a
picture from the picture database.
Click to select a picture from a file. After the selection, the software imports the picture
Name of the selected file and saves the picture in the picture database.
Click to bring up the Select/Import from Library dialog box. Select a picture from a
picture library file. After the selection, the software imports the selected picture from the
selected library and saves the picture in the picture database.
View Shows the processed result of the selected picture according to the current settings.
Continued
Property Description
Direction and Position Select the direction and the position of the scale.
Dynamic Dynamic Check this item if you want the numbers of the scale ticks and the range of the scale marks
Range Range to be dynamic, i.e. to be controlled by the specified variable.
Parameter Specifies the variable that controls the numbers of the scale ticks and the range of the
Block scale marks. The variable is an array of four double-words (8 words). The following table
describes the data members of the array.
Word # Data Type Description
0, 1 32-bit unsigned integer The number of major ticks. The allowable range of
this number is between 2 and 101.
2, 3 32-bit unsigned integer The number of divisions between two adjacent
major ticks. The allowable range of this number is
between 1 and 100.
4, 5 32-bit signed integer The minimum of the scale marks.
6, 7 32-bit signed integer The maximum of the scale marks.
Example
Assume a scale’s dynamic range control block is $U100. The following macro commands
makes the scale look like this:
$U100 = 3 (UD) // The number of major ticks.
$U102 = 5 (UD) // The number of sub-divisions.
$U104 = 0 (SD) // The minimum of the scale marks.
$U106 = 100 (SD) // The maximum of the scale marks.
Color The color of the scale. To specify the color, click the corresponding Color icon and select a
color from the Color palette.
Number of Major Ticks The number of major ticks. The minimum you can specify is two.
Number of Sub The number of divisions between two adjacent major ticks. The minimum you can specify
Divisions is one.
Minor Tick Length The length of minor ticks.
Axis Check this item if you want the scale to have an axis.
Marks Marks Check this option if you want the scale to have marks.
Font The font of the marks.
Minimum The minimum of the marks. It is a 32-bit integer.
Maximum The maximum of the marks. It is a 32-bit integer.
Total Digits The total digits to be displayed for the marks.
Fractional The number of fractional digits for the marks. For example, when the Maximum is 5000, the
Digits Total Digits is 4, and the Fractional Digits is 2, the mark for the Maximum will be 50.00.
Reverse Check this option if you want the marks of the scale to show in reverse order. In normal
Order order, the maximal mark is at the right end or top end of the scale. In reverse order, the
maximal mark is at the left end or bottom end of the scale.
Note: Only 23 types of objects can be placed in the cells of the table. The supported objects are Picture, Dot, Text,
Bit Button, Toggle Switch, Word Button, Multistate Switch, Screen Button, Function Button, Keypad Button, Numeric
Display, Numeric Entry, ASCII String Display, ASCII String Entry, Bit Lamp, Multistate Lamp, Time Display, Date
Display, Day-of-Week Display, Message Display, Bar Graph, Picture Display, GIF Display, and Advanced Numeric
Display.
5. Click the cell inside the table. If the cell contains the object, there will be the icon on the upper-left corner of the
cell. The following is an example showing you how to edit the object in the table.
Note: You can adjust the width of the column when the Distribute Columns Evenly is not selected in the general
page of the Table dialog box. And you can adjust the height of the row when the Distribute Rows Evenly is not
selected in the general page of the Table dialog box.
7. Double-click anywhere inside the table, other than the icon, to bring up the Table dialog box and then define the
settings for the table. This dialog box contains the following two pages:
■ General
Described in Section 4.1.13.1.
■ Cell
Described in Section 4.1.13.2.
The following table describes each property in the General page of the Table dialog box.
Property Description
ID The object’s identifier is generated when the object is created and is unchangeable.
The identifier is unique within the screen where the object is located. The format of the
IDs for the tables is TBLnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Object. , Border Color, BG Color
Cell Number of rows Specifies the number of rows in the table.
Number of columns Specifies the number of columns in the table.
Distribute rows Check this option if you want the rows of the table to be always distributed evenly.
evenly Uncheck this option if you want to adjust the heights of the rows.
Distribute columns Check this option if you want the columns of the table to be always distributed evenly.
evenly Uncheck this option if you want to adjust the widths of the columns.
Drag and drop Check this option so you can drag and drop an object into a cell of the table. Note that
not all kinds of objects can be placed in the cells of the table.
Grid Vertical Check this option if you want the table to have vertical grid lines.
Horizontal Check this option if you want the table to have horizontal grid lines.
Style Specifies the style for the grid lines.
Color Specifies the color for the grid lines.
The following table describes each property in the Cell page of the Table dialog box. To make the buttons available, you
need to select a row. To select a row, left-click the (Row, Column) column.
Property Description
(Row,Column) The location of the cell.
Object The type of the specified object. If the field is empty, the cell has no object inserted and it is called
empty cell.
Click the button to bring up the properties dialog box of the specified object and define the settings
of the object for the selected cell. The button is available when the Object field is not empty.
Margin The distance in pixels between the object boundary and the cell border. Select a number between 0
and 10.
Delete Click the button to clear the contents of the selected cell. The button is available when the selected
cell is not empty.
Insert Click the button to bring up the Select Object dialog box shown above. Select an object type listed
in the dialog to create a new object for the selected cell. The button is available when the selected
cell is empty.
Note: The table won’t allow the insertion of the type of object which is not listed in the dialog.
Move Up Click the button to move the selected cell before the previous cell. It will not be available when
multiple rows are selected, no row is selected, or the first row is selected.
Move Down Click the button to move the selected cell after the next cell. It will not be available when multiple
rows are selected, no row is selected, or the last row is selected.
In this section you will learn how to select the objects first and then move around, copy, or edit the selections without
affecting the rest of the screen.
Each of the selected objects will have blue square-shaped tabs around it. The object with solid tabs is the reference object.
■ De-selecting Objects
To de-select objects, either click the blank area of the screen, or make a new selection.
To group the selection, click on the edit toolbar, or use the Group command on the Edit menu or on the object pop-up
menu. After you have grouped a selection that includes at least two objects, you can copy, move or resize all objects in a
group as a single unit. You can select an object within the group and change its properties without ungrouping. You can
also save the group to the object library and use this object group in an animated graphic.
To ungroup the selected group, click on the edit toolbar, or use the Ungroup command on the Edit menu or on the
object pop-up menu. After ungrouping the objects, the objects within the group will be restored to the single ones.
■ Resizing Objects
The square-shaped tabs around your object can be re-sized. You can resize by clicking on the square-shaped tabs located
at the corners and the middle sections of the bound rectangle area and holding the mouse button down. When the cursor
changes to or or or , drag the mouse to change the size of the selection. Release the mouse button when
the selection is the size you like. You can make it bigger or smaller, and achieve a distorted effect by "squashing" or
"stretching" the selection to make it either wider/narrower or taller/shorter than its original proportions.
Tip: You can’t resize more than one object at a time unless you group multiple objects before resizing.
To automatically scale the text of the object when resizing the object, click on the edit toolbar if it is raised, or use the
Auto Text Resizing command on the Edit menu.
Tip: The Auto Text Resizing command is checked and the icon is sunken by default. If you don’t want to resize the text
when resizing the object, you need to uncheck the Auto Text Resizing command or click the sunken icon to make the
font size fixed.
To pin the selection so that it cannot move, click on the edit toolbar, or use the Pin command on the Edit menu or on
the object pop-up menu.
To unpin the selection so that it can move again, click on the edit toolbar, or use the Unpin command on the Edit
menu or on the object pop-up menu.
Tip: Pinned objects can still be resized.
To copy a selection from the current screen and place it on the Windows™ clipboard, press Ctrl+C, or click on the
standard toolbar, or use the Copy command on the Edit menu or on the object pop-up menu.
To cut a selection from the screen, press Ctrl+X, or click on the standard toolbar, or use the Cut command on the
Edit menu or on the object pop-up menu.
After Copying or Cutting, you can paste the selection by pressing Ctrl+V, or click on the standard toolbar, or use the
Paste command on the Edit menu or on the object pop-up menu.
To copy and paste the selection by mouse, press and hold down the Ctrl key,
and then left-click the selection and hold down the button. When the cursor
changes to , drag the mouse to copy the selection to another area of the
screen. The picture on the right is an example.
Tip: Cut and Paste are good for moving objects around within the screen or to another screen.
Copy and Paste are good for duplicating objects from the current screen to other screens.
By pasting multiple times on the current screen, you can achieve a cascading effect.
By pasting once to a different screen, the position of the pasted object will be the same as the copied object from the
original screen.
■ Deleting Objects
To delete a selection, press Del, or use the Delete command on the Edit menu, or on the object pop-up menu. When you
use Delete, whatever is in the selection will be deleted.
■ Undo
To reverse the last action, press Ctrl+Z, or use the Undo command on the Edit menu.
■ Redo
To reapply the actions that were previously canceled by the Undo command, press Ctrl+Z, or use the Redo command on
the Edit menu.
■ Keyboard Shortcuts
Preview
addresses
Property Description
Number Columns The total number of columns.
of Copies Rows The total number of rows.
Spacing Vertical The distance (in pixels) between two adjacent objects in the vertical direction.
in Pixels Horizontal The distance (in pixels) between two adjacent objects in the horizontal direction.
Increase Address Check this item so the address of each duplicate will be increased to a specified increment
over the previous object.
Increment The increase amount.
Copy From top to bottom, place the duplicates row by row. In the same row, place the duplicate to
Direction the right of the previous object.
From top to bottom, place the duplicates row by row. In the same row, place the duplicate to
the left of the previous object.
From bottom to top, place the duplicates row by row. In the same row, place the duplicate to
the right of the previous object.
From bottom to top, place the duplicates row by row. In the same row, place the duplicate to
the left of the previous object.
From left to right, place the duplicates column by column. In the same column, place the
duplicate below the previous object.
From right to left, place the duplicates column by column. In the same column, place the
duplicate below the previous object.
From left to right, place the duplicates column by column. In the same column, place the
duplicate above the previous object.
From right to left, place the duplicates column by column. In the same column, place the
duplicate above the previous object.
Nudge the selection left. When the Snap to Grid option is not selected, all objects of
the selection move one pixel left. When the Snap to Grid option is selected, each
Left
object of the selection moves left to where its upper-left corner aligns to the nearest
grid point.
Nudge the selection right. When the Snap to Grid option is not selected, all objects of
the selection move one pixel right. When the Snap to Grid option is selected, each
Right
object of the selection moves right to where its upper-left corner aligns to the nearest
grid point.
Nudge
Nudge the selection up. When the Snap to Grid option is not selected, all objects of
the selection move one pixel up. When the Snap to Grid option is selected, each
Up
object of the selection moves up to where its upper-left corner aligns to the nearest
grid point.
Nudge the selection down. When the Snap to Grid option is not selected, all objects of
the selection move one pixel down. When the Snap to Grid option is selected, each
Down
object of the selection moves down to where its upper-left corner aligns to the nearest
grid point.
Width Make the selected objects have the same width as the reference object.
Make
Same Height Make the selected objects have the same height as the reference object.
Size
Both Make the selected objects have the same width and height as the reference object.
Start the order setting process for the objects of the active screen. For details,
Set Order
please see Section 4.2.6.1 Changing the Order of Objects
The object order is also the display order. If the screen contains overlapping objects, changing the order will change the
display sequence of the objects. The objects that come later in the order are always displayed on top of any overlapping
objects that precede them in the order.
■ Viewing order
To view the current order of all objects in the screen, click Set Order on the Edit menu.
■ Changing order
To change the order for all objects in the screen
1) On the Edit menu, click Set Order
A Number in the upper-left corner of each object shows its place in the current order
2) Set the order by clicking each object in the order that you want the objects to be displayed. The ordering number
starts from 1.
3) Click the blank field on the screen to exit Set Order mode
If the screen is running on 037-LSK, click the down or right direction key to move the selection in 2-4-6-8-10-12-14-16-18
-20-29 sequence. If the screen is running on the touch panel, click the function button to move the selection in the
same sequence. The text objects with 1,3,5…order number are not data entry object, so they won’t receive the selection
and are not listed in the sequence.
There are four common components of object appearance. They are described in the following table:
The software provides many graphical shapes for you to choose from. For details, see
Section 4.3.3 Selecting a Graphical Shape. The color or the pattern of a graphical shape is
dependent on the state of the associated object. You need to specify the color or pattern
settings of a graphical shape for each state of the associated object. For details, see
Section 4.3.1 Selecting a Color and Section 4.3.2 Selecting a Pattern.
If you want an object to have a picture shape, check the item Picture Shape in the General
Page of the object’s property dialog box. You can select a picture from the picture
database or import a picture from a library file for the shape of an object. Any picture with
the format of BMP, JPG, or WMF can be a picture shape. When a picture is used as a
shape, the shape is state independent, i.e. the same look appears for all (object) states. If
you want a picture shape to display the object state and/or show the touch action, you
need to select a picture group as the shape. For details of picture groups, please see
Section 2.2.3.2 Picture Groups
To know how to set a shape, see Section 4.3.4 Setting up the Shape of an Object.
Inner Label An inner label is a label inside the associated object. It has the same number of states as
the associated object. You need to specify the text settings and the picture settings of an
inner label for each (object) state. Inner labels are language dependent. You need to
specify the text of an inner label for each language as well. Note that not all objects can
have inner labels and some objects can have just text or a picture as their inner label.
To know how to set an inner label, see Section 4.3.5 Label Settings.
VFTA (Visual Feedback for A button or switch can give the operator one of the following visual feedbacks when it is
Touch Action) touched:
Visual Feedback Description
Sunken Shifts the inner label to the lower-right corner by one or two pixels.
Back Fills the area inside the border of the shape with the shape’s FG
Color.
Outline Outlines the object with the shape’s FG Color.
External Label An external label is a label outside of but still attached to the associated object. Unlike
inner labels, external labels are state independent. They have the same look for all
(object) states. However, external labels are language dependent. You need to set the
text of an external label for each language. External labels are touch insensitive. Touching
an external label will not activate the associated object. Note that not all objects can have
an external label.
To know how to set an external label, see Section 4.3.8 External Label Settings.
The orders of drawing the common appearance components are shown in the following table with examples:
Step Draw Example 1 Example 2 Description
Final Appearance
(When untouched)
Final Appearance
(When touched)
■ Color Palette
With the Color palette, you can: 1) Select a color from a set of predefined colors, 2) Customize a set of user colors, and 3)
Select a color from a set of user colors.
Usually, you click a Color icon to bring up the Color palette. The following shows the pages of the Color palette.
On page 1, the yellow block is outlined to indicate that it is the current selection. To select a color, click on that color block.
To select a page, click on that page’s number tab. To cancel the operation click on any position other than the color blocks
and the number tabs. Page 1, 2, and 3 contain the predefined colors. Page 4 contains the user colors. To customize user
colors, click to bring up the Define Custom Color dialog box as shown below.
■ Pattern Palette
With the Pattern palette, you can select a pattern from a set of predefined patterns. Usually, you click a Pattern icon to
bring up the Pattern palette as shown below.
The “big dashes” block is outlined to indicate that it is the current selection. To select a pattern, click on that pattern block.
To cancel the operation, click on any position other than the pattern blocks.
In an object’s property dialog box, you can click the shape button to bring up the Shape palette. With the Shape
palette, you can select a graphical shape as the shape of the associated object.
■ Shape Palette
With the Shape palette, you can select a graphical shape for an object. Usually, you click to bring up the Shape
palette. The Shape palette contains several pages of graphical shapes. To select a graphical shape, click on that graphical
shape. To select a page, click on that page’s number tab. To cancel the operation, click the close button to close the
Shape palette.
There are four sets of graphical shapes available for your applications. Each of them is suitable for certain kinds of objects.
The Shape palette shows the set that is suitable for the type of object concerned. The four sets of shapes are shown
below.
The following table describes each property that may be required for the settings of an object’s shape.
Property Description
Picture Shape Check this option if you want the object to have a picture shape instead of a graphical shape. This
option is available when the object can have a picture shape.
Click this button to specify the shape of the object. When Picture Shape is checked, the
Select/Import from Library dialog box will display. Otherwise, the Shape palette will display.
VFTA The type of VFTA (Visual Feedback for Touch Action).
Test VFTA Click this button to view the selected VFTA.
Border Color The border color of the graphical shape. Click the corresponding Color icon to specify the color.
Pattern The pattern that is used to fill the area inside the border of the graphical shape for the current
(object) state. To specify the pattern, click the corresponding Pattern icon and select a pattern from
the Pattern palette. This item is available when the area inside the graphical shape needs be
painted.
FG Color The color that is used to paint the black part of the pattern for the current (object) state. When the
solid white pattern is selected, this color is not used. When a picture shape is used, this color is used
for the outline mode with VFTA.
Example 1 Example 2
To specify the color, click the corresponding Color icon and select a color from the Color palette.
This item is available when the area inside the graphical shape needs be painted.
BG Color The color that is used to paint the white part of the pattern for the current object state. To specify the
color, click the corresponding Color icon and select a color from the Color palette. This item is
available when the area inside the graphical shape needs be painted.
The property sheets of the above mentioned objects provide you with the Label page to set up the inner label. If an object
only has one state, the Label page has the Text sub-page and the Picture sub-page for you to set up the text and the
picture of the inner label respectively. If an object has two states, the Label page has the following four sub-pages:
You can use the Label page to set the inner label of an object that can have at most two states.
The following is an example of the Label page.
Property Description
The language that you are setting
Language
the text for.
The margin (in pixels) to the
Border Spacing border of the object’s shape for
both the text body and picture.
Use the text of Check this item so the inner label
the first always shows the text of the first
language for all language regardless of what the
other current language is.
languages
Click this tab to bring up the Text
Text tab
sub-page.
Click this tab to bring up the
Picture tab
Picture sub-page.
Click this tab to bring up the OFF
OFF Text tab
Text sub-page.
Click this tab to bring up the ON
ON Text tab
Text sub-page.
OFF Picture Click this tab to bring up the OFF
tab Picture sub-page.
Click this tab to bring up the ON
ON Picture tab
Picture sub-page.
The following table describes each property in the Text sub-page, OFF Text sub-page, and ON Text sub-page.
Property Description
Copy from Note Click this button to replace the current text by the text of Note in the General page.
Copy to ON State Click this button to use the current text to replace the text of ON state.
Copy to OFF Click this button to use the current text to replace the text of OFF state.
State
Font The font of the text. You can use the drop-down list to select a font.
Click to bring up the Font Templates dialog box and select a font for the text. You can
change the font templates before selecting a font in that dialog box.
Color The color of the text. To specify the color, click the corresponding Color icon and select a color
from the Color palette.
Blink Check this item so the text will blink. You have blink effects to choose from. Color switching
changes the color of the text from its original color to the color of the background. Text On/Off
displays and hides the text.
Transparent Check this item to make the background of the characters transparent.
BG Color The background color of the text.
Continued
Shape BG Color The BG color of the object’s shape for the current state.
Copy Attributes to Click this button to use the current attributes to replace the text of ON state.
ON State
Copy Attributes to Click this button to use the current attributes to replace the text of OFF state.
OFF State
Shape BG
The BG color of the object’s shape for the current state.
Color
The property sheets of the above mentioned objects provide you with the Text page to set up the text of the inner label.
The following is an example of the Text page.
You can view the texts and the picture names of all
the states here. You can select a state from the list.
The text of the selected state becomes the current
text.
Position
Blink Select blink effects to make the text blink. Color switching changes the color of the text from
its original color to the color of the background. Text On/Off displays and hides the text.
Shape BG Color The BG color of the object’s shape for the current state.
Text <Edit Box> /
The text for the selected state in current language.
<Combo Box>
/ Click to view and edit the text for the selected language in this edit box, or click to
select a text from dropdown text table that lists all the texts from Text Database. You can
change the text database before selecting a text.
Line Spacing The distance (in pixels) between two adjacent lines of the text.
Character Spacing The distance (in pixels) between two adjacent characters of the text.
The property sheets of the above mentioned objects provide you the Picture page to define the picture settings of the
objects. The following is an example of the Picture page.
Property Description
Picture The name of the current picture. You can use the drop-down list to select a picture from the picture
database.
Click to select a picture from a file as the current picture. After the selection, the software imports
the picture of the selected file and saves the picture in the picture database.
Click to bring up the Select/Import from Library dialog box. Select a picture from a picture library
file as the current picture. After the selection, the software imports the selected picture from the
selected library and saves the picture in the picture database.
Continued
Shape BG The BG color of the object’s shape for the current state.
Color
You can use the External Label page of an object's property sheet to set up the external label of that object. The following
is an example of the External Label page.
The following table describes each property in the External Label page.
Property Description
Plate Style Specifies the plate type of the external label. There are four plate types as shown
below:
Plate Type Example
Transparent,
Flat,
Outlined
Raised
Continued
Top
Left
Right
Bottom
Color The border color of the plate. To specify the color, click the corresponding Color icon
Border
and select a color from the Color palette.
The color of the plate. To specify the color, click the corresponding Color icon and
Plate
select a color from the Color palette.
The color of the text. To specify the color, click the corresponding Color icon and
Text
select a color from the Color palette.
Language The language that you are setting the text to.
Font <Drop-down List> The font of the text for the current language
Click this button to bring up the Font Templates dialog box and select a font for the
text. You can change the font templates before selecting a font in that dialog box.
Text <Edit Box> /
The text for the current language.
<Combo Box>
/ Click to view and edit the text for the selected language in this edit box, or click
to select a text from dropdown text table that lists all the texts from Text
Database. You can change the text database before selecting a text.
Spacing Border The distance (in pixels) between the plate border and the text body.
Line The distance (in pixels) between two adjacent lines of the text.
Character The distance (in pixels) between two adjacent characters of the text.
You can assign a positive integer for each state in the dialog box. To edit the value, click the row of that state under the
value column.
You can use the Move Up button and the Move Down button to adjust the position of state values. To move up or move
down the state values, you need to make a selection first. To select a state, click the header column. To select multiple
rows, click the header column and use Ctrl+Click to add a row to the selection.
Terminology Definition
Enabling and disabling the The touch operation can be enabled and disabled either by a specified bit or by the
touch operation current user level. You can choose to display the touch operation disabled sign on the
button when the touch operation is disabled.
If the touch operation is to be enabled by a bit, you need to specify that bit and the bit
value that enables the touch operation.
If the touch operation is to be enabled by the current user level, you need to specify the
lowest user level that is required to enable the touch operation.
Select and set this feature in the Advanced page of the Bit Button dialog box.
Requiring the minimum hold The touch operation will not be activated until the button is pressed and held down for
time the specified Minimum Hold Time.
Select and set this feature in the Advanced page of the Bit Button dialog box.
Requiring the operator A confirmation dialog box is displayed when the button is activated for setting a bit. The
confirmation button will proceed to set that bit if the operator selects “Yes” to confirm the operation.
The touch operation will be cancelled if the operator selects “No” to reject the operation
or if the operator does not respond within the Maximum Waiting Time.
Select and set this feature in the Advanced page of the Bit Button dialog box.
Notifying a bit of the touch The notification is performed after the touch operation is done. You need to specify the
operation bit to be notified and the bit value to be used for the notification.
Select and set this feature in the Advanced page of the Bit Button dialog box.
Logging the touch operations The time and date when the touch operation occurs, the new value that is written to the
bit, and the predefined text can be recorded in the operation log with this feature.
Select and set this feature in the Advanced page of the Bit Button dialog box.
Showing and hiding an object The visibility of an object can be controlled either by a specified bit or by the current
user level, i.e. an object can be shown and hidden dynamically by any of these two
methods.
If visibility is to be controlled by a bit, you need to specify that bit and the bit value that
shows the object.
If visibility is to be controlled by the current user level, you need to specify the lowest
user level that is required to show the visibility.
Terminology Definition
Internal memory The memory space in the target panel that can be accessed by the panel application. For
example, the user memory $U, the non-volatile memory $N, the system memory $S, and
the recipe memory $R are all parts of the internal memory.
Internal variable An address or a tag referring to an address of a space in the internal memory.
Internal bit variable An internal variable that refers to a bit in the internal memory.
Note: “Internal variable” instead of “internal bit variable” is used when referring to a bit if
there is no ambiguity.
Internal word variable An internal variable that refers to a word in the internal memory.
The variables can also be used to refer to a double-word, a block of bytes (byte array), a
block of words (word array), and a block of double-words (double-word array).
Note: “Internal variable” instead of “internal bit variable” is used when referring to a bit if
there is no ambiguity.
External memory The memory spaces or the collections of addressable devices in the controllers that can
be accessed by the panel application through communication links.
External variable An address or a tag referring to an address of a space in the external memory.
External bit variable An external variable that refers to a bit in the external memory.
Note: “External variable” instead of “external bit variable” is used when referring to a bit if
there is no ambiguity.
External word variable An external variable that refers to a word in the external memory.
The variables can also be used to refer to a double-word, a block of bytes (byte array), a
block of words (word array), and a block of double-words (double-word array) if the access
unit of the associated addresses is word. If the access unit is double-word, you can only
use the variable to refer to a double-word or a block of memory space with a length of a
multiple of 4 (bytes).
Note: “External variable” instead of “external bit variable” is used when referring to a bit if
there is no ambiguity.
Variable An internal variable or an external variable.
Bit variable An internal bit variable or an external bit variable.
Word variable An internal word variable or an external word variable.
Double-word variable An internal variable or an external variable that refers to a double-word.
Byte array variable An internal variable or an external variable that refers to a byte array.
Word array variable An internal variable or an external variable that refers to a word array.
Double-word array variable An internal variable or an external variable that refers to a double-word array.
Tag A name that stands for an address of the internal memory or the external memory. It also
specifies the data type and scan rate of the data in the memory location it refers to.
With the address input keypad, you can enter an address easily. Usually, you click to bring up the address input
keypad as shown below.
Property Description
Link Click the down arrow and select a link from the drop down list.
PLC Click the down arrow and select a value between 0 and 255 or
Address an indirect address between [$I0] and [$I15] as the PLC
Address. If an indirect address is used, the plc address can be
dynamically changed.
Location Click the down arrow and select an item from the drop down list
Type as the location type.
Address Specify the address.
Input
keypad Buttons Description
Clears all the texts in the address field.
Click the help button to see how to specify word or bit devices
and their addresses for the specified link in the following
pop-up dialog.
To select a tag, you can click to bring up the Select Tag dialog box as shown below.
Tag group
Selected tag
Note: All the listed tags and tag groups are created in the Tags Editor. To create a tag, please see Section 2.3 Working with
Tags.
Major
Marks ticks
You can use the Scale page in an object's property sheet to set up the scale of that object. The following is an example of
the Scale page of the bar Graph.
Top Bottom
Left Right
Inner Outer
Color The color of the scale. To specify the color, click the corresponding Color icon and select a
color from the Color palette.
Number of Major Ticks The number of major ticks. The minimum you can specify is two.
Number of Sub The number of divisions between two adjacent major ticks. The minimum you can specify is
Divisions one.
Axis Check this item if you want the scale to have an axis.
Marks Marks Check this option if you want the scale to have marks.
Font The font of the marks.
Dynamic Check this option if you want the minimum and maximum of the marks to be controlled by
Range the dynamic range parameter block of the associated object at runtime.
Minimum The minimum of the marks. It is a 32-bit integer.
Maximum The maximum of the marks. It is a 32-bit integer.
Total Digits The total digits to be displayed for the marks.
Fractional The number of fractional digits for the marks. For example, when the Maximum = 5000, the
Digits Total Digits = 4, and the Fractional Digits = 2, the mark for the Maximum will be 50.00.
The following are examples of the Advanced page for different objects:
Property Description
Touch Enabled by Bit Check this option so the touch operation of the numeric entry will be enabled and
Operation disabled by the specified bit.
Control Control Bit Specifies the bit that enables and disables the touch operation.
Click to enter a bit address. Click to select a bit tag.
Enabling State Specifies the state (On or Off) that enables the touch operation.
Enabled by Check this item so the touch operation of the numeric entry will be enabled and
User Level disabled by the current user level.
Lowest Specifies the lowest user level that is required to enable the touch operation.
Enabling User
Level
Show Disabled Check this option so the touch operation disabled sign will be shown on the numeric
Sign entry when the touch operation is disabled.
Continued
Signal Description
Level Set the specified bit to the specified state.
Pulse Send a positive pulse to the specified bit.
The option “Controlled by Bit” is checked The option “Controlled by User Level” is checked
Property Description
Invisible Check this option so the object will always be invisible.
Note: The touch operation is still enabled with this setting.
Controlled Controlled by Bit Check this option so the object will be shown and hidden by the specified bit.
by Bit Control Bit Specifies the bit that will show or hide the object.
Click to enter the bit address. Click to enter the bit tag.
Visible State Specifies the state (On or Off) that makes the object visible.
Controlled Controlled by Check this option so the object will be shown and hidden by the current user level.
by User User Level
Level Lowest Visible Specifies the lowest user level that is required to show the object.
User Level
Dimension Left Specifies the X coordinate of the object’s upper-left corner on the screen.
Top Specifies the Y coordinate of the object’s upper-left corner on the screen.
Width Specifies the width (in pixels) of the object.
Height Specifies the height (in pixels) of the object.
Click this button to redraw the object with the new settings.
B UTTONS AND
SWITCHES
-i-
5.7. Selecting Work Value Using Multi-state Switches................................... 28
5.7.1. Basic Operations.......................................................................................................... 28
5.7.2. Operation Options........................................................................................................ 29
5.7.3. Settings ........................................................................................................................ 30
5.7.4. General Settings........................................................................................................... 31
5.8. Setting Word State Using Radio Button Groups ..................................... 33
5.8.1. Basic Operations.......................................................................................................... 33
5.8.2. Operation Options........................................................................................................ 33
5.8.3. Settings ........................................................................................................................ 34
5.8.4. General Settings........................................................................................................... 34
5.9. Customizing the Keypad Using Keypad Buttons .................................... 36
5.9.1. Operation Options........................................................................................................ 36
5.9.2. Settings ........................................................................................................................ 36
5.9.3. General Settings........................................................................................................... 37
5.9.4. Creating your own keypads ......................................................................................... 38
5.10. Scrolling Object Content Using Scroll Button Groups........................... 40
5.10.1. Basic Operations.......................................................................................................... 40
5.10.2. Operation Options........................................................................................................ 41
5.10.3. Settings ........................................................................................................................ 41
5.10.4. General Settings........................................................................................................... 42
5.11. Scrolling Object Content Using Scroll Bars............................................. 43
5.11.1. Basic Operations.......................................................................................................... 43
5.11.2. Operation Options........................................................................................................ 44
5.11.3. Settings ........................................................................................................................ 44
5.11.4. General Settings........................................................................................................... 45
5.12. Stepping Through Word State Using Step Buttons ................................. 46
5.12.1. Basic Operations.......................................................................................................... 46
5.12.2. Operation Options........................................................................................................ 46
5.12.3. Settings ........................................................................................................................ 47
5.12.4. General Settings........................................................................................................... 47
5.13. Displaying Window Screen as Information Page Using Page Selectors 50
5.13.1. Basic Operations.......................................................................................................... 50
5.13.2. Settings ........................................................................................................................ 50
5.13.3. General Settings........................................................................................................... 51
- ii -
45
5.1. Changing Bit State Using Bit Buttons
You can touch a bit button to change the state of the specified bit.
Operation Description
Set ON Sets the specified bit to On when the button is pressed.
Set OFF Sets the specified bit to Off when the button is pressed.
Sets the specified bit to On when the button is pressed and then sets the bit to Off to generate a
Set ON Pulse
positive pulse with the specified pulse width.
Sets the specified bit to Off when the button is pressed and then sets the bit to On to generate a
Set OFF Pulse
negative pulse with the specified pulse width.
Sets the specified bit to On when the button is pressed and sets the bit to Off when the button is
released.
Momentary ON Note: Pressing and releasing a momentary button quickly might generate a pulse that is too short
to be detected by the controller. To avoid this problem, specify a sufficient minimum pulse width for
the operation; so the setting of the bit to Off is delayed if necessary to generate a pulse that is
always detectable.
Sets the specified bit to Off when the button is pressed and sets the bit to On when the button is
Momentary OFF released.
Note: See the note above.
Invert Inverts the state of the specified bit when the button is pressed.
Note: You can configure a bit button to operate a bit of a word or a bit of a double-word. In these instances, you need to
specify the number of the bit to be operated.
Option Description
Monitor The bit button can be configured to monitor a bit. When this option is selected, the state of the
button is controlled by the monitored bit. With the monitored bit, you can control the color and label
of the bit button.
ON Macro, OFF An ON Macro is a macro that is run when the associated button is activated to set a bit to 1 (On).
Macro An OFF Macro, on the contrary, is a macro that is run when the associated button is activated to set
a bit to 0 (Off). The following table shows the macros that each bit button operation can support.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within
the screen where the object is located. The format of the IDs for the bit buttons is BBnnnn.
Note You can type a note for the bit button.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an Object.
Picture Shape, , VFTA, , Border Color, Pattern, FG Color, BG Color
External Label Check this option if you want the bit button to have an external label. Set up the external label in
the External Label page.
Click this button to change the object state to 1 (On) so you can view and set the object
appearance for state 1 (On).
Click this button to change the object state to 0 (Off) so you can view and set the object
appearance for state 0 (Off).
Continued
You can touch a toggle switch to toggle the state of the specified bit.
The difference between a toggle switch and a bit button performing the Invert operation is described below:
1) A toggle switch performs the toggle operation by writing the inverse state of the monitored bit to the destination bit.
2) A bit button performs the Invert operation by inverting the destination bit directly, regardless of the monitored bit.
5.2.1. Settings
You can complete all the settings of a toggle switch in the Toggle Switch property sheet. This sheet contains the following
seven pages. Some of the pages appear only when they are needed.
■ General
Described in Section 5.2.2.
■ Label
Described in Section 4.3.5.
■ Advanced
Described in Section 4.4.5.
■ Visibility
Described in Section 4.4.6.
■ External Label
Described in Section 4.3.8.
■ On Macro
Described in Section 14.2.6.
■ OFF Macro
Described in Section 14.2.6.
The above is an example of the General page of the Toggle Switch property sheet.
The following table describes each property in the General page.
Property Description
The object’s identifier. It is generated when the object is created. The identifier is unique within the
ID
screen where the object is located. The format of the IDs for toggle switches is TSnnnn.
Note You can type a note for the object.
For details about the following properties, see Section 4.3.4 Setting up the Shape of an Object..
Shape settings
Picture Shape, , VFTA, , Border Color, Pattern, FG Color, BG Color
Check this option if you want the object to have an external label. Set up the external label in the
External Label
External Label page.
Continued
Operation Description
Open Screen Opens the specified screen.
Previous Screen Closes the current main screen and opens the previous main screen.
Note: The panel can display many window screens but only one normal screen at a time, so
a normal screen is also called a main screen. The panel can remember up to 32 previously
opened main screens.
Close & Open Screen Closes the window screen where the screen button is located and opens the specified
screen.
Close Screen Closes the window screen where the screen button is located.
Options Description
Change User Level The button can be configured to change the current user level.
The button can be configured to acknowledge the associated alarm on the screen where it is
Acknowledge Alarm located. You can configure an alarm to display an (alarm) screen. The alarm is then the
screen’s associated alarm.
Indicate Screen The button can be configured to indicate that a specified screen is opened. The indication is
Already Opened done by exchanging the button’s FG color with its text color.
You can specify a macro that will run when the screen button is activated to perform its
operation. Select this option in the General page. Specify and edit the macro in the Macro
page.
Macro
Note: The screen switching operation will not be performed until the macro is completely
executed. Therefore, it is important to keep the macro as short as possible so as not to delay
the operation.
Touch Operation The touch operation can be enabled or disabled either by a specified bit or by the current user
Control level. Select and set this option in the Advanced page.
The touch operation of the button will not be activated until the button is pressed and held
Minimum Hold Time down for the specified time period (Minimum Hold Time). Select and set this option in the
Advanced page.
The screen button can be configured to notify a bit of the completion of the screen switching
Notification
operation. Select and set this option in the Advanced page.
Each touch operation of the button can be recorded in the operation log. Select and set this
Operation Logging
option in the Advanced page.
Invisible The button can be invisible and still touch operable. Select this option in the Visibility page.
The button can be shown or hidden either by a specified bit or by the current user level. Select
Visibility Control
and set this option in the Visibility page.
You can complete all the settings of a screen button in the Screen Button property sheet. This sheet contains the following
six pages. Some of the pages appear only when they are needed.
■ General
Described in Section 5.3.4.
■ Label
Described in Section 4.3.5.
■ Advanced
Described in Section 4.4.5.
■ Visibility
Described in Section 4.4.6.
■ External Label
Described in Section 4.3.8.
■ Macro
Described in Section 14.2.6.
The above is an example of the General page of the Screen Button dialog box.
Property Description
The object’s identifier. It is generated when the object is created. The identifier is unique
ID within the screen where the object is located. The format of the IDs for screen buttons is
SBnnnn.
Note You can type a note for the object.
For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Shape settings Object. Picture Shape, , VFTA, , Border Color, Pattern, FG Color,
BG Color
Check this option if you want the object to have an external label. Set up the external label
External Label
in the External Label page.
Specifies the operation that you want the screen button to perform. There are four choices:
Operation Open Screen, Previous Screen, Close and Open Screen, and Close Screen. For details,
see Section 5.3.1 Basic Operations.
Screen Specifies the screen to be opened.
<Check
Check this option if you want the button to change the current user level.
Box>
Change
User Level New
User The new user level to replace the current user level.
Level
Check this option if you want the button to acknowledge the associated alarm of the screen
Acknowledge Alarm where the button is located. You can configure an alarm to display an (alarm) screen. The
alarm is then the screen’s associated alarm.
Indicate Screen Already
Check this option if you want the button to indicate the specified screen is already open.
Opened
Check this option if you want the button to have a macro. Specify and edit the macro in the
Macro
Macro page.
Button
Specifies that the touch operation is activated when the button is pushed.
Down
Activation
Button
Specifies that the touch operation is activated when the button is released.
Up
The hard key that is used to operate the object. This item is available only when the target panel has
Key
hard keys.
Continued
You can touch a function button to perform the specified built-in function provided by the target panel.
Options Description
Macro You can specify a macro that will be run when a file is successfully opened. Select this
option in the General page. Specify and edit the macro in the Macro page.
Touch Operation Control The touch operation can be enabled and disabled either by a specified bit or by the current
user level. Select and set this option in the Advanced page.
Minimum Hold Time The touch operation of the button will not be activated until the button is pressed and held
down for the specified time period (Minimum Hold Time). Set this option in the Advanced
page.
Operator Confirmation The Confirmation box will be displayed when the button is touched. If the operator selects
“Yes” in the Confirmation box, the button will proceed to perform its operation. If the
operator selects “No” or the operator does not respond within the specified time period
(Maximum Waiting Time), the button will stop performing its operation.
Select and set this option in the Advanced page.
Notification The button can be configured to notify a bit when the specified operation is performed
successfully. Select and set this option in the Advanced page.
Operation Logging Each touch operation of the button can be recorded in the operation log. Select and set this
option in the Advanced page.
Invisible The button can be invisible and still touch operable. Select this option in the Visibility page.
Visibility Control The button can be shown or hidden either by a specified bit or by the current user level.
Select and set this option in the Visibility page.
You can complete all the settings of a function button in the Function Button property sheet. This sheet contains the
following five pages. Some of the pages appear only when they are needed.
■ General
Described in Section 5.4.4.
■ Label
Described in Section 4.3.5.
■ Advanced
Described in Section 4.4.5.
■ Visibility
Described in Section 4.4.6.
■ Macro
Described in Section 14.2.6.
The above is an example of the General page of the Function Button dialog box.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is
unique within the screen where the object is located. The format of the ID’s for
function buttons is FBnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape
of an Object. Picture Shape, , VFTA, , Border Color,
Pattern, FG Color, BG Color
Continued
Click this icon to bring up the Address Input Keypad and specify an internal address
for this property.
Click this icon to bring up the Select Tag dialog box and select an internal tag for this
property.
Check this option if you want the button to have a macro. Specify and edit the macro in
Macro
the Macro page.
The hard key that is used to operate the object. This item is available only when the
Key
target panel has hard keys.
You can touch the knob of a slide switch and move the knob to select a desired value. The selected value is written to the
specified variable when you release the knob.
Selected Value
Knob
Scale
The above are two examples of slide switches. The right one shows a slide switch whose knob is being touched.
You specify the variable to be controlled, the minimum of the variable, and the maximum of the variable for a slide switch.
The variable is monitored, and its value combined with the specified minimum and maximum determines the knob position
of the slide switch. You can touch and move the knob to select a desired value. The selected value is shown when the knob
is being held. When you release the knob, the selected value is written to the specified variable.
You can choose one of the following four directions for a slide switch:
Direction Description
Upward The knob can move vertically. The knob is at the top end when the variable value is equal to or greater
than the specified maximum. The knob is at the bottom end when the variable value is equal to or less
than the specified minimum. When the variable value is between the maximum and minimum, the knob is
at a proportional position between the top end and the bottom end.
Downward The knob can move vertically. The knob is at the bottom end when the variable value is equal to or
greater than the specified maximum. The knob is at the top end when the variable value is equal to or
less than the specified minimum. When the variable value is between the maximum and minimum, the
knob is at a proportional position between the bottom end and the top end.
Leftward The knob can move horizontally. The knob is at the left end when the variable value is equal to or greater
than the specified maximum. The knob is at the right end when the variable value is equal to or less than
the specified minimum. When the variable value is between the maximum and minimum, the knob is at a
proportional position between the left end and the right end.
Rightward The knob can move horizontally. The knob is at the right end when the variable value is equal to or
greater than the specified maximum. The knob is at the left end when the variable value is equal to or
less than the specified minimum. When the variable value is between the maximum and minimum, the
knob is at a proportional position between the right end and the left end.
Options Description
Scale The switch can have a scale. Select and set this option in the Scale page.
Touch Operation The touch operation can be enabled and disabled either by a specified bit or by the current
Control user level. Select and set this option in the Advanced page.
Notification The switch can be configured to notify a bit when a change to the specified variable is
performed. Select and set this option in the Advanced page.
Operation Logging Each change to the specified variable can be recorded in the operation log. Select and set
this option in the Advanced page.
Visibility Control The switch can be shown or hidden either by a specified bit or by the current user level.
Select and set this option in the Visibility page.
5.5.3. Settings
You can complete all the settings of a slide switch in the Slide Switch dialog box. This dialog box contains the following five
pages. Some of the pages appear only when they are needed.
■ General
Described in Section 5.5.4.
■ Scale
Described in Section 4.4.4.
■ Advanced
Described in Section 4.4.5.
■ Visibility
Described in Section 4.4.6.
■ External Label
Described in Section 4.3.8.
The above is an example of the General page of the Slide Switch dialog box.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for slide switches is
SWnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Object. , Border Color, BG Color
External Label Check this option if you want the object to have an external label. Set up the external
label in the External Label page.
Direction Specifies the direction of the slide switch. For details, see 5.5.1 Basic Operation.
Data Type The data type of the variable to be controlled by the object.
Write Write Address Specifies the variable to be controlled by the object.
Address Click this icon to bring up the Address Input Keypad and specify an address for this field.
Click this icon to bring up the Select Tag dialog box and select a tag for this field.
Continued
The following table shows the data arrangement of the parameter block when the data
type is 16-bit and the scale of the slide switch is dynamic.
Word Parameter
0 The minimum of the variable
1 The maximum of the variable
2, 3 The minimum of the mark for the scale; 32-bit integer number
4, 5 The maximum of the mark for the scale; 32-bit integer number
The following table shows the data arrangement of the parameter block when the data
type is 32-bit and the scale of the slide switch is not dynamic.
Word Parameter
0, 1 The minimum of the variable
2, 3 The maximum of the variable
The following table shows the data arrangement of the parameter block when the data
type is 32-bit and the scale of the slide switch is dynamic.
Word Parameter
0, 1 The minimum of the variable
2, 3 The maximum of the variable
4, 5 The minimum of the mark for the scale; 32-bit integer number
6, 7 The maximum of the mark for the scale; 32-bit integer number
You can touch a word button to set a value to the specified variable.
Operation Description
Set Constant Writes the specified constant to the specified variable.
Enter Value Allows you to enter a value to change the specified variable.
The Numeric Keypad displays when the button is pressed and released. After a value is entered with
the keypad, the button checks if the value is within the range of the specified minimum and maximum.
If the value is valid, the button writes the entered value to the specified variable. If the value is invalid,
the operator has to enter another value or quit the operation.
Enter Allows you to enter a value to change the specified variable. The keypad shows the input with a string
Password of asterisks so others cannot know the input value.
The Numeric Keypad displays when the button is pressed and released. The keypad shows the
operator input with a string of asterisks so others do not know the input value. After a value is entered
with the keypad, the button checks if the value is within the range of the specified minimum and
maximum. If the value is valid, the button writes the entered value to the specified variable. If the
value is invalid, the operator has to enter another value or quit the operation.
Add Increases the specified variable by the specified constant. If the result of the increase is greater than
the specified maximum, the variable is set to the maximum.
Subtract Decreases the specified variable by the specified constant. If the result of the decrease is less than
the specified minimum, the variable is set to the minimum.
Options Description
Touch Operation The touch operation can be enabled or disabled either by a specified bit or by the current
Control user level. Select and set this option in the Advanced page.
Minimum Hold Time The touch operation of the button will not be activated until the button is pressed and held
down for the specified time period (Minimum Hold Time). Set this option in the Advanced
page.
Operator Confirmation The Confirmation box will be displayed when the button is touched. If the operator selects
“Yes” in the Confirmation box, the button will proceed to perform its operation. If the operator
selects “No” or the operator does not respond within the specified time period (Maximum
Waiting Time), the button will stop performing its operation.
Select and set this option in the Advanced page.
Note: that this option is not available for the Enter Password operation.
Notification The button can be configured to notify a bit upon the completion of the specified operation.
Select and set this option in the Advanced page.
Operation Logging Each touch operation of the button can be recorded in the operation log. Select and set this
option in the Advanced page.
Invisible The button can be invisible and still touch operable. Select this option in the Visibility page.
Visibility Control The button can be shown or hidden either by a specified bit or by the current user level.
Select and set this option in the Visibility page.
You can complete all the settings of a word button in the Word Button property sheet. This sheet contains the following five
pages. Some of the pages appear only when they are needed.
■ General
Described in Section 5.6.4.
■ Label
Described in Section 4.3.5.
■ Advanced
Described in Section 4.4.5.
■ Visibility
Described in Section 4.4.6.
■ External Label
Described in Section 4.3.8.
The above is an example of the General page of the Word Button property sheet.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for word buttons is
WBnnnn.
Note You can type a note for the word button.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Object. Picture Shape, , VFTA, , Border Color, Pattern, FG
Color, BG Color.
External Label Check this option if you want the word button to have an external label. Set up the
external label in the External Label page.
Operation Specifies the operation that the word button performs. For details, see Section 5.6.1
Basic Operations.
Data Type The data type of the variable to be controlled.
Write Write Address Specifies the variable to be controlled.
Address Click this icon to bring up the Address Input Keypad and specify an address for this
property.
Click this icon to bring up the Select Tag dialog box and select a tag for this property.
Constant The constant for the specified operation.
Minimum The minimum for the specified operation.
Maximum The maximum for the specified operation.
Total Digits The number of digits to be displayed for the Minimum and the Maximum on the numeric
keypad.
Fractional Digits When the Data Type is 32-bit Floating Point, this property specifies the number of
fractional digits to be displayed for the Minimum and Maximum on the numeric keypad.
When the Data Type is not 32-bit Floating Point, this property specifies not only the
number of fractional digits to be displayed, but also the number of least significant digits
to be displayed as the fractional part. With this feature, an integer can be shown and
entered as a fixed point number. When the Fractional Digits is nonzero, say N, the
entered value will be converted to an integer according to the following formula before
being output.
OutputValue = EnteredValue * (Nth power of 10)
Example:
Display Type Total Fractional Entered Output
Digits Digits Value Value
32-bit Floating Point 4 2 12.34 12.34
32-bit Floating Point 4 2 123.4 Error!
16-bit Signed Decimal 5 2 123.45 12345
16-bit Signed Decimal 5 2 -0.05 -5
16-bit Signed Decimal 5 2 3 300
Activation Button Down Select this item so the touch operation will be activated when the button is touched.
Button Up Select this item so the touch operation will be activated when the button is released.
Key The hard key that is used to operate the word button. This item is available when the
target panel has hard keys.
You can use a multi-state switch to change the state of the specified variable.
The text of the current state is highlighted. If the desired state is not in
view, you can use the scroll bar attached to the right side of the list
box to scroll the text. When you select a desired state by touching its
text, the list box writes the value of the selected state to the specified
variable.
Drop-down The multi-state switch is a drop-down list. It displays the text of the current state and a button with the
List down arrow symbol as shown in the following example.
When the button is touched, the switch list displays a list box beneath itself as shown in the following
example.
The list box lists the text of all states of the switch one state per line starting from state 0. The text of
the current state is highlighted. If the desired state is not in view, you can use the scroll bar attached
to the right side of the list to scroll the text. When you select a desired state by touching its text, the
switch writes the value of the selected state to the specified variable and closes the list box.
If you want to cancel the operation when the list box is showing, touch anywhere other than the text in
the list box.
Continued
When the button is touched, the switch list displays a list box above itself as shown in the following
example.
The list box lists the text of all states of the switch one state per line starting from state 0. The text of
the current state is highlighted. If the desired state is not in view, you can use the scroll bar attached
to the right side of the list to scroll the text. When you select a desired state by touching its text, the
switch writes the value of the selected state to the specified variable and closes the list box.
If you want to cancel the operation when the list box is showing, touch anywhere other than the text in
the list box.
You can press a button of a radio button group to change the state of the controlled variable.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for radio button groups is
RBnnnn.
Note You can type a note for the radio button group.
Shape settings For details about the following properties, Section 4.3.4 Setting up the Shape of an Object.
Data Type The data type of the variables specified in this page.
Write Write Specifies the variable to be controlled.
Address Address
Click this icon to bring up the Address Input Keypad and specify an address for this property.
Click this icon to bring up the Select Tag dialog box and select a tag for this property.
Total States Specifies the number of valid states that the controlled variable has.
Indication Method Choose the method from display text with different colors, use round mark or use square mark
of to indicate the current selection.
Current BG The color to replace the shape’s BG color when selected.
Selection Color
Text / The color to replace the text or mark color when selected.
Mark
Button Spacing The distance in pixels between two adjacent radio buttons.
Custom State Value Click this button to define the state value for each state when the State Type is Custom. For
details, see Section 4.4.1.2 Setting the Custom States of an Object.
A keypad button inputs a character to the keypad buffer or issues a command to the keypad buffer when it is pressed. You
can use keypad buttons to create your own keypads.
Options Description
Macro The keypad button can have a macro to execute when being pressed. Specify and edit the macro
in the Macro page.
Visibility Control The keypad button can be shown or hidden either by a specified bit or by the current user level.
Select and set this option in the Visibility page.
5.9.2. Settings
You can complete all the settings of a keypad button in the Keypad Button dialog box. This dialog box contains the
following four pages. Some of the pages appear only when they are needed.
■ General
Described in Section 5.9.3.
■ Label
Described in Section 4.3.5.
■ Visibility
Described in Section 4.4.6.
■ Macro
Described in Section 14.2.6.
Key The hard key that is used to operate the keypad button. This item is available only when the target panel
has hard keys.
Macro Check this option if you want the button to have a macro. Specify and edit the macro in the Macro page.
Y Keypad Display
Z
Allowable input range display
[ Keypad Buttons
Note:
Monitor Address: $S230
Total Characters: 24 (or less)
Font: Any font
Alignment: Any (Center recommended)
Character Set: ASCII code (7 bits)
Code Size: Byte
You can use the buttons of a scroll button group to scroll the content displayed by the associated object.
Scroll Page Right Scrolls the content displayed by the associated object to the right by one page.
Scroll Right Scrolls the content displayed by the associated object to the right.
Scroll Left Scrolls the content displayed by the associated object to the left.
Scroll Page Left Scrolls the content displayed by the associated object to the left by one page.
Scroll to Left End Scrolls the content displayed by the associated object to the left end.
Pause This is a toggle switch. It stops the auto-scrolling of the content displayed by the
associated object when it is touched. When you touch it again, it resumes the
auto-scrolling operation.
A scroll button group with the vertical button alignment can have the following buttons:
Scroll Page Up Scrolls the content displayed by the associated object to the top by one page.
Scroll Up Scrolls the content displayed by the associated object to the top.
Scroll Down Scrolls the content displayed by the associated object to the bottom.
Scroll Page Down Scrolls the content displayed by the associated object to the bottom by one
page.
Scroll to Bottom End Scrolls the content displayed by the associated object to the bottom end.
Pause This is a toggle switch. It stops the auto-scrolling of the content displayed by the
associated object when it is touched. When you touch it again, it resumes the
auto-scrolling operation.
Options Description
Visibility Control The scroll button group can be shown or hidden either by a specified bit or by the current
user level. Select and set this option in the Visibility page.
5.10.3. Settings
You can complete all the settings of a scroll button group in the Scroll Button Group dialog box. This dialog box contains
the following two pages.
■ General
Described in Section 5.10.4.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for the scroll button
groups is SBNnnnn.
Note You can type a note for the scroll button group.
Shape settings For details about the following properties, Section 4.3.4 Setting up the Shape of an
Object. , Border Color, BG Color
Legend Color The color of the legend for every button of the scroll button group.
Button Horizontal The buttons of the scroll button group are aligned in a row.
Alignment Vertical The buttons of the scroll button group are aligned in a column.
Associated Object ID The ID of the object that the scroll button group will be used to scroll its content. You
can select the associated object from this drop-down list which displays the IDs of
objects on the same screen that support the scroll operation.
Start/End buttons Check this item if you want the scroll button group to include the buttons that scroll the
content to the start or to the end.
Scroll Page buttons Check this item if you want the scroll button group to include the buttons that scroll the
content each time by one page.
Pause button Check this item if you want the scroll button group to include the Pause button.
Button Spacing The distance in pixels between two adjacent buttons.
You can use a scroll bar to scroll the content displayed by the associated object. The associated objects include Historic
Data Display, Historic Message Display, Historic Trend Display, Operation Log Display, Alarm Display, Recipe Table, and
Sub-link Table.
Button Description
Scroll Right Scrolls the content displayed by the associated object to the right.
Scroll Page Right Scrolls the content displayed by the associated object to the right by one page.
Slide Bar You can push and move the slide bar to scroll the content displayed by the associated object. The
content is scrolled in the same direction as you move the slide bar. The amount of scrolling is
proportional to the displacement of the slide bar. The position of the slide bar in the scroll bar
indicates the position of the viewable part of the content. The width of the slide bar indicates how
much of the content is viewable.
Scroll Page Left Scrolls the content displayed by the associated object to the left by one page.
Scroll Left Scrolls the content displayed by the associated object to the left.
Button Description
Scroll Up Scrolls the content displayed by the associated object to the top.
Scroll Page Up Scrolls the content displayed by the associated object to the top by one page.
Slide Bar You can push and move the slide bar to scroll the content displayed by the associated object. The
content is scrolled in the same direction as you move the slide bar. The amount of scrolling is
proportional to the displacement of the slide bar. The position of the slide bar in the scroll bar
indicates the position of the viewable part of the content. The height of the slide bar indicates how
much of the content is viewable.
Scroll Page Down Scrolls the content displayed by the associated object to the bottom by one page.
Scroll Down Scrolls the content displayed by the associated object to the bottom.
The following operation option can be added to a scroll bar. You need to select and set this option in the Scroll Bar property
sheet.
Options Description
Visibility Control The scroll bar can be shown or hidden either by a specified bit or by the current user level.
Select and set this option in the Visibility page.
5.11.3. Settings
You can complete all the settings of a scroll bar in the Scroll Bar property sheet. This sheet contains the following two
pages.
■ General
Described in Section 5.11.4.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for the scroll bars is
SBRnnnn.
Note You can type a note for the scroll button group.
Type The type of scroll bar. There are two types; horizontal and vertical.
Associated Object ID The ID of the object that will use the scroll bar to scroll its content. You can select the
associated object from this drop-down list which shows the IDs of objects on the same
screen that support the scroll operation.
Bar Color The color of the scroll bar.
Legend Color The color of the legend for the buttons of the scroll bar.
You can press a step button to write the value of the button’s next state to the specified variable.
The state of a step button is determined by the value of the specified variable and the specified state type. When a step
button is pressed, it calculates the value of the next state, and writes that value to the specified variable. The next state is
the current state plus one, when the current state is not the last state. When the current state is the last state, the next state
is state 0.
Options Description
Touch Operation The touch operation of the step button can be enabled and disabled either by a specified bit
Control or by the current user level. Select and set this option in the Advanced page.
Minimum Hold Time The touch operation will not be activated until the step button is pressed and held down for
the specified time period (Minimum Hold Time). Set this option in the Advanced page.
Operation Logging Each data change performed by the step button can be recorded in the operation log. Select
and set this option in the Advanced page.
Visibility Control The step button can be shown or hidden either by a specified bit or by the current user level.
Select and set this option in the Visibility page.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within
the screen where the object is located. The format of the IDs for the step buttons is STBnnnn.
Note You can type a note for this object.
Shape settings For details about the following properties, Section 4.3.4 Setting up the Shape of an Object.
Right to Left
Top to Bottom
Bottom to Top
Data Type The data type for the variable in the Write Address field. The supported types are: 16-bit
Unsigned Integer, 16-bit BCD, 32-bit Unsigned Integer, and 32-bit BCD.
Continued
In a page selector, you can press a tab to view the associated page (window screen).
5.13.2. Settings
You can complete all the settings of a page selector in the Page Selector property sheet. This sheet contains the following
three pages.
■ General
Described in Section 5.13.3.
■ Text
Described in Section 4.3.6.
■ Picture
Described in Section 4.3.7.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for the page selectors
is PSnnnn.
Note You can type a note for this object.
Shape settings For details about the following properties, Section 4.3.4 Setting up the Shape of an Object.
Picture Shape, , VFTA, , Border Color, BG Color
Tab Select a tab as the current tab so you can set the BG Color for that tab. You can also see
how the tabs look when the selected tab is highlighted.
Note: The current tab is always highlighted by the settings defined in the Highlight Current
Tab group. Therefore, you cannot see the change of the BG color you made for the current
tab immediately. To see the change, select another tab as the current tab.
Tab Position You can select Top/Bottom/Left/Right for the location of the tab.
Number of Pages Specifies the number of window screens this page selector contains.
Specify Page… Click this button to open the Specify Page dialog box. You can specify the window screen
for each page in this dialog box.
Highlight The settings for highlighting the text of the current tab.
Current BG Color The color to replace the BG color of the current tab when highlighted.
Tab
Text Color The color to replace the text color of the current tab when highlighted.
Tab Height The height of each tab.
LAMPS
-i-
46
6.1.Displaying Bit State Using Bit Lamps
A bit lamp has two states, i.e. state 0 (Off) and state 1 (On). You can set the appearance of a bit lamp for each of the two
states. At runtime, a bit lamp is displayed with the appearance settings corresponding to the state of the monitored bit.
The following operation option can be added to a bit lamp. You need to select and set this option in the Bit Lamp property
sheet.
Options Description
Visibility Control The object can be shown or hidden either by a specified bit or by the current user level. Select
and set this option in the Visibility page.
6.1.3. Settings
You can complete all the settings of a bit lamp in the Bit Lamp property sheet. This sheet contains the following four pages.
Some of the pages appear only when they are needed.
■ General
Described in Section 6.1.4.
■ Label
Described in Section 4.3.5.
■ Visibility
Described in Section 4.4.6.
■ External Label
Described in Section 4.3.8.
The above is an example of the General page of the Bit Lamp dialog box.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for the bit lamps is
BLnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Object. Picture Shape, , Border Color, Pattern, FG Color, BG Color
External Label Check this option if you want the bit lamp to have an external label. Set up the external
label in the External Label page.
Continued
Monitor Specifies the bit variable to be monitored when the Address Type is Bit.
Address Specifies the word variable that contains the bit to be monitored when the Address Type
is Word.
Specifies the double-word variable that contains the bit to be monitored when the Address
Type is Double-word.
Click this icon to bring up the Address Input Keypad and specify the desired address for
the Monitor Address field.
Click this icon to bring up the Select Tag dialog box and select the desired tag for the
Monitor Address field.
Bit Number Specifies which bit of the variable specified in the Monitor Address field is to be
monitored.
A multi-state lamp can have up to 256 states. The maximum number of states that a multi-state lamp can have is
determined by the state type and the data type of the monitored variable. The following table shows the maximum in each
case.
You need to specify the number of states for a multi-state lamp, and the number must not exceed the allowed maximum.
You can set the appearance of a multi-state lamp for each of its states. At runtime, a multi-state lamp is displayed with the
appearance settings corresponding to the state of the monitored variable. The state of the monitored variable is
determined by the state type and value of the variable.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for the multi-state
lamps is MLnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Object, Picture Shape, , Border Color, Pattern, FG Color, BG Color
External Label Check this option if you want the multi-state lamp to have an external label. Set up the
external label in the External Label page.
State Select a state as the current state of the multi-state lamp so you can view and set the
object appearance for that state.
Data Type The data type of the monitored variable. The supported data types include: 16-bit Unsigned
Integer, 16-bit BCD, 32-bit Unsigned Integer, and 32-bit BCD.
Monitor Monitor Specifies the variable to be monitored.
Address Address
Click this icon to bring up the Address Input Keypad and specify an address for the Monitor
Address field.
Click this icon to bring up the Select Tag dialog box and select a tag for the Monitor
Address field.
Total States Specifies the number of states that the multi-state lamp can display.
State Type The state type for the state of the monitored variable. The supported state types include
Value and LSB. For details, see Section 4.4.1.1 State Types
You need to specify the number of states for a message display, and the number must not exceed the allowed maximum.
You can set the text (message) for each state. At runtime, a message display shows the message corresponding to the
state of the monitored variable. The state of the monitored variable is determined by the state type and value of the
variable.
Note: The differences between Message Display and Lamps are:
Lamps can display either text or picture, or both; while message display can only display text. Both message displays and
lamps can display predefined text by changing the value of the monitored variable. However, only message displays can
perform as a marquee that is controlled by the value of the monitored variable and a specified running speed.
Options Description
Marquee The displayed message scrolls automatically in the specified direction. When the displayed
message is not long enough to cover the entire display area, the message is duplicated to fill the
uncovered area in sequence.
Visibility Control The object can be shown or hidden either by a specified bit or by the current user level. Select
and set this option in the Visibility page.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is
unique within the screen where the object is located. The format of the IDs for the
message displays is MDnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, Section 4.3.4 Setting up the Shape of an
Object. , Border Color, Pattern, FG Color, BG Color
External Label Check this option if you want the message display to have an external label. Set
up the external label in the External Label page.
State Select a state as the current state of the message display so you can view and set
the Pattern, FG Color, BG Color for that state.
State Type The state type of the variable that controls the message display. The supported
state types include Bit, Value and LSB. For details, see Section 4.4.1.1 State
Types
Data Type The data type of the variable that controls the message display. The supported
data types include: Bit, 16-bit Unsigned Integer, 16-bit BCD, 32-bit Unsigned
Integer, and 32-bit BCD.
Monitor Address Specifies the variable that controls the message display.
Click to enter an address for this field. Click to select a tag for this field.
Total States Specifies the number of states of the message display.
Marquee Marquee Select this item if you want the displayed message to scroll automatically.
Running Speed The speed of scrolling. Select from 1 to 10, 1 being the slowest and 10 being the
fastest.
Direction The direction of scrolling. The supported directions include Leftward, Rightward,
and Upward.
Text can be scrolled by the Select this option so you can scroll the content of the message display vertically
vertical scroll bar or button using the associated scroll buttons or scroll bar.
DISPLAYING AND
INPUTTING DATA
You can enter a value and change the specified variable using a numeric entry.
Options Description
Scaling The value of the monitored variable will be displayed in a scaled manner. The following is the
scaling formula.
DisplayedValue = MonitoredValue * Gain + Offset
If the option is selected, the entered value will be scaled by the following formula with the
same coefficients (Gain and Offset) before it is output.
OutputValue = (EnteredValue – Offset) / Gain
Select and set this option in the Advanced page.
Note: The Gain and Offset are 32-bit floating point numbers. They have, at most, 6
significant digits. Rounding and truncation errors may occur.
Range Check Numeric entry will verify an entered value according to the specified maximum and minimum.
If the entered value is not within the allowable range, the value will not be output. Select and
set this option in the Advanced page.
Note 1: When the scaling option is selected, the output value is verified instead of the
entered value.
OutputValue = (EnteredValue – Offset) / Gain
Note 2: When the scaling option is selected, the allowable maximum and minimum shown on
the numeric keypad are the scaled versions of the specified maximum and minimum.
ScaledMaximum = Maximum * Gain + Offset
ScaledMinimum = Minimum * Gain + Offset
Touch Operation You can enable or disable the touch operation of the object by the specified bit or by the
Control current user level. Select and set up this option in the Advanced page.
Timeout If the keypad for data entry receives no input for the specified time period, the data entry
operation will be cancelled.
Notification The Object will notify the specified bit of a successful data entry operation. Select and set up
this option in the Advanced page.
Operator Confirmation When a value is entered by the operator, the Confirmation box will be displayed to receive
the operator’s confirmation. If the operator selects “Yes”, the object will write the entered data
to the specified variable. If the operator selects “No” or the operator does not respond within
the specified time period (Maximum Waiting Time), the data entry operation will be cancelled.
Select and set up this option in the Advanced page.
Operation Logging The entered value and the time of the data entry will be recorded. Select and set up this
option in the Advanced page.
Visibility Control You can show or hide the object by the specified bit or by the current user level. Select and
set up this option in the Visibility page.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within the
screen where the object is located. The format of the IDs for the numeric entries is NEnnnn.
Note You can type a note for the object.
Transparent Select this option if you want the object to have a transparent background.
Background
Shape For details about the following properties, see Section 4.3.4 Setting up the Shape of an Object.
settings
, Border Color, BG Color.
External Check this option if you want the object to have an external label. Set up the external label in the
Label External Label page.
Data Type The data type of the destination variable and the monitored variable. The supported data types
include: 16-Bit Unsigned Integer, 32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed
Integer, 16-Bit BCD, 32-Bit BCD, 32-Bit Floating Point, 16-Bit Signed BCD (LMB), 32-Bit Signed BCD
(LMB), 16-Bit Signed BCD (LMD), and 32-Bit Signed BCD (LMD).
Display Type The display type of the value of the monitored variable. The following table shows the available
display types for each data type.
Data Type Available Display Types
16-Bit Unsigned Integer 16-Bit Unsigned Decimal, 16-Bit Hexadecimal, 16-Bit Octal
32-Bit Unsigned Integer 32-Bit Unsigned Decimal, 32-Bit Hexadecimal, 32-Bit Octal,
Password
16-Bit Signed Integer 16-Bit Signed Decimal
32-Bit Signed Integer 32-Bit Signed Decimal
16-Bit BCD 16-Bit Unsigned Decimal
32-Bit BCD 32-Bit Unsigned Decimal
32-Bit Floating Point 32-Bit Floating Point
16-Bit Signed BCD (LMB) 16-Bit Signed Decimal
32-Bit Signed BCD (LMB) 32-Bit Signed Decimal
16-Bit Signed BCD (LMD) 16-Bit Signed Decimal
32-Bit Signed BCD (LMD) 32-Bit Signed Decimal
Write Address Specifies the destination variable where the entered value will be written.
Click to enter an address for this field. Click to select a tag for this field.
Monitor Specifies that the monitored variable is the same as the destination variable. With this item checked,
Address you don’t need to specify the monitored variable in the Monitor Address field.
identical to
Write Address
Monitor Specifies the monitored variable.
Address
Click to enter an address for this field. Click to select a tag for this field.
Font The font of the displayed value.
Text Color The color of the displayed value.
Total Digits The number of digits to be displayed.
Note: This property applies to the display of the initial value, the allowable minimum, and the
allowable maximum on the numeric keypad.
Continued
Example 2:
Total Fractional Entered Output
Display Type
Digits Digits Value Value
32-bit Floating Point 4 2 12.34 12.34
32-bit Floating Point 4 2 123.4 Error!
16-bit Signed Decimal 5 2 123.45 12345
16-bit Signed Decimal 5 2 -0.05 -5
16-bit Signed Decimal 5 2 3 300
Note: This property applies to the display of the initial value, the allowable minimum, and the
allowable maximum on the numeric keypad.
Alignment The alignment of the displayed value. There are three types of alignment: Left, Center, and Right.
Justification The justification of the displayed value. There are three types of justification:
Option Description
Zero Suppress The leading digits will not be displayed when they are 0.
Leading Zeros All digits will be displayed.
Leading Spaces The leading digits will be displayed as a blank character when they
are 0.
Data Entry Specifies how to enter a value for the numeric entry at runtime. There are two options:
Option Description
Pop-up Keypad You can bring up the keypad by pressing numeric entry and then
enter a value with the keypad.
On-screen Keypad You can move the cursor by using the function buttons with the
and/or Function Keys operation of “Select Next Data Entry Object” or “Select Previous Data
Entry Object” to select numeric entry. If there is an on-screen keypad,
you can enter a value for the numeric entry immediately. You can also
use the function buttons with the operation of “Increase Value By
One” or “Decrease Value By One” to change the value of the
destination variable.
Note: When On-screen Keypad and/or Function Keys option is selected, you can only enter a value
for the numeric entry with the input focus. To set the input focus on the corresponding object, you need
to click the object first.
Property Description
Scaling Scaling Check this option if you want the value of the monitored variable to be displayed in a
scaled manner. The following is the scaling formula.
DisplayedValue = MonitoredValue * Gain + Offset
If this option is selected, the entered value will be scaled by the following formula with
the same coefficients (Gain and Offset) before it is output.
OutputValue = (EnteredValue – Offset) / Gain
Note: The Gain and Offset are 32-bit floating point numbers. They have, at most, 6
significant digits. Rounding and truncation errors may occur.
Gain The Gain of the scaling formulas.
Offset The Offset of the scaling formulas.
You can use a numeric display to show the value of the specified variable.
7.2.2. Settings
You can complete all the settings of a numeric display in the Numeric Display property sheet. This sheet contains the
following four pages. Some of the pages appear only when they are needed.
■ General
Described in Section 7.2.3.
■ Advanced
Described in Section 7.2.4.
■ Visibility
Described in Section 4.4.6.
■ External Label
Described in Section 4.3.8.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within
the screen where the object is located. The format of the IDs for the numeric displays is NDnnnn.
Note You can type a note for the object.
Transparent Select this option if you want the object to have a transparent background.
Background
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an Object..
, Border Color, BG Color
External Label Check this option if you want the object to have an external label. Set up the external label in the
External Label page.
Data Type The data type of the monitored variable. The supported data types include: 16-Bit Unsigned
Integer, 32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer, 16-Bit BCD, 32-Bit
BCD, 32-Bit Floating Point, 16-Bit Signed BCD (LMB), 32-Bit Signed BCD (LMB), 16-Bit Signed
BCD (LMD), and 32-Bit Signed BCD (LMD).
Continued
Alignment The alignment of the displayed value. There are three types of alignment: Left, Center, and Right.
Justification The justification of the displayed value. There are three types of justification:
Option Description
Zero Suppress The leading digits will not be displayed when they are 0.
Leading Zeros All digits will be displayed.
Leading Spaces The leading digits will be displayed as blank characters when they are 0.
Property Description
Scaling <Check Box> Check this option if you want the value of the monitored variable to be displayed in a
scaled manner. The following is the scaling formula.
DisplayedValue = MonitoredValue * Gain + Offset
Note: The Gain and Offset are 32-bit floating point numbers. They have at most 6
significant digits. The rounding and truncation may happen.
Gain The Gain of the scaling formula.
Offset The Offset of the scaling formula.
Range <Check Box> Check this option if you want the numeric display to display the value with a different
Display color when it is below the specified low limit or above the specified high limit.
Variable Range Check this option if the low limit and high limit are specified by the designated
variables at runtime.
Low Limit Specifies the low limit when the Variable Range is not selected.
When the Variable Range is selected, this property specifies the variable that stores
the low limit at runtime. Click to enter an address. Click to select a tag.
High Limit Specifies the high limit when the Variable Range is not selected.
When the Variable Range is selected, this property specifies the variable that stores
the high limit at runtime. Click to enter an address. Click to select a tag.
High Text Color The text color for the high limit.
Color BG Color The shape’s BG color for the high limit.
Low Text Color The text color for the low limit.
Color BG Color The shape’s BG color for the low limit.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for the advanced
numeric displays is ANDnnnn.
Note You can type a note for the object.
Transparent Background Select this option if you want the object to have a transparent background.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Object, , Border Color, BG Color
External Label Check this option if you want the object to have an external label. Set up the external label
in the External Label page.
Data Type The data type of the variables, arithmetic expressions, and macros of the advanced
numeric display. The supported data types include: 16-Bit Unsigned Integer, 32-Bit
Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer, 16-Bit BCD, 32-Bit BCD,
32-Bit Floating Point, 16-Bit Signed BCD (LMB), 32-Bit Signed BCD (LMB), 16-Bit Signed
BCD (LMD), and 32-Bit Signed BCD (LMD).
Display Type The display type of the advanced numeric display. The following table shows the available
display types for each data type.
Data Type Available Display Types
16-Bit Unsigned Integer 16-Bit Unsigned Decimal,
16-Bit Hexadecimal,
16-Bit Octal
32-Bit Unsigned Integer 32-Bit Unsigned Decimal,
32-Bit Hexadecimal,
32-Bit Octal
16-Bit Signed Integer 16-Bit Signed Decimal
32-Bit Signed Integer 32-Bit Signed Decimal
16-Bit BCD 16-Bit Unsigned Decimal
32-Bit BCD 32-Bit Unsigned Decimal
32-Bit Floating Point 32-Bit Floating Point
16-Bit Signed BCD (LMB) 16-Bit Signed Decimal
32-Bit Signed BCD (LMB) 32-Bit Signed Decimal
16-Bit Signed BCD (LMD) 16-Bit Signed Decimal
32-Bit Signed BCD (LMD) 32-Bit Signed Decimal
Display Monitor Select this option so the advanced numeric display will monitor the variable specified in the
Address Monitor Address field and display its value. When this option is selected, you need to
specify the monitored variable.
Click to enter an address for this field. Click to select a tag for this field.
Expression Select this option so the advanced numeric display will display the result of the arithmetic
expression specified in the Expression field. When this option is selected, you need to
specify the arithmetic expression that calculates the value to be displayed.
Click to enter an address for this field. Click to select a tag for this field.
Macro Select this option so the advanced numeric display will run the macro defined in the Display
Macro page before displaying the value of the internal variable $D. The macro can decide
the value displayed by saving the desired value in the internal variable $D.
Operator Input Select this option so the advanced numeric display will allow the operator to enter values for
it.
Continued
Example 2:
Total Fractional Entered Output
Display Type
Digits Digits Value Value
32-bit Floating Point 4 2 12.34 12.34
32-bit Floating Point 4 2 123.4 Error!
16-bit Signed Decimal 5 2 123.45 12345
16-bit Signed Decimal 5 2 -0.05 -5
16-bit Signed Decimal 5 2 3 300
Note: This property applies to the display of the initial value, the allowable minimum, and the
allowable maximum on the numeric keypad.
Continued
You can enter a string for a variable using a character entry. If the target panel is a PC, you can also use this object to enter
a Unicode string.
Option Description
Touch Operation You can enable or disable the touch operation of the object by the specified bit or by the
Control current user level. Select and set up this option in the Advanced page.
Timeout If the keypad for data entry receives no input for the specified time period, the data entry
operation will be cancelled.
Notification The Object will notify the specified bit of a successful data entry operation. Select and set up
this option in the Advanced page.
Operator Confirmation When a character string is entered by the operator, the Confirmation box will be displayed for
the operator’s confirmation. If the operator selects “Yes”, the object will write the entered data
to the specified variable. If the operator selects “No” or the operator does not respond within
the specified time period (Maximum Waiting Time), the data entry operation will be cancelled.
Select and set up this option in the Advanced page.
Operation Logging The entered character string and time of data entry will be recorded. Select and set up this
option in the Advanced page.
Visibility Control You can show or hide the object by the specified bit or by the current user level. Select and
set up this option in the Visibility page.
7.4.2. Settings
You can complete all the settings of a character entry in the Character Entry property sheet. This sheet contains the
following four pages. Some of the pages appear only when they are needed.
■ General
Described in Section 7.4.3.
■ Advanced
Described in Section 7.4.4.
■ Visibility
Described in Section 4.4.6.
■ External Label
Described in Section 4.3.8.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for Character entries is
TEnnnn.
Note You can type a note for the object.
Transparent Background Select this option if you want the object to have a transparent background.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Object. , Border Color, BG Color
Continued
You can use a character display to display the string stored in a variable. This object can display Unicode string if the target
panel is a PC.
Note: The difference between a character display and a text object is:
A character display is used either to display text, request text, or both. The text of the Character display is not allowed to be
set at design time but can easily be set at run time. You can specify the text by changing its defined variable.
A text object can be used to create a label at design time, which is a short text that accompanies another control to indicate
its use. The text object cannot be changed at run time.
Options Description
Visibility Control You can show or hide the Character display by the specified bit or by the current user level.
Select and set up this option in the Visibility page.
7.5.2. Settings
You can complete all the settings of a character display in the Character Display property sheet. This sheet contains the
following three pages. Some of the pages appear only when they are needed.
■ General
Described in Section 7.5.3.
■ Visibility
Described in Section 4.4.6.
■ External Label
Described in Section 4.3.8.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within the
screen where the object is located. The format of the IDs for Character displays is TDnnnn.
Note You can type a note for the object.
Transparent Select this option if you want the object to have a transparent background.
Background
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an Object.
, Border Color, BG Color
External Label Check this option if you want the object to have an external label. Set up the external label in the
External Label page.
Character Set The types of character codes of the string in the monitored variable. You can select ASCII(US)
code or ISO-8859-1(Western European). If the target panel is a PC, the Unicode is also an option.
Used for keypad Check this option if the character display is used to display the input for a custom keypad.
display
Monitor Address Specifies the monitored variable.
Click to enter an address for this field. Click to select a tag for this field.
Total Characters Specifies the number of characters that the Character display can display.
Font The font of the displayed string.
Text Color The color of the displayed string.
Alignment The alignment of the displayed value. There are three types of alignment: Left, Center, and Right.
Code Size The size of each character. You can select Byte or Word.
Byte Swap Check this option to display high byte first and then low byte.
7.6.1. Settings
You can complete all the settings of a time display in the Time Display property sheet. The following is an example of the
sheet.
7.7.1. Settings
You can complete all the settings of a date display in the Date Display property sheet. The following is an example of the
sheet.
7.8.1. Settings
You can complete all the settings of a day-of-week display in the Day-of-week Display property sheet. This sheet contains
the following two pages.
■ General
Described in Section 7.8.2.
■ Text
Described in Section 4.3.6.
Note: When using the Text page to specify the text for each day, note that state 0 corresponds to Sunday, state 1
corresponds to Monday, and so on.
Bipolar Bar
(Monitored Value = 60
Middle Point = 50)
A bar graph can also have a scale, forward markers, backward markers and a percentage display.
Major Ticks Sub Divisions
Forward Markers
Options Description
Bipolar A bar graph can be configured to display the difference between the monitored value and a specified
Bar value called the middle point. The bar can move at both ends, hence bipolar bar.
Monitored Value
Monitored Value = 60
The color of a mark:
LT Color = Light Red
EQ Color = Yellow
GT Color = Light Green
Mark’s Value
Select and set Forward Marker option in the F. Marker page.
Select and set Backward Marker option in the B. Marker page.
Range You can specify a low limit and a high limit for a bar graph. The limits can be constants or variables. At
Display runtime, when the monitored value is equal to or below the low limit, the bar graph shows the bar with the
FG color and the BG color set for the low limit. When the monitored value is equal to or above the high
limit, the bar graph shows the bar with the FG color and the BG color set for the high limit.
Low Limit = 20
High Limit = 80
Low BG Color = Light Blue
High BG Color = Light red
Monitored Value
Select and set this option in the Advanced page.
Continued
8.1.3. Settings
You can complete all the settings of a bar graph in the Bar Graph property sheet. This sheet contains the following six
pages.
■ General
Described in Section 8.1.4.
■ Scale
Described in Section 4.4.4.
■ F. Marker
Described in Section 8.1.5.
■ B. Marker
Described in Section 8.1.5.
■ Advanced
Described in Section 8.1.6.
■ Visibility
Described in Section 4.4.6.
The above is an example of the General page of the Bar Graph dialog box.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within the
screen where the object is located. The format of the IDs for the bar graphs is BGnnnn.
Note You can type a note for the object.
Shape For details about the following properties, see Section 4.3.1.4 Setting up the Shape of an Object,
settings
, Border Color, BG Color
External Check this option if you want the object to have an external label. Set up the external label in the
Label External Label page.
Direction Specifies the bar direction for the bar graph.
Data Type The data type of the monitored variable. The supported data types include: 16-Bit Unsigned Integer,
32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer, 16-Bit BCD, 32-Bit BCD, 32-Bit
Floating Point, 16-Bit Signed BCD (LMB), 32-Bit Signed BCD (LMB), 16-Bit Signed BCD (LMD), and
32-Bit Signed BCD (LMD)
Continued
Min. Specifies the minimum of the monitored variable when Dynamic Range is not selected.
Max. Specifies the maximum of the monitored variable when Dynamic Range is not selected.
Bipolar Bar Check this option for the bar graph to display the difference between the monitored value and the
value specified in the Middle Point field.
Middle Point Specifies the reference value/point for the bipolar bar.
Pie Pattern Select a pattern for the bar graph. The pattern will be used to fill the bar. When the pattern is filled in
the bar, the black part of the pattern is painted with the color specified in the Bar FG Color field, and
the white part of the pattern is painted with the color specified in the Bar BG Color field.
Pie FG Color Select a color for painting the black part of the specified pattern.
Pie BG Color Select a color for painting the white part of the specified pattern.
The following table describes each property in the Forward Marker page and the Backward Marker page.
Property Description
Number of Marks Specifies the maximum number of marks this marker can support.
Location Select Up or Down for the location of the marker when the bar direction is Leftward or
Rightward. Select Left or Right for the location of the marker when the bar direction is Upward or
Downward.
Forward/Backward Specifies the variable that stores the marker control block.
Marker Control
Block Click to enter an address for this field. Click to select a tag for this field.
The following table shows the data arrangement of the marker control block when the data type
is 16-bit.
Word Description
0 Specifies the actual number of marks that the marker will display.
1 The value of mark 1.
2 The value of mark 2
… …
12 The value of mark 12
The following table shows the data arrangement of the marker control block when the data type
is 32-bit.
Word Description
0,1 Specifies the actual number of marks that the marker will display.
2,3 The value of mark 1.
4,5 The value of mark 2
… …
24,25 The value of mark 12
Note: The data format of the mark values should be the same as that of the monitored variable.
Continued
Property Description
Range Range Display Check this option if you want the object to display the monitored value with different
Display colors when the monitored value is below the specified low limit or above the
specified high limit.
Variable Range Check this option if the low limit and high limit are specified at runtime by the
designated variables.
Low Limit Specifies the low limit when Variable Range is not selected. When Variable Range
is selected, this property specifies the variable whose value is the low limit. Click
to enter an address. Click to select a tag.
High Limit Specifies the high limit when Variable Range is not selected. When Variable Range
is selected, this property specifies the variable whose value is the high limit. Click
to enter an address. Click to select a tag.
High FG Color The bar FG color for the high limit.
Color BG Color The bar BG color for the high limit.
Low FG Color The bar FG color for the low limit.
Color BG Color The bar BG color for the low limit.
Percentage Percentage Check this option so the object will display the percentage that is calculated by the
Display Display following formula:
Percentage = (Value - Min.) / (Max. - Min.) * 100%
If the bipolar bar is used, the percentage formula when Value > Middle Point is:
Percentage = (Value – Middle Point) / (Max. - Middle Point) * 100%
The percentage formula when Value < Middle Point is:
Percentage = -(Middle Point - Value) / (Middle Point - Min.) * 100%
The Value is the current value of the monitored variable. The Max. and Min. define
the value range of the monitored variable and are defined in the General page of
the property sheet.
Text Color Select a color for the percentage display.
Font Select a fixed size font for the percentage display.
Span and Origin 360° & 90° 360° & 0° 360° & 270° 360° & 180°
Example
Span and Origin 270° & 45° 270° & 315° 270° & 225° 270° & 135°
Example
Span and Origin 180° & 90° 180° & 0° 180° & 270° 180° & 180°
Example
Span and Origin 90° & 90° 90° & 0° 90° & 270° 90° & 180°
Example
Span and Origin 90° & 45° 90° & 315° 90° & 225° 90° & 135°
Example
Options Description
Range Display
The meter can display the low range mark and the high range mark along its swing path. The
limits for range marks can be specified at runtime by the designated variables. Select and set this
option in the Range page.
Scale
The meter can have a scale. Select and set this option in the Scale page.
Visibility Control The meter can be shown or hidden either by a specified bit or by the current user level. Select
and set this option in the Visibility page.
8.2.3. Settings
You can complete all the settings of a meter in the Meter property sheet. This sheet contains the following four pages.
■ General
Described in Section 8.2.4.
■ Range
Described in Section 8.2.5.
■ Scale
Described in Section 4.4.4.
■ Visibility
Described in Section 4.4.6.
The above is an example of the General page of the Meter property sheet.
+ =
Note: If Picture Shape is checked, Shape…, Border Color and BG Color fields are not
available to be used.
<Drop-down The name of the picture. You can use the drop-down list to select a picture from the picture
List> database.
Click this icon to select a picture file. After selection, the picture of the selected file is
imported and saved in the picture database.
Click this icon to bring up the Select/Import from Library dialog box. Select a picture from a
picture library file. After selection, the selected picture is imported and saved in the picture
database.
Graphical shape For details about the following properties, Section 4.3.1.4 Setting up the Shape of an
settings
Object. , Border Color, BG Color
Swing Specifies the type of swing. For details, see Section 8.2.1 Basic Operation.
The swing styles on the right are more
space saving because their needles can be
placed outside the shape by changing the
position of Center X or Center Y.
Direction Specifies the direction that the needle moves. Only Clockwise is available.
Data Type The data type of the monitored variable. The supported data types include: 16-Bit Unsigned
Integer, 32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer, 16-Bit BCD,
32-Bit BCD, 32-Bit Floating Point, 16-Bit Signed BCD (LMB), 32-Bit Signed BCD (LMB),
16-Bit Signed BCD (LMD), and 32-Bit Signed BCD (LMD).
Monitor Address Specifies the variable to be monitored.
Click to enter an address for this field. Click to select a tag for this field.
Continued
The following table shows the content of the parameter block when the data type is 16-bit
and the scale of the meter is dynamic.
Word Parameter
0 The minimum of the monitored variable
1 The maximum of the monitored variable
2, 3 The minimum of the mark for the scale; 32-bit integer number
4, 5 The maximum of the mark for the scale; 32-bit integer number
The following table shows the content of the parameter block when the data type is 32-bit
and the scale of the meter is not dynamic.
Word Parameter
0, 1 The minimum of the monitored variable
2, 3 The maximum of the monitored variable
The following table shows the content of the parameter block when the data type is 32-bit
and the scale of the meter is dynamic.
Word Parameter
0, 1 The minimum of the monitored variable
2, 3 The maximum of the monitored variable
4, 5 The minimum of the mark for the scale; 32-bit integer number
6, 7 The maximum of the mark for the scale; 32-bit integer number
Min. Specifies the minimum of the monitored variable when Dynamic Range is not selected.
Max. Specifies the maximum of the monitored variable when Dynamic Range is not selected.
Needle Color Select a color for the needle.
Swing Radius You can adjust the radius of the swing of the needle. This field specifies the offset to be
Adjustment added to the default radius.
Angle You can adjust the span of the swing of the needle. This field specifies the offset to be
added to the default span.
Center X You can adjust the horizontal position for the pivot of the needle. This field specifies the
offset to be added to the default horizontal position.
Center Y You can adjust the vertical position for the pivot of the needle. This field specifies the offset
to be added to the default vertical position.
Property Description
Range Display Check this option if you want the meter to display the range marks along its swing path.
Variable Range Check this option so the low limit and high limit for the range marks will be specified at runtime by
the designated variables.
Low Limit Specifies the low limit of the low range mark when Variable Range is not selected.
When Variable Range is selected, this property specifies the variable whose value is the low limit of
the low range mark at runtime. Click to enter an address for this field. Click to select a tag
for this field.
High Limit Specifies the high limit of the high range mark when Variable Range is not selected.
When Variable Range is selected, this property specifies the variable whose value is the high limit of
the high range mark at runtime. Click to enter an address for this field. Click to select a tag
for this field.
Low Color The color of the low range mark.
High Color The color of the high range mark.
Span and Origin 360° & 90° 360° & 0° 360° & 270° 360° & 180°
Example
Span and Origin 270° & 45° 270° & 315° 270° & 225° 270° & 135°
Example
Span and Origin 180° & 90° 180° & 0° 180° & 270° 180° & 180°
Example
Span and Origin 90° & 90° 90° & 0° 90° & 270° 90° & 180°
Example
Span and Origin 90° & 45° 90° & 315° 90° & 225° 90° & 135°
Example
Options Description
Range Display You can specify a low limit and a high limit for the object. The limits can be constants or variables.
At runtime, when the monitored value is below the low limit, the object shows the bar with the FG
color and the BG color set for the low limit. When the monitored value is above the high limit, the
object shows the bar with the FG color and the BG color set for the high limit.
Percentage The object can show the current bar length as a percentage of the full bar length.
Display
8.3.3. Settings
You can complete all the settings of a circular bar graph in the Circular Bar Graph property sheet. This sheet contains the
following four pages.
■ General
Described in Section 8.3.4.
■ Scale
Described in Section 4.4.4.
■ Advanced
Described in Section 4.4.5.
■ Visibility
Described in Section 4.4.6.
This section describes how to define the general settings for a circular bar graph.
The above is an example of the General page of the Circular Bar Graph property sheet.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within the
screen where the object is located. The format of the IDs for the circular bar graphs is PGnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, Section 4.3.1.4 Setting up the Shape of an Object.
The following table shows the content of the parameter block when the data type is 16-bit and the
scale of the circular bar graph is dynamic.
Word Parameter
0 The minimum of the monitored variable
1 The maximum of the monitored variable
2, 3 The minimum of the mark for the scale; 32-bit integer number
4, 5 The maximum of the mark for the scale; 32-bit integer number
The following table shows the content of the parameter block when the data type is 32-bit and the
scale of the circular bar graph is not dynamic.
Word Parameter
0, 1 The minimum of the monitored variable
2, 3 The maximum of the monitored variable
The following table shows the content of the parameter block when the data type is 32-bit and the
scale of the circular bar graph is dynamic.
Word Parameter
0, 1 The minimum of the monitored variable
2, 3 The maximum of the monitored variable
4, 5 The minimum of the mark for the scale; 32-bit integer number
6, 7 The maximum of the mark for the scale; 32-bit integer number
Min. Specifies the minimum of the monitored variable when Dynamic Range is not selected.
Max. Specifies the maximum of the monitored variable when Dynamic Range is not selected.
Bar Pattern Select a pattern for the circular bar graph. The pattern will be used to fill the arc/circular strip of the
circular bar graph. When the pattern fills in the circular bar graph, the black part of the pattern is
painted with the color specified in the Bar FG Color field, and the white part of the pattern is painted
with the color specified in the Bar BG Color field.
Bar FG Color Select a color for painting the black part of the specified pattern.
Bar BG Color Select a color for painting the white part of the specified pattern.
Back Color Select a color as the background color for the arc/circular strip of the circular bar graph.
A line chart displays a set of data by drawing a data point for each datum and drawing a line that connects all the data
points in sequence. The vertical position of a data point is determined by the value of the associated datum. The horizontal
position of a data point is determined by the order of the associated datum in the data set.
A line chart can display up to 8 sets of data. The following example shows a line chart that displays 3 sets of data.
A line chart can provide a cursor for you to select desired data points. The cursor of the line chart is a vertical line segment.
The user can move the cursor horizontally within a line chart to the desired data point(s). The values of the selected data
points can be displayed and output to an internal variable called Cursor Data Receiving Buffer.
Cursor data
receiving buffer The sequence number of the cursor
selected data in the data set.
8.4.3. Settings
You can complete all the settings of a line chart in the Line Chart dialog box. This dialog box contains the following four
pages.
■ General
Described in Section 8.4.4.
■ Pen
Described in Section 8.4.5.
■ XY Axis
Described in Section 8.4.6.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique
within the screen where the object is located. The format of the IDs for the line charts is
LCnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.1.4 Setting up the Shape of an
Object. , Border Color, BG Color
Chart BG Color Select a color for the background of the chart.
Data Type The type of the data that the line chart will display. The supported data types include: 16-Bit
Unsigned Integer, 32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer,
16-Bit BCD, 32-Bit BCD, 32-Bit Floating Point, 16-Bit Signed BCD (LMB), 32-Bit Signed BCD
(LMB), 16-Bit Signed BCD (LMD), and 32-Bit Signed BCD (LMD).
Continued
Continued
Number of Data Sets Specifies how many data sets the line chart will read. The line chart displays one line for each
data set. A line chart can display up to 8 lines.
Maximum Number of Specifies the maximum number of data points that the line chart will read for every data set. A
Data Points Per Data line chart can display up to 255 data points for one data set.
Set Note: The actual number of data points for every data set must be specified at runtime. The
actual number must not exceed the maximum number.
Continued
Direction Specifies the direction that the line chart draws the data points.
Show Mark Check this option so the line chart will put a square mark on every data point.
Show Line Check this option so the line chart will display a line connecting all the data points of a data
set in sequence.
Clear Trigger The bit variable that will trigger the line chart to clear its content when its state changes from
off to on. Click to enter an address for this field. Click to select a tag for this field.
Cursor Show Check this option so the line chart will display a cursor. You can touch and drag the cursor to
Cursor the data point(s) that you want to select.
Cursor Select a color for the cursor.
Color
Value Select a font for displaying the values of the selected data point(s).
Display
Font
Cursor The variable that will receive the value(s) of the selected data point(s). It must be a piece of
Data the internal memory.
Receiving
Buffer Click to enter an address for this field. Click to select a tag for this field.
The following table shows the data arrangement of the buffer when the data type is 16-bit.
Word Description
0 The sequence number of the cursor selected data in the data set
1 The value of the selected data point of data set 1.
2 The value of the selected data point of data set 2.
… …
8 The value of the selected data point of data set 8.
The following table shows the data arrangement of the buffer when the data type is 32-bit.
Word Description
0,1 The sequence number of the cursor selected data in the data set
2,3 The value of the selected data point of data set 1.
4,5 The value of the selected data point of data set 2.
… …
16,17 The value of the selected data point of data set 8.
Continued
The following table shows the data arrangement of the parameter block when the data type is
32-bit.
Word Description
0,1 The minimum of the mark for the X axis; 32-bit integer number
2,3 The maximum of the mark for the X axis; 32-bit integer number
4,5 The minimum of the mark for the Y axis; 32-bit integer number
6,7 The maximum of the mark for the Y axis; 32-bit integer number
8,9 The minimum for pen #1; 32-bit integer number, 32-bit unsigned integer
number, or 32-bit floating point number
10,11 The maximum for pen #1; (Same as above)
12,13 The minimum for pen #2; (Same as above)
14,15 The maximum for pen #2; (Same as above)
… …
36,37 The minimum for pen #8; (Same as above)
38,39 The maximum for pen #8; (Same as above)
The following table describes each property in the Pen page. Note that pen #1 is for data set 1; pen #2 is for data set 2;
and so on.
Property Description
Pen #1 Dynamic Check this option so the minimum and the maximum of the associated data set will be
to Pen Range specified at runtime. This option is available when the Dynamic Range option in the
#8 General page is selected.
Min. The minimum of the associated data set. This property is available when the Dynamic
Range option is not selected.
Max. The maximum of the associated data set. This property is available when the Dynamic
Range option is not selected.
Mark Size Select a size for the data point mark. The selection is valid when the Show Mark option in
the General page is selected.
Line Style Select a style for the connecting lines. The selection is valid when the Show Line option in
the General page is selected.
Color Select a color for the connecting lines.
Show Value Select one of the following methods for displaying the selected data point value.
Show Value Description
(None) Does not display the data point value.
Original Displays the data point value without modification.
Scaled Displays the corresponding Y axis value of the data point.
The selection is valid when the Show Cursor option in the General page is selected.
Property Description
X Show Ticks Check this option if you want the X axis to have ticks.
Axis Show Y-axis Grid Select this option if you want the X axis to have vertical grids.
Axis/Tick Color Select a color for the X axis and its ticks.
Grid Color Select a color for the vertical grids.
Number of Major The number of major divisions for the X axis. The minimum you can specify is one.
Divisions
Number of The number of divisions between two adjacent major ticks. The minimum you can
Sub-divisions specify is one.
Mark Show Marks Check this option if you want the major ticks to have marks.
Font The font of the marks.
Dynamic Range Check this option if you want the minimum and maximum of the marks to be controlled
by the dynamic range parameter block of the associated object at runtime.
Min. The minimum of the marks. It is a 32-bit integer.
Max. The maximum of the marks. It is a 32-bit integer.
Total Digits The total digits to be displayed for the marks.
Fractional Digits The number of fractional digits for the marks. For example, when the Maximum is
5000, the Total Digits is 4, and the Fractional Digits is 2, the mark for the Maximum will
be 50.00.
Y Show Ticks Check this option if you want the Y axis to have ticks.
Axis Show X-axis Grid Select this option if you want the Y axis to have horizontal grids.
Axis/Tick Color Select a color for the Y axis and its ticks.
Grid Color Select a color for the horizontal grids.
Number of Major The number of major divisions for the Y axis. The minimum you can specify is one.
Divisions
Number of The number of divisions between two adjacent major ticks. The minimum you can
Sub-divisions specify is one.
Mark Show Marks Check this option if you want the major ticks to have marks.
Font The font of the marks.
Dynamic Range Check this option if you want the minimum and maximum of the marks to be controlled
by the dynamic range parameter block of the associated object at runtime.
Min. The minimum of the marks. You can specify a 32-bit signed integer.
Max. The maximum of the marks. You can specify a 32-bit signed integer.
Total Digits The total digits to be displayed for the marks.
Fractional Digits The number of fractional digits for the marks. For example, when the Maximum is
5000, the Total Digits is 4, and the Fractional Digits is 2, the mark for the Maximum will
be 50.00.
A scatter chart displays a set of data by drawing a data point for each datum and drawing a line that connects all the data
points in sequence. Each datum is a coordinate that contains an X value and a Y value. The vertical position of a data point
is determined by the X value of the associated datum. The horizontal position of a data point is determined by the Y value
of the associated datum.
A scatter chart can display up to 8 sets of data. The following example shows a scatter chart that displays 3 sets of data.
Options Description
Visibility Control You can show and hide a scatter chart by a specified bit or the current user level. Select and set this
option in the Visibility page.
You can complete all the settings of a scatter chart in the Scatter Chart dialog box. This dialog box contains the following
four pages.
■ General
Described in Section 8.5.4.
■ Pen
Described in Section 8.5.5.
■ XY Axis
Described in Section 8.4.6.
■ Visibility
Described in Section 4.4.6.
Continued
Number of Specifies how many data sets the scatter chart will display. A scatter chart can display up to 8 sets of
Data Sets data.
Maximum Specifies the maximum number of data points that the scatter chart will display for every data set. A
Number of scatter chart can display up to 255 data points for one data set.
Data Points Note: The actual number of data points for every data set is specified at runtime. The actual number
Per Data Set must not exceed the maximum number.
Show Mark Check this option so the scatter chart will show a square mark on every data point.
Show Line Check this option so the scatter chart will display a line between two adjacent data points of a data
set.
Clear Trigger The bit variable that triggers the scatter chart to clear its content when its state changes from off to
on. Click to enter an address for this field. Click to select a tag for this field.
Continued
The following table shows the data arrangement of the parameter block when the data type
is 32-bit.
Word Description
0,1 The minimum of the mark for the X axis; 32-bit integer number
2,3 The maximum of the mark for the X axis; 32-bit integer number
4,5 The minimum of the mark for the Y axis; 32-bit integer number
6,7 The maximum of the mark for the Y axis; 32-bit integer number
8,9 The minimum of X values for pen #1; 32-bit integer number, 32-bit
unsigned integer number, or 32-bit floating point number
10,11 The maximum of X values for pen #1; (Same as above)
12,13 The minimum of Y values for pen #1; (Same as above)
14,15 The maximum of Y values for pen #1; (Same as above)
… …
64,65 The minimum of X values for pen #8; (Same as above)
66,67 The maximum of X values for pen #8; (Same as above)
68,69 The minimum of Y values for pen #8; (Same as above)
70,71 The maximum of Y values for pen #8; (Same as above)
The following table describes each property in the Pen page. Note that pen #1 is for data set 1; pen #2 is for data set 2;
and so on.
Property Description
Pen #1 Dynamic Check this option so the minimum and maximum for the X and Y values of the associated
to Pen Range data set will be specified at runtime. This option is available when the Dynamic Range option
#8 in the General page is selected.
X Min. The X minimum of the associated data set. This property is available when the Dynamic
Range option is not selected.
X Max. The X maximum of the data value of the associated data set. This property is available when
the Dynamic Range option is not selected.
Y Min. The Y minimum of the associated data set. This property is available when the Dynamic
Range option is not selected.
Y Max. The Y minimum of the associated data set. This property is available when the Dynamic
Range option is not selected.
Mark Size Select a size for the data point mark. The selection is valid when the Show Mark option in the
General page is selected.
Line Style Select a style for the connecting lines. The selection is valid when the Show Line option in
the General page is selected.
Color Select a color for the connecting lines.
ANIMATED OBJECTS
9.1. Pipelines......................................................................................................... 1
9.1.1. Basic Operations............................................................................................................ 1
9.1.2. Operation Options.......................................................................................................... 3
9.1.3. Settings .......................................................................................................................... 3
9.1.4. General Settings............................................................................................................. 3
9.1.5. Pipe Settings .................................................................................................................. 6
9.2. Dynamic Circles............................................................................................ 7
9.2.1. Operation Options.......................................................................................................... 7
9.2.2. Settings .......................................................................................................................... 7
9.2.3. General Settings............................................................................................................. 8
9.2.4. Specifying Colors for Dynamic Rectangles and Circles ............................................. 10
9.3. Dynamic Rectangles ................................................................................... 12
9.3.1. Operation Options........................................................................................................ 12
9.3.2. Settings ........................................................................................................................ 12
9.3.3. General Settings........................................................................................................... 13
9.4. GIF Displays................................................................................................ 16
9.4.1. Operation Options........................................................................................................ 16
9.4.2. Settings ........................................................................................................................ 16
9.4.3. General Settings........................................................................................................... 17
9.5. Picture Displays .......................................................................................... 19
9.5.1. Basic Operations.......................................................................................................... 19
9.5.2. Operation Options........................................................................................................ 19
9.5.3. Settings ........................................................................................................................ 19
9.5.4. General Settings........................................................................................................... 20
9.6. Animated Graphics .................................................................................... 21
9.6.1. Operation Options........................................................................................................ 21
9.6.2. Settings ........................................................................................................................ 21
9.6.3. General Settings........................................................................................................... 22
9.6.4. GIF Settings ................................................................................................................. 29
9.6.5. Path Settings ................................................................................................................ 30
49
9.1. Pipelines
A pipeline is composed of L/T/Cross connectors and pipes. With the software, you can create a pipeline easily and
efficiently. You can also control a pipeline to change color, blink, and/or show the flow effect dynamically at runtime.
The following is a sample of a pipeline with the flow effect:
Flow Effect
Up T Connector
Left T Connector
L Connector
Selected Pipe
Insert Connector Add a Left/Right T or Cross connector to the specified position on the vertical pipe
Delete Pipe
Segment
9.1.3. Settings
You can complete all the settings of a pipeline in the Pipeline property sheet. This sheet contains the following three pages.
■ General
Described in Section 9.1.4.
■ Pipe
Described in Section 9.1.5.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is
unique within the screen where the object is located. The format of the IDs for the
pipelines is PLnnnn.
Note You can type a note for the object.
Type The type of the pipeline. There are five types available:
Type Example
2D Type 1
2D Type 2
2D Type 3
3D Type 1
3D Type 2
Shading Select a shading method when the Type is “3D Type 1” or “3D Type 2”. There are
Body/Content Select a color as the second body/content color for the pipeline. This color will be
Color #2 used to paint the pipeline when bit 0 of the control word is on.
Body/Content Select a color as the third body/content color for the pipeline. This color will be used
Color #3 to paint the pipeline when bit 1 of the control word is on.
Blink On/Off Check this option if you want the pipeline to blink at runtime. The pipeline will blink
Control when bit 2 of the control word is on.
Control Word Size Select Word or Double Word for the size of the control word.
Address Specifies the variable that controls the pipeline.
Click to enter an address for this field. Click to select a tag for this field.
The following table shows the bit assignment data of the variable:
Bit Assignment
0 Shows body/content color #2 when this bit is on
1 Shows body/content color #3 when this bit is on
2 Blinks when this bit is on
3 Shows the flow effect when this bit is on
Flow Effect Default Select a set of symbols as the default symbols for the flow effect. There are 14
Symbols available sets:
Property Description
Pipe Type Specifies the type of the selected pipe.
X1 The horizontal coordinate of the upper-left corner of the selected pipe.
Y1 The vertical coordinate of the upper-left corner of the selected pipe.
X2 The horizontal coordinate of the lower-right corner of the selected pipe.
Y2 The vertical coordinate of the lower-right corner of the selected pipe.
Flow <Check Box> Select this option if you want the selected pipe to show the flow effect.
Effect
Symbol Select a symbol for the flow effect.
Color Select a color for the flow symbol
Length Ratio(%) Specifies the length ratio between pipe and flow effect.
You can change the size, position, and/or color of a dynamic circle at runtime.
Options Description
Visibility Control You can show and hide a dynamic circle by a specified bit or the current user level. Select
and set up this option in the Visibility page.
9.2.2. Settings
You can complete all the settings of a dynamic circle in the Dynamic Circle property sheet. This sheet contains the
following two pages.
■ General
Described in Section 9.2.3.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is
unique within the screen where the object is located. The format of the IDs for the
dynamic circles is DCnnnn.
Note You can type a note for the object.
Data Type The data type of the variable that controls the dynamic circle. The supported data
types include: 16-Bit Unsigned Integer, 32-Bit Unsigned Integer, 16-Bit Signed
Integer, 32-Bit Signed Integer, 16-Bit BCD, and 32-Bit BCD.
Continued
Center W0 X W0,1 X
Radius W1 Y W2,3 Y
FG Color W2 FG Color W4,5 FG Color
Center W0 X W0,1 X
Radius W1 Y W2,3 Y
FG Color W2 Radius W4,5 Radius
W0 X W0,1 X
Center
W1 Y W2,3 Y
Radius
W2 Radius W4,5 Radius
FG Color
W3 FG Color W6,7 FG Color
64K-color HMI models use one word to specify a color. The color word contains the three color components: red, green,
and blue. The format to store the three color components of a color is described below.
Example
Color Red Green Blue Hex. Value Decimal Value
Black 0 0 0 0000H 0
Blue 0 0 16 0010H 16
Green 0 32 0 0400H 1024
Cyan 0 32 16 0410H 1040
Red 16 0 0 8000H 32768
Magenta 16 0 16 8010H 32784
Brown 16 32 0 8400H 33792
Dark gray 16 32 16 8410H 33808
Gray 24 48 24 C618H 50712
Light blue 0 0 31 001FH 31
Light green 0 63 0 07E0H 2016
Light cyan 0 63 31 07FFH 2047
Light red 31 0 0 F800H 63488
Light magenta 31 0 31 F81FH 63519
Yellow 31 63 0 FFE0H 65504
White 31 63 31 FFFFH 65535
The following table lists the color index values used by 256-color HMI models. You can use the color index values to
specify the desired colors for your application.
You can change the size, position, and/or color of a dynamic rectangle at runtime.
Options Description
Visibility Control You can show and hide a dynamic rectangle by a specified bit or the current user level. Select
and set up this option in the Visibility page.
9.3.2. Settings
You can complete all the settings of a dynamic rectangle in the Dynamic Rectangle property sheet. This sheet contains the
following two pages.
■ General
Described in Section 9.3.3.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within
the screen where the object is located. The format of the IDs for the dynamic rectangles is
DRnnnn.
Note You can type a note for the object.
Data Type The data type of the variable that controls the dynamic rectangle. The supported data types
include: 16-Bit Unsigned Integer, 32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed
Integer, 16-Bit BCD, and 32-Bit BCD.
Continued
Position
Size W0 FG Color W0,1 FG Color
FG Color
Position
W0 Width W0,1 Width
Size
W1 Height W2,3 Height
FG Color
Position
W0 X W0,1 X
Size
W1 Y W2,3 Y
FG Color
Position W0 X W0,1 X
Size W1 Y W2,3 Y
FG Color W2 FG Color W4,5 FG Color
W0 X W0,1 X
Position
W1 Y W2,3 Y
Size
W2 Width W4,5 Width
FG Color
W3 Height W6,7 Height
W0 X W0,1 X
Position W1 Y W2,3 Y
Size W2 Width W4,5 Width
FG Color W3 Height W6,7 Height
W4 FG Color W8,9 FG Color
You can use a GIF display to show a GIF image and control the animation of that image.
9.4.2. Settings
You can complete all the settings of a GIF display in the GIF Display property sheet. This sheet contains the following two
pages.
■ General
Described in Section 9.4.3.
■ Visibility
Described in Section 4.4.6.
You need to specify the number of states for a picture display and the number must not exceed the allowable maximum.
You can define a picture for each state. At runtime, a picture display shows the picture corresponding to the state of the
monitored variable. The state of the monitored variable is determined by the state type and value of the variable.
9.5.3. Settings
You can complete all the settings of a picture display in the Picture Display property sheet. This sheet contains the
following three pages.
■ General
Described in Section 9.5.4.
■ Picture
Described in Section 4.3.7.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within the
screen where the object is located. The format of the IDs for the picture displays is PDnnnn.
Note You can type a note for the object.
Shape Shape Check this option if you want the picture display to have a frame.
Shape For details about the following properties, see Section 4.3.4 Setting up the Shape of an Object.
settings
, Border Color, Pattern, FG Color, BG Color
External Label Check this option if you want the picture display to have an external label. Set up the external
label in the External Label page.
State Select a state as the current state of the picture display so you can view and set the Pattern, FG
Color, BG Color for that state.
State Type The state type of the variable that controls the picture display. There are four state types you can
select from: Bit, Value, LSB, and Bit For Enabling Animation. For details, see Section 9.5.1 Basic
Operations.
Data Type The data type of the variable that controls the picture display. The supported data types include:
Bit, 16-bit Unsigned Integer, 16-bit BCD, 32-bit Unsigned Integer, and 32-bit BCD.
Monitor Address Specifies the variable that controls the picture display.
Click to enter an address for this field. Click to select a tag for this field.
Total State The number of states for the picture display.
Animation The rate to change the picture.
Frequency (Hz)
An animated graphic can change its image and move along a specified path automatically. You can also change the
position and image of an animated graphic at runtime by a specified variable. You can use BMP/JPG/GIF/Object Group for
the animated graphics.
Options Description
Visibility Control You can show or hide an animated graphic by a specified bit or the current user level. Select and
set up this option in the Visibility page.
9.6.2. Settings
You can complete all the settings of an animated graphic in the Animated Graphic property sheet. This sheet contains the
following five pages. Some of the pages appear only when they are needed.
■ General
Described in Section 9.6.3.
■ Picture
Described in Section 4.3.7.
■ GIF
Described in Section 9.6.4.
■ Path
Described in Section 9.6.5.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is
unique within the screen where the object is located. The format of the IDs for the
animated graphics is AGnnnn.
Note You can type a note for the object.
Continued
Total States The number of graphic states. You can specify a picture for each state. The
animated graphic displays the associated picture for the current state.
State Control Select one of the following methods to control the state of the animated graphic.
State Control Description
Automatic The animated graphic changes the state in sequence
starting from state 0 at a rate specified in the Change Rate
field. When the current state is the last state, it will change
back to state 0.
Position The state is determined by where the animated graphic is.
In the Path page, you can define the associated state for
each path point. For details, see Section 9.6.5 Path
Settings.
Dynamic The state is determined at run time by the variable specified
in the Monitor Address field.
The animated graphic displays the associated picture for the current state.
Change Rate (Hz) Select a rate when the State Control is Automatic or the Graphic Type is GIF.
Continued
Select one of the following path types for the animated graphic:
Path Type Description
Still The animated graphic does not move.
Continued
You can also position the mouse pointer over one of the points. When the cursor
changes to , drag the point to the position you want.
Dynamic The position of the animated graphic is determined at runtime by the variable
specified in the Monitor Address field. The data elements of the variable that
specify the position are X and Y. They specify the coordinate of the position.
$U100: State
$U101: X
$U102: Y
Dynamic; The position of the animated graphic is determined at runtime by the variable
Predefined specified in the Monitor Address field. The data element of the variable that
Positions specifies the position is Point. It specifies which point of the predefined path that
the animated graphic should move to.
Continued
W0 X W0,1 X
Path Type = Dynamic
W1 Y W2,2 Y
Path Type =
W0 Point W0,1 Point
Dynamic; Predefined Positions
Data Type The data type of the variable that controls the animated graphic. The supported data
types include: 16-bit Unsigned Integer, 32-bit Unsigned Integer, 16-bit Signed Integer,
32-bit Signed Integer, 16-bit BCD, and 32-bit BCD.
To create an object group, you can first group the selected objects and then save the group into the object library.
To use the object group, you can click the button in the Picture page to bring up the Copy Object from Object Library
dialog box. In the dialog, you can select an existing object group for the animated graphic.
Any modifications such as moving the group, resizing the group, deleting the group etc. will be applied to the objects of the
group at the same time. However, each object in the group can have its own properties. You can double click the icon
to bring up the properties dialog box of the corresponding object and then define the settings of each object.
The following is an example showing you how to edit the object group for the animated graphic. The object group includes
a numeric entry, a numeric display and a picture object. They will move along the set of connected lines. At the same time,
the value of numeric entry and the numeric display will change.
1. Set up the animated graphic with the object group as its graphic.
Property Description
GIF Select a GIF image for the animated graphic. You can use the drop-down list to
select a GIF image from the picture database. You can click to select a GIF
image from a file. You can click to select a GIF image from a library file. If the
selected GIF image is not from the picture database, it is imported and saved in
the picture database.
Keep Graphic Size Check this option so the size of the selected GIF image will not change with the
object’s size.
End point
Start point
To modify the path, drag the path points to desired positions. You can insert a path point by right-clicking at the desired
position on the path and clicking Insert Point from the popup menu. To delete a path point, right-click at the path point and
click Delete Point on the popup menu. Use the Path page to define all the properties of the path.
The following is an example of the Path page.
Property Description
X The horizontal coordinate of the selected path point.
Y The vertical coordinate of the selected path point.
Picture for State The associated state of the selected path point for forward movement.
Forward Name The associated picture name of the selected state. It is also the associated picture name
Movement of the selected path point for forward movement.
Picture for State The associated state of the selected path point for backward movement.
Backward Name The associated picture name of the selected state. It is also the associated picture name
Movement of the selected path point for backward movement.
10.1. Recipes
■ Recipe Block
A recipe block is a memory block that stores recipe data as a two dimensional array in the panel. The memory size of each
recipe block is the product of the size of a recipe by the number of recipes in word. You can create up to 16 recipe blocks
for your application. Each recipe block can contain at most 65535 recipes. Each recipe can have as many as 4096 words
of data.
■ Recipe
A recipe is a group of data items. You can use a recipe number or a recipe name to index a recipe in the corresponding
recipe block.
The recipe number is a unique number between 0 and the total number of recipes. The current recipe number of the recipe
block m is saved in the current recipe number register $RNm (m: The recipe block ID).
The recipe name can be represented by ASCII or Unicode String. To specify ASCII or Unicode String as the recipe name,
you need to open the dialog box of a recipe block and set the data type of the related data item into ASCII or Unicode
String in the data item page. For details about recipe data item settings, please see Section 10.5.2.
The following is a sample of a recipe block with 3 recipes and each recipe has 8 data items.
A recipe
A data Item
■ Recipe Data
There are two types of recipe data: TXT Data and PRD Data. These recipes can be transferred directly between the PC
and HMI or between the HMI and USB Memory Stick/Micro SD card.
Recipe Data Description
TXT Data z Can be created and edited in Microsoft Excel or text editor software (e.g., Notepad)
PRD Data z Binary Data created in the software
z Can be edited in RecipeEditor
The following illustration gives an overview of recipe data flow and recipe memory allocation.
Recipe Data flow Memory allocation
Recipe Block 0
Recipe 2
Recipe Block 9
Recipe 1Addr. Data Item
Recipe 1
Addr. R0:8
Data Item A
Recipe 0 R0:9 B Addr. Data Item
R0:4 A
Addr. Data Item R0:10 R9:3 E
C
PC R0:0
R0:5
A
B
R0:11 D R9:4 F
R0:1
R0:6
B
C Recipe 0G
R9:5
R0:7 D Addr. Data Item
R0:2 C
R9:0 E
R0:3 D
R9:1 F
R9:2 G
By FB ( ) or Recipe Block 0
Recipe 2
Macro ( ) Recipe Block 9
Recipe 1Addr. Data Item
Addr. R0:8
Data Item A
Recipe 1
Recipe 0 R0:9 B Addr. Data Item
Flash R0:4 A
Addr. Data Item R0:10 R9:3 E
C
ROM R0:0
R0:5
A
B
R0:11 D R9:4 F
R0:1
R0:6
B
C Recipe 0G
R9:5
R0:7 D Addr. Data Item
R0:2 C
HMI R9:0 E
R0:3 D
R9:1 F
R9:2 G
By FB ( ) Current Recipe
(Function Button) By FB ( ) or
CB and SW ( ) Recipe Block 9
Set recipe block
Recipe 1 number to 9
Addr. Data Item
CR9:0 E
CR9:1 F $RN9
CR9:2
G
MicroSD Card
■ Transfer recipes
Described in Section 10.4
To run the DTH, choose Start > Programs > “The software” > Data Transfer Helper (DTH).
To change the current recipe number, the PLC first sets the Parameter Two Register to the desired recipe block and the
Parameter One Register to the desired recipe number, then turns on the Set Current Recipe Number (#2) command flag.
Also, $RNm (Current Recipe Number Register, m: Recipe Block ID) of the panel can be changed by the PLC.
To update a recipe in the panel, the PLC first sets the Parameter Two Register to the desired recipe block and the
Parameter One Register to the desired recipe number, then turns on the Read Recipe From PLC (#3) command flag. The
panel reads data in the Recipe Block to update the specified recipe in the panel.
To receive a recipe, the PLC first sets the Parameter Two Register to the desired recipe block and the Parameter One
Register to the desired recipe number, then turns on the Write Recipe To PLC (#4) command flag. The panel sends the
specified recipe data to the Recipe Block in the PLC.
Note: You do not need to specify the recipe block if the application has only one recipe block.
Note: To make the above operation work, the specified recipe block must exist, or else the panel ignores the request.
The specified recipe number in the Parameter One Register must be between 0 and the maximum recipe number - 1.If
the Parameter One Register is greater than or equal to the maximum recipe number, the panel ignores the request.
The Recipe Block dialog box contains the following two pages:
■ General
Described in Section 10.5.1.
■ Data Item
Described in Section 10.5.2.
Property Description
Name The recipe block's name. The maximum length of the name is 48 characters.
ID The recipe block's ID number. Select a number between 0 and 15. The number is
unique among all recipe blocks of the panel application.
Recipe Size Specifies the data size that each recipe contains. The unit is word.
Number of Recipes Specifies the maximum number of recipes that the recipe memory can hold.
Memory Required The size of the recipe memory. The unit is word. The formula to calculate the size is:
Memory Required = Recipe Size * Number of Recipes
Write Recipe To PLC Check the option if you want to write the recipe to PLC
Write Address Available when Write Recipe To PLC is checked. Specifies the variable that is the
starting address of the Recipe Block in your PLC.
Click to enter an address for this field. Click to select a tag for this field.
The size of the recipes to be written is specified in the Read/Write Size field.
Notification Check this option if you want the recipe to set the bit specified in the Bit Field to On
when it finishes writing a recipe to PLC.
Bit Available when the Notification field is checked. Specifies the bit for the operation
done notification. Click to enter an address for this field. Click to select a tag
for this field.
Read Recipe From PLC Check this option if you want to read recipes from PLC.
Read Address Identical To Specifies that the Read Address is identical to the Write Address. With this item
Write Address checked, you don’t need to specify the Read Address again. This item is available
when the option Read Recipe From PLC is checked.
Read Address Available when Read Recipe From PLC is checked. Specifies the variable
representing the starting address of the recipe block on your PLC.
Click to enter an address for this field. Click to select a tag for this field. The
size of the recipes to be read is specified in the Read/Write Size field.
Notification Check the option if you want the recipe to set the bit specified in the Bit Field to On
when it finishes reading a recipe from PLC.
Bit Available when the Notification field is checked. Specifies the bit for the operation
done notification. Click to enter an address for this field. Click to select a tag
for this field.
Read/Write Size The size of the recipe for reading and writing.
Reverse the order of the high Check this option if the Write Address or the Read Address belongs to a controller that
word and low word of 32-bit stores data in big-endian byte order and if there are 32-bit data items, such as 32-bit
data signed integers and 32-bit floating point numbers, defined in the recipe block.
Recipe Memory Set the overall recipe block’s address range in the internal memory of the panel.
Range Type Address Format Description
Bit Address Range $Rm:n.b Each bit address in the range
b: 0-f refers to a bit of a recipe word in
the specified recipe block.
Word Address Range $Rm:n Each word address in the range
refers to a recipe word
Legend: m = Recipe Block ID, n = The Number of Recipe Word, b = Bit Number
Continued
The Data Item page contains two parts. The left side of the data item list shows the address and name of each data item .
The right side shows the properties of the selected data item. To select a data item, click the row of the data item in the
data item list. The following table describes each property of the data item.
Property Description
Address The address of the latest value of the data item.
Name Specifies the name of the data item for the language specified in the Language field.
Language Select a language so you can view and edit the name of the data item for that language.
Data Type The data type of the data item. The supported data types include: 16-Bit Unsigned Integer,
32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer, 16-Bit BCD, 32-Bit
BCD, 32-Bit Floating Point, ASCII String, and Unicode String.
Continued
Total Digits Specifies the number of digits to be displayed for the value of the data item.
Fractional Digits Specifies how to display the fractional part for the value of the data item. When the Display
Type is 32-bit Floating Point, this property specifies the number of fractional digits to be
displayed. When the Display Type is not 32-bit Floating Point, this property specifies not only
the number of fractional digits to be displayed, but also the number of least significant digits to
be displayed as the fractional part. With this feature, an integer can be shown as a fixed point
number.
Example:
Display Type Total Fractional Sampled Displayed
Digits Digits Value Value
32-bit Floating Point 4 2 12.34 12.34
32-bit Floating Point 4 2 123.4 23.40
16-bit Signed Decimal 5 2 12345 123.45
16-bit Signed Decimal 5 2 -5 -0.05
Scaling Check this option if you want the value of the data item to be displayed in a scaled manner.
The following is the scaling formula:
DisplayedValue = SampledValue * Gain + Offset
Note: The Gain and Offset are 32-bit floating point numbers. They have, at most, 6 significant
digits. Rounding and truncation errors may happen.
Gain Available when the Scaling option is checked. Specifies the Gain used in the scaling formula.
Offset Available when the Scaling option is checked. Specifies the Offset used in the scaling
formula.
Range Check Check this option if you want the data item to verify the entered value according to the
specified minimum and maximum. If the entered value is not within the allowable range, the
entered value will not be output.
Min Specifies the minimum value.
Max Specifies the maximum value.
Type Description
List The recipe selector is a list box. It displays a list of index
strings of the recipes in the specified recipe block. The
index string’s format is recipe name (recipe number). One
recipe index string is displayed per line.
When the button is touched, the recipe selector displays a list box beneath itself as shown.
The list box lists the index strings of all the recipes of the recipe block, one index string per line. The
index string of the current recipe is highlighted. If the desired recipe is not in view, you can use the
scroll bar attached to the right side of the list to scroll the index string. When you select a desired
recipe by touching its index string, the recipe selector writes the recipe number of the selected recipe
to the current recipe number register and closes the list box.
If you want to cancel the operation when the list box is showing, touch anywhere other than an index
string in the list box.
Options Description
Visibility Control You can show or hide a recipe selector by a specified bit or the current user level. Select and
set up this option in the Visibility page.
10.6.3. Settings
You can complete all the settings of a recipe selector in the Recipe Selector property sheet. This sheet contains the
following three pages.
■ General
Described in Section 10.6.4.
■ Advanced
Described in Section 4.4.5.
■ Visibility
Described in Section 4.4.6.
Recipe Block Select the recipe block whose recipe is to be selected by the Recipe Selector
object.
Recipe Name Select a data item from the list as the recipe name. You can select any data items
with ASCII String data type as the name of the recipe from the drop down list.
Sort by Recipe Name Check this option to automatically sort all recipe names added to the list box.
Font The font of the displayed string.
Text Color The color of the displayed string.
Type Description
Horizontal Displays the recipes in rows and recipe data items in columns.
View
The above is an example of the recipe table with horizontal view. The first row displays the data item
name of each column. The other rows display one recipe per row. The first column displays the recipe
number. You can create scroll button groups or scroll bars to scroll the contents.
Vertical Displays the recipes in columns and recipe data items in rows.
View
The above is an example of the recipe table with vertical view. The first column displays the data item
name of each row. The other columns display one recipe per column. The first row displays the recipe
number. You can create scroll button groups or scroll bars to scroll the contents.
Current Displays the recipe data items of the current recipe in rows.
Recipe
The above is an example of the current recipe. The first column displays the data item name of each row.
The other column displays the current recipe. You can create scroll button groups or scroll bars to scroll
the contents.
Options Description
Visibility Control You can show or hide a recipe table by a specified bit or the current user level. Select and set
up this option in the Visibility page.
10.7.3. Settings
You can complete all the settings of a recipe table in the Recipe Table property sheet. This sheet contains the following
three pages.
■ General
Described in Section 10.7.4.
■ Data Item
Described in Section 10.7.5.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created and is
unchangeable. The identifier is unique within the screen where the object is
located. The format of the IDs for the recipe tables is RTnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, Section 4.3.4 Setting up the Shape of
an Object. , Border Color, BG Color
Type Select one of the following types for the recipe table:
Type Description
Horizontal View Displays the recipes in rows and recipe data items in
columns.
Vertical View Displays the recipes in columns and recipe data items
in rows.
Current Recipe Displays the recipe data items of the current recipe in
rows.
Allows operator input Check this option if you allow the operator to update the value of the recipe data
item.
Recipe Block Select the recipe whose collected data is to be displayed by the object.
Title Language Select a language so you can view and edit the settings of the title row for that
language.
Font Select a font for the title text.
Color Select a color for the title text.
Background Color Select a color for the background of the title row.
Recipe Number Specifies the title for the recipe number column.
Grid Vertical Check this option if you want the object to have vertical grids.
Horizontal Check this option if you want the object to have horizontal grids.
Color Select a color for the grids.
Data Font Select a font for displaying data.
Default Color Select a color as the default color for displaying data.
Set Default Color to Click this button to set the colors of all the data items to the Default Color.
All Data Items
Recipe Color Select a color for the recipe number.
Number
Line Spacing Specifies the extra space in pixels for two adjacent rows in the table.
Item Spacing Specifies the extra space for every column in the table.
The following table describes each property in the Data Item page.
Property Description
Language Select a language so you can view and edit the settings for that language.
Row #n Name The name of data item #n. The data item names are defined in the Data Item page of the
of the Data Logger dialog box.
property Display Check this option if you want the object to display data item #n.
table
Color Select a color for displaying data item #n.
Alignment The alignment for displaying data item #n. There are three types of alignments: Left, Center,
and Right.
Justification The justification for displaying data item #n. There are three types of justifications:
Option Description
Zero Suppress The leading digits will not display when they are 0.
Leading Zeros All digits will display.
Leading Spaces The leading digits will display as blank characters when they are 0.
Move Up Click the button to move the selected data item before the previous data item. The Move Up
button will help you to reorder the display sequence of the data items It will not be available
when multiple rows are selected or no row is selected.
Move Down Click the button to move the selected data item after the next data item. The Move Down
button will help you to reorder the display sequence of the data items. It will not be available
when multiple rows are selected or no row is selected.
10.1. Recipes
■ Recipe Block
A recipe block is a memory block that stores recipe data as a two dimensional array in the panel. The memory size of each
recipe block is the product of the size of a recipe by the number of recipes in word. You can create up to 16 recipe blocks
for your application. Each recipe block can contain at most 65535 recipes. Each recipe can have as many as 4096 words
of data.
■ Recipe
A recipe is a group of data items. You can use a recipe number or a recipe name to index a recipe in the corresponding
recipe block.
The recipe number is a unique number between 0 and the total number of recipes. The current recipe number of the recipe
block m is saved in the current recipe number register $RNm (m: The recipe block ID).
The recipe name can be represented by ASCII or Unicode String. To specify ASCII or Unicode String as the recipe name,
you need to open the dialog box of a recipe block and set the data type of the related data item into ASCII or Unicode
String in the data item page. For details about recipe data item settings, please see Section 10.5.2.
The following is a sample of a recipe block with 3 recipes and each recipe has 8 data items.
A recipe
A data Item
■ Recipe Data
There are two types of recipe data: TXT Data and PRD Data. These recipes can be transferred directly between the PC
and HMI or between the HMI and USB Memory Stick/Micro SD card.
Recipe Data Description
TXT Data z Can be created and edited in Microsoft Excel or text editor software (e.g., Notepad)
PRD Data z Binary Data created in the software
z Can be edited in RecipeEditor
The following illustration gives an overview of recipe data flow and recipe memory allocation.
Recipe Data flow Memory allocation
Recipe Block 0
Recipe 2
Recipe Block 9
Recipe 1Addr. Data Item
Recipe 1
Addr. R0:8
Data Item A
Recipe 0 R0:9 B Addr. Data Item
R0:4 A
Addr. Data Item R0:10 R9:3 E
C
PC R0:0
R0:5
A
B
R0:11 D R9:4 F
R0:1
R0:6
B
C Recipe 0G
R9:5
R0:7 D Addr. Data Item
R0:2 C
R9:0 E
R0:3 D
R9:1 F
R9:2 G
By FB ( ) or Recipe Block 0
Recipe 2
Macro ( ) Recipe Block 9
Recipe 1Addr. Data Item
Addr. R0:8
Data Item A
Recipe 1
Recipe 0 R0:9 B Addr. Data Item
Flash R0:4 A
Addr. Data Item R0:10 R9:3 E
C
ROM R0:0
R0:5
A
B
R0:11 D R9:4 F
R0:1
R0:6
B
C Recipe 0G
R9:5
R0:7 D Addr. Data Item
R0:2 C
HMI R9:0 E
R0:3 D
R9:1 F
R9:2 G
By FB ( ) Current Recipe
(Function Button) By FB ( ) or
CB and SW ( ) Recipe Block 9
Set recipe block
Recipe 1 number to 9
Addr. Data Item
CR9:0 E
CR9:1 F $RN9
CR9:2
G
MicroSD Card
■ Transfer recipes
Described in Section 10.4
To run the DTH, choose Start > Programs > “The software” > Data Transfer Helper (DTH).
To change the current recipe number, the PLC first sets the Parameter Two Register to the desired recipe block and the
Parameter One Register to the desired recipe number, then turns on the Set Current Recipe Number (#2) command flag.
Also, $RNm (Current Recipe Number Register, m: Recipe Block ID) of the panel can be changed by the PLC.
To update a recipe in the panel, the PLC first sets the Parameter Two Register to the desired recipe block and the
Parameter One Register to the desired recipe number, then turns on the Read Recipe From PLC (#3) command flag. The
panel reads data in the Recipe Block to update the specified recipe in the panel.
To receive a recipe, the PLC first sets the Parameter Two Register to the desired recipe block and the Parameter One
Register to the desired recipe number, then turns on the Write Recipe To PLC (#4) command flag. The panel sends the
specified recipe data to the Recipe Block in the PLC.
Note: You do not need to specify the recipe block if the application has only one recipe block.
Note: To make the above operation work, the specified recipe block must exist, or else the panel ignores the request.
The specified recipe number in the Parameter One Register must be between 0 and the maximum recipe number - 1.If
the Parameter One Register is greater than or equal to the maximum recipe number, the panel ignores the request.
The Recipe Block dialog box contains the following two pages:
■ General
Described in Section 10.5.1.
■ Data Item
Described in Section 10.5.2.
Property Description
Name The recipe block's name. The maximum length of the name is 48 characters.
ID The recipe block's ID number. Select a number between 0 and 15. The number is
unique among all recipe blocks of the panel application.
Recipe Size Specifies the data size that each recipe contains. The unit is word.
Number of Recipes Specifies the maximum number of recipes that the recipe memory can hold.
Memory Required The size of the recipe memory. The unit is word. The formula to calculate the size is:
Memory Required = Recipe Size * Number of Recipes
Write Recipe To PLC Check the option if you want to write the recipe to PLC
Write Address Available when Write Recipe To PLC is checked. Specifies the variable that is the
starting address of the Recipe Block in your PLC.
Click to enter an address for this field. Click to select a tag for this field.
The size of the recipes to be written is specified in the Read/Write Size field.
Notification Check this option if you want the recipe to set the bit specified in the Bit Field to On
when it finishes writing a recipe to PLC.
Bit Available when the Notification field is checked. Specifies the bit for the operation
done notification. Click to enter an address for this field. Click to select a tag
for this field.
Read Recipe From PLC Check this option if you want to read recipes from PLC.
Read Address Identical To Specifies that the Read Address is identical to the Write Address. With this item
Write Address checked, you don’t need to specify the Read Address again. This item is available
when the option Read Recipe From PLC is checked.
Read Address Available when Read Recipe From PLC is checked. Specifies the variable
representing the starting address of the recipe block on your PLC.
Click to enter an address for this field. Click to select a tag for this field. The
size of the recipes to be read is specified in the Read/Write Size field.
Notification Check the option if you want the recipe to set the bit specified in the Bit Field to On
when it finishes reading a recipe from PLC.
Bit Available when the Notification field is checked. Specifies the bit for the operation
done notification. Click to enter an address for this field. Click to select a tag
for this field.
Read/Write Size The size of the recipe for reading and writing.
Reverse the order of the high Check this option if the Write Address or the Read Address belongs to a controller that
word and low word of 32-bit stores data in big-endian byte order and if there are 32-bit data items, such as 32-bit
data signed integers and 32-bit floating point numbers, defined in the recipe block.
Recipe Memory Set the overall recipe block’s address range in the internal memory of the panel.
Range Type Address Format Description
Bit Address Range $Rm:n.b Each bit address in the range
b: 0-f refers to a bit of a recipe word in
the specified recipe block.
Word Address Range $Rm:n Each word address in the range
refers to a recipe word
Legend: m = Recipe Block ID, n = The Number of Recipe Word, b = Bit Number
Continued
The Data Item page contains two parts. The left side of the data item list shows the address and name of each data item .
The right side shows the properties of the selected data item. To select a data item, click the row of the data item in the
data item list. The following table describes each property of the data item.
Property Description
Address The address of the latest value of the data item.
Name Specifies the name of the data item for the language specified in the Language field.
Language Select a language so you can view and edit the name of the data item for that language.
Data Type The data type of the data item. The supported data types include: 16-Bit Unsigned Integer,
32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer, 16-Bit BCD, 32-Bit
BCD, 32-Bit Floating Point, ASCII String, and Unicode String.
Continued
Total Digits Specifies the number of digits to be displayed for the value of the data item.
Fractional Digits Specifies how to display the fractional part for the value of the data item. When the Display
Type is 32-bit Floating Point, this property specifies the number of fractional digits to be
displayed. When the Display Type is not 32-bit Floating Point, this property specifies not only
the number of fractional digits to be displayed, but also the number of least significant digits to
be displayed as the fractional part. With this feature, an integer can be shown as a fixed point
number.
Example:
Display Type Total Fractional Sampled Displayed
Digits Digits Value Value
32-bit Floating Point 4 2 12.34 12.34
32-bit Floating Point 4 2 123.4 23.40
16-bit Signed Decimal 5 2 12345 123.45
16-bit Signed Decimal 5 2 -5 -0.05
Scaling Check this option if you want the value of the data item to be displayed in a scaled manner.
The following is the scaling formula:
DisplayedValue = SampledValue * Gain + Offset
Note: The Gain and Offset are 32-bit floating point numbers. They have, at most, 6 significant
digits. Rounding and truncation errors may happen.
Gain Available when the Scaling option is checked. Specifies the Gain used in the scaling formula.
Offset Available when the Scaling option is checked. Specifies the Offset used in the scaling
formula.
Range Check Check this option if you want the data item to verify the entered value according to the
specified minimum and maximum. If the entered value is not within the allowable range, the
entered value will not be output.
Min Specifies the minimum value.
Max Specifies the maximum value.
Type Description
List The recipe selector is a list box. It displays a list of index
strings of the recipes in the specified recipe block. The
index string’s format is recipe name (recipe number). One
recipe index string is displayed per line.
When the button is touched, the recipe selector displays a list box beneath itself as shown.
The list box lists the index strings of all the recipes of the recipe block, one index string per line. The
index string of the current recipe is highlighted. If the desired recipe is not in view, you can use the
scroll bar attached to the right side of the list to scroll the index string. When you select a desired
recipe by touching its index string, the recipe selector writes the recipe number of the selected recipe
to the current recipe number register and closes the list box.
If you want to cancel the operation when the list box is showing, touch anywhere other than an index
string in the list box.
Options Description
Visibility Control You can show or hide a recipe selector by a specified bit or the current user level. Select and
set up this option in the Visibility page.
10.6.3. Settings
You can complete all the settings of a recipe selector in the Recipe Selector property sheet. This sheet contains the
following three pages.
■ General
Described in Section 10.6.4.
■ Advanced
Described in Section 4.4.5.
■ Visibility
Described in Section 4.4.6.
Recipe Block Select the recipe block whose recipe is to be selected by the Recipe Selector
object.
Recipe Name Select a data item from the list as the recipe name. You can select any data items
with ASCII String data type as the name of the recipe from the drop down list.
Sort by Recipe Name Check this option to automatically sort all recipe names added to the list box.
Font The font of the displayed string.
Text Color The color of the displayed string.
Type Description
Horizontal Displays the recipes in rows and recipe data items in columns.
View
The above is an example of the recipe table with horizontal view. The first row displays the data item
name of each column. The other rows display one recipe per row. The first column displays the recipe
number. You can create scroll button groups or scroll bars to scroll the contents.
Vertical Displays the recipes in columns and recipe data items in rows.
View
The above is an example of the recipe table with vertical view. The first column displays the data item
name of each row. The other columns display one recipe per column. The first row displays the recipe
number. You can create scroll button groups or scroll bars to scroll the contents.
Current Displays the recipe data items of the current recipe in rows.
Recipe
The above is an example of the current recipe. The first column displays the data item name of each row.
The other column displays the current recipe. You can create scroll button groups or scroll bars to scroll
the contents.
Options Description
Visibility Control You can show or hide a recipe table by a specified bit or the current user level. Select and set
up this option in the Visibility page.
10.7.3. Settings
You can complete all the settings of a recipe table in the Recipe Table property sheet. This sheet contains the following
three pages.
■ General
Described in Section 10.7.4.
■ Data Item
Described in Section 10.7.5.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created and is
unchangeable. The identifier is unique within the screen where the object is
located. The format of the IDs for the recipe tables is RTnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, Section 4.3.4 Setting up the Shape of
an Object. , Border Color, BG Color
Type Select one of the following types for the recipe table:
Type Description
Horizontal View Displays the recipes in rows and recipe data items in
columns.
Vertical View Displays the recipes in columns and recipe data items
in rows.
Current Recipe Displays the recipe data items of the current recipe in
rows.
Allows operator input Check this option if you allow the operator to update the value of the recipe data
item.
Recipe Block Select the recipe whose collected data is to be displayed by the object.
Title Language Select a language so you can view and edit the settings of the title row for that
language.
Font Select a font for the title text.
Color Select a color for the title text.
Background Color Select a color for the background of the title row.
Recipe Number Specifies the title for the recipe number column.
Grid Vertical Check this option if you want the object to have vertical grids.
Horizontal Check this option if you want the object to have horizontal grids.
Color Select a color for the grids.
Data Font Select a font for displaying data.
Default Color Select a color as the default color for displaying data.
Set Default Color to Click this button to set the colors of all the data items to the Default Color.
All Data Items
Recipe Color Select a color for the recipe number.
Number
Line Spacing Specifies the extra space in pixels for two adjacent rows in the table.
Item Spacing Specifies the extra space for every column in the table.
The following table describes each property in the Data Item page.
Property Description
Language Select a language so you can view and edit the settings for that language.
Row #n Name The name of data item #n. The data item names are defined in the Data Item page of the
of the Data Logger dialog box.
property Display Check this option if you want the object to display data item #n.
table
Color Select a color for displaying data item #n.
Alignment The alignment for displaying data item #n. There are three types of alignments: Left, Center,
and Right.
Justification The justification for displaying data item #n. There are three types of justifications:
Option Description
Zero Suppress The leading digits will not display when they are 0.
Leading Zeros All digits will display.
Leading Spaces The leading digits will display as blank characters when they are 0.
Move Up Click the button to move the selected data item before the previous data item. The Move Up
button will help you to reorder the display sequence of the data items It will not be available
when multiple rows are selected or no row is selected.
Move Down Click the button to move the selected data item after the next data item. The Move Down
button will help you to reorder the display sequence of the data items. It will not be available
when multiple rows are selected or no row is selected.
ALARMS AND
ALARM DISPLAYS
You can use the command flag setting in the command block or function button to request the panel to clear the alarm
history or clear the alarm count.
To know how to set up the command flag in the command block, please see Section 3.5.1 Command Block and Status
Words. To know how to define a function button, please see Section 5.4.1 Basic Operations on function buttons.
You can set up the alarm processing with the Alarm Properties dialog box. In this dialog, you can determine the required
memory for the alarm logging buffer, choose the default color and font for the alarm message, specify how to save the
alarm history records to a text file and configure the global alarm marquee if you want to display it on the screen. To open
the dialog box for alarm processing, please double click the node named Alarms in the Project Manager tool window. The
following is an example of the Alarm Properties dialog box.
The table below describes each property in the Alarm Properties dialog.
Property Description
Alarm Logging Size The maximum number of records that the alarm logging buffer can hold. For
Buffer example: 100 means that when the 101st alarm occurs, the 1st record will be
overwritten.
Required The size of the alarm logging buffer. The unit is byte. The formula to calculate the
non-volatile size is: Alarm Logging Buffer Size = Number of Records * 16 + Maximal Number of
memory Data Values for Each Record * 4 + 16.
Continued
Alarm Marquee
Properties Click the button to bring up the Alarm Display dialog box to set up the properties of
the global alarm marquee. Please see Section 11.6.4 for details.
To export a discrete alarm block, right-click the node of the desired discrete alarm block and then select Export Alarm
Block…. in the Project Manager window.
To export an analog alarm block, right-click the node of the desired analog alarm block and then select Export Alarm
Block…. in the Project Manager window.
You can record maximum 8 data values and display them in the alarm message. The data value will be appended to the
alarm message with the following format:
For example, the recorded value #2 will display the 32-bit floating point number stored in W10 with the format of 4 total
digits and 1 fractional digit.
If the value of W10 is 123.456 when the alarm occurs, the following text will be appended to its alarm message:
(Temperature: 123.4)
To specify values, use the Specify To-be-recorded Data dialog. The following is an example of the dialog:
The Specify To-be-recorded Data dialog contains two parts. The left side lists the address and name of each value. The
right side shows the properties of the selected value. To select a value, click the row of the value in the list. The following
table describes each property of the value.
Property Description
Name Specifies the name of the data item for the language specified in the Language field.
Language Select a language so you can view and edit the name of the value for that language.
Address The read address of the value. The address can be any valid word address.
Data Type The data type of the value. The supported data types include: 16-Bit Unsigned Integer,
32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer, 16-Bit BCD, 32-Bit
BCD, 32-Bit Floating Point.
Continued
Scaling Check this option if you want the value of the data item to be displayed in a scaled manner.
The following is the scaling formula:
DisplayedValue = SampledValue * Gain + Offset
Note: The Gain and Offset are 32-bit floating point numbers. They have, at most, 6 significant
digits. Rounding and truncation errors may happen.
Gain Available when the Scaling option is checked. Specifies the Gain used in the scaling formula.
Offset Available when the Scaling option is checked. Specifies the Offset used in the scaling
formula.
11.4.1. Settings
Use the dialog box to define all the settings for a discrete alarm block. The following is an example of the discrete alarm
block dialog.
Property Description
Block Name The discrete alarm block's name. The maximum length of the name is 20 characters.
Block ID The discrete alarm block’s ID number. Select a number between 0 and 15. The number
is unique among all discrete alarm blocks of the panel application.
Type Specifies the memory type used to allocate the discrete alarm block. There are four
types:
Type Description
Bits Select Bits to create a discrete alarm block starting
from the bit device M with N continuous bits
Bits of Word Select Bits of Word Device to create a discrete
Device alarm block starting from the bit 0 of the word device
M with N continuous bits of the word device.
Word Value Select Word Value to create a discrete alarm block
at word device M. An alarm will occur if the value of
M is between 0 and N.
Random Bits Select Random Bits to create a discrete alarm block
with N specified random bits.
Legend: M: An address specified in Read Address field. N: A size specified in Block
Size/Maximum field.
Read Address Specifies the starting address of an alarm block to monitor the status of alarms.
Click to enter an address for this field. Click to select a tag for this field.
Block Size / Maximum Specifies the block size of an alarm block. The unit is bit. The maximum block size or
maximum value you can specify depends on the type selected. The following table lists
the limitation of each type:
Type Maximum block size/value
Bits 256
Bits of Word Device 256
Word Value 0-511
Random Bits 64
Read Interval Specifies a period between 1 to 3600 seconds that the panel reads the Alarm Block
and checks the state of every bit in the block. The shorter the Read Interval is, the
faster the alarm display object will be refreshed, but the refresh rate of other objects will
be slower.
Record <Check Box> Check this option if you want to record the specified data values and display them in
specified the alarm message.
data Number of The number of data values you want to record. The maximum is 8.
values data values
Specify… Click the button to specify the recorded data values. For details, please see Section
11.3.4 Specifying To-be-recorded Data.
Column Description
No. The number of the discrete alarm in the alarm block.
Address/Bit No./Value If the type is Bits or Random Bits, the column shows the address of the discrete alarm.
If the type is Bits of Word Device, the column shows the bit no of the discrete alarm. If
the type is Word Value, the column shows the value of the discrete alarm.
Use Check this option if you want to use discrete alarm #n.
Message Displays a specified alarm message in the selected language.
You need to make a selection before editing the discrete alarm. To select a discrete alarm, click the row of that alarm in the
list. To select multiple rows, click the row on its header column and use Ctrl + Click to add a row to the selection.
If multiple rows are selected, any modification on the common properties such as Level, Record alarm, Sound Buzzer,
Display message, Display screen, Required Acknowledgement, Record ACK, Notification, Tip Screen…will apply to all
selected discrete alarms
The following table describes each property of the selected discrete alarm.
Property Description
Address/Bit No./Value Indicates the status of its corresponding alarm. The meaning of the field depends on the
selected type.
11.5.1. Settings
Use the dialog box to define all the settings for an analog alarm block. The following is an example of the analog alarm
block dialog box.
Property Description
Block Name The analog alarm block's name. The maximum length of the name is 20 characters.
Block ID The analog alarm block’s ID number. Select a number between 64 and 79. The
number is unique among all analog alarm blocks of the panel application.
Type Specifies the type of the analog alarm block. There are two types:
Type Description
Continuous Select Continuous Words to create an analog alarm block
Words starting from the word device M with N continuous words
Random Words Select Random Words to create an analog alarm block with
N specified random words.
Legend: M: An address specified in Read Address field. N: A size specified in Block
Size.
Read Address Specifies the starting address of an alarm block to monitor the status of alarms.
Click to enter an address for this field. Click to select a tag for this field.
Block Size Specifies the block size of an alarm block. The unit is word. The maximum block size
you can specify depends on the type you select.
Type Maximum block size
Continuous Words 16
Random Words 64
Read Interval Specifies a period between 1 to 3600 seconds that the panel reads the Alarm Block
and checks the state of every bit in the block. The shorter the Read Interval is, the
faster the alarm display object will be refreshed, but the refresh rate of other objects
will be slower.
Record <Check Box> Check this option if you want to record the specified data values and display them in
specified the alarm message.
data Number of data The number of data values you want to record. The maximum is 8.
values values
Specify… Click the button to specify the recorded data values. For details, please see Section
11.3.4 Specifying To-be-recorded Data.
To specify all analog alarms, you need to set the analog alarm list and the analog alarm properties field. The analog alarm
list is located at the bottom-left of the dialog, and shows all the analog alarms in the alarm block. The analog alarm
properties field is located to the right of the list, and shows all the properties of the selected analog alarm.
The following table describes each column of the analog alarm list.
Column Description
No. The number of the analog alarm in the alarm block.
Address Shows the address of the analog alarm.
Use Check this option if you want to use analog alarm #n.
Message Displays a specified alarm message in the selected language.
You need to make a selection before editing the analog alarm. To select an analog alarm, click the row of that alarm in the
list. To select multiple rows, click the row on its header column and use Ctrl + Click to add a row to the selection.
If multiple rows are selected, any modification to the common properties such as Level, Record alarm, Sound Buzzer,
Display message, Display screen, Required Acknowledgement, Record ACK, Notification, Tip Screen…will apply to all
selected analog alarms
Property Description
Alarm Type There are four types of analog alarms:
Type Description
Low Low An alarm will occur if the value of the destination variable is lower
than or equal to the Low Low Limit.
Low An alarm will occur if the value of the destination variable is equal
to the Low Limit or between the Low Limit and the Low Low Limit.
High An alarm will occur if the value of the destination variable is equal
to the High Limit or between the High Limit and the High High
Limit.
High High An alarm will occur if the value of the destination variable is higher
than or equal to the High High Limit.
Data Type The data type of the destination variable. The supported data types include: 16-Bit
Unsigned Integer, 32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed
Integer, 16-Bit BCD, 32-Bit BCD, 32-Bit Floating Point.
Address Indicates the status of its corresponding alarm.
Type Description
Continuous Words Shows the address of the selected analog alarm.
Random Words Specifies the word variable of the selected analog alarm.
Click to enter an address. Click to select a tag.
Limit Set a limit for the alarm. The value range of the limit depends on the specified data
type.
Hysteresis Set a range for the limit values for an alarm to turn OFF after it has been turned ON.
If the alarm type is Low Low or Low, the range is between the Limit and Limit + Limit *
Hysteresis/100. If the alarm type is High High or High, the range is between the Limit
and Limit - Limit * Hysteresis/100.
Level Select a level for the alarm between 1 and 8.
ID Specifies the alarm ID. The maximum length of the ID is 6 characters.
Message Language Select an existing language that you are setting the message for.
Import All… Click the button to import the texts of *.csv files and saves the texts as the alarm
messages for the current language.
Export All… Click the button to export all the messages for the selected language to a *.csv file.
Text Specifies the text for the current language. The text will be shown when the alarm is
active.
Show Check the specified value you want to record and display in the alarm message. Note
Recorded that only the selected value will be recorded.
Value
Record alarm Check this option if you want to record the alarm in the alarm display object.
Sound Buzzer Check this option if you want the panel to play a sound buzzer when the alarm is
activated or cleared.
Display alarm message Check this option if you want the panel to display a message automatically when the
alarm is activated or cleared. This field can be checked only when Display screen is
unchecked.
Continued
Type Description
Alarm You can display a list of alarm records by using an alarm history display.
History
The above is an example of the alarm history display. The first row is the title row. It displays the title of
each column. The other rows display one alarm record per row. You can create scroll button groups or
scroll bars to scroll the contents. An alarm history display can have seven columns. The following table
describes the content of each column of an alarm record.
Column Description
Date The date when the record is created. This column is optional.
Time The time when the record is created. This column is optional.
Alarm Block ID The ID of the alarm block in which the associated alarm is defined. This column is
optional.
Alarm Level The level of the associated alarm. This column is optional.
Alarm ID The ID of the associated alarm. This column is optional.
Alarm Status The type of the alarm record. There are three types of alarm records.
Type Description
Active An Active record is created when an alarm is activated.
ACK An ACK record is created when an alarm is acknowledged.
CLR A CLR record is created when an alarm is cleared.
The text color of a row is determined by the type of the alarm record.
Continued
The above is an example of an alarm count display. The first row is the title row. It displays the title of
each column. The other rows display one alarm per row. You can create scroll button groups or scroll
bars to scroll the contents. An alarm count display can have five columns. The following table describes
the content of each column of an alarm.
Column Description
Alarm Block ID The ID of the alarm block in which the alarm is defined. This column is optional.
Alarm Level The level of the alarm. This column is optional.
Alarm ID The ID of the alarm. This column is optional.
Alarm Count The number of occurrences of the alarm.
Alarm The message of the alarm. This column is optional.
Message
The above is an example of an active alarm display. The first row is the title row. It displays the title of
each column. The other rows display one active alarm per row. You can create scroll button groups or
scroll bars to scroll the contents. An active alarm display can have six columns. The following table
describes the content of each column for an active alarm.
Column Description
Date The date when the alarm is activated.
Time The time when the alarm is activated.
Alarm Block ID The ID of the alarm block in which the alarm is defined. This column is optional.
Alarm Level The level of the alarm. This column is optional.
Alarm ID The ID of the alarm. This column is optional.
Alarm The message of the alarm. This column is optional.
Message
The above is an example of an alarm marquee. You can place the following texts in front of the alarm
messages.
Text Description
Alarm Block ID The ID of the alarm block in which the alarm is defined.
Alarm Level The level of the alarm.
Alarm ID The ID of the alarm.
The text color for an alarm is determined by the level of that alarm.
Note: You can sort the list of an alarm display at runtime by touching the title of the column that you want to be the sort
field. Touching the same title again changes the sort order from ascending to descending, or vice versa. The columns that
can be a sort field include: Date, Time, Alarm Block ID, Alarm Level, Alarm ID, Alarm Status, and Alarm Count.
11.6.3. Settings
You can complete all the settings of an alarm display in the Alarm Display dialog box. This dialog box contains the
following two pages.
■ General
Described in Section 11.6.4.
■ Query
Described in Section 11.6.5.
■ Visibility
Described in Section 4.4.6.
The following table describes each property in the General page of the Alarm Display dialog box.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within the
screen where the object is located and is unchangeable. The format of the IDs for the alarm displays
is ADnnnn.
Note You can type a note for the object.
Shape For details about the following properties, see Section 4.3.4 Setting up the Shape of an Object..
settings
, Border Color, BG Color
Continued
The following table describes each property in the Query page of the Alarm Display dialog box.
Property Description
Support Dynamic When this option is selected, the object can display the alarm records to answer the query
Query specified in the Query Parameter Block.
Query Trigger Bit Specifies the bit that will trigger the query operation at runtime. The HMI reads the Query
Parameter Block and refreshes the object according to the current query whenever the Query
Trigger Bit changes from Off to On. Click to enter the bit address. Click to enter the bit
tag.
Query Parameter Specifies the location that stores the query parameters.
Block
Click to enter an address for this field. Click to select a tag for this field.
The following table shows the data arrangement of the parameter block.
Word Description
0 The query flags.
Bit Description
0 Query the alarm records of the specified alarm number when the bit is on.
The alarm number is specified in word 1 of the Query Parameter Block.
1 Query the alarm records that occurred within the specified duration when
the bit is on. The date range is specified in word 2-7 of the Query Parameter
Block. The time range is specified in word 8-13 of the Query Parameter
Block.
Note: When both query flags are on, the answer will fulfill both query conditions.
1 The alarm number.
2,3,4 The start date of the date range.
Year(word 2): 1~99; Month(word 3): 1~12; Day(word 4): 1~31
5,6,7 The end date of the date range.
Year(word 5): 1~99; Month(word 6): 1~12; Day(word 7): 1~31
8,9,10 The start time of the time range.
Hour(word 8): 0~23; Minute(word 9): 0~59; Second(word 10): 0~59
11,12, The end time of the time range.
13 Hour(word 11): 0~23; Minute(word 12): 0~59; Second(word 13): 0~59
You can use the function button to request the panel to clear logged data, or save/load logged data (.ldf/.txt file).
To know how to define a function button, please see Section 5.4.1 Basic Operations of function buttons.
12.1.1. Settings
You can set up a data logger with the Data Logger dialog box. There are two ways to open the dialog box of a data logger:
1) In the Project Manager window, right-click the node of the desired data logger and select Properties.
2) In the menu bar, click Panel to bring up the Panel sub-menu. Click Data Logger in the Panel sub-menu to bring up the
Data Logger pop-up menu. Select Properties in the pop-up menu to bring up the data logger list of the current panel
application. Select the data logger in the list.
The Data Logger dialog box contains the following two pages:
■ General
Described in Section 12.1.2.
■ Data Item
Described in Section 12.1.3.
Timed The data logger samples data periodically at a rate specified in the Interval field. You
(sub-second) can select an interval between 0.1 and 0.9 seconds for the Interval field. For example,
if you want the data logger to sample data every 0.5 seconds, select 0.5 for the
Interval field.
The sub-second sampling requires high data acquisition performance. As there are
many factors that can affect performance, it is not guaranteed that the specified
sampling rate can be attained.
Load from .LDF The data logger does not sample data. It receives the data loaded from an LDF file.
File
Sample Full Stop Sampling Check the option if you want the data logger to stop sampling data when the logging
Processing buffer is full.
Notify Check the option if you want the data logger to set the bit specified in the Bit field to
On when the number of collected samples exceeds the limit specified in the Full Limit
field.
Bit Available when the Notify field is checked. Specifies the bit for the sample full
notification. Click to enter an address for this field. Click to select a tag for this
field.
Full Limit Available when the Notify field is checked. Select a percentage as the full limit. When
the ratio of collected samples to maximum samples specified in the Number of
Samples field exceeds the percentage, the data logger sets the bit specified in the Bit
field to On.
External Clear Buffer Check this option so the data logger can be controlled to clear its logging buffer with
Control the trigger bit specified in the Trigger Bit field.
Trigger Bit Available when the Clear Buffer option is checked. Select a trigger bit that will control
the data logger to clear its logging buffer. The data logger clears its logging buffer
when the trigger bit changes from Off to On.
Enable Check this option so the data logger can be enabled and disabled by the enabling bit
Sampling specified in the Enabling Bit field.
Enabling Bit Available when the Enable Sampling option is checked. Select an enabling bit that
will enable and disable the data logger. The data logger is enabled when the enabling
bit is On.
Continued
Operation Type Specifies how to open a file to save the logged data.
Operation Type Description
Create Creates a new file with the specified filename to save the
logged data.
Append or If the specified file exists, appends the logged data to that file;
Create otherwise creates a new file with the specified filename to
save the logged data.
Time to Save Specifies the period to save the logged data. There are nine periods available:
Available Period
Every hour on the hour
Every 8 hours (00:00, 08:00, 16:00)
Every 12 hours (00:00, 12:00)
Every day at 00:00
Every day at 08:00
Every day at 12:00
Every Sunday at 00:00
Every Monday at 00:00
Every month's first day at 00:00
Filename The filename or the prefix of the filename of the file to save the logged data. The
extension name must be "txt" when the File Type is ".TXT". The extension name must
be "ldf" when the File Type is ".LDF".
Filename Suffix Available when the Operation Type is Create. This property guarantees that the
created file has a unique name and no existing file will be overwritten. There are four
kinds of filename suffixes available as shown in the following table.
Filename Suffix Description Example
_YYMMDD_hhmmss YY: year (00-99) Log_090423_102358
MM: month (01-12) (Assume that the specified
DD: day (01-31) Filename is "Log", the current
hh: hour (00-23) date is April 23, 2009, and the
current time is 10:23:58.)
mm: minute (00-59)
ss: second (00-59)
_YYMMDD_hhmm See above Log_090423_1023
_YYMMDD_hh See above Log_090423_10
_YYMMDD See above Log_090423
The Data Item page contains two parts. The left part is the data item list that shows the address and name of each data
item in rows. The right part shows the properties of the selected data item. To select a data item, click the row of that data
item in the data item list.
The following table describes each property of the data item.
Property Description
Address You can use the address shown here to refer to the latest sampled value of the data item.
Name Specifies the name of the data item for the language specified in the Language field.
Language Select a language so you can view and edit the name of the data item for that language.
Data Type The data type of the data item. The supported data types include: 16-Bit Unsigned Integer,
32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer, 16-Bit BCD, 32-Bit
BCD, 32-Bit Floating Point, ASCII String, and Unicode String.
Continued
Total Digits Specifies the number of digits to be displayed for the value of the data item.
Fractional Digits Specifies how to display the fractional part of the value of the data item. When the Display
Type is 32-bit Floating Point, this property specifies the number of fractional digits to be
displayed. When the Display Type is not 32-bit Floating Point, this property specifies not only
the number of fractional digits to be displayed, but also the number of least significant digits to
be displayed as the fractional part. With this feature, an integer can be shown as a fixed point
number.
Example:
Display Type Total Fractional Sampled Displayed
Digits Digits Value Value
32-bit Floating Point 4 2 12.34 12.34
32-bit Floating Point 4 2 123.4 23.40
16-bit Signed Decimal 5 2 12345 123.45
16-bit Signed Decimal 5 2 -5 -0.05
Scaling Check this option if you want the value of the data item to be displayed in a scaled manner.
The following is the scaling formula:
DisplayedValue = SampledValue * Gain + Offset
Note: The Gain and Offset are 32-bit floating point numbers. They have at most 6 significant
digits. Rounding and truncation errors may occur.
Gain Available when the Scaling option is checked. Specifies the Gain used in the scaling formula.
Offset Available when the Scaling option is checked. Specifies the Offset used in the scaling
formula.
There are three ways to write the logged data of a data logger to an LDF file:
1) You can use a function button to perform “Copy Logged Data To .LDF File”. The button writes all the logged data of the
specified data logged to an LDF file.
2) You can use the Command Block to request this operation.
3) You can configure a data logger to write its collected data to an LDF file automatically with preset time intervals.
To view the logged data of an LDF file, you need to load the data of that LDF file into a data logger first. A data logger is
able to receive the data from an LDF file only when:
1) The definitions of the data items of the LDF file and the data logger are identical, and
2) The number of samples of the LDF file is not greater than the number of samples of the data logger.
The viewing objects for an LDF file should be configured for the data logger that is able to receive the data from that LDF
file.
You can use a historic data table to list the values of the data collected by a data logger.
The above is an example of the historic data table. The first row is the title row. It displays the title of each column. The
other rows display one data record per row. You can create scroll button groups or scroll bars to scroll the contents. The
titles of data columns are the names of data items defined in the Data Item page of the Data Logger dialog box.
Options Description
Visibility You can show and hide a historic data table by a specified bit or the current user level. Select and set
Control this option in the Visibility page.
12.2.3. Settings
You can set up a historic data table with the Historic Data Table dialog box. There are three ways to open the dialog box of
an object:
1) Double-click the object.
2) Right-click the object to bring up the Object pop-up menu. Select Properties in the pop-up menu.
3) In the Object List window, double-click the row that shows the information of the object.
You can complete all the settings of a historic data table in the Historic Data Table dialog box. This dialog box contains the
following three pages.
■ General
Described in Section 12.2.4.
■ Data Item
Described in Section 12.2.5.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created and is
unchangeable. The identifier is unique within the screen where the object is
located. The format of the IDs for the historic data tables is HDDnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, Section 4.3.4 Setting up the Shape of
an Object. , Border Color, BG Color
Associated Data Logger Select the data logger whose collected data is to be displayed by the object.
Continued
The following table describes each property in the Data Item page.
Property Description
Language Select a language so you can view and edit the settings for that language.
Row #n Name The name of data item #n. The data item names are defined in the Data Item page of the
of the Data Logger dialog box.
property Display Check this option if you want the object to display data item #n.
table
Color Select a color for displaying data item #n.
Alignment The alignment for displaying data item #n. There are three types of alignment: Left, Center,
and Right.
Justification The justification for displaying data item #n. There are three types of justification:
Option Description
Zero Suppress The leading digits will not display when they are 0.
Leading Zeros All digits will display.
Leading Spaces The leading digits will display as blank characters when they are 0.
You can use a Historic Trend Graph to display the values of the data collected by a data logger as a trend graph.
Cursor
A historic trend graph can display up to 16 curves. The above is an example of the historic trend graph with two curves. A
historic trend graph can provide a cursor for you to estimate the value in the desired time
Options Description
Visibility You can show and hide a historic trend graph by a specified bit or the current user level. Select and
Control set this option in the Visibility page.
12.3.3. Settings
You can set up a historic trend graph with the Historic Trend Graph dialog box. There are three ways to open the dialog
box of an object:
1) Double-click the object.
2) Right-click the object to bring up the Object pop-up menu. Select Properties in the pop-up menu.
3) In the Object List window, double-click the row that shows the information of the object.
The Historic Trend Graph dialog box contains the following four pages:
■ General
Described in Section 12.3.4.
■ Curve
Described in Section 12.3.5.
■ Axis
Described in Section 12.3.6.
■ Visibility
Described in Section 4.4.6.
Continued
You can number the predefined events of your application, use a word in the controller or the target panel to store the
number of the current event at runtime, and have a data logger in the target panel to collect the value of that word. This is a
way to record the events of your application. You can use the historic event table to display the event history. Each
message defined for the historic event table is associated with an event by the message/event number.
In the above example, the historic data table and the historic event table display the same historic data in different ways.
Options Description
Visibility Control You can show and hide a historic event table by a specified bit or the current user level. Select and
set this option in the Visibility page.
You can complete all the settings of a historic event table in the Historic Event Table dialog box. This dialog box contains
the following three pages.
■ General
Described in Section 12.4.4.
■ Message
Described in Section 12.4.5.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created and is unchangeable.
The identifier is unique within the screen where the object is located. The format of the IDs
for the historic event tables is HMDnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Object. , Border Color, BG Color
Data Logger Specifies the associated data logger. The object will take a specified word in each of the
data records collected by the data logger as the event number, and display a
corresponding message for that number.
Word Specifies the number of the word in each of the data records that stores the event
number.
Number of messages Specifies the number of event messages.
Continued
Property Description
Language Select a language so you can view and edit the settings for that language.
Font Select a font for displaying the messages.
No. Color Select a color for displaying the message of the associated event.
1-N Message Define the text message for the associated event.
You can use a single record line chart to display the values of the data collected by a data logger as a line chart.
Cursor
Reference line
Connected line
A single record line chart can display up to 255 data points. The above is an example of the single record line chart with 8
data points. A single record line chart can provide a cursor to display the value of the desired point.
Options Description
Visibility You can show and hide a historic trend graph by a specified bit or the current user level. Select and
Control set this option in the Visibility page.
12.5.3. Settings
You can set up a single record line chart with the Single Record Line Chart dialog box. There are three ways to open the
dialog box of an object:
1) Double-click the object.
2) Right-click the object to bring up the Object pop-up menu. Select Properties in the pop-up menu.
3) In the Object List window, double-click the row that displays the information of the object.
The Single Record Line Chart dialog box contains the following four pages:
■ General
Described in Section 12.5.4.
■ Pen
Described in Section 12.5.5.
■ Axis
Described in Section 12.5.6.
■ Visibility
Described in Section 4.3.6.
Property Description
ID The object’s identifier. It is generated when the object is created and is unchangeable.
The identifier is unique within the screen where the object is located. The format of the IDs
for the Single Record Line Charts is HLCnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an
Object. , Border Color, BG Color
Associated Data Logger Specifies the associated data logger.
Data Source Select a data logger or file as the source of the collected data.
File Buffer ID Specify the File Buffer ID if the data source is a file. To specify a file buffer ID for a file, you
can use the Load Logged Data From File operation of the function button. Please see
Section 5.4 Performing Built-in Function Using Function Buttons.for details.
Continued
Property Description
Historic Min. The minimum of the associated data set. This property is available when the Dynamic
Data Pen Range option is not selected.
Max. The maximum of the associated data set. This property is available when the Dynamic
Range option is not selected.
Mark Size Select a size for the data point mark. The selection is valid when the Show Mark option in
the General page is selected.
Line Style Select a style for the connecting lines. The selection is valid when the Show Line option in
the General page is selected.
Color Select a color for the connecting lines.
Show Value Select one of the following methods for displaying the selected data point value.
Show Value Description
(None) Does not display the data point value.
Original Displays the data point value without modification.
Scaled Displays the corresponding Y axis value of the data point.
The selection is valid when the Show Cursor option in the General page is selected.
Reference Min. The minimum of the associated data set. This property is available when the Dynamic
Data Pen Range option is not selected.
Max. The maximum of the associated data set. This property is available when the Dynamic
Range option is not selected.
Mark Size Select a size for the data point mark. The selection is valid when the Show Mark option in
the General page is selected.
Line Style Select a style for the connecting lines. The selection is valid when the Show Line option in
the General page is selected.
Color Select a color for the connecting lines.
Show Value Select one of the following methods for displaying the selected data point value.
Show Value Description
(None) Does not display the data point value.
Original Displays the data point value without modification.
Scaled Displays the corresponding Y axis value of the data point.
The selection is valid when the Show Cursor option in the General page is selected.
Line segment color Check this option to set the line segment color individually in the list window. The list
selectable individually window has three columns. The first column is the line segment number. The second
column is the color setting for the data line. The third column is the color setting for the
reference line.
Property Description
X Show Ticks Check this option if you want the X axis to have ticks.
Axis Show Y-axis Grid Select this option if you want the X axis to have vertical grids.
Axis/Tick Color Select a color for the X axis and its ticks.
Grid Color Select a color for the vertical grids.
Number of Major The number of major divisions for the X axis. The minimum you can specify is one.
Divisions
Number of The number of divisions between two adjacent major ticks. The minimum you can
Sub-divisions specify is one.
Mark Show Marks Check this option if you want the major ticks to have marks.
Font The font of the marks.
Dynamic Range Check this option if you want the minimum and maximum of the marks to be controlled
by the dynamic range parameter block of the associated object at runtime.
Min. The minimum of the marks. It is a 32-bit integer.
Max. The maximum of the marks. It is a 32-bit integer.
Total Digits The total digits to be displayed for the marks.
Fractional Digits The number of fractional digits for the marks. For example, when the Maximum is
5000, the Total Digits is 4, and the Fractional Digits is 2, the mark for the Maximum will
be 50.00.
Y Show Ticks Check this option if you want the Y axis to have ticks.
Axis Show X-axis Grid Select this option if you want the Y axis to have horizontal grids.
Axis/Tick Color Select a color for the X axis and its ticks.
Grid Color Select a color for the horizontal grids.
Number of Major The number of major divisions for the Y axis. The minimum you can specify is one.
Divisions
Number of The number of divisions between two adjacent major ticks. The minimum you can
Sub-divisions specify is one.
Mark Show Marks Check this option if you want the major ticks to have marks.
Font The font of the marks.
Dynamic Range Check this option if you want the minimum and maximum of the marks to be controlled
by the dynamic range parameter block of the associated object at runtime.
Min. The minimum of the marks. You can specify a 32-bit signed integer.
Max. The maximum of the marks. You can specify a 32-bit signed integer.
Total Digits The total digits to be displayed for the marks.
Fractional Digits The number of fractional digits for the marks. For example, when the Maximum is
5000, the Total Digits is 4, and the Fractional Digits is 2, the mark for the Maximum will
be 50.00.
OPERATION LOGGING
The software also lets users clear the operation logging buffer with the function button. To know how to define a function
button to clear the operation history, please see Section 5.4.1 Basic Operations of function buttons.
The table below describes each property in the Operation Logging Properties dialog.
Property Description
Enable <Check Box> Check this option to enable operation logging.
operation Buffer Size The size of the operation logging buffer. The unit is K words. The buffer size can be
logging specified between 1 and 512 K words.
Approximate number The maximum number of operation loggers that the operation logging buffer can
of operations can be hold. The formula to calculate the approximate number is: Number = Buffer Size *
logged 1024 * 2 / 64
Record <Check Box> Check this option to enable operation logging.
when Message Enter the operation message of the first language when the AP starts.
the AP
starts Click the button to bring up the Operation Message dialog box to edit the message
for all the languages. Please see details in Section 13.2.1.
Record <Check Box> Check this option to enable operation logging.
when Message Enter the operation message of the first language when the AP stops.
the AP
stops Click the button to bring up the Operation Message dialog box to edit the message
for all the languages. Please see details in Section 13.2.1.
Save <Check Box> Check this option so new operation loggers will be written to a specified file
Data to periodically. Each time when a save is performed, the panel writes only the
File operation loggers that have not been saved to a file before.
File Name The filename or the prefix of the filename of the file to save the operation loggers as.
The operation loggers are saved in text format and the file extension name must be
“.txt”. You can use any text editor and Microsoft Excel to directly view the operation
loggers. This item is available when the option Save Data to File is checked.
Time to Save Specifies the period to save the operation loggers. This item is available when the
option Save Data to File is checked. There are nine periods available: Every hour on
the hour ; Every 8 hours (00:00, 08:00, 16:00) ; Every 12 hours (00:00, 12:00) Every
day at 00:00; Every day at 08:00; Every day at 12:00; Every Sunday at 00:00; Every
Monday at 00:00; Every month's first day at 00:00.
The above is an example of the operation log display. The first row is the title row. It displays the title of each column. The
other rows display one operation per row. You can create scroll button groups or scroll bars to scroll the contents. An
operation log display can have three columns. The following table describes the content of each column for an operation
log display.
Column Description
Date The date when the record is created. This column is optional.
Time The time when the record is created. This column is optional.
Message The message of the associated operation. This column is optional.
The text color and font of a row are determined by the settings in the General Page.
Options Description
Visibility You can show and hide an operation log display with a specified bit or the current user level. Select
Control and set this option in the Visibility page.
13.3.3. Settings
You can complete all the settings of an operation log display in the Operation Log Display dialog box. This dialog box
contains the following two pages.
■ General
Described in Section 13.3.3.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within the
screen where the object is located and is unchangeable. The format of the IDs for the operation log
display is HODnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an Object..
USING MACROS
Note: Do not use macros to control systems that can cause life-threatening and serious injury.
Note: The real-time OS in the HMI needs to manage multiple tasks at the same time when the application is running. In
order to not affect the whole performance, please keep the macro as short as possible.
Note: Macros execute individually and are unaware of other macros. When sharing common variables between macros,
your application may have possible conflicts. Consider an application where the cycle macro updates the value of an
address which is used by the event macro. If the event macro alters the address value before the cycle macro uses
that address, the result of the cycle macro will be incorrect.
■ Global Macro
A global macro is a macro that can be used by all panel applications in the same project. With global macros, the panel
applications in the same project can share common functions without having to keep and maintain the same set of macros
locally.
You can set up a password in the Project Information & Protection dialog box to protect global macros. If global macros are
under protection, you need to enter a password to remove the protection before using them in your application.
Note that only internal variables can be used in global macros.
■ Local Macro
A local macro is a macro that can only be used by the panel application which the macro is located in.
■ Sub-macro
A sub-macro is a macro that can be run by other macros using the CALL command. When a CALL command is
encountered while running a macro, that macro stops running, and the sub-macro starts to run. The last command of a
sub-macro must be a RET command which terminates the sub-macro and returns control to the calling macro. You can
place RET commands at any location you want. The HMI will resume the execution of the calling macro starting with the
command following the CALL command once the called sub-macro terminates.
By implementing common functions in sub-macros for other macros to use, your macros can be modularized, are sharable,
easy to read, and easy to maintain.
■ Startup Macro, Main Macro, Event Macro, Time Macro for the application
■ Open Macro, Cycle Macro, Close Macro for the screen
■ On Macro, Off Macro, Object Macro for the object
Select the macro that works best for the occasion you want the macro to run, and for the purpose you want the macro to
do.
Run the Macro: Use:
When the application starts Startup Macro
This macro is run only once when the application starts. The HMI will not display the
start-up screen until the macro terminates. You can use Startup Macro to initialize
global data and settings for your application. Specify Startup Macro in Panel General
Setup dialog box.
While the application is Main Macro
running This macro is run all the time while the application is running. The HMI runs Main
Macro cyclically, i.e. it will delay preset time to run Main Macro starting from the first
command again each time after it completes the processing of the last command of
the macro or when it encounters an END command in the middle of the macro.
Specify Main Macro in Panel General Setup dialog box.
Continued
When importing a file as the macro, the file name will be the macro name as the default.
In each panel application, the local macro name has to be unique, but a local macro name can be the same as a global
macro name.
Note: You can only select one macro to delete at a time. If the macro you want to delete is used by an application or object,
you will be asked to confirm the delete operation.
Property Description
Macro Name Select an existing local macro or global macro from the drop-down list. The following is a
sample in the dropdown list
Local Macros
Click anywhere on
the window frame to
drag out the window.
Properties A floating dialog allows you specify the macro command. For details, see Section 14.3.2. The
macro command properties dialog can be moved anywhere and resized to any size you want.
However, it can’t be closed until the dialog is closed.
In the software, all the macros can be written in the macro development environment that is composed of two elements:
the Macro Editor Window and the Macro Command Properties Tool Window.
You will see the following sample of the Macro Development Environment when opening a macro from Project Manager.
Macro Command
Macro Editor Window
Properties Tool Window
■ Editing Macro
With the macro editor, you can cut, copy, and paste selected text using menu commands, key combinations or
drag-and-drop operations. You can also undo and redo selected editing actions.
You can right-click to display a pop-up menu of editing commands. The editing commands available depend on what the
pointer is pointing to.
Comments are notes to be ignored when running the macro commands. Macro supports both single-line comments and
block comments. Single-line comments begin with two forward slashes (//) and run to the end of the line.
The following is an example of a macro command followed by a single-line comment.
IF $U0.0 (B) // Key Down
Block comments begin with an opening delimiter (/*) and run to a closing delimiter (*/). Comments do not nest.
The following is an example of a block comment.
/* $N1001=WH2021
$N1010=$N1001 */
To specify a hexadecimal number, use either the h or H suffix. For example, 12abH and 3ABh are valid hexadecimal
numbers. You can also use either the “0x” or “0X” prefix. For example, 0x1278abc and 0XFFFF0000 are valid hexadecimal
numbers.
To specify a binary number, use either the b or B suffix. For example, 001100111b and 11110000B are valid binary
numbers.
For decimal numbers, in most cases, you just type the numbers as they are to specify the constants. However, ambiguity
exists when a constant is the same as a valid external variable. For example, if a panel application has a link to a Modicon
ModBus slave device, it is impossible to tell whether the number 40001 is a constant or a word address of the controller. To
avoid this kind of ambiguity, use the following methods to explicitly declare that a number is a constant:
1) Use K, k, D, or d suffix for an integer number. For example, -123K and -123d are valid specifications of constant -123.
2) Use either the f or F suffix for a decimal number with decimal point. For example, -12.3F and -12.3f are valid
specifications of constant -12.3.
If you open a macro from Project Manager or Menu Item, the Macro Properties Tool Window will be opened as a docking
window. You can easily configure the dockable tool window to automatically be displayed or hide, or tab link with other tool
windows, or dock against the edges, or float over. When the Macro Editor is opened, you can also choose to open or close
the Macro Command Properties Tool Window by clicking the [Macro Command Properties] menu item under [View] menu.
If you open the macro from an object's configuration dialog box, the Macro Properties Tool Window will float beside the
Macro Editor and can be moved anywhere, but it can't be closed.
The following table describes each property in the macro command properties tool window.
Property Description
Command Click the dropdown list box to bring up the macro command selection dialog. In the dialog,
navigate the keyword of macro commands through tabs and sections by moving the
mouse and then clicking the selection. The format of the selected macro command will be
shown in the dropdown list after the dialog is closed. To cancel the operation, click
anywhere outside the macro command selection dialog.
Data Type Selects the data type of the macro command from the dropdown list. Different macro
commands support different data types. The supported data types for each macro
command are some of the following: (S) 16-bit Signed, (U) 16-bit Unsigned, (SD) 32-bit
Signed, (UD) 32-bit Unsigned, (F) 32-bit Floating Point, (B) Bit.
Parameter <Edit Specifies the bit variable when the Data Type is (B).
Box> Specifies the word variable when the Data Type is (U)/(S).
Specifies the double-word variable when the Data Type is (UD)/(SD)/(F).
Click this icon to bring up the Address Input Keypad and specify the desired address for
the Variable field.
Click this icon to bring up the Select Tag dialog box and select the desired tag for the
Variable field.
Macro Command Help Shows the operation and parameter type of the selected macro command.
Note that any modification in the dialog will change the current macro command in the Macro Editor.
■ Notations
3) U, S, UD, SD, F, B: Used to indicate the types of data a macro command can support.
■ Terminology
Terminology Definition
Internal memory The memory space in the HMI that can be accessed by the panel application. For example,
the user memory $U, the non-volatile memory $N, the system memory $S, and the recipe
memory $R are all parts of the internal memory.
Internal variable An address or a tag referring to an address of a space in the internal memory.
Internal bit variable An internal variable that refers to a bit in the internal memory.
For ease of reading, “internal variable” is used instead of “internal bit variable” when referring
to a bit if there is no ambiguity.
Internal word variable An internal variable that refers to a word in the internal memory.
The variables can also be used to refer to a double-word, a block of bytes (byte array), a block
of words (word array), and a block of double-words (double-word array).
For ease of reading, “internal variable” is used instead of “internal word variable” when
referring to a word or a block of memory space if there is no ambiguity,
External memory The memory space or collection of addressable devices in the controllers that can be
accessed by the panel application through communication links.
Continued
Logical NOT ( = ! )
""
Format P1 = "P2"
Function Copies the quoted ASCII character string P2 to P1. Note that the string is a null terminated string.
If the length of the string is N then N+1 bytes will be copied to P1 and the last byte is 0.
P1 (I) The location to save the result.
P2 (A) The quoted ASCII character string.
Example 1 $U60 = "TEST" /* The null character (00h) will be moved to the low byte of $U62 */
Example 2 $U20 = "ABCDE" /* The null character (00h) will be moved to the high byte of $U22 */
MOV
Subtraction ( - )
Multiplication ( * )
Modulus ( % )
14.4.5. Calculation
MAX
MIN
BMAX
BMIN
XSUM
$U100 =1001B
$U101 =1100B
$U102 =0110B
$U120 = XSUM($U100,3) /* $U120=0011B */
SWAP
BIN
DW
W2B
A2X
W2F
D2F
F2W
F2D
IF !=
IF >
IF >=
IF <
IF &
IF !&
IF <bit>
IF !<bit>
ELIF ==
ELIF !=
ELIF >=
ELIF <
ELIF <=
ELIF &
ELIF !&
ELIF <bit>
ELSE
Format ELSE
Function This command specifies the beginning of the default command block that will be executed if
none of the conditions in the preceding IF and/or ELIF commands is true. This is not an
executable command.
ENDIF
Format ENDIF
Function This command specifies the end of a command block, which begins at the command following
the matching IF, ELIF, or ELSE command. This is not an executable command.
Example IF-Command Structures:
Commands and
Description
Structures
IF <condition> Runs the command block between IF and ENDIF when the
… condition is true, otherwise ignores the command block.
ENDIF
IF <condition> Runs the command block between IF and ELSE when the
… condition is true, otherwise runs the command block between
ELSE ELSE and ENDIF.
…
ENDIF
IF <condition> Runs the command block between IF and the first ELIF and
… ignores all the following commands in the structure when
ELIF <condition_2> condition 1 is true, otherwise examines condition 2. Runs the
… command block between the first ELIF and the second ELIF and
ELIF <condition_3> ignores all the following commands in the structure when
. condition 2 is true, otherwise checks condition 3. Repeats the
. same operation until condition N is processed. If none of the
. conditions are true, no command block in this structure is run.
ELIF <condition_N>
…
ENDIF
IF <condition> Runs the command block between IF and the first ELIF and
… ignores all the following commands in the structure when
ELIF <condition_2> condition 1 is true, otherwise examines condition 2. Runs the
… command block between the first ELIF and the second ELIF and
ELIF <condition_3> ignores all the following commands in the structure when
. condition 2 is true, otherwise checks condition 3. Repeats the
. same operation until condition N is processed. Runs the
ELIF <condition_N> command block between ELSE and ENDIF if none of the
… conditions are true.
ELSE
…
ENDIF
Note that there can be up to 20 nested IF-command structures.
Format JMP P1
Function Unconditionally jumps to the program point specified by label P1.
P1 (CS) The label of the program point.
Example 1 IF $U10 == 0
JMP SKIP /* Skip the command "$U20 = $U10 / 2". */
ENDIF
$U20 = $U10 / 2
SKIP:
$U10 = 1
<label>
Format P1:
Function This is not an executable command. The P1 is the label of the program point where it is
positioned.
P1 (CS) The character string as the label of the program point. Remember to have the character ':' after
the label.
Example 1 IF $U10 == 0
JMP SKIP /* Skip the command "$U20 = $U10 / 2" */
ENDIF
$U20 = $U10 / 2
SKIP:
$U10 = 1
JMP ==
JMP !=
JMP >
JMP <
JMP <=
JMP &
JMP !&
JMP <bit>
CALL
Format CALL P1
Function Goes to sub-macro P1.
P1 (Sub-macro The sub-macro to be called.
name)
Example 1 CALL CommonFunction_01 /* Go to sub-macro named CommonFuncation_01 */
RET
Format RET
Function Returns to the calling macro. This command can only be used in sub-macros.
FOR
NEXT
Format NEXT
Function This command indicates the end of a FOR loop. It is not an executable command.
Example 1 Example:
$U1 = 10
$U2 = 12
FOR $U1
$U100 = $U100 + 1 /* This command will be executed 10 times. */
FOR $U2
$U200 = $U200 + 1 /* This command will be executed 120 times. */
NEXT
NEXT
Format STOP
Function Stops the macro immediately. If the macro is a Cycle macro, it will run again starting from the
first command when the associated window is opened again. If the macro is a Main macro, it will
run again starting from the first command when restarting the application.
END
Format END
Function Indicates the end of macro and stops the macro in the current cycle. It can be put anywhere in a
macro to stop the macro at any point. If the macro is a cyclic macro, such as the Main macro and
the Cycle macro, it is stopped just in the current cycle and will be run again starting from the first
command in the next cycle.
WAIT_T
KPD_TEXT
ROM2RB
REF_RCP_OBJ
LINK_STS
SET_RTC
SYS
CLOSE_WS
Format CLOSE_WS
Function Closes the window screen that was opened by the macro command OPEN_WS.
Note:
<ID>: ID of the data logger, ID of the recipe block, ID of the USB camera, or number of the screen
<Date>: The date when saving the data. <Time>: The time when saving the data.
You can select the formats of <Date> and <Time> on the Custom page in the General Setup dialog box.
P4 (I) The byte array that contains the specified filename or full pathname. The name must be a valid
Windows pathname with ASCII characters only. The character string must be null terminated
and each character occupies one byte. The maximum length of the string is 127. All the folders
stated in the full pathname must already exist or the file operation will fail.
MKDIR
Format P1 = MKDIR(P2 )
Function Creates a new directory with the specified name P2 and saves the result to P1.
P1 (I) The word to receive the completion code of the operation. If the completion code is 0, the
operation succeeded; otherwise the operation failed.
P2 (I) The byte array that contains the name of the new directory. The name must be a valid directory
name with or without pathname and has only ASCII characters in it.
READ_FILE
CLOSE_FILE
DELETE_FILE
RENAME_FILE
P3 (I) The starting location of the memory block that is used as a Volume Information Block to receive
the operation result. The structure of the Volume Information Block is shown below:
Data Item Data Type/Size Word No.
Volume name Byte array with 32 elements 0 through 15
Volume size 32-bit Unsigned Integer 16 and 17
Free size 32-bit Unsigned Integer 18 and 19
Drive ID 16-bit Unsigned Integer 20
The volume name is a null-terminated character string. The maximum allowable size is 31
characters.
Both the unit of volume size and the unit of free size are 1024 bytes.
A Volume Information Block requires 21 words.
Example 1 $U100 = GET_VOL_INFO(0, $U0) /* Get the volume information of the current drive. The
volume name will be stored in $U0 through $U15. The size of the drive will be stored in $U16 and
$U17. The free size of the drive will be stored in $U18 and $U19. The ID of the current drive will
be stored in $U20. */
READ_CSV
P3(I/C) The row number of the field to be read. The row counts from 0.
P4(I/C) The column number of the field to be read. The column counts from 0.
$U10 = "test.csv"
$U100 = OPEN_FILE($U10,5) /* Open the file "test.csv" for the READ CSV FILE operation. */
Example 1
$U200 = READ_CSV($U100,2,3) (F) /* Read the floating point number in the field of row 2 and
column 3 and save the result in $U200 and $U201. */
P3(I/C) The row number of the field to be read. The row counts from 0.
P4(I/C) The column number of the field to be read. The column counts from 0.
$U10 = "test.csv"
$U100 = OPEN_FILE($U10,5) /* Open the file "test.csv" for the READ CSV FILE operation. */
Example 1
$U200 = READ_CSV_STR($U100,2,4) /* Read the string in the field of row 2 and column 4 and
save the result in the byte array starting at $U200. */
!=
>
>=
<
<=
Format STRCPY(P1, P2 )
Function Copies the string in P2 to P1.
P1 (I) The byte array that receives a copy of the string in P2. The byte array must be large enough to
hold the string and the null terminator.
P2 (I) The source, i.e. the byte array that contains the null-terminated string to be copied.
Example 1 $U10 = “ABCDE”
STRCPY($U20, $U10)
After the command STRCPY is executed, the byte array $U20 contains the string “ABCDE” and
the memory content is like the following:
Word Low Byte High Byte
$U20 'A' 'B'
$U21 'C' 'D'
$U22 'E' 0
STRCAT
Format STRCAT(P1, P2 )
Function Appends string in P2 to string in P1.
P1 (I) The byte array that contains a null-terminated string to which the command appends P2. The byte
array must be large enough to hold both strings and the null terminator.
P2 (I) The byte array that contains a null-terminated string to be appended to the string in P1.
Example 1 $U10 = “ABC”
$U20 = “12345”
STRCAT($U10, $U20) /* After this command is executed, the byte array $U10 contains
“ABC12345” */
Example 2 $U100 = “C:\MyFolder\”
$U130 = “Test”
$U140 = “.txt“
STRCAT($U100, $U130)
STRCAT($U100, $U140) /* After this command is executed, the byte array $U100 contains
“C:\MyFolder\Test.txt” */
Format P1 = STRLEN(P2 )
Function Gets the length of string P2 and saves the result in P1.
P1 (I) The word to receive the result.
P2 (I) The byte array that stores the null-terminated string.
Example 1 $U10 = “ABC”
$U20 = STRLEN($U10) /* After this command is executed, the value of $U20 is 3. */
STRCMP
Format P1 = STRCMP(P2,P3 )
Function Compares strings P2 and P3 lexicographically and saves a value indicating their relationship in
P1.
P1 (I) The value of comparison result.
Value Description
0 P2 and P3 are identical.
1 P2 is greater than P3.
0xFFFF P2 is less than P3.
P2,P3 (I) The byte array that contains a null-terminated string to compare.
Example 1 $U10 = “ABC”
$U20 = “abc”
$U30 = STRCMP($U10, $U20) /* After this command is executed, $U30 is 0xFFFF*/
Example 2 $U10 = “XYZ”
$U20 = “ABC”
$U30 = STRCMP($U10, $U20) /* After this command is executed, $U30 is 1*/
Example 3 $U10 = “ABC”
$U20 = “ABC”
$U30 = STRCMP($U10, $U20) /* After this command is executed, $U30 is 0*/
Format P1 = STRICMP(P2,P3 )
Function Compares lowercase version of strings P2 and P3 lexicographically and saves a value indicating
their relationship in P1.
P1 (I) The value of comparison result.
Value Description
0 P2 and P3 are identical.
1 P2 is greater than P3.
0xFFFF P2 is less than P3.
P2,P3 (I) The byte array that contains a null-terminated string to compare.
Example 1 $U10 = “ABC”
$U20 = “abc”
$U30 = STRICMP($U10, $U20) /* After this command is executed, $U30 is 0*/
Example 2 $U10 = “XYZ”
$U20 = “ABC”
$U30 = STRICMP($U10, $U20) /* After this command is executed, $U30 is 1*/
Example 3 $U10 = “ABC”
$U20 = “ABC”
$U30 = STRCMP($U10, $U20) /* After this command is executed, $U30 is 0xFFFF*/
Format P1 = STRNCMP(P2,P3,P4 )
Function Lexicographically compares, at most, the first P4 characters in strings P2 and P3 and saves a
value indicating the relationship between the substrings in P1.
P1 (I) The value of comparison result.
Value Description
0 P2's substring and .P3's substring are identical
1 P2's substring is greater than P3's substring .
0xFFFF P2's substring is less than P3's substring .
Note: The comparison ends if a terminating null character is reached in either string before P4
characters are compared. If the strings are equal when a terminating null character is reached in
either string before P4 characters are compared, the shorter string is less.
The characters from 91 to 96 in the ASCII table ('[', '\', ']', '^', '_', and '`') will evaluate as less than
any alphabetic character.
P2,P3 (I) The byte array that contains a null-terminated string to compare.
P4 (I/C) The number of characters to compare.
Example 1 $U10 = “XYZ”
$U20 = “XYZAB”
$U30 = STRNCMP($U10, $U20,4) /* After this command is executed, $U30 is 0xFFFF*/
Example 2 $U10 = “ABZ”
$U20 = “ABC”
$U30 = STRNCMP($U10, $U20,2) /* After this command is executed, $U30 is 0*/
Example 3 $U10 = “AXC”
$U20 = “ABC”
$U30 = STRNCMP($U10, $U20,3) /* After this command is executed, $U30 is 1*/
$U30 = STRCMP($U10, $U20) /* After this command is executed, $U30 is 0xFFFF*/
STRCHR
Format P1 = STRCHR(P2,P3 )
Function Finds the first occurrence of a character P3 in a string P2 and saves a search result in value
indicating the position of the found character in P1.
P1 (I) The value of search result. If the character P3 is not found in P2, the result value is
0xFFFF.Otherwise, the result value is the index to the first occurrence of character P3 in a string
P2.
P2 (I) The byte array that contains a null-terminated source string.
P3 (I/C) The byte that contains a character code to be located.
Example 1 $U10 = “The quick brown dog jumps over the lazy fox.”
$U20 = 0x72 /* The ASCII code of character 'r' */
$U30 = STRCHR($U10, $U20) /* After this command is executed, $U30 is 11*/
TIME2STR
Example 1 $U10 = TIME2STR(0) /* Assume that the current system time is 12:30:59. After this command is
executed, the byte array $U10 contains “123059”. */
DATE2STR
Example 1 $U10 = DATE2STR(0) /* Assume that the current system date is December 7, 2008. After this
command is executed, the byte array $U10 contains “081207”. */
Example 2 $U20 = DATE2STR(3) /* Assume that the current system date is December 31, 2008. After this
command is executed, the byte array $U20 contains “08DEC”. */
Example 1 $U10 = TD2STR(0) /* Assume that the current system date is December 7, 2008 and the current
system time is 15:18:30. After this command is executed, the byte array $U10 contains
“081207_151830". */
Example 2 $U20 = TD2STR(3) /* Assume that the current system date is December 31, 2008 and the current
system time is 13:30:00. After this command is executed, the byte array $U20 contains
“08DEC31_1330”. */
I2A
F2A
Format RUN(P1)
Function Runs the executable P1 which is on the same PC. This command is only available for the runtime
software on the PC.
P1 (I/A) The name of the executable to be run.
Example 1 RUN "ABC.exe" /* Run the program ABC */
Example 2 $U10 = "XYZ.bat"
RUN $U10 /* Run the batch file XYZ */
RUNW
Format P1 = RUNW(P2)
Function Runs the executable P2 which is on the same PC and saves the result in P1. Note that the macro
command following this one will not be executed until the program is closed. This command is
only available for the runtime software on the PC.
P1 (I) The word to receive the result.
P2 (I/A) The name of the executable to be run.
Example 1 $U10 = RUNW "ABC.exe" /* Run the program ABC and use $U10 to get the result. */
IF $U10 == 0 /* If the result is 0 then run the batch file XYZ. */
$U20 = "XYZ.bat"
$U11 = RUNW $U20 /* Run the batch file XYZ. */
ENDIF
P2 (I) The starting location of the byte array that stores the data to be sent to the printer.
P3 (I/C) The length in byte of the data to be sent to the printer.
Example 1 $U10 = "This is a test."
$U20 = PRINT($U10, 15) /* Send the string “This is a test.” to the printer. */
$U10 = 10
$U20 = PRINT($U10, 1) /* Send the line-feed character to the printer */
$U10 = 12
$U20 = PRINT($U10, 1) /* Send the form-feed character to the printer */
Example 2 $U10 = 0x401b /* ESC, '@' */
$U20 = PRINT($U10, 2) /* Send the initialization command to the EPSON printer */
PRINT_SCREEN
P2B
P2B_R
SOUND(10, 5, 3) /* Play the sound #10 5 times with a break of 0.3 second between two
Example 1
consecutive plays. */
STOP_SOUND
Format STOP_SOUND
Function Stops playing the current sound.
Example 1 STOP_SOUND /* Stop playing the current sound.*/
SCHEDULE
The schedule function allows the HMI to perform a specified operation at the designated time. For example, the HMI can
turn on a motor at the designated stat time and turn off that motor at the designated end time. Another example is that the
HMI can set the running mode temperature at the designated start time of a process and reset the temperature to the
standby temperature at the designated end time of that process.
Up to 48 schedules (Number 1 to Number 48) can be registered in a panel application. Each schedule can be programmed
to either change the value of a specified PLC location or execute a specified macro at the designated time.
To use schedule in your application, please do the following:
1. Setting up Schedule
Described in Section 15.2
2. Creating and configuring Schedule Setting Table screen object
Described in Section 15.3
Notes:
1. The time schedule features are one time actions. When the Start Time is reached, the designated device address is
written to just once. The write action is not repeated.
2. The Start Value and the Prohibit Action Bit are read only once at the beginning of the time range. Since regular
readout is not possible, there may be a slight data communication delay that causes a slight delay in the Start Time.
Due to the same reason, the delay may occur in the End Time.
3. When the time range of a schedule is changed by whatever method and the current time is inside the time range, the
start action is performed.
4. When the same Start Times and End Times appear in multiple schedules, they are handled in order, starting from the
smallest schedule number.
5. If the Start Action is completed and then a power outage occurs, the End Action will be performed at the End Time
after the power is resumed.
1) In the Project Manager window, double-click the Schedule node ( ) under Setup node of the concerned panel
application
2) In the Project Manager window, right-click the Schedule node ( ) under Setup node of the concerned panel
application to bring out the pop-up menu and select Properties.
3) In the menu bar, click Panel ->Schedule. Note that the concerned panel application must be the current panel
application or you will be working on the current panel application instead of the concerned panel application.
The Schedule dialog box contains the following pages. Some of the pages appear only when they are needed.
■ General
Described in Section 15.2.1.
■ Start Macro / End Macro
Described in Section 14.2.6.
To enable the schedule function for the application, check the Enable box in the dialog box.
The following describes how to set up a time schedule.
Item Description
Use To register the schedule, check the Use box of the schedule first. During project development, you
can un-register the schedule temporarily by un-checking the Use box. The entered settings will not
be lost after un-checking.
ID The pre-assigned identifier of the schedule.
Name Specify the schedule name for each language. The schedule name will be shown on the Schedule
Setting Table screen object. The maximum length of a schedule name is 24 characters. To select
the language you are working on, use the Language combo box on the bottom of the dialog box.
Continued
Reset Bit Resets the specified bit to Off at the Start Time. If the End Action is
selected, it sets the specified bit to On at the End Time.
Write Word Writes the Start Value to the specified word at the Start Time. If the End
Action is selected, it writes the End Value to the specified word at the
End Time.
Write 32-bit Word Writes the Start Value to the specified double-word at the Start Time. If
the End Action is selected, it writes the End Value to the specified
double-word at the End Time.
Run Macro Runs the specified Start Macro at the Start Time. If the End Action is
selected, it runs the specified End Macro at the End Time.
The corresponding Start Macro tab is added to the dialog box when the
Run Macro action is selected. You can edit the Start Macro in the Start
Macro tab. When the End Action is selected, the corresponding End
Macro tab is added to the dialog box when the End Action is selected.
You can edit the End Macro in the End Macro tab.
Note: The Start Time, End Time, Start Value, and End Value mentioned in the above table are
specified in the Schedule Settings dialog box.
Continued
Power-On Select the action to perform when the power is turned on.
Action Power-On Action is Enabled (Checked)
If the HMI is turned on inside of the scheduled range, the Start Action is performed.
If the HMI is turned on outside of the scheduled range and the End Action is enabled, the End
Action is performed.
End Action Check the item to enable the End Action. If the End Action is enabled, the HMI will do one of the
following operations at the designated End Time according to the selected Start Action.
Start Action End Action
Set Bit Resets the specified bit to Off at the End Time.
Reset Bit Sets the specified bit to On at the End Time.
Write Word Writes the End Value to the specified word at the End Time.
Write 32-bit Word Writes the End Value to the specified double-word at the End Time.
Run Macro Runs the specified End Macro.
Details Click the Edit button to open the Schedule Details dialog box. You can specify the Start Time, End
Time, Start Value, and End Value of the schedule in the Schedule Details dialog box. See Section
15.2.2 for details.
Prohibit Action Select to prohibit the schedule function by using the specified Prohibit Action Bit. At the Start Time,
Bit the value of the Prohibit Action Bit is read before the start action is performed. If the value is on, the
schedule action is not performed for the current cycle.
Example 2
1) The time range can be set by a device/PLC. The memory block starts at W100 of the PLC will be used for setting the
time range.
2) Before a valid time range is set at runtime, the default time range specified in the dialog box will be used. The default
time range starts at 09:00:00 and ends at on every weekday.
3) The operators are allowed to modify the time range by using the Schedule Setting Table at runtime.
4) The Start Value and End Value are 16-bit unsigned integers. When the schedule starts, the HMI outputs the Start
Value read from the PLC word location W30 to the specified Write Address. When the schedule ends, the HMI outputs
the End Value read from the PLC word location W31 to the specified Write Address.
The following describes the items in the Schedule Details dialog box.
Item Description
Schedule No. The number of the concerned schedule. The field is read only.
Special Day Select to make the schedule valid only for the specified day.
Month The month of the Special Day.
Day The day of the Special Day.
Time Constant Select to make the time range non-settable by a device/PLC.
Range Variable Select to make the time range settable by a device/PLC.
Changeable with Select to allow the operators to change the time range by using the Schedule Setting Table
Schedule Setting Table at runtime.
Time Setting Address Specify the starting address of the Time Setting Block that the device/PLC will use to set the
time range of the schedule. See section 15.2.3 for the details of the Time Setting Block.
Default Time Select to allow the schedule to have a default time range. This item is visible only when the
Variable is selected for the Time Range. The HMI will use the default time range for the
schedule if there is no valid time range set by the PLC or by the operator yet.
Individual start and end Select to indicate that the start day and end day of the schedule are different.
days
Start Time The start time of the schedule.
Start Day The start day of the schedule. The item is visible when the “Individual start and end days” is
selected.
End Time The end time of the schedule.
End Day The end day of the schedule. The item is visible when the “Individual start and end days” is
selected.
Applied Days Select the day or days in a week that the schedule will apply.
Output Constant Select this item to indicate that the start value and the end value are constants.
Value Variable Select this item to indicate that the start value and the end value are to be read from the
specified addresses.
Data Type Specify the data type of the start and end values.
Start Value Specify the start value or the address to get the start value.
End Value Specify the end value or the address to get the end value.
Bit 15 1 0
Reserved (Must be 0) 0
Bit 0: Time Acquisition Request Bit
When the HMI detects that the Time Acquisition Request Bit turns on (from 0 to 1), it reads out from word 2 to word 10 of
the Time Setting Block to get the Action Mode, the Start Time, and the End Time for the schedule.
Bit 15 2 1 0
Reserved (Must be 0) 0 0
Bit 0: Time Acquisition Completion Bit
‐ 0: Either Time Acquisition is being performed or have not been performed
‐ 1: Time Acquisition completed
Bit 1: Error Notification Bit
‐ 0: Time data is being replaced with correct data
‐ 1: Time data contains an error
Note:
1) The device/PLC must turn the Time Acquisition Request Bit off (1 to 0) when recognizes that the Time Acquisition
Completion Bit turns on (0 to 1)
2) When the HMI detects that the Time Acquisition Request Bit is turned off (1 to 0), it turns off the Time Acquisition
Completion Bit and Error Notification Bit immediately.
Bit 15 2 1 0
Reserved (Must be 0) 0 0
Note:
If Individual Day Specification Bit is 1 and two or more of the Start/End Day bits turn on simultaneously, an error occurs.
15.2.3.4. Start Day (Word 3 of Time Setting Block), End Day (Word 7 of Time Setting Block)
If the schedule is configured for the Special Day, the high byte of word 3 (Start Day) should contain the month (1-12) of the
Special Day and the low byte of word 3 should contain the day (1-31) of the Special Day. The content of word 7 (End Day)
should be 0.
End Day: 0
The above is an example of the schedule setting table. The first row is the title row. It displays the title of each column.
The other rows display one schedule per row. You can create scroll button groups or scroll bars to scroll the contents. A
schedule setting table can have seven columns. The following table describes the content of each column for a schedule
setting table.
Column Description
Schedule No. The number of the associated schedule. This column is optional.
Schedule Name The name of the associated schedule.
Status The current status of the associated schedule. The status includes: Active, Inactive, Prohibited,
Error.
Set If the associated schedule is changeable, there is a button shown in the column. Click the button,
you will see the following sample Set Schedule dialog that allows the operator to change the time
range of the associated schedule.
The text color and font of a row are determined by the settings in the General Page.
15.3.3. Settings
You can complete all the settings of a schedule setting table in the Schedule Setting Table dialog box. This dialog box
contains the following three pages.
■ General
Described in Section 15.3.4.
■ Advanced
Described in Section 4.4.5.
■ Visibility
Described in Section 4.4.6.
Property Description
ID The object’s identifier. It is generated when the object is created. The identifier is
unique within the screen where the object is located and is unchangeable. The
format of the IDs for the schedule setting table is SSTnnnn.
Note You can type a note for the object.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape
of an Object..
INCREASE EFFICIENCY
-i-
4
16
16.1. Finding and Replacing
You can use the Find/Replace tool to find and replace texts or addresses used in the project.
The following table describes each property in the Find/Replace dockable window/dialog box.
Property Description
Find what <Combo Box> Type the text /address you want to search for, paste it from the clipboard or click a
recent entry from the list.
Match case Check this option to search only for occurrences that match the combination of
uppercase and lowercase characters you enter in the Find what box.
Match whole Check this option to search only for whole words instead of matching the text
word entered in the Find what box as it occurs within words.
Look in <Combo Box> Select one of the following portions of the project you want to search in.
Current screen, Current panel application’s screens, All screens, Current Macro,
Current panel application’s macro, All macros, Current panel application’s tags,
Tags of all panel applications.
Text/Address Click any of the listed options to specify the type of text/address to search for.
In dockable Find Click the button to find the specified text or address with selected options. The
window matches for the search appear in the Find Result window. Please see Section
16.1.2. for details about the Find Result window.
Replace… Click the button to bring up the Find/Replace dialog box to do the replacing
operation.
Continued
You can right-click the Find Result window to get the pop-up menu with the following menu items:
The following table describes each property in the Replace dialog box.
Property Description
Find what Type the text you want to search for or paste it from the clipboard.
Replace with Type the text you want to replace the found text with or paste it from the clipboard.
Match whole Check this option to search only for whole words rather than matching the text you enter in the Find
word only what box as it occurs within words.
Match case Check this option to search only for occurrences that match the combination of uppercase and
lowercase characters you enter in the Find what box.
Replace in Select one of the following portions for the project you want to search in
Option Description
Selection Searches or replaces only the selected text in the currently active document.
Whole file Searches or replaces all content displayed in this window for the Find what string.
Find Next Click the button to find the next occurrence of the text specified in the Find what box with the
selected options until there are no more occurrences. The matches for the search will be
highlighted in the window.
Replace Click this button to search for text that matches the found text, and then replace it with the text in
the Replace with field.
Replace All Replaces all occurrences of the found text with the text in the Replace with field.
Cancel Click the button to close the dialog box.
Screen Overview shows the relations between screens of the current application. The relationship between screens is
depicted by a line with an arrow head which is called the link. A link is a relationship between screens with the screen
button or page selector.
To open the Screen Overview, check the Screen Overview menu item in the View menu. The following is an example of the
Screen Overview.
The name of the current panel The name of the currently selected The number of the currently
application. You can select another screen. You can select another selected screen. You can select
panel application of the project to screen to highlight the relations of another screen to highlight the
view. the selected screen. relations of the selected screen.
Coordinate of the cursor; (x, y) Type of the selected item. Could be a Screen/Link
With the selected screen and links, you may do the following:
z Open the screen or screen properties
Double-click the selected screen to open it if it is not already opened.
Double-click the selected screen to open its property sheet if it is not already opened.
New Screen Create a new screen for the current panel application.
Add Screen Add a new screen button for the selected screen and set up the properties of the screen
Button Link button in the pop-up properties dialog. Available only when a screen is selected.
Add Page Add a new pages selector for the selected screen and set up the properties of the page
Selector Link selector in the pop-up properties dialog. Available only when a screen is selected.
Show Content
Print the application information, screen index and screen overview. The application
Print information includes Panel Name, Model, Start Screen, Total Screens, Application Name.
Screen Index is used to list all the screens and the page where the screen is located.
Preview the screen overview before printing. The following is examples of the Print Preview
Window.
Print Preview
Choose from the following commands to customize your page preview.
Click the button To do this
Print… Set printing options and print the page.
Next Page Display the next page to be printed.
Prev Page Display the previous page to be printed.
One Page Display only one full page in the screen.
Zoom In Increase the magnification.
Zoom Out Decrease the magnification.
Close Close the Print Preview window.
You can right-click the selected screen to get the pop-up menu with the following menu items:
You can right-click the selected link to get the pop-up menu with the following menu items:
Link Overview shows the relations between devices/servers and panels of the entire project. The Link Overview is a block
and line diagram. The block indicates a target panel or the device/server. The line indicates the link. The line with an arrow
header indicates the link relationship.
There are two types of blocks in the link overview window: Target Panel Block and Device/Server Block.
The Target Panel Block includes application Name and supported link ports, such as C stands for COM port (C1 = COM1),
E stands for Ethernet port. The Device/Server Block includes the device type.
To open the Link Overview, check the Link Overview menu item in the View menu. The following is an example of the Link
Overview.
Device/Server Block
Point
Target Panel Block
Type of the selected item. Could be Panel/Link/PLC Coordinates of the selected block; (x, y)
You can position the mouse over a target panel block, a device/server block, or a link to select the related item. With the
selected item, you may do the following:
■ Open the properties dialog to set up item properties
Double-click the target panel block to open the General Setup dialog box to set up the panel application.
Double-click the link to open the Link Properties dialog box to set up the link.
Double-click the device/server block to open the Link Properties property sheet to select the device for the link.
■ Create a link
1. Position the mouse pointer over the point of the communication port. For example:
2. Drag the mouse to move the point to the communication port of another panel or device/server. For example:
3. Release the mouse button to bring up the Link Properties dialog box to set up the new link.
4. Press the OK button to accept the settings or press the Cancel button to cancel the operations. The following is
an example of the new links between two panels.
RS485
You can right-click the target panel block in the Link Overview to get the pop-up menu with the following menu items:
You can right-click the link in the Link Overview to get the pop-up menu with the following menu items:
You can right-click the blank place in the Link Overview to get the pop-up menu with the following menu items:
You can right-click the Device/Server block in the Link Overview to get the pop-up menu with the following menu items:
The Object Library Window is a dockable window. It makes configuring, managing and sharing user-defined objects easier.
It contains default objects, common objects, object groups and global objects.
■ Default Objects
Each type of screen objects can have one default object and the default objects are saved in the object library. The
settings of a default object will be used as the initial settings for a newly created object of the same type. To view all the
default objects for the project, you can click the window tab named Objects.
You are allowed to specify any object as the default object for the type of that object. The old default object of the same
type is discarded when you specify a new default object. To make an object as a default object, right-click the object to get
the pop-up menu and click the Save as Default command in the pop-up menu.
To make an object as a common object/object group, right-click the object/object group to get the pop-up menu and click
the Save to Object Library… command to bring up the Save to Object Library dialog. In the dialog, you may type a name
and select a user defined category for the common object/object group.
■ Global Objects
Global objects can be used in the entire project. Any modification of a global object will be applied everywhere it is used in
the project. To view all the global objects for the project, you can click the window tab named Global.
To make an object as a global object, right-click the object to get the pop-up menu and click the Save as Global Object…
command to bring up the Save to Object Library dialog. In the dialog, you may type a name and select a user defined
category for the global object.
To open the Object Library, check the Object Library menu item in the View menu. The following is an example of the
Object Library Overview.
Click the Global category to
view all the global objects.
Click the icon of an object to select Position the mouse pointer over the object icon.
the object. The selected object is Left-click and hold down the button to move the
highlighted. Use [Ctrl] + click or object onto the screen to create the associated
[Shift] + click to make multiple object.
selections.
Import Library… Import an existing category from an object library file (*.pol)
Export Library… Export a selected category of the object library to an object library file (*.pol)
Clean Unused Data in Click the command to clean all the unused objects in the selected category.
Library
You can right-click the selected object in the Global category window or the user defined category window to get the
pop-up menu with the following menu items:
The Object List window is a dockable window. It shows the screen objects and the associated I/O addresses.
You can modify the object properties in the Object Property dialog box by double-clicking each entry in the Object List
window.
You can right-click anywhere inside the Object List window to get the pop-up menu. In the pop-up menu, check any of the
menu items such as ID, Write, Monitor, Read, Notification, TCtrl, VCtrl, and Note to display that column. Use the Select All
command in the pop-up menu to display all the columns.
To open the Object List, check the Object List menu item in the View menu. The following is an example of the Object List.
The name of the screen. You can select another screen of the
panel application to view its object list.
The I/O list window is a dockable window. It shows all the I/O addresses of the project and their owners.
You can modify the address by double-clicking each entry in the I/O list window.
If the address is used by an object, you can redefine the address in the pop-up property dialog of the associated object.
If the address is used by a Macro, you can change the address in the macro editor window.
You can also click the Address column of the selected entry to type in the address directly.
To open the I/O List, check the I/O List menu item in the View menu. The following is an example of the I/O List.
COMPILING/SIMULATING/DOWNLOADING
A PANEL APPLICATION
-i-
4
17
17.1. Compiling an Application
Using the compiler offered by the software, you can verify the correctness of all the settings and designs, optimize the
communication with the connected controllers, interpret macros into compact and ready-to-execute codes, and build the
panel runtime data to be executed by the HMI engine of the target panel. The panel runtime data will be generated and
saved into a PL2 file after the user compiles an application.
If the compilation is completed successfully, the runtime data of the current panel application will be saved into a file
named Project Name_Application Name.pl2.
1) In the menu bar, click Panel to bring up the Panel sub-menu. Click Build Panel Runtime Package (PRP)…in the Panel
sub-menu.
2) If the compilation is completed successfully, you will be asked to specify the file name in the Save As… dialog to save
the package into a PRP file.
Note: The PRP file that includes the application and the system programs is portable. You can save the PRP file anywhere
on the PC or a USB disk and download it to the target panel with the software or Data Transfer Helper (DTH).
You can right-click the Build List window to get the pop-up menu with the following menu items:
Simulator is a convenient tool for design verification. With the simulator, you don’t need to download the application to the
target panel. On a PC, you can simulate how the application runs on the target panel.
There are two types of simulation offered by the software: On-line Simulation and Off-line Simulation.
Application
In the off-line simulation mode, the PC will create a memory block for all registers of
the device/server used in the application. The simulator will communicate with the
memory on the PC, so there will never be a communication error generated with the
off-line simulator.
Off-line simulation is good for screen visual effects, object operation, and logic
verification.
On-line simulation
The on-line simulator is similar to the off-line simulator except that the PC tries to
communicate with the device/server instead of the created virtual registers in its
memory.
Alternatively, click the Run Off-line Simulation icon in the main toolbar.
Note: When simulating an application in the software, the above dialog will show up and then close automatically
before the simulation starts. In this case, ignore the dialog.
4) Simulate the application in the simulator window. The simulator window is similar in appearance to the target panel.
The following is an example of the simulator window while running the application.
In the software, you can transfer the panel runtime data using any of the Serial port, Ethernet port or USB client port
whenever the target panel is running.
You can also use a Micro SD card or USB memory stick for the trouble-free update of the application.
Note: If the application is modified, the software will automatically compile the application before downloading.
Property Description
Data Source Select the data you want to download. The current panel application is the data generated by the
compiler. The panel runtime data package includes the current panel application data and system
programs saved in a PRP file. You need to select a PRP file to download if the Panel Runtime Data
Package (PRP) File option is selected.
Download Check Runtime Data and System Programs, Configuration Data, Time and Date if you want to
download them. Available only when the data source is the current panel application.
You can select the configuration data to backup the panel application to the target panel. The data
format is the same as the Panel Application Files(PLF)
Keep Check the previous data of User Data ($N), Alarm History, Recipe Data or Sampled Data if you want
Previous Data the selected data to be kept instead of being cleared after downloading.
The selected data will be kept only if:
1) The previous application was compiled and downloaded by the software V1.2.26 or later.
2) The configurations of battery backed user memory, recipe blocks, data loggers, alarm blocks, and
the alarm logging buffer for both the old and new applications are exactly the same.
Link Settings Select the communication port that is used to download the data.
Communication Port Description
COM Use the serial port to perform the download and select the
communication port and the baud rate used.
Ethernet Use the Ethernet to perform the download. Type the IP Address where
the target panel is located, or choose a recently connected entry from
the list.
USB Use the USB to perform the download. You need to install the USB
driver before transferring data with the USB cable. To know how to
install a USB driver, please see Section 17.3.3
If the target panel has sufficient memory, you can perform data transmission in safe mode.
Mode Description
Direct Mode Download data directly to flash memory.
Safe Mode Buffer the data in the RAM of the target panel to prevent download
problems in large files. The transmission has to be done successfully
before the data in the SDRAM will be saved to the flash memory.
Status Display the transmission status and progress.
Start Click the button to start download the data.
Cancel Cancel the download operation.
Close Exit the dialog.
Note: On the standard toolbar, you can click the Download Immediately icon to immediately download data using
the existing settings of the Download Data to Panel dialog to the target panel.
Note: If the application is modified, the software will automatically compile the application before downloading.
The following table describes each property in the Upload Data from Panel dialog.
Property Description
Upload Select the data you want to upload and save the uploaded data to the specified file. You can import
existing panel applications from the configuration data file (PLF file).
Link Settings Select the communication port that is used to upload the data.
Communication Port Description
COM Use the serial port to perform the upload and select the communication
port and the baud rate used.
Ethernet Use the Ethernet to perform the upload. Type the IP Address where the
target panel is located, or choose a recently connected entry from the
list.
USB Use the USB to perform the upload. You need to install the USB driver
before transferring data with the USB cable. To know how to install a
USB driver, please see Section 17.3.3
Status Display the transmission status and progress.
This section describes how to install a USB driver for downloading an application to the target panel on a Microsoft
Windows based computer.
Step 1: Log on to your computer as an administrator.
Step 2: Connect the computer and the target panel through a USB cable
Step 3: Start installing the driver
You can use one of the following methods as appropriate to begin installing the driver:
■ With the Found New Hardware Wizard
Power on the target panel, “Found New Hardware Wizard” will automatically pop-up in Windows to guide you to
install the driver.
5. Click the Driver tab, and then click Update Driver. The Upgrade Device Driver wizard starts.
3. Click Search for the best driver in these locations, and then select Include this location in the search,
click Browse, select \Usb in the software’s installation folder as the folder that contains drivers, and then
click Next.
4. Click Continue Anyway if the Hardware Installation dialog box shown as below appears.
Note: The first time you connect a target panel that plugs into any of the USB ports on the computer, you need to install a
driver for that device.
After installing the driver, you can use the USB to transfer data between the PC and the target panel which supports USB
transferring. In the software, you need to select USB as the link settings in the Download Data to Panel/Upload Data from
Panel dialog box before transferring.
USING TOOLS
-i-
4
18
18.1. Setting/Starting/Ending Transparent Communication
Transparent communication is a serial port communication method used to link a PC and a device/server for control and
data acquisition through a target panel, as shown below. The target panel in the link is just like a transparent device that
makes the communication work as if a PC is connected to the device/server directly.
To set Transparent Communication, click Tools to bring up the Tools sub-menu in the menu bar. Then, click Set
Transparent Communication…in the Tools sub-menu.
The following is an example of a link illustration and Set Transparent Communication dialog.
PC Port
(COM1)
Select a COM port of the
target panel that is used to
connect to the Device/Server
PC (9600/7/1/EVEN)
target panel and a Device/Server, the user only needs to press button to get all the
communication parameters from the panel before starting the transparent communication.
The following is an example of the link settings between the target panel and a Device/Server
Note: The communication parameters setting in the Link Properties dialog must be identical to the communication
parameters of the Device/Server.
If the target panel has no application or if the link settings are not the same as the actual connection, the user needs to
redefine the communication parameter in the dialog before starting the transparent communication.
If communication is successfully established, the target panel will display the following dialog, and then you can control and
acquire the device data with the PC.
1) Click the button in the Set Transparent Communication dialog in the software.
2) Click Tools to bring up the Tools sub-menu in the menu bar. Then, click End Transparent Communication in the Tools
sub-menu.
3) Click the End button on the dialog that is shown on the target panel
Data Transfer Helper (DTH) is an independent executable program. It helps you retrieve/update application data through a
serial port or Ethernet port
To run the DTH, choose Start > All Programs > “The software” > Data Transfer Helper (DTH).
You can use DTH to download recipe data or OS & AP in a specified file from the PC to the HMI. With DTH, you can also
get logged data, logged operations, alarm counts, logged alarms, recipe data, OS & AP from the HMI, and save the data in
a specified file on the PC. The following dialog is an example of the Data Transfer Helper:
Property Description
Operation Select an operation you want to perform with the target panel
Type
Link Settings Select the communication port that is used to connect to the target panel.
Communication Port Description
Serial Port (COM) Use the serial port to perform the operation and select a communication
port and the baud rate used.
Ethernet Use the Ethernet to perform the operation. Type the IP Address where
the target panel is located, or choose a recently connected entry from
the list.
The above dialog lists all the data loggers in the application. You may do the
following in the dialog:
z Check the data logger you want to get the data from.
z Click button in Time Range to bring up the Time Range dialog to specify
the duration of the collected data. For more about the Time Range dialog,
please see Section 18.2.3.
z Type in a file name or click button of Save To (File Name) to bring up
the Open File dialog to specify the file name.
Type in a file name or click button to bring up the Open File dialog to
specify the file name in CSV or TXT format
Get logged alarms(.csv/.txt) Saves the alarm history in a text file or a csv file.
The above dialog lists all the recipe blocks in the application. You may do the
following in the dialog:
z Check the recipe block you want to get the data from.
z Type in a file name or click button of Save To (File Name) to bring up
the Open File dialog to specify the file name.
Update recipe data(.csv/.txt/.prd) Updates the data of the selected recipe block from a CSV or TXT or PRP file.
The above dialog lists all the recipe blocks in the application. You may do the
following in the dialog:
z Check the recipe block you want to update the data of.
z Type in a file name or click button of Save To (File Name) to bring up
the Open File dialog to specify the file name.
Get OS & AP (.prp) You need to enter a valid developer password to get and save the system
programs and application runtime data in a specified PRP file..
Update OS & AP(.prp) Updates the system programs and the application runtime data from a specified
PRP file. The original system programs and the application runtime data are
replaced by the new ones.
The following table describes each property in the Time Range dialog.
Property Description
All Select this option to get all the data from the associated memory.
Last day(s) Select this option to get the data during the last number of days. If you want to include today, check
the Include today option.
Last hour(s) Select this option to get the data during the last number of hours. If you want to include the current
hour, check the Include current hour option.
Custom Select this option to customize the duration. You need to specify the start date and time and the end
date and time
To export texts of the panel application, click Tools to bring up the Tools sub-menu from the menu bar. And then click
Export Text…in the Tools sub-menu.
Note: If the application only uses a single language, the export text operation will be invalid.
To import texts to the panel application, click Tools to bring up the Tools sub-menu in the menu bar. Then, click Import
Text…in the Tools sub-menu.
The following table describes each property in the Import Text dialog.
Property Description
Panel Application Select a panel application where you want to save the imported texts.
To be Imported Check the languages of the text you want to be imported.
Open… Click the button to open the PTX file.
Note: The panel application must contain the same language name as the reference
language name specified in the imported PTX file. Otherwise, the file is not allowed to be
imported.
Close Close the dialog.
Import Criteria Select the Same Usage option to import texts to the destination with the same usage as the
source in the file.
Select the Same Reference Text option to import texts to the destination with the same
reference text.
Import Click the button to import all the selected texts.
The texts of the reference Left click the field to edit the selected
language are read only text in the specified language
Recipe Editor is an independent executable program. It can be used to view and edit recipe data saved as a PRD file on
the PC.
To run the Recipe Editor, choose Start > All Programs > “The software” > RecipeEditor.
The following is an example of RecipeEditor displayed row-wise. You can click the button on the toolbar or use the
Row-wise command in the View menu. Row-wise means that the recipe number is used to index the row.
The following is an example of the RecipeEditor displayed column-wise. You can click the button on the toolbar or
use the Column-wise command in the View menu. Column-wise means that the recipe number is used to index the
column.
SETTING UP TARGET
PANEL
-i-
4
19
19.1. System Screens
System screens are screens that are built into an application and can be accessed by end-users in the target panel.
System screens are window screens. Each of them has a title bar at the top of the screen that displays a line of text. The
text indicates the purpose of the screen. You can press the title bar and hold it down to move the screen to the position you
want and then release the pressing to locate the screen.
With built-in keypads, you don’t have to spend any time on programming them.
X
Y
Z
Item Description
XTitle Bar Press and hold the title bar to move the window screen.
Y Keypad Display Display the current input value
Z Allowable input range display Display the allowable input range
Buttons © Press the button to increase the value by 1
— Press the button to decrease the value by 1
0-7 Press the number buttons of the Octal Numeric Keypad to enter a number from 0
to 7
0-9 Press the number buttons of the Decimal Numeric Keypad to enter a number
from 0 to 9
0-F Press the number buttons of the Hexadecimal Numeric Keypad to enter a number
from 0 to F
Esc Press it to close the screen and discard all changes.
Clr Press it to clear the input value.
Del Press it to delete the preceding character.
Ent Press it to close the screen and accept all changes.
X
Y
Item Description
XTitle Bar Press and hold the title bar to move the window screen.
Y Keypad Display Display the current input string
Buttons ASCII Press the button to enter an ASCII character.
Characters
Esc Press it to close the screen and discard all changes.
Clr Press it to clear the input value.
Del Press it to delete the preceding character.
Ent Press it to close the screen and accept all changes.
To register new passwords or modify existing passwords for your application, you have to create a function button on a
screen and assign the function “Show Password Table” to the button. When the panel is running the application, a level 8
user can get the password table as shown below when he presses and releases the function button that shows the
password table.
Note: The user can only get the passwords whose levels are lower than or equal to the user’s level for editing. For
example, if the current user lever is 5, the password table will only show the passwords for levels 1 to 5.
The following is an example of the Password Table when the current user lever is 8.
Item Description
XTitle Bar Press and hold the title bar to move the window screen.
Password Press the field to bring out the decimal numeric keypad to specify the password for the
corresponding user level. A password is a positive integer of up to 8 digits. A password
must be unique within the application.
OK Press it to close the dialog box and accepts all changes.
Cancel Press it to close the dialog box and discard all changes.
After power is applied, the target panel displays the Panel Setup screen. The following is an example of a Panel Setup
screen:
Note: Some of the buttons on the Panel Setup screen appear only when they are needed.
Note: After powering up, the target panel will not display the Panel Setup screen if “Run AP After Power On” in General
Settings is True. If it is False, the target panel will run the application directly.
The following table describes the function of each button on the Panel Setup screen of the target panel.
Link 1 - Link 4 Set the parameters for communication between the target panel and PLC/Controllers. Please see
Section 19.2.5 or Section 19.2.6 for details.
LAN Printer Specify the IP address of the network printer. Please see Section 19.2.7 for details.
Address
Copy AP to Copy the application to another HMI.
HMI
Copy AP to Save the system programs and the application runtime data to a PRP file. The file can be used by
File the software and compatible target panels.
Copy File Copy the file.
Format Disk C Format the built-in flash disk (C:). This operation requires a user level of 8 or higher.
FTP Site Assign the user name and the permission of the file operations for the target panel as a FTP site.
Please see Section 19.2.8 for details.
Boot from File Load-and-run the system programs and the application runtime data from a PRP file. The original
system programs and runtime data are intact. The loaded system programs and the runtime data
will be lost after power off.
Update from Update the system programs and the application runtime data from a PRP file. The original system
File programs and the application runtime data are replaced by the new ones.
Clear Clear the data stored in the battery backed RAM, which include the operation history, alarm history,
Recorded alarm counts, and the data collected by data loggers. This operation requires a user level of 7 or
Data higher.
Run Start running the application. If login is required, the operator must enter a valid password of any
user level before the target panel displays the first screen. The user level of the password you enter
becomes the current user level. Any operation that requires a user level higher than the current
user level will not work while the application is running.
Only after pin-pointing the left-right-left corners of the screen successfully, will you be able to get the target panel into the
Panel Setup Mode.
Note: If the above procedure does not work, you need to check to see whether the Allow to Run Panel Setup flag under
the General Settings screen is True. If it is False, the target panel will not be allowed to run panel setup.
Property Description
Check Battery Select True if you want the panel to check the battery before running the application. If
the battery check failed, the “Battery backed RAM data error! All recorded data are
cleared!” error message will be displayed on the screen. The default setting is True.
Screen Saver Enter a number between 0 and 60 to specify the time that the panel turns off the back
Time(minutes) light of the display when the panel has not been touched for the specified amount of
time. The unit of time is minutes. This option lengthens the life of the CCFT back light.
If you set “Screen saver time” to 0, the panel never turns off the back light.
Allow To Run Panel Setup Select True if you want to exit the running application and enter the panel setup mode.
Continued
You can press the corresponding Link button on the Panel Setup screen to bring out the link screen. If the link is a serial
link, the target panel will display the serial port parameters screen. The following is an example:
10
The screen for a serial link appears with the following options:
Property Description
Communications Select False if you want to disable the communication between the target panel and the
controller. When communication is disabled, the target panel doesn’t communication with the
controller but can still display screens.
Port Select either COM1 or COM2 or COM3 to specify the serial port of the target panel that is
connected to the controller. The default setting is COM2.
Baud Rate The baud rate used.
Data Bits The number of data bits used.
Parity The scheme of parity used.
Stop Bits The number of stop bits used.
Command Delay If the Command Delay is 0, the communication driver sends the next request immediately to the
connected device after it received the reply of the last request. If the Command Delay is
nonzero, the communication driver delays for the specified amount of time before sending the
next request to the connected device.
Retry Count The number of times that the communication driver will retry to get a successful reply from the
connected device for each request. If the number is zero, the communication driver will use a
default retry count.
Timeout Time The maximum time allowed for the communication driver to wait for the reply from the connected
device. When the elapsed time exceeds the Timeout Time, the communication driver assumes
that the communication failed.
Panel Address The address of the target panel.
PLC Address The address of the connected device.
You can press the corresponding Link button on the Panel Setup screen to bring out the link screen. If the link is an
Ethernet link, the target panel will display the Ethernet parameters screen. The following is an example:
The screen for an Ethernet link appears with the following options:
Property Description
Communications Select False if you want to disable the communication between the target panel and the
controller. When communication is disabled, the target panel doesn’t communication with the
controller but can still display screens.
Command Delay If the Command Delay is 0, the communication driver immediately sends the next request to
the connected device after it received a reply from the last request. If the Command Delay is
nonzero, the communication driver delays for a specified amount time before sending the next
request to the connected device.
Retry Count The number of times that the communication driver will retry to get a successful reply from the
connected device for each request. If the number is zero, the communication driver will use a
default retry count.
Timeout Time The maximum time allowed for the communication driver to wait for a reply from the connected
device. When the elapsed time exceeds the Timeout Time, the communication driver assumes
that the communication failed.
Port Displays the IP port for use
IP Address Specify the IP address of the connected device. You can press the corresponding field to bring
out the Decimal Numeric Keypad to input numbers.
OK Click it to close the dialog box and accept all changes.
Cancel Click it to close the dialog box and discard all changes.
The LAN Printer Address screen appears with the following options:
Property Description
IP Address Specifies the IP address of the connected network printer. You can press the corresponding field
to bring out the Decimal Numeric Keypad to input an integer value from 0 to 255.
Port Specifies the used IP port. You can press the corresponding field to bring out the Decimal
Numeric Keypad to input an integer value from 0 to 65535.
OK Click it to close the dialog box and accept all changes.
Cancel Click it to close the dialog box and discard all changes.
1) Open Internet Explorer (or any other web browser) and enter the site address. You will need to type ftp:// and then the
IP address of the target panel. For example, you can type it as ftp://192.168.10.163. To set the IP address of the
target panel, please see Section 19.2.2 for details.
2) The target panel (FTP site) requires a user name and password to login.
If the target panel has an application, the user needs to enter a password defined in that application with sufficient
user level to enter the FTP site for reading/writing files.
Note: A user that can write files is able to read files too.
If the target panel has no application, the user can remote access the FTP site by using the default password “123”.
After you have successfully logged on to the target panel (FTP site), you will see the available files that you have
permission to access. It will look very similar to your Windows Explorer or My Computer view. From there, you can read
and write files from your local hard drive to the target panel (FTP site) and vice versa. Keep in mind that you will need to
have the appropriate permission to perform file operations. These permissions will be assigned to the user account in the
target panel (FTP site).
To assign a user name and read/write permissions for the target panel (FTP site), you can press the FTP Site button on the
Panel Setup screen to bring out the following sample screen:
Property Description
User Name Specifies the user name for the target panel. You can press the field to bring up the
ASCII Character Keypad to input up to 8 ASCII characters. The default user name
is “user”.
User Level for Write Operation Specifies the user level that is required to write files to the target panel.
User Level for Read Operation Specifies the user level that is required to read files from the FTP site.
OK Click it to close the dialog box and accept all changes.
Cancel Click it to close the dialog box and discard all changes.
When there is a system-critical problem that interferes with the normal operation of the target panel, users may need to
boot into the system loader mode, which allows them to troubleshoot their target panel or update the application. Once you
have corrected the problem, you can reboot and the target panel will run normally.
To get the target panel into the system loader mode, press the upper-left corner for 3 seconds while the power is on, once
there is a beeping sound, the System Loader screen will be displayed as shown below:
Property Description
IP Address Press the field and bring up the Numeric keypad to input the IP
address. Each IP byte can be the value between 0 and 255.
LCD Increase Click it to increase the LCD brightness.
Brightness Decrease Click it to decrease the LCD brightness.
Save Click it to save the current setting of the LCD brightness.
OK Click it to close the dialog box and accept all changes.
Cancel Click it to close the dialog box and discard all changes.
Touch Panel Calibrate the touch panel. Please see Section 19.2.3 for details.
Format Disk C Format the built-in flash disk (C:). This operation requires a user level of 8 or higher.
H/W Display the hardware information of the target panel. The following is an example of the hardware
Information information screen:
Update from Update the system programs and the application runtime data from a PRP file. The original system
File programs and the application runtime data are replaced by the new ones.
Run Get into the Panel Setup mode.
-i-
I. The range limitation of the software
-1- APPENDIX