XP-Builder Programming Book
XP-Builder Programming Book
XP-Builder Programming Book
LSIS strives to maximize your profits in gratitude for choosing us as your partner.
XGT Panel
XP-Builder 2.0
XGT Panel Series Users Manual
Safety Instructions
Read this manual carefully before installing,
wiring, operating, servicing or inspecting this
equipment.
Keep this manual within easy reach for quick
reference.
Revision History
Revision History
i
Table of Contents
ii
Table of Contents
iii
Table of Contents
2.6.6.1 Finding and Replacing Devices on the Active Screen ......................... 136
2.6.6.2 Finding and Replacing All Devices ............................................................. 137
2.6.6.3 Finding and Replacing All Fonts .................................................................. 140
2.6.6.4 Finding and Replacing Devices and Fonts from a List ........................ 142
2.6.6.5 Viewing Cross-References ............................................................................. 144
2.6.7 Switching Project Screens................................................................................. 144
2.7 Running XP-Simulators with other PLC Simulators ................................ 145
2.7.1 XG5000 Simulator and XP Simulator ........................................................... 145
2.7.2 S7-PLCSIM Simulator and XP-Simulator..................................................... 147
2.7.3 RSLogix Emulator and XP-Simulator ............................................................ 148
2.7.4 The GX Simulator and XP-Simulator ........................................................... 155
2.8 Managing a Project ..................................................................................... 159
2.8.1 Transferring to an XGT Panel .......................................................................... 159
2.8.1.1 Using a Serial (RS-232C) Connection ........................................................ 165
2.8.1.2 Using an Ethernet Connection ..................................................................... 166
2.8.1.3 Using a USB Connection (XP models) ....................................................... 168
2.8.1.4 Using a USB Connection (iXP/eXP models)............................................. 169
2.8.2 Transferring to a Removable Device ............................................................. 171
2.8.3 Receiving a Project File from an XGT Panel ............................................... 172
2.8.4 Backing up Project Data ................................................................................... 174
2.9 Configuring Advanced Communication Settings .................................... 177
2.9.1 Using 1: N Communication with Multiple Protocols ............................... 177
2.9.2 Using 1: N Communication with RS485/RS422........................................ 178
2.9.3 Using N: 1 Communication ............................................................................. 180
2.9.3.1 Token Hold........................................................................................................... 182
2.9.3.2 N:1 System Devices .......................................................................................... 183
iv
Table of Contents
v
Table of Contents
vi
Table of Contents
vii
1. About XP-Builder
1. About XP-Builder
XP-Builder is software that allows you to create and manage projects for machine control
devices. You can use XP-Builder to create projects for the XGT Panel. XP-Builder includes
multiple features that allow you to design and edit projects conveniently, such as:
1.1 Overview
This section describes the basic concept of using XP-Builder to create interfaces for machine
control devices and the types of hardware that XP-Builder supports.
With the XGT Panel, you can monitor information from each controller via a graphical user
interface (GUI). In addition, simple control is possible with switch and writing objects. The
XGT Panel supports additional programmable functions, such as scripts, loggings, recipes,
and alarms, which allow you to fully customize the control environment.
As illustrated by the graphic that follows, the interface running on an XGT Panel provides
input controls on the screen in the form of GUI objects that are linked to controller routines,
such as a ladder program, or other parameters. The controller parameters dictate the
operation of connected machinery and may also provide feedback to the XGT Panel.
8
1. About XP-Builder
Note
Available memory for XP series XGT Panels is 10 MB for TTA and BTA models, with the
exception of the XP90 model (20 MB), and 4 MB for TTE and BTE models.
64 MB memory is available for eXP XGT Panels, and 128 MB for iXP series XGT Panels.
9
1. About XP-Builder
1 Run the XP-Builder setup file. You can download the file from the LSIS website (http:
//eng.lsis.biz/support/download/).
2 On your computer, click [Start] [Control Panel] [User Accounts and Family Safety].
3 Click [User Accounts] [Turn User Account Control on or off], and uncheck the checkbox
next to Use User Account Control (UAC) to help protect your computer.
4 Run the XP-Builder setup file. You can download the file from the LSIS website
(http://eng.lsis.biz/support/download/).
10
1. About XP-Builder
2 On your computer, click [Start] [Control Panel] [User Accounts and Family Safety].
3 Click [User Accounts] [Change User Account Control Settings], and drag the slider to
Never notify.
4 Run the XP-Builder setup file. You can download the file from the LSIS website
(http://eng.lsis.biz/support/download/).
2 On your computer, click [Start] [All apps] [Windows system] [Control Panel]
[User Accounts and Family Safety].
3 Click [User Accounts] [Change User Account Control Settings], and drag the slider to
Never notify.
4 Run the XP-Builder setup file. You can download the file from the LSIS website
(http://eng.lsis.biz/support/download/).
Note
You can update an XGT Panel automatically in XP-Builder version 1.30 or higher. If you use
a version lower than 1.24, you must update the XGT Panel manually.
11
1. About XP-Builder
Toolbars
Editing area
Toolbox
Project/
Screen pane
Output and
results tabs
Status bar
Main Interface:
Interface Description
Toolbars Use tools or menus to perform tasks and specify options.
Project/ The Project pane shows the elements contained in the project in a
Screen pane cascading tree, or shows the screens by screen type in a cascading
tree.
The Screen pane shows all the screens used included in the current
project. You can add or edit each component from these panes.
12
1. About XP-Builder
Interface Description
<Project pane> <Screen pane> <Graphic Library pane> <Object Library pane>
You can open, reposition, or dock other windows, such as the Graphic
Library, Object Library, Device Map, Script Toolbox, and Data Viewer
windows.
You can also select Data Viewer, Graphic library, and Object library
from the VIEW menu to open them in the pane.
Editing area The center of the window, where you can add and manipulate objects,
figures, and images to create an interface.
Toolbox Use the Toolbox to create, view and modify a project. Project Viewer
and Screen Viewer are displayed by default when you first run the
software.
By default, figures and objects are displayed in the pane as small
images. To view figures or objects in a tree type list, select
[TOOLBOX] [Tree Type ToolBox] or select in the ToolBox
pane.
By default, figures and objects are set to Single Insert Mode, which
allows you to insert one figure or object at a time. To insert figures
or objects continuously, select [TOOLBOX] [Continuous Insert
Mode] or select in the ToolBox pane.
Output and These tabs allow you to view interface messages, error messages, and
results tabs search results.
13
1. About XP-Builder
Note
Screens in XP-Builder Projects
Screens contain objects and figures that XP-Builder provides. There are three different
types of screens available:
Base screens allow users to edit the objects and figures. Base screens have fixed screen
sizes and color specifications based on the panel types.
Panel type XGT Panel model names Screen size and color spec.
XP30-BTA 320 X 240 px, 8 Grayscale colors
XP30-TTA 320 X 240 px, 65535 colors
XP30-BTE 320 X 240 px, 8 Grayscale colors
XP30-TTE 320 X 240 px, 256 colors
XP40-TTE 800 X 480 px, 65535 colors
XP XP40-TTA 800 X 480 px, 65535 colors
XP50-TTE 640 X 480 px, 256 colors
XP50-TTA 640 X 480 px, 65535 colors
XP70-TTA 640 X 480 px, 65535 colors
XP80-TTA 800 X 600 px, 65535 colors
XP90-TTA 1024 X 768 px, 65535 colors
iXP50-TTA 800 X 600 px, 16.7M colors
iXP70-TTA 800 X 600 px, 16.7M colors
iXP
iXP80-TTA 800 X 600 px, 16.7M colors
iXP90-TTA 1024 X 768 px, 16.7M colors
eXP40-TTA 800 X 480 px, 65535 colors
eXP eXP40-TTE 800 X 480 px, 65535 colors
eXP60-TTA 800 X 480 px, 65535 colors
Window screens are used for displaying Window screens over a Base screen.
Part screens are used as parts for Bit or Word Part objects.
14
1. About XP-Builder
To create a toolbar:
2 Click [New].
15
1. About XP-Builder
3 Enter a name for the toolbar and click [OK]. The new toolbar will be added to the list of
available toolbars on the left of the Customize window. You can drag icons from the
toolbars at the top of the XP-Builder window to the new toolbar.
2 Click a tool category on the left, and then drag and drop a command onto an existing
toolbar. Or, to remove an icon, drag it from a toolbar to the Customize window.
16
1. About XP-Builder
2 Check the checkboxes to the left of the toolbars to select which to show (checked) and
which to hide (unchecked).
2 Click a tool category from the drop-down list, and then click a command.
3 Click the Press New Shortcut field and then press a key combination on the keyboard. If
you press a combination that is already in use, the action that is assigned to the shortcut
will appear below this field.
17
1. About XP-Builder
4 Click [Assign].
5 To remove a shortcut, select one from the Current field and then click [Remove].
To dock the pane, move the pane to the desired location indicator. A shadow will appear to
provide a preview of the docking location. To set a pane to float, on the pane, click
[Floating]. To hide a pane, on the pane, click .
18
1. About XP-Builder
19
2. Project Development
2. Project Development
XP-Builder allows you to develop complex but simple-to-use interfaces for controlling
machines. You can add figures, objects, and graphics to represent functions, or use scripts to
define processes. XP-Builder also allows you to simulate projects and debug them before
transferring them to an XGT Panel.
1 When you launch XP-Builder, the Select Project window appears. Click [Create Project] to
create a project.
Note
XP-Builder supports multiple instances of the software running simultaneously.
Users can run more than one XP-builder window on a PC to edit projects more
efficiently.
If you try to save a read-only project file, XP-builder displays the error message
below.
If you try to open a project file that is already open in another editor, XP-
builder displays the error message below.
20
2. Project Development
2 Set the panel series, model name, the controller manufacturer, and the controller model
(Product).
3 If necessary, click [Communication Settings] and specify connection properties. For more
details about connection properties, refer to <2.5 Connecting Controllers>.
Note
XGT Panel series panels come in various models featuring different screen resolutions,
display colors, and other hardware configurations.
[XP Series]
Model Type Screen Colors External Storage device Ethernet
Resolution
XP30-TTA 320 X 240 65,535 1 X 1 X CF, 2 X USB O
XP30-BTE 320 X 240 8 1 X USB X
XP30-BTA 320 X 240 8 1 X CF, 2 X USB O
XP30-TTE 320 X 240 256 1 X USB X
XP40-TTA 800 X 600 65,535 1 X USB O
XP40-TTE 800 X 600 256 1 X USB X
XP50-TTA 640 X 480 65,535 1 X CF, 2 X USB O
XP50-TTE 640 X 480 256 1 X USB X
XP70-TTA 640 X 480 65,535 1 X CF, 2 X USB O
21
2. Project Development
If the computer or panel you are working with does not have the desired font installed,
text information, such as captions for objects or figures may not be displayed properly.
To solve this problem, install or export fonts as needed: click [TOOL] [Install Font] or
[Export Font], specify a file location, and click [OK].
22
2. Project Development
Project files in XP-Builder are saved with the extension .xpd. You can only import these
types of project files to XP-Builder.
The file extension for the user object library is .xpo.
The file extension for the user graphic library is .xpg.
The extensions for exported files (backup files) are shown in the following table:
Item File Extension
Text table, Recipe, and Tag *.CSV
History alarm *.HAL
Flow alarm *.FAL
Logging *.LOG
Schedule *.SCH
Script *.SPT
23
2. Project Development
To save a project:
You can also select the save project icon from the toolbar.
To save the file with another name, select [PROJECT] [Save As Project]
2 Select a destination for the saved file, enter a file name, and then click [Save].
Note
When you save a project, two other files are created:
- Backup file: The extensions for the backup files are .bak and .bak1bak9.
- OSTS file: The extension for the OSTS file is .OSTS. This file includes information
about your project workspace, such as the current screen, docked windows, and
toolbar information.
When your project contains unsaved changes, the Project pane shows an asterisk (*)
next to the project name.
24
2. Project Development
To set a password:
3 Click [Apply].
Note
XP-Builder supports only Latin characters in passwords. Passwords are case sensitive and
can be up to 12 characters long.
Be careful not to forget the password. If you forget the password, you cannot open the
project file.
To change a password:
25
2. Project Development
3 Enter a new password in the New Password field and re-enter it to confirm.
4 Click [Apply].
To delete a password:
3 Click [Delete].
26
2. Project Development
XP-Builder allows you to view and edit general properties of projects. To view or edit project
properties, click [COMMON] [Project Property Setting]. From the Project Property window,
you can view or edit the following properties:
Tab Description
Project Summary Basic information of the project file, such as the project name
and author
27
2. Project Development
Item Description
Project Name The project name does not have to match the file name. The file name
you specify will appear at the top of the project or screen tree in the
Project/Screen pane.
File Path The location of the project file (this cannot be edited)
Created The date the file was first created (this cannot be edited)
Modified The date the file was last modified (this cannot be edited)
Downloaded The date the project was last downloaded to an XGT Panel (this cannot be
edited)
Version The version of the XP-Builder software (you can change this information
to create a unique identifier for customized properties)
28
2. Project Development
Series Select an XGT Panel type. The initial information is the same
as you selected when you created the project.
Refer to the hardware manual for detailed specifications.
Model Select a model number based on the XGT Panel type you
selected.
24 BIT Color Mode This mode is supported only by the iXP series. Select this
option to use 24-bit color instead of the default setting
(65,536 colors). The use of 24-bit mode improves the
appearance of images on the screen, but may result in slower
screen refresh speeds.
Portrait Mode Select this option to use the XGT Panel in portrait. If you have
(Available in iXP Series already created the XGT Panel in landscape and select the
and eXP20 Panels only) Portrait mode, the figures and objects may be resized or
positioned outside of the screen. The user downloads the
project to the HMI and when it is different between current
state and before state(Landscape mode/ portrait mode), your
device will reboot. The setting is applied immediately. Refer to
the hardware manual for installation precautions.
RS-232C 5V Power Supply This mode is supported only by the iXP series. Select this
option to use the RS232C connection (5 V, 250 mA) as the
power supply.
Add Controller You can connect controllers with multiple protocols, including
Delete Controller RS232C, RS422/485, or Ethernet.
Click [Add Controller] to insert a new controller tab. The
connection number for the new controller will
automatically be one higher than the previous controllers
connection number. XP series panels support up to four
connection numbers (0-3) and the iXP series support up to
29
2. Project Development
Controller Settings Set the controller manufacturer and controller type (Product).
Refer to Manual Click to open the reference manual for the selected controller.
Protocol Set the connection method between the XGT Panel and the
controller. Ensure that the setting matches the actual
connection between the XGT Panel and the controller.
Wait to Send Set the length of time to wait for network communication
between the XGT Panel and the controller.
Retry Count Set the number of times to retry when communication fails
between the XGT Panel and the controller.
Use PLC Simulator Set whether or not to use the simulator. To run the simulator,
click [TOOL] [Simulation]. For more information, refer to
<2.6.1 Simulating an Interface >.
Program Monitor Set whether or not to view controller data with the Program
Monitor. This feature is supported by all XGK series PLCs and
some XGB series PLCs only. For more information about using
the Program Monitor, refer to the <Program Monitor> section
of the Appendix.
Note
30
2. Project Development
You can change the XGT Panel type to another type which supports the mode selected
in the XGT Property.
When changing the XGT Panel type, the height and width of objects on the screen may
vary depending on the screen size. Objects with fixed sizes and fonts are not affected
by changes of the panel type.
If you transfer projects composed in 65535 colors to XGT panels that support only 256
colors, the color of objects and figures may slightly vary. Color palettes are automatically
adjusted and the objects and figures are displayed using the nearest colors to the
original.
Projects developed for color XGT Panels cannot be used in monochrome XGT Panels, and
vice versa.
Change Screen by Device Set whether or not to switch base screens based on the
device value.
Change to Screen Number Set the device to switch to a specified screen. When the
device value changes, the screen specified by the device
value will be activated (unsigned, 16-bit).
Current Screen Number Set a number for the current base screen.
Global Window 1 Number Specify one or two windows that will be activated
Global Window 2 Number globally (across the entire interface) based on the device
31
2. Project Development
Password Device Set to use a word device to control access to the XGT Panel.
Mode Authentication is initiated by user input, but the data contained in
the first six word devices specifies the password.
User ID Mode Set a user ID and a password to access the panel. The user ID
character string can have a maximum of 16 characters. Only
alphanumeric and special characters can be used for the password or
user ID. A password must be entered after the user ID is entered.
Security Level Set passwords for security levels as desired. Level 0 allows access for
all users, so it is not possible to specify a password (only levels 1-9
are configurable).
After entering a password for a certain security level, you
32
2. Project Development
Password Device Set a word device to control access to the XGT Panel. Enter a device
address or click the field, and then click the keypad icon on the right
side of the field to specify a device address.
Password Input Set the length of time to grant access after entering the password.
Interval(min) The permission will expire based on your setting and will require
the password to be re-entered. The default unit is minutes and
you can set an interval from 0 to 30 minutes.
If you set the interval to 0, a password must be entered for every
operation where a security level is applied.
Use shorter intervals for highly sensitive operations.
Note
You can apply security settings to the following objects: bit switch, word switch, change
screen switch, special switch, multi switch, numeric input, and text input.
33
2. Project Development
Runtime language Runtime language is the language that is downloaded to the XGT
panel. The runtime language fonts are transmitted to the XGT panel
as TTF (true-type font) files. In the Project Property settings, you can
select up to 12 different runtime languages.
From the Language tab, you can edit both editing and runtime language settings. To change
language settings, edit the information in the appropriate field and click [OK]:
Add New Click to add additional display languages to the interface. Select
a language from the list and then click [OK] to add it to the
Editing Language List.
Editing Languages Change the default font for each editing language.
Settings
34
2. Project Development
Runtime Language List View and specify runtime languages to use with the project. You
can modify the font list by adding fonts from a list of editing
fonts or deleting them.
Multilingual Font
Language Change by Set the runtime language to change for specific devices. The
35
2. Project Development
Default Runtime Set the runtime language that will be used by default on the
Language XGT Panel.
XGT Panel The language for the XGT Panel menu screen is selected. The
default language is English.
Resize Font The length of a character string in an object, calculated from the
character string table, will vary based on the language. If the
length of the character string is larger than the width of the
object, the font size of the character string is automatically
reduced when it is displayed. The minimum font size is 9.
Internal Device Skip on This function excludes internal devices when displaying device
Device Address show addresses in an object. If this option is checked, the address is
not displayed in the text indicator in which [Bit Device Address]
or [Word Device Address] is set. Refer to <4.3.4.4 Text Display>
for detailed information.
Note
The font used in a text table is set by the default settings of the editing language. Text
36
2. Project Development
may not be displayed properly if the text of a text table cannot be represented by the
default font.
If you set the language to change by device, you must designate a language for the
device or nothing will be shown in the XGT Panel. Refer to <2.2.2.6 Changing
Languages> for detailed information.
37
2. Project Development
Alarm Data Specify an external location where the data will be saved.
Logging Data
Recipe Data
Capture Image
Memo File
Operation Log
Delete Old File If Select this option to overwrite existing data if the disk is full. The
Disk is Full oldest data will be deleted.
Note
XGT Panels support three types of removable storage devices: USB devices, CF cards,
and SD cards.
X30-BTE, XP30-TTE, XP40-TTE, XP40-TTA, XP50-TTE, iXP, and eXP models do not support
CF cards.
38
2. Project Development
Device Set a bit device that meets the conditions required to execute
the script.
Type Choose a trigger type for executing the script (Rising edge or
Falling Edge).
39
2. Project Development
Script Watchdog Time Set the Watchdog time for a script. A script will end if it is not
run within the maximum time set.
Flow Alarm Display Set to display the alarm message for the states of the flow
Mode alarm.
When a flow alarm occurs and is then reset while the alarm
message is displayed, you can specify one of two actions to
occur:
- Redraw at occurrence: The alarm message is replaced
automatically with a new message.
- After current display list: The alarm message remains on
the screen and new alarms or cleared alarms will be
shown by subsequent messages.
Server Settings Set email settings. For more information, refer to the note
below.
System Alarm Window Set whether or not to display system alarm messages.
40
2. Project Development
Note
Click [Server Settings] [E-mail] to configure the email settings.
Function Description
From Set the sender. You can specify only one sender.
Set the recipient. Use a semicolon (;) to divide the email addresses
To
between multiple recipients.
Set the secondary recipient(s). Use a semicolon (;) to divide the
CC
email addresses between multiple recipients.
Set the hidden secondary recipient(s). The addresses in this field
BCC will not be shown on the email content. Use a semicolon (;) to
divide the email addresses between multiple recipients.
Enter the subject of an email. You can enter up to 128 Latin
Subject
characters.
41
2. Project Development
Function Description
IP Address or SMTP
Enter the IP address or SMTP server name.
Server Name
Enter the port number of the SMTP server. If you use
SMTP Server Port an anonymous SMTP account service in the intranet,
the port number is 25.
Use SSL/TLS Encode data when transferring it to the mail server.
Validate Server
View the certificate of the mail server.
Certificate
Unless you use an anonymous SMTP mail service in
My SMTP Server
the intranet, you need authentication for the user
Requires Authentication
information.
User Name Set the name for authentication.
Password Set the password for authentication.
- To configure the Mail Server Settings using an Anonymous SMTP, the mail server must
be on the same intranet as the XGT Panel. Set the port number to 25 in this case (25 is
the default port number for Anonymous SMTP service).
- To use the mail server URL instead of an IP address in the Mail Server Settings, you
must set the DNS server IP in the XGT Panel Start menu.
- The email is encoded in Unicode.
42
2. Project Development
From the Project Property window, you can view or edit the following properties of a barcode
reader that is connected to an XGT Panel:
Item Description
Barcode Settings Set to connect barcode reader to XGT Panel.
Connection Property Set to use the barcode through the RS-232C protocol.
Note
The baud rate must match the setting in the XGT Panel.
To change the baud rate on the XGT Panel, tap and hold
the screen to access the menu. Then, tap [Setting] [PC
Conn Setting].
43
2. Project Development
Item Description
Port Select the printer port.
44
2. Project Development
Item Description
Operation Log Enable Set whether or not to use the Operation Log function.
NVRAM DEL Device Set a device to delete the operation log area of the NVRAM.
Operation On NVRAM Set the action that occurs when the NVRAM is full.
Full Stop: Logs will not be recorded if the NVRAM is full.
Use Ring Buffer: If the NVRAM is full, the oldest record will
be deleted and logs will be recorded accordingly.
User String Device Set a word device to control user strings. A maximum of 16
bytes can be recorded.
Automatic Backup on Set whether or not to execute backup automatically when the
NVRAM Full NVRAM is full.
Backup File Name Device Set a device to store the names of backup files. A maximum of
45
2. Project Development
Item Description
8 bytes can be stored.
Append Backup Content Set whether or not to append another backup set to the
at Same File existing backup file. If this option is checked, the previous
contents of the backup file remain intact, and the new backup
will be written after the end of the last backup. A maximum of
1024 backup records can be stored in a single file. If this option
is not checked, the new backup will be saved as a new file.
Backup File (CSV) Set whether or not to encode a backup file (CSV or Encrypted
Encoding CSV file).
Date/Time Set the date or time format to use for a backup file.
Note
The Operation Log function is available on iXP series panels only.
The following diagram briefly explains how an operation log is recorded.
46
2. Project Development
Item Description
Object ID/Address Set the default color for device and object IDs. The setting is
Text Color applied immediately.
Background Alpha Blend Set a semi-transparent background for device or object IDs. The
Use setting is applied immediately.
Object ID/Address Font Set the default font size for device and object IDs. The setting is
Size applied immediately.
Default Text Color of Set the default font color for character strings in figures or
Figure/Object objects. The setting is applied when you create new figures or
objects.
Default Line Color of Set the default line color for character strings in figures or
Figure/Object objects. The setting is applied when you create new figures or
objects.
Use Background Color Set a background color to use for new screens. The setting is
from New Screen applied when you create a new screen.
Default BG Color from Select the default background color. The setting is applied
New Screen when you create a new screen.
Screen Limit Check on Prevents figures and objects from extending beyond the
Object/Figures Editing boundaries of the editing area. The setting is applied
immediately.
Page Margin X Set the screens margin line on the X axis by pixel.
47
2. Project Development
Item Description
Page Margin Y Set the screens margin line on the Y axis by pixel.
Move/Resize Pixel(X) Set the pixel size for moving or resizing an object using the
arrow keys on the X axis.
Move/Resize Pixel(Y) Set the pixel size for moving or resizing an object using the
arrow keys on the Y axis.
Item Description
Show File Dialog Set whether or not to show the Select Project screen when you launch
at Start Up XP-Builder.
Interval Set how often XP-Builder will automatically save project files. The
default unit is minutes.
Show Property Set to show the properties window when you create a new figure or
Dialog on New object.
Figure/Object
Show Warning Set whether or not to show a warning message and list of errors in the
On Data Check or following instances. If you do not use this option, only the warning
Script Check message will appear.
When you run a data check ([TOOL] [Data Check]).
48
2. Project Development
Item Description
When you download a project file to an XGT Panel.
When you run a script check ([TOOL] [Script Check]).
Max Backup File You can set XP-Builder to create up to ten backup files. The extensions
No. for the backup files are .bak and .bak1bak9. Click [TOOL]
[Option], [Project] to adjust the number of backup files.
49
2. Project Development
Type Description
Base Screen The main area for drawing and editing a project.
The screen size varies by XGT panel model.
Key Window Key windows are pre-defined Window screens that allow you to
insert four types of keypads: decimal, ASCII, hexadecimal, and float.
To use a user-defined keypad, use the Special Switch Function or
import one of the provided object libraries, and then insert it into the
screen.
To change the key window settings, click [COMMON] [Project
Property Setting] [Key Window Settings].
Part Screen You can use a Part screen to control how figures (such as lines,
circles, and images) behave on a Base screen.
Drag and drop the Part screen from the Screen pane to the editing
area to copy all objects from the Part screen into the Base screen.
The Part screen is used as a part of the part object, the bit part, and
the word part.
You can create up to 65,534 Part screens.
You cannot register an object to a Part screen.
Refer to <4.3.6 Part Objects> for detailed information.
Global window settings allow you to define up to two windows that can be activated across
the entire interface, based on device values. To set the addresses for the global windows,
click [COMMON] [Project Property Setting] [Screen Settings].
50
2. Project Development
Note
A project can support a total of 65,534 Base, Part, or Window screens. However, Window
screens 65,531-65,534 are reserved for decimal, HEX, ASCII, and real keypads,
respectively. You can adjust the size of a Base screen, but not the sizes of other screens.
Type Description
Base Screen Right-click [Base Screen] and click [Insert].
To view thumbnails of all the project screens, click [VIEW] [Screen Thumbnails].
51
2. Project Development
52
2. Project Development
2 Click [Rename].
Note
Screen names are composed of numbers, spaces, and text characters. You must separate
the screen number and name with a space or the screen name will not be recognized
(for example, if you enter 1Base screen, the name will not be recognized).
Keypad windows have fixed numbers: DEC (65531), HEX (65532), ASCII (65533), and
FLOAT (65534).
53
2. Project Development
On the screen pane, you can select multiple screens and change the screen property
options at the same time. Click the screens while holding down the Ctrl or Shift key to
select multiple screens, and then right-click over the selected screen to open the
context menu and select [Property].
54
2. Project Development
Category Description
General Set basic information, such as type, number, name, or screen
size. If you specify window titles from a text table, the text
will be applied, but additional font properties will not. The
window titles will appear in a fixed format: white, 15-point
font.
To change properties for multiple screens at the same time,
hold the Ctrl key and click the screen names. Then, right-
click any of the selected screen names and click [Property].
The values you specify will be applied to all the selected
screens at the same time.
Local Script Set scripts to execute when the Base screen appears or
Setting switches. The script is executed according to the selected
55
2. Project Development
Category Description
condition when the screen changes.
Scripts must be created before they can be applied to
screens. For more information about scripts, refer to <4.2
Scripts>.
To apply a script, select a script name and execution
condition, and then click [Insert].
You can specify an execution condition for a script
(Consecutive, Periodic, On Bit Rising, On Bit Falling, or On Bit
Changed) or specify a device to control the execution of the
script.
Note
Although an execution condition is fulfilled while processing a script, there might
be a slight delay because the conditions are rechecked after the script is
completed.
4 When you are finished configuring properties, click [OK] to save your changes.
56
2. Project Development
Note
When you paste a screen into the project, you can set the number of the screen.
To draw a figure:
3 Click the editing area and specify options for the figure.
57
2. Project Development
Type Description
Line To draw multiple lines, click multiple points and then double-
Multiline click to insert the figure.
Click Click Double-click
Click Click
To delete part of a multiline, press and hold the Ctrl key while
clicking a point.
To draw a line, drag the line on the editing area. If you want to
draw a straight line, press and hold the Shift key while dragging.
Circle To draw a perfect circle or square, press and hold the Shift key
Pie while dragging.
Chord To draw a figure from the center point, click the figure, and then
Ellipse click [EDIT] [First Point As Center] on the toolbar.
Rectangle Note
RoundRect
When you enable the First Point As Center option, it is
applied to all the screens in the same project.
When drawing circles, pies, or chords, draw a circle first, then
click the circle to mark the start and end points.
Draw the circle again until you complete the circle, pie, or chord.
<Pie> <Chord>
To draw an ellipse, rectangle, or rounded rectangle, click and
58
2. Project Development
Type Description
draw the figure.
Click
Click
Double-click
Click
Click Click
To delete part of the multiline, press and hold the Ctrl key while
clicking a point.
Scale You can select the location and direction (horizontal or vertical)
of scales.
Set the scale properties, including the number of tick marks, tick
size, and tick intervals.
Set the appearance of the scale with the color options.
You can create a table with the scale.
Text Draw a text box on the screen, and then enter text in the text
input box.
To insert text from a text table, check the check box next to
From Text Table, and then click [Text Table].
59
2. Project Development
Note
The default size of figures varies by figure type.
You can apply 28 types of textures to figures, except for line, multiline, image, scale and
text figures.
Monochrome XGT panels do not support texture for the objects or figures.
The textures displayed by an XGT panel may differ slightly from their appearance in XP
Builder.
2 In the Graphic Library pane, click the System or User tab, and then click an object
category from the drop-down list.
60
2. Project Development
3 In the Graphic Library pane, drag and drop an image onto the editing area.
To draw an object:
3 Click or drag in the editing area and specify options for the figure:
61
2. Project Development
Bar Graph Draw the object in the editing area or click the editing
Pie Graph area to insert the object in its default size.
Meter Graph
Trend Graph
Logging Trend Graph
Scatter Graph
History Alarm Viewer Draw the object in the editing area or click the editing
Datalist area to insert the object in its default size.
Logging Viewer The size of the Logging Viewer or Datalist is fixed.
Alarm Navigator
MemoPad
Explorer
Datalist Editor
File Recipe Editor
PDF Viewer
VNC Viewer
4 When you are finished editing properties, click [OK]. To change the properties of an
object, double-click it.
Note
The following table describes limits when creating objects.
Type Limit
History Alarm Viewer 1: You can insert only one object per screen.
62
2. Project Development
Logging Viewer
Alarm Navigator
Bit Window 8 (16 for iXP series): There is no limit for
Word Window overlapping windows.
MemoPad 1: You can insert only one object per screen.
1 for basic recipe
1 for file recipe
You can choose the recipe type in the
Recipe Navigator
properties window.
If you exceed the limit, an error will occur
when transferring the project to a panel.
Datalist Editor
1: You can insert only one object per screen.
File Recipe Editor
Figure and other objects Unlimited
63
2. Project Development
2 In the Object Library pane, click a desired tab, and then click an object category.
3 In the Object List, drag and drop an object into the editing area.
Basic Selections
You can select an object on the screen by clicking on it.
To select multiple objects, drag the pointer over the objects on the screen, or press and
hold the Ctrl or Shift key while clicking the objects.
64
2. Project Development
- If you drag the pointer to the right and downwards, only the objects which are
completely covered by the rectangle will be selected.
- If you drag the pointer to the left and upwards, the objects in the rectangle and other
objects partially covered by the rectangle are selected together.
To select all of the objects on a screen at once, click [EDIT] [Select All], or press Ctrl+A.
65
2. Project Development
Note
Inside a selection, you can decide the primary object by clicking one of the
selected objects while pressing the Ctrl key.
When you arrange a selection of multiple objects, the objects are aligned
based on the position of the primary object in the selection.
Note
When you cycle through the selection of overlapping objects in a group, the cycle takes
place only within the boundary of the group.
To select an object that is hidden behind another object or to select an overlapping area
between multiple objects, press the Alt key while you drag the pointer to make a
selection.
When you select an object that is overlapped by another object, the selection is
maintained when you click on the overlapped area.
66
2. Project Development
Canceling a Selection
To cancel a selection, click an empty area on the screen, or press and hold the Alt or Shift key
while clicking anywhere on the screen.
To group objects:
To ungroup objects:
1 Select a group.
67
2. Project Development
Note
To select an object inside a group, click the object for 0.5 seconds. A selection is
made when you release the mouse button.
After selecting an object in a group, you can click and select other objects in
the same group.
To lock objects:
2 Right-click the selection and select 'Select Lock' from the menu.
68
2. Project Development
To unlock objects:
Note
To disable selection lock for all objects and figures on the screen, on the main
menu, click [EDIT] [Release Selection Lock of All Objects and Figures on
Screen.
You can enable or disable the selection lock from the Data Viewer by clicking
69
2. Project Development
You can lock or unlock a group but not the individual objects inside a group.
Ungroup the objects to lock or unlock the individual objects in a group.
Note
You can copy and paste different objects at the same time.
70
2. Project Development
Type Description
Copy No. Set how many objects to paste by specifying the number of
rows and columns of the new objects. The number of rows and
columns cannot exceed the maximum number displayed on the
screen. Also, this setting cannot be applied if Screen Limit
Check on Object/Figures Editing is checked under [TOOL]
[Option] [Edit Option].
Space Set the vertical and horizontal space between each object.
4 Click [OK].
Note
If the number of input columns or rows exceeds the maximum number, the objects
cannot be copied.
You cannot copy tags with the Multicopy function.
71
2. Project Development
To arrange objects:
Note
You cannot align the individual objects in a group. Right-click the grouped objects and
click [Ungroup] before aligning the objects on the screen.
You can also move all of the objects to the center of the editing area. Select the objects
to move, and then click [EDIT] [Center in Page] [Horizontal] or [Vertical].
72
2. Project Development
1 Right-click an object.
To rotate objects:
1 Right-click an object.
73
2. Project Development
1 Right-click an object.
74
2. Project Development
3 Set values for a new location or size. You can move an object to a precise position or
specify its size.
Note
To move an object by one pixel, select an object, and then press the desired
arrow keys.
To resize an object by single pixel increments/decrements, press the desired
arrow keys while pressing the Shift key.
You can configure a preset value (number of pixels) for moving and resizing
object. Go to [TOOL] [Option] [Edit Option], adjust Move/Resize
Pixel(X) and Move/Resize Pixel(Y)] values, and then:
- To move an object by the preset number of pixels, press the desired arrow
keys while pressing the Ctrl key.
- To resize an object by the preset number of pixels, press the desired arrow
keys while pressing the Ctrl and Shift keys.
To resize an object while maintaining a fixed center point, hold the Ctrl key
while resizing an object.
To resize an object while maintaining the same ratio, hold the Shift key while
resizing an object.
Certain objects, such as Logging Viewer, Datalist, and Window/Part objects do
not support resizing. They are provided by the system in fixed sizes.
4 Click [OK].
75
2. Project Development
76
2. Project Development
Type Description
Thumbnail You can show all screens in a project on a single screen. Double-
click a screen to select it.
Click [VIEW] [Screen Thumbnails].
77
2. Project Development
Type Description
Pan Window You can view the current screen in a birds-eye view and scroll
through the screens.
Click [VIEW] [Pan Window].
Property Viewer You can view and edit information about windows, figures, or
objects on the current screen without opening a dialog box.
Click [VIEW] [Property Viewer], then select an object or screen.
78
2. Project Development
Type Description
You can also set options for the editing area, as described in the following table:
Type Description
Ruler To show or hide the ruler, click [VIEW] [Ruler].
Scales are displayed in pixels.
Grid Setting You can move and arrange objects conveniently with the grids in
the editing area.
To show or hide gridlines, click [VIEW] [Grid].
79
2. Project Development
Type Description
You can set the color, width, and height of the dots on the grid.
To change the settings, click [VIEW] [Grid Setting].
You can also change settings to display the dots over or below the
objects from the Grid Setting.
Margin Line The margin line is the boundary of the editing area.
80
2. Project Development
Type Description
Help Line The help line is used as a reference when you draw or arrange
objects on the screen.
To lock or unlock the help lines, right-click the line and then click
[Help Line] [Lock Help Line].
To delete a help line, right-click the line and then select [Help
Line] [Delete Help Line].
To allow an object to be attached to the help lines while moving
or resizing it, click [EDIT] [Glue to Help Line].
81
2. Project Development
Type Description
Guide line When you move an object on the screen, the guidelines are
displayed to provide additional guidance about the objects
position in relation to the objects previous position or the
position of other objects on the screen. The guidelines are
displayed when the moving object and an existing object are
aligned in the center, edge, intersection, etc.
To show or hide the guidelines, click [VIEW] [Guide Line].
Show/Hide Object Every object has an ID which makes the object unique.
ID
82
2. Project Development
Type Description
Show/Hide Object To show or hide an objects status, click [VIEW] [Show/hide
Status Object On/Off].
An object with a bit or word address can appear differently
depending on its On/Off state or the preset condition. You can
preview the states before transferring the data to an XGT Panel.
<Bit device>
<Word device>
Data Viewer The Data Viewer shows object type, ID, and location information,
along with selection lock status. You can copy, cut, and paste
items in the Data Viewer window, or enable or disable selection
lock by clicking the lock icon on the right side of the object
information.
To open the Data Viewer, click [VIEW] [Data Viewer].
83
2. Project Development
This function uses the drawing sequence of Draw from Figure to Object to make figures
consistent with the drawing sequence of the XGT panel. This enables the device and editor
screens to be displayed in the same way.
4 Confirm that the figure is placed below the object as shown in the following screenshot.
84
2. Project Development
Note
The Draw from Shape (Figure) to Object function enables the same drawing sequence
to be used on the HMI device. It allows users to preview how the object will be
displayed on the HMI device.
When the Draw from Figure to Object function is used, the Selection and the Send
Forward/Backward functions do not operate properly. This occurs because the order of
creation and the order of display do match. To select a figure that is in the background
when using this function, right-click it while pressing the Ctrl key.
You can also right-click the selection, and then click [Delete].
85
2. Project Development
To redo the changes, click [EDIT] [Redo] and select the last change that has been undone,
or press CTRL+ Y.
On a project with multiple screens, right-click one of the tabs and select [New Horizontal Tab
group] or [New Vertical Tab group], and then add more tabs if necessary.
Group and arrange the tabs and switch between the screens that belong to the same group.
Note
86
2. Project Development
The screen tab group feature allows you to drag and drop objects. You can duplicate an
object by dragging it from a screen in one tab group window and dropping it on a
screen in another.
On the newly opened windows, drag and drop the tabs into different groups, or right-
click the tabs and select desired options to edit or arrange the screen for each group.
2 Choose the path and folder to save the font file, and then click [OK].
87
2. Project Development
4 Select the folder where the font file is saved, and then click [OK].
1 Select the screen(s) to export from the screen tree and click the right mouse button. Then,
select [Export] from the menu.
2 In the dialog box, select the folder to save the file in. Then, enter the file name and click
[Save].
When the screen is exported, the following elements are also exported.
88
2. Project Development
Item Description
Screen Data All objects and figures used on the screen
User Images User images used by the objects and figures on the screen
Note
The file extension for screen export files is .xscr.
To import a screen:
1 Right-click the screen you want to import from the screen tree and select [Import] from
the menu.
2 Click the file selection button at the top of the [Import] screen to select the file to import
(as shown in the screenshot below).
3 The list of screens in the file to be imported is displayed in the preview window at the left
side of the window.
89
2. Project Development
4 Select a screen to add from the list on the left side of the window and click [Add].
5 The added screen is displayed in the grid on the right side of the window as shown in the
screenshot below.
6 Change the value of the screen number, the name, the tag, and the text table as required.
90
2. Project Development
7 Click [OK] and then confirm that the selected screen and related text tables and tags are
successfully added to the project.
Note
The pop-up message shown below is displayed when the same file number exists on the
screen or if two or more screens have the same screen numbers in the grid.
Drag (AutoFill) the reference row from the grid to copy the screen data. The screen
number increases by 1 if it is dragged down and decreases by 1 if it is dragged up
based on the value of the reference row.
91
2. Project Development
Type Description
Select File Select a file to import (.xscr).
Add Select a screen to add to the project and click "Add" to add the
screen data to the grid on the right side of the window.
Screen Number Displays the screen number of a screen added using the [Add]
button. The screen can be edited and a number from 1 to 65534 can
be entered.
Screen Name Displays the screen name of a screen added using the [Add] button.
The screen name can be edited.
Screen Type Displays the screen type of a screen added using the [Add] button.
The screen type cannot be edited.
Screen Switch Change the screen number of the screen change switch when a
Offset screen is added to the project. A number from 0-65,534 can be added
to the original screen number. The screen switch offset value can be
edited.
92
2. Project Development
Type Description
Tag Name This option is used when an existing tag in the project has the same
Duplicated name as a new tag to be added to the screen. There are two options
available, [Overwrite] and [Skip]. The default is [Overwrite].
Text Table Name This option is used when a duplicate text table name and number
Duplicated matches a table in the project. There are two options available:
[Overwrite] or [Skip]. The default option is [Overwrite].
It is added when items used in keyword editing and character strings
are changed.
Object/Figure on This option is used to determine if the objects and figures on the
Different Screen screen will be scaled to fit the current project. Alternatively, they will
Resolution retain their current format to ensure the resolution of the screen to
be added is different from the resolution of the project. There are two
options available, [Scale] and [Skip]. The default is [Scale].
93
2. Project Development
Type Description
Tag This function replaces a part of a tag name with a new character
string when a screen is imported. The following example shows a
tag change. The replacement character string is enclosed between
# and #. The objects that use the tag are registered on the
screen to be exported.
[Setting Export Projects]
[Import Results]
Text Table This function replaces a part of the character strings in the text table
with a new character string when a screen is imported. The following
example shows the process of changing a text table. The
94
2. Project Development
Type Description
replacement character string is enclosed between #and #.The
objects using the text table are registered on the screen to be
exported.
[Setting Export Projects]
[Import Results]
95
2. Project Development
Note
In the Selected Print Items pane, you can rearrange the order of each selected
item.
3 In the Header/Footer tab, specify options for a header or footer, and then click [OK].
96
2. Project Development
An MS Excel file including the selected project data opens on the computer screen
automatically.
97
2. Project Development
Type Description
System Graphic Library About 8,000 images in 40 categories are included in the
System Graphic Library. This library cannot be edited.
You can select raster (256-color) or vector (65,535-color)
images, depending on the color capabilities of the XGT Panels
you are using. The following table describes characteristics of
raster and vector images.
Type Description
Displayed in pixels as a bitmap image.
Distorts when you zoom in or out.
Raster
If used as a background image in an object, the
pattern and color cannot be changed.
Expressed by connected lines.
Not distorted when you zoom in or out.
Not recommended to use a vector image as a
Vector
background image of an object. Excessive use of
vector images slows down the panel operation
speed.
User Graphic Library You can register, modify or delete images. The images are
saved in the current project and not in the XP-Builder program.
You can import a User Graphic Library from another project or
export it from the current project to use in other projects.
98
2. Project Development
To open the Graphic Library pane, click [VIEW] [Graphic Library]. The Graphic Library pane
will appear, as shown in the following image:
In the Graphic Library pane, you can drag and drop an image into the editing area.
Note
A tooltip (max 320 x 320 px) is displayed to show the enlarged image, along with its full
name, file size, and image size, when you move the mouse pointer over the images in
the library.
Dropdown filters are provided at the top of the Graphic Library pane to allow you to
easily find the specific images that you are looking for. You can set the image category
and sub-category, image color, image type (vector or raster), colors (All, 256, 65535),
and on/off status of the image for viewing.
99
2. Project Development
You can also zoom in or out of images by selecting one of the magnification presets in
the dropdown list.
Vector images maintain their shape even if you change their size. Raster images may be
distorted if you enlarge or reduce their size.
When you drag an image to the editing area, it is created in its default size. The default
sizes of images are variable.
To create a library:
100
2. Project Development
2 Enter the name of the library and click . A new image category will be created.
3 Right-click an empty area in the Graphic Library pane, and then select [Insert Image].
4 Select the image files in the browsing window, and then click [Open].
101
2. Project Development
Note
You can also drag the image from the browsing window and drop it to the User Graphic
Library pane.
To delete an image, right-click an image and then click [Delete Image].
Note
The WMF format is used only in XP-Builder. You can draw figures in XP-Builder and
directly add it to a user graphic library in WMF image format. WMF images are not
distorted when you resize them.
To add WMF (vector) figures to a library:
1. In the editing area, right-click a figure to save it.
2. Click [Insert the selected shapes to active graphic library].
102
2. Project Development
2 Select a library to export from the drop-down list and click or right-click an empty
area in the Graphic Library pane and click [Export].
3 Enter a name for the file and set the file destination.
4 Click [Save].
Note
The exported library is saved as an .xpg file.
If there are no images in the library, you cannot export the graphic library.
103
2. Project Development
2 Click .
3 Select an .xpg file and click [Open]. You can also select multiple files to add.
104
2. Project Development
2 In the Graphic Library pane, right-click an empty area, and then click [Insert Image].
3 Select image files and click [Open]. The selected images will be added to your user library.
Note
If an image file with the same name exists in the graphic library, a pop-up window is
displayed to ask you for a new file name. Enter a new name and click [OK] to proceed.
105
2. Project Development
106
2. Project Development
Note
User graphic libraries are sorted in ascending order by name.
The name of a system graphic library cannot be changed.
Supported image types include BMP, JPEG, GIF, WMF, TGA, PNG, TIF, ICO, and PCX.
Users can create a maximum of 2047 categories, from category number 2049 to 4095.
An error message is displayed if you try to create categories exceeding the limit.
Each category can have 500 images. An error message is displayed if you try to add
more images to a category exceeding the limit.
107
2. Project Development
To delete a library:
To apply changes to an image, right-click it and select from the following options.
Functions Description
As Background Set the image as the background image of the current screen.
Image
To set an image as a background:
108
2. Project Development
Functions Description
109
2. Project Development
Functions Description
Replace Image Replaces an existing image with a new image file selected by the user.
Apply Applies a transparent color to the image (see the following procedure).
Transparent
Color To set the transparency of the image and apply it to XP-Builder:
1. Open an image in Paint and set the RGB color properties of the part
of the image to 255, 0, 255, to make it transparent.
4. Apply the image to the editing area to view the transparency settings.
110
2. Project Development
Functions Description
Select Set the transparency value of an existing color in the image (see the
Transparent following procedure).
Color
To set the transparency of an existing image:
1. Right-click an image and click [Select Transparent Color].
2. Select the part of the image that you want to make transparent, and
then click [OK]. Then, the RGB value for the transparent color will be
changed.
Dither Image Change the color value of the image to 256 colors to reduce the size of
to 256 Colors the file.
111
2. Project Development
Functions Description
3. Click [OK].
Note
Once an image is dithered, its color value cannot be restored.
Note
The default transparent color is RGB (255, 0, 255).
Setting a transparent color is not a default option.
You can select multiple images and apply transparency to them simultaneously if the
image properties are the same. If the image formats are different or if one of the
images has a transparency already applied, the function will not work.
You can use the dithering function only in projects for color mode panels. After TGA and
JPG files are dithered, they are saved as BMP files.
The image dithering function substitutes colors to the 256 color palette to reduce the
image size and number of colors.
Type Description
System Object Library Includes seven categories: Alarm and Logging, Keypad, Lamp,
Pushdown_Switch, Rotary_Switch, Slide_Switch, Toggle_Switch. The
system objects cannot be edited.
User Object Library You can register, modify or delete objects. The objects are saved in
the current project and not in the XP-Builder program. You can
import a user object library from another project or export it from
the current project to use in other projects.
112
2. Project Development
To open the Object Library pane, click [VIEW] [Object Library]. The Object Library pane will
appear, as shown in the following image:
Note
A dropdown filter is provided at the top of the Object Library pane to allow you to find
specific objects you are looking for. Select an object category to view.
You can also zoom in or out of object images by selecting one of the magnification
presets from the dropdown list.
A tooltip is displayed to show the object information and the object is magnified for a
detailed view when you move the mouse cursor over images in the library.
After inserting an object on the screen, you can double-click it, select it, and press the
ENTER key, or right-click it and select [Object Property] to modify the object properties.
When you drag an object to the editing area, the object is created at the default size.
The default sizes of objects vary.
113
2. Project Development
2 Enter a category name and click . A new object category will be created.
3 Drag objects from the editing area to the Object Library pane. You can select multiple
objects/figures and register them as one object.
114
2. Project Development
4 Right-click the newly added object and select [Rename] to change the name of the object.
Note
To delete objects, right-click an object and then click [Delete]. To delete all objects, right-
click an empty area in the Object Library pane, and then click [Delete All Objects].
115
2. Project Development
116
2. Project Development
3 Enter a name for the file and set the file destination.
4 Click [Save].
Note
The exported library is saved as an .xpo file.
You can also export the current category (library) by right-clicking an empty area in the
Object Library pane, and then clicking [Export].
117
2. Project Development
2 Click .
3 Select an .xpo file and click [Open]. You can also select multiple files to add.
2 In the Object Library pane, right-click an empty area, and then click [Import].
118
2. Project Development
3 Select an .xpo file and click [Open]. The objects in the library file you selected will be
added to the existing library.
Note
Users can create a maximum of 57,343 categories, from category number 8,193 to
65,535. An error message is displayed if you try to create categories exceeding the limit.
Each category can have 500 images. An error message is displayed if you try to add
more images to a category exceeding the limit.
User object libraries and the objects in the library are sorted by names in ascending
order when you add or rename a library.
119
2. Project Development
To delete a library:
120
2. Project Development
121
2. Project Development
3 Set the controller manufacturer and the controller model (Product). Select a product with
Ethernet at the end of the controller name.
122
2. Project Development
6 Set the additional connection properties in the Connection Property section and click
[OK].
123
2. Project Development
3 Set the controller manufacturer and the controller model (Product). Select a product with
LINK at the end of the controller name.
124
2. Project Development
Note
The baud rate must match the setting in the XGT Panel. To change the baud
rate on the XGT Panel, tap and hold the screen to access the menu. Then, tap
[PLC Information], select a driver from the Driver list, tap [Settings], and set the
baud rate.
Station stands for the station ID of the PLC. HMI station number is used only
in N:1 communication settings.
125
2. Project Development
3 Set the controller manufacturer and the controller model (Product). Select a product with
LINK at the end of the controller name.
126
2. Project Development
Note
The baud rate must match the setting in the XGT Panel. To change the baud
rate on the XGT Panel, tap and hold the screen to access the menu. Then, tap
[PLC Information], select a driver from the Driver list, tap [Settings], and set the
baud rate.
Station stands for the station ID of the PLC. HMI station number is used only
in N:1 communication settings.
127
2. Project Development
Note
Except for the menu and title, the simulation window will use the same
resolution as when it is exported to an XGT Panel.
Only one simulator can be run at a time. If you are running the simulator, you
cannot execute another one.
The size of simulator window may vary according to the set XGT Panel size.
2 Verify operations by clicking or selecting objects and activating functions in the interface.
As shown in the following example, you can virtually input the value and review the
operation via the simulation.
128
2. Project Development
Function Description
129
2. Project Development
130
2. Project Development
User Device List Sets the device value manually to simulate the project.
Screen Device List Displays a list of all the edited objects in the base screen.
Device Size Displays the size of the device: Bit, 16-bit (word), or 32-bit
(double word).
131
2. Project Development
Note
To use the XG5000 with the simulator, click the checkbox next to Use XG5000 simulator in
the XGT Panel Settings.
To run a data check, click [Tool] [Data Check]. Error numbers and their descriptions will
appear in the output window.
132
2. Project Development
Note
If you close all the project screens and double-click on an item in the output window, you
can activate screens or objects that correspond to error messages, so that you can modify
them. Refer to <3.1 Resolving Error Codes Found in the Results Pane> for detailed
information.
133
2. Project Development
3 Enter a device address or click the keypad icon to the right of the device input area to
specify a device address.
a
b
b. Device Address Input a device address to search for and then press the
Enter key.
d. Device Reference Displays the currently selected device and its position in
the device map.
134
2. Project Development
2 Select [Tool] [Memory Statistics]. The memory size of each element is shown, including
screens and common data.
Note
The memory size of the screen element includes the sizes of figure and objects and
does not include the sizes of images and fonts used on the screen. Image and font sizes
show their sizes for the entire project. If an image is used more than once in a project,
the information of a single image is transferred to the XGT Panel.
If the memory required for images, projects, sounds, or recipe data is quite large, you
can set the storage location for those files to an external drive that is connected to the
XGT Panel.
Additional information includes the information of various drivers such as the
communication driver module.
135
2. Project Development
1 Click [Tool] [Find in Active Screen]. The objects address is shown in the Find Device
window.
2 Click [Find Next] to find another object with the same address.
3 To change the address of a device, click [Replace]. The Replace Device window will
appear.
4 Enter a new address in the Replace With field or click the keypad to the right of the field
to specify a device address.
Note
136
2. Project Development
You can also click [Tool] [Replace in Active Screen] to directly access the Replace
Device window.
By default, the Find function locates either device addresses or tags, based on the type
of information that you specify. To search for device addresses and tags, check the
check box next to Find All Addresses/Tags.
To locate a range of addresses, set the range in the Range Search field. By default, the
range is 1, which returns a single device address. You can also replace addresses
automatically in a range from a specified starting point, for as many devices as you
specify in the Range Search.
1 Click an object to select it, and then click [Tool] [Find/Replace All] [Device].The
current objects device address is shown in the Find All window.
2 Click device types and enter the device address to find in the Find What field. By default,
the search range is the entire project.
137
2. Project Development
Click [Find All]. The output window shows the results of the search. You can double-
click a column to view details about the object.
1 Click an object to select it, and then click [Tool] [Find/Replace All] [Device]. The
current objects device address is shown in the Find All window.
2 Click [Replace].
3 Enter the original device address in the Find what field and the new address in the
Replace with field.
138
2. Project Development
5 Click [Yes] to confirm the address replacement. The output window shows the number of
the replaced addresses.
Note
To replace addresses in a specified range, change the Device Count setting. Addresses will
be replaced for the number of devices you specify. For example, if the original device
address is P0 and the Device Count is 7, then 7 devices, including P0, are replaced.
139
2. Project Development
1 Click an object to select it, and then click [Tool] [Find/Replace All] [Font]. The
Find/Replace Font window opens.
2 In the Find field, choose a font from the dropdown menu. The entire project is selected
by default.
3 Click [Find All]. The output window shows the results of the search. You can double-click
a column to view object details.
140
2. Project Development
1 Click an object to select it, and then click [Tool] [Find/Replace All] [Font]. The
Find/Replace Font window opens.
2 Choose the fonts from the dropdown menu for the Find and Replace with fields.
4 Click [Yes] to confirm the address replacement. The output window shows the number of
the replaced addresses.
141
2. Project Development
2 In the left pane, select the specific items in the project to search.
3 Find the devices in Before Dev. column, and click the value in After Dev. column.
142
2. Project Development
Note
Check the Selected Object option to find device address from the objects you selected on
the screen.
3 Find the font in Before Dev. column, and click the After Dev. column.
143
2. Project Development
144
2. Project Development
3 Edit the data to run in XGT Panel using the XP-Builder editor.
4 In XP Builder, check the check box next to [Use PLC Simulator] in [Common] [Project
Property Setting] [XGT Panel Setting].
145
2. Project Development
6 Operate or change the device values either in XG5000 or XP-Builder simulator and
monitor the operation.
Note
XP-Builder does not support multiple instances of the simulator. Only one simulator can
be run at a time.
Run the XG5000 simulator first, and then run the XP-Builder simulator.
During simulation, the PLC type setting affects the operation.
146
2. Project Development
1 Run [S7-PLCSIM]
4 If a device value is changed in S7-PLCSIM, the changed value is saved and displayed on
the XP-Simulator.
Note
S7-PLCSIM Version 5.4 or later
PLC Driver Device Addresses Supported by S7-PLCSIM.
- Data Block Devices
- Flag Devices, Internal Memory
- Output Devices (QI, QW, etc.)
- Input Devices (I, IW, etc.)
PLC Driver inaccessible Device Addresses Supported by S7-PLCSIM.
- Timer Device (TW, etc.)
- Counter Device (CW, etc.)
If an input device is used in an object as a read device, the object will not be
displayed correctly. Also, writing a value to a read device may result in
abnormal operation.
- A bit switch object uses an input device. Reversal of the device value cannot
be applied with a bit switch, because the device value cannot be read.
- For On/Off operation at a bit switch, only the selected bit works while other
bits are reset.
The PPI MD device is a 32-bit device. It can be interfaced with the PLC
simulator in 32 bits. It is recommended to use the 32-bit version.
The DB block can be normally interfaced to the XP-Simulator after it is set in
SIMATIC Manager, downloaded to the PLC simulator, and then can be run
properly in the PLC simulator. It will not work properly if it is not downloaded
to the simulator even if it is added in SIMATIC Manager.
- Input the name and type in SIMATIC Manager as shown in the screenshot
below.
147
2. Project Development
Configuring RS Logix5000:
148
2. Project Development
3 Select [New Module], as shown in the following screenshot, to set the I/O Configuration.
4 Set the Assembly Instance for the New Module to 2, 1, and 16.
149
2. Project Development
Configuring RS Emulator:
1 Right-click on the slot (slot 1 in the example above) identified if the emulator was
created in RS Logix.
2 Select the slots Module Type as Emulate5000 Controller as shown in the figure below.
Then, check the slot number.
3 For other parameters, use the default values provided by the Tools
4 Create the I/O Configuration slot in the same way. Right-click on the second slot in the
list to create a slot. Then, specify the Module Type as 1789-SIM 32 Point Input/Output
Simulator.
150
2. Project Development
5 The following details are displayed when the emulator settings are completed.
Configuring RSLink:
151
2. Project Development
3 Select [RSLinx Classic Gateway] [DDE/OPC] [Topic Configuration]. The name of the
project created in RS Logix 5000 is displayed in a list to the right of the window. Select
the project and specify the topic in the left pane. Click [Apply] and then click [Done].
Running RS Emulator:
1 After the previous procedure is finished, run the emulator in RSLogix500. Select
[RSLogix5000] [Communication] [Who Active] to run it.
152
2. Project Development
2 Select the emulator in the Who Active window, as shown in the screenshot below, and
click [Download].
5 Edit the data to run in XGT Panel with the XP-Builder editor.
6 Select [Use PLC simulator] in [Common] [Project Property Setting] [XGT panel
Setting] on the XP-Builder.
153
2. Project Development
7 When the XP-Simulator runs, the list of projects created by RSLogix5000 is displayed as
shown in the screenshot below. Select the project for the topic that was set in the
procedure above.
Note
All three tools must be set for the simulation in the data interface for the RSLogix
emulator.
RSLogix Emulate 5000 Classic Monitor 21.00.00 version or later.
RSLinx Classic GateWay 3.51.00 or later (OEM and Single Node versions are not
supported).
Studio 5000 Logix Designer 21.00 version or later.
154
2. Project Development
155
2. Project Development
Item Description
PC side I/F Sets the COM Server target. Specify the GX Simulator as the
target for the simulator.
CPU Sets the CPU type for the simulator. The target CPU type for the
ladder program edited in the GX Simulator is generally
specified. Only the memory domain for a specified CPU type
can be simulated. For example, if Q06H is specified in the Q02H
CPU type or the GX Component Wizard, the GX Simulator can
monitor only memory corresponding to the Q06H CPU.
156
2. Project Development
3 After the ladder program is created, select [Tools] [Start ladder logic test] in GX
Developer to run the simulator.
4 Edit the data to input into XGT Panel with the XP-Builder editor.
5 In XP-Builder, check the [Use PLC simulator] checkbox in [Common] [Project Property
Setting].
6 Run XP-Builder simulator. The CPU that is connected must be set when the GX Simulator
and the XP-Simulator are connected. Set the CPU type that is same as GX Simulators
ladder program in the checkbox, as shown in the screenshot below.
157
2. Project Development
If the X0 device value is set to 0x21 in GX Simulator, the same value will be displayed
in the XP-Simulator.
Note
Supported PLC Drivers
1. SIEMENS Simulator Interfaces
- Siemens: SIMATIC S7 300/400 Ethernet
- Siemens: SIMATIC S7 3964(R)/RK512
- Siemens: SIMATIC S7 MPI
- Siemens: SIMATIC S7 PPI
2. Rockwell Simulator Interfaces
- Rockwell: EtherNet/IP ControlLogix/CompactLogix Series Native
3. Mitsubishi Simulator Interfaces
- MITSUBISHI: MELSEC-A(LINK)
- MITSUBISHI: MELSEC-FX(CPU)
- MITSUBISHI: MELSEC-FX(ETHERNET)
- MITSUBISHI: MELSEC-FX(LINK)
- MITSUBISHI: MELSEC-Q(CPU)
- MITSUBISHI: MELSEC-QnA, Q(ETHERNET)
- MITSUBISHI: MELSEC-QnU CPU(ETHERNET)
- MITSUBISHI: MELSEC-QnA, Q(LINK)
XP-Simulator must be run only after another PLC simulator is run.
158
2. Project Development
Before transferring a project, you must select a connection method, as described in the
following sections. There are three connection methods available: RS232C, USB, and Ethernet.
The connection methods available will vary based on the XGT Panel model you are using.
To transfer a project:
1 Click [Communication] [Send] or select the download icon ( ) from the toolbar.
159
2. Project Development
Function Description
Download to XGT Panel Select this option to transfer a project to an XGT
Panel. This is the default option. Click [Settings] to
change the communication settings.
File Location Displays the file path for a file that is saved in an
external storage device. A folder type and a
compressed file type can be selected. If the folder
type is selected, multiple files to be downloaded to
the input folder are generated. If a compressed file
type is selected, multiple files are compressed and
stored in a file that has a file name you specified. For
file management purposes, the compressed file type
is more convenient but it may take longer to
compress the files. For example, files to be
downloaded in the folder are saved to the G:
160
2. Project Development
Function Description
\XP_Project\AAA folder. If a compressed file is used,
files to be downloaded are saved as AAA.xpd file in
the G: \XP_Project folder.
Delete All Monitoring Select this option to delete alarms, logging, recipe
Data data, and operation logs stored in the NVRAM of the
XGT Panel.
Function Description
Connect Type Set the connection type between your computer and
the XGT Panel.
161
2. Project Development
Function Description
162
2. Project Development
Function Description
Scan XGT Panel Click to scan for XGT Panels connected via Ethernet.
4 Verify that your computer and the XGT Panel are both properly connected via your
chosen connection method, and then click [Download]
Note
Viewing Available Memory before Sending a Project
View the available memory before sending the project file to ensure the file can be
transferred successfully. You can compare Flash and USB/CF/SD memory capacities to
the size of the project file before transferring it, as shown below.
Memory type Case Description
Flash memory Downloading the Compare the project file size to the total
163
2. Project Development
- If the available memory is insufficient to download only the revised part, download the
entire project.
Note
To set the password, in XP-Builder, click [Communication] [XGT Panel Information]
[Password]. When you set the password for the first time, enter the new password again
to confirm it. Your password can contain up to 10 characters in length.
XP-Builder transfers only the updated portion of a project, except in the following cases:
164
2. Project Development
- You are transferring the project to the panel for the first time.
- You have changed the project properties, which can affect data throughout the entire
project.
- The project ID has been deleted on the panel due to a communication error.
Therefore, the project IDs cannot be compared between your computer and the panel.
If the transfer is unsuccessful, it may be due to different runtime versions between XP-
Builder and the XGT Panel. If the runtime version of the XP-Builder is later than that of
the panel, update the runtime file on the panel to match XP-Builder and try the transfer
again.
1 Connect the serial cable to the TOOL port on the XGT Panel and RS-232C port on a
computer.
165
2. Project Development
7 Select the same baud rate that you set on the XGT Panel. If the transfer rates do not
match, the transfer will fail.
8 Select the serial port connected to the XGT Panel. The COM port number must be the
same as the one used by your computer for the RS-232C connection. To set the COM
port number on your computer, open the Control Panel, locate the Device Manager, and
modify the Ports (COM&LPT) settings.
1 Connect a computer and an XGT Panel to a network via Ethernet cables. You can also use
a cross cable connection if a network is unavailable. The IP addresses of the XGT Panel
and the connected computer must be in the same Subnet mask.
166
2. Project Development
8 Set the IP address and port number to match the ones that are set in the panel.
Note
You can use the automatic search function in XP-Builder (Scan XGT Panel) to locate and
connect XGT Panels on a network. The feature uses the UDP protocol to retrieve
information about the XGT Panel and returns it via broadcast messages to a default
address (255.255.255.255). This search is performed only on the local network. If a
gateway exists between the search computer and the XGT Panel, the message may be
blocked.
By default, the last address used will remain in the settings until you replace it manually
or update it by performing a scan for connected XGT Panels.
If you are transferring information to multiple XGT Panels, the data will be transferred in
order by IP address. When you view IP addresses as shown in the following example,
they appear in ascending order.
167
2. Project Development
Note
The procedures described in this section apply only to XP series panels. Refer to <2.8.1.4
Using a USB Connection (iXP/eXP models)> for information on USB connections with
iXP/eXP series panels.
The USB connection is supported by XGT Panel operating software versions 1.24 and
higher.
1 Run XP-Builder, and then create and save the project to be transmitted.
3 Connect a USB cable to the USB port on the XGT Panel and to the USB port on a
computer. When a USB cable is connected to the XGT Panel, a USB icon appears at the
bottom-left corner of the display.
168
2. Project Development
6 Select the [USB] icon from the [Connection Type] selection list. Select XP Series as the
type in the Details.
1 Run XP-Builder when the cables are properly connected and the XGT Panel settings are
complete.
169
2. Project Development
5 Select the [USB] icon from the [Connection Type] selection list. Select iXP/eXP Series as
the type in the Details.
Note
On the PC, confirm the USB connection in the Device Manager from My Computer.
- [Remote NDIS based Device] is displayed below the [Network Adapter].
If the cable is not connected properly, reconnect it. If necessary, reinstall the XGT panel
USB driver, and then confirm that the connection is active.
170
2. Project Development
1 Click [Communication] [Send] or select the download icon ( ) from the toolbar.
2 Check the checkbox next to Save to removable device and select the location of the
removable device. By default, the project will be saved in the Drive
name\XP_Project\Folder name folder, unless you specify a different folder name. To
download the project file, you must create a folder inside the XP_Project folder. The
folder will be created automatically.
171
2. Project Development
3 Click [Download].
Note
Ensure that your removable drive has sufficient space to store your selected project files. If
the drive has insufficient space available, an error message will appear that describes the
available memory and the total memory required to transfer the project files.
1 In XP-Builder, click [Communication] [Receive] or select the upload icon ( ) from the
toolbar.
172
2. Project Development
3 Click [Browse] to select a destination folder for the project file. If you do not set the
destination, you cannot receive the project file from an XGT Panel.
4 Select Project file to transfer the entire project. Select Backup data to specify which
types of data to transfer.
5 Click [Upload].
173
2. Project Development
Note
You cannot receive images unless you have selected the Include Upload Project File
option when transferring the project to the XGT Panel.
1 In XP-Builder, click [Communication] [Receive] or select the upload icon ( ) from the
toolbar.
174
2. Project Development
4 Select Backup data. You can click the checkboxes in the list to specify which types of data
to transfer.
5 Click [Upload].
175
2. Project Development
6 If a communication password is set, enter the password for the XGT Panel and click [OK].
In XP-Builder, the transfer progress will be shown in the output window.
Note
Logging, alarm, operation log and recipe data are stored in CSV format. Memos and screen
captures are saved in BMP format.
176
2. Project Development
Multiple controllers can be monitored from a single XGT Panel. The XP series panels support
up to 4 connection numbers (0-3) and the iXP series panels support up to 16 connection
numbers (0-15) for different types of controllers, when connected to multiple protocols
(RS232C, RS422/485, and Ethernet).
You can connect up to 4 different controllers for XP/eXP series panels or up to 16 different
controllers for iXP series panels. A multi-channel setup of 1: N communication is illustrated by
the following image (XP Series).
Note
When you connect controllers via RS232C only, you can connect only one controller
from each series.
When you connect controllers via Ethernet only, you can connect 4 XP series
controllers,4 eXP controllers, and 16 iXP series controllers.
177
2. Project Development
To use 1: N communication:
1 In XP-Builder, click [Common] [Project Property Setting] [XGT Panel Settings] [Add
Controller].
2 Select the PLC and manufacturer from the drop-down list. If necessary, click [Detail
Settings] and change the properties.
Note
To delete a controller, select it from the list and click [Delete Controller].
178
2. Project Development
179
2. Project Development
4 Click the checkbox next to Use N: 1 Communication and input the following parameters:
180
2. Project Development
N: 1 Settings Description
Use N: 1 Select whether or not to use N: 1 communication.
Communication
N: 1 Station Number Select a station number (0-15) for the HMI. The first
station must be set to 0. Station numbers must be
continuous, or communication will fail. Duplicated station
numbers are not allowed.
Number of XGT Select the total number of XGT panels you are using (up to
Panel 16).
Max. Token Holding Select the maximum time that each panel can hold the
Time token (up to 60 seconds). The token is automatically
released when the maximum time is reached.
Note
The total number of XGT Panels you specify must match the total number of stations
exactly.
The N: 1 Settings option appears when you select a controller that supports N: 1
communication.
The more XGT panels you connect, the slower the communication speed will be.
All XGT Panels participating in N: 1 communication should have the same controller
settings and parameter settings (except for station numbers).
When using N: 1 communication, the Program Monitor function is not supported and
the controller monitor protocol cannot be used, which results in decreased
communication speed.
N: 1 communication does not function in the simulator.
Manufacturer Driver
LSIS LSIS: XGK(LINK)
LSIS: XGI/XGR/XEC(LINK)
LSIS: XGB(LINK)
LSIS: GM(LINK)
181
2. Project Development
Manufacturer Driver
LSIS: Inverter (MODBUS)
MITSUBISHI: MELSEC-FX(LINK)
182
2. Project Development
183
3. Error Messages
3. Error Messages
In XP-Builder, you may be notified of an error via a code in the Results pane or a message in
a pop-up window. In these cases, locate the error in the corresponding sections that follow
and take the appropriate steps to resolve the error.
1001 There is (are) shape(s) that is Check the project in XP-Builder and make sure
out of the screen area. that all the shapes and objects are placed
within the base screen.
1002 The XX screen No. XX is The screen number exceeded the limit. Specify
incorrect. Screen No. should a screen number smaller than 65535.
be below 65535.
1003 Invalid script XX is selected. The selected script does not exist. Replace the
script with another one or create and register
a new script.
1004 It is impossible to place more More than 8 window objects have been
than XX popup window registered. Delete window objects until 8 or
object onto the screen. fewer remain.
1005 The size of the window A window cannot be larger than the
exceeds maximum one of the dimensions supported by the XGT Panel type
HMI screen. specified. Set the window size to fit within the
maximum dimensions allowed by the XGT
Panel type.
2000 The image information is The specified image has been deleted or the
incorrect. file extension is incorrect. Select another
(ex. 1. The image is not image or select an image type that is
selected. 2. The image format supported.
is not valid.)
2002 The address is incorrect. The device type is incorrect or the device
184
3. Error Messages
2004 An deleted or incorrect text The specified text table does not exist. Specify
table is used. another text table.
2005 The script XX that is not set The specified script does not exist. Specify
is selected. another script.
2007 The selected font XX cannot The font you selected cannot be found or
represent all of headers set does not support the double-byte characters
XX. you used in the heading. You must reinstall the
font, select a font that supports the characters
in the heading, or change the heading.
2008 There is an object or figure The object is outside the boundaries of the
that is out of the screen area. window. Relocate the object or adjust the size
until it fits within the window boundaries.
2009 The selected font XX is not The font you selected cannot be found. You
installed in the system. must reinstall the font.
2011 The selected image is of the The specified image type is not supported.
type that is not supported. Delete the image or select an image type that
is supported.
2012 In the selected XX, the The variable type is incorrect in the script.
monitor address exists. Change the variable to a temporary variable to
Unexpected results may display a result without writing it in the
occur. standard device.
2013 The selected history alarm to The history alarm list in a special switch or
print does not exist. multi switch has been deleted. Specify another
history alarm list.
2014 The maximum device address The number of rows and lines you set exceed
is exceeded (XX rows, XX the maximum device range. Set the number of
columns) rows and lines to fall within the maximum
device range.
2015 [XX] device is read-only. You have set a read-only device where a write
device is required. Specify a write device for
the object.
2016 There is no lamp case. Default The specified condition for a word lamp does
case will be showed. not exist. Add a condition for the word lamp.
2017 The keypad position is out of The key window location is outside the
screen. dimensions of the window boundaries.
Change the window location to fit within the
185
3. Error Messages
2018 The Selected Logging Group The specified logging group does not exist.
ID : [XX] does not exist Register the logging group in the logging
properties.
2019 Object that has same cursor Two objects have the same automatic cursor
group ID and input order and input order numbers. Change the
exists. Arrange its order. automatic cursor and input order to unique
numbers or remove the object with the
redundant setting.
2021 The number of connected plc The specified controller does not support
type is invalid program monitoring. Change the function of
the special switch or specify a controller that
supports program monitoring.
2022 The ladder monitoring option The program monitor function has not been
is not set. Please check ladder set for the object. Change the function of the
monitoring option in special switch or activate program monitoring
[Common]-[Project Property in the device settings.
Setting]-[XGT Panel Settings]
2024 There is no (trend) item. At Trend item has not been added. Add trend
least, one (trend) item must item(s)
be added.
2026 The range of Group Num. is The specified number is beyond the allowable
from 1 to 253. range for a group number. Specify a number
from 1 to 253.
2027 The device address must be Only an internal device type can be specified
Internal device address. for this function. Change the device type to an
internal device.
2028 The font of code page is not No font is specified for the selected language.
valid. Please check the Specify a font in the language settings.
[common]-[Project Property
Setting]-[Language]-
[multilingual font].
2029 The program path, parameter The path and filename are incorrect for an
or file path is not valid. external program. Enter the correct path and
filename.
186
3. Error Messages
3002 The key window [XX] is The specified key window does not exist.
incorrect. Specify an existing window or create a new
window to use as the key window.
3003 The default screen-converting The window change device has not been
device is incorrect. specified. Specify the device in the project
properties window.
3004 The Global window 1- The window change device has not been
converting device is incorrect. specified. Specify the device in the project
properties window.
3005 The Global window 2- The window change device has not been
converting device is incorrect. specified. Specify the device in the project
properties window.
4000 The trigger device of the The device has not been specified. Specify the
logging XX is incorrect. device in the logging properties.
4001 The sampling device of the The device has not been specified. Specify the
logging XX is incorrect. device in the logging properties.
4002 The progress device of the The device has not been specified. Specify the
logging XX is incorrect. device in the logging properties.
4003 The cancel device of the The device has not been specified. Specify the
logging XX is incorrect. device in the logging properties.
4004 The file full device of the The device has not been specified. Specify the
logging XX is incorrect. device in the logging properties.
4005 The data clear device of the The device has not been specified. Specify the
logging XX is incorrect. device in the logging properties.
4006 The backup trigger device of The device has not been specified. Specify the
the logging XX is incorrect. device in the logging properties.
4007 The backup complete device The device has not been specified. Specify the
of the logging XX is device in the logging properties.
incorrect.
4008 The logging area setting is The logging storage area has not been
incorrect. specified. Specify the storage area in the
logging area settings.
4009 The maximum logging size is The sum of the specified storage areas
exceeded.(XX bytes). exceeds the maximum logging area size.
187
3. Error Messages
4010 The logging area is not set. The logging storage area has not been
specified. Specify the storage area in the
logging area settings.
4014 The backup path of the The logging backup path has not been
logging is not selected. specified. Specify the backup path in the
logging properties.
4015 The setting of the logging The maximum number of devices to log has
sampling device is incorrect. been exceeded. Reduce the number of device
The maximum device size that to log until it is within the maximum.
is able to be set by the
number of the sampling
devices is exceeded.
4016 The control device of the Two logging control devices have the same
logging XX has a duplicated number. Change one of the devices to a
setting. The duplication of a unique number.
control device is not
permitted.
5000 The setting of the occurred The device has not been specified. Specify the
alarm count device is device in the alarm properties.
incorrect.
5001 The setting of the monitoring All required devices have not been specified
device is incorrect or not or a device address is incorrect. Specify a
applied to all registered device or verify specified devices in the flow
alarms. alarm settings.
5002 The monitoring device is Two flow alarm devices have the same
duplicated. number. Change one of the devices to a
unique number.
5003 [Flow alarm XX] The No alarm message has been selected. Select
message setting is incorrect. an alarm message.
7000 The setting of the not restored The device has not been specified. Specify the
alarm count device is device in the history alarm properties.
incorrect.
7001 The setting of the alarm data The device has not been specified. Specify the
clear device is incorrect. device in the history alarm properties.
7002 The setting of the alarm print The device has not been specified. Specify the
trigger device is incorrect. device in the history alarm properties.
188
3. Error Messages
7004 The setting of the history The specified history alarm acquisition cycle
alarm data obtaining-period is contains an error. Verify the cycle in the
incorrect. history alarm properties.
7005 There is no content of the The alarm group display text has not been
string of the alarm group XX. selected. Select display text in the group
properties window.
7006 The string table setting of the No text has been selected in the alarm list.
alarm list XX is incorrect. Select a text table or create and specify a new
text table for the alarm list.
7007 The monitoring device setting The device has not been specified. Specify the
of the alarm list XX is device in the alarm list settings.
incorrect.
7008 The range setting of the alarm The specified conditional expression in the
list XX is incorrect. alarm list contains an error. Verify the
expression in the alarm list settings.
7009 The detail window number The detailed display setting in the alarm list
setting of the alarm list XX is contains an error. Verify the setting in the
incorrect. alarm list settings.
7010 The message setting of the No alarm message has been set. Select a text
alarm list XX is incorrect. string from a text table in the alarm list to use
as the alarm message.
7011 The alarm lists XX and XX Two history alarms are set to monitor the
are set to watch the same same device. Specify a unique device for one
device. of the alarms or delete one of the alarms.
7012 All the sampling devices of Some devices in the alarm list have not been
the alarm list XX should be specified. Specify all devices in the alarm list.
set.
7013 The monitoring device of the Two history alarms are set to monitor the
alarm list XX is duplicated. same device. Specify a unique device for one
of the alarms or delete one of the alarms.
8000 The setting of the write trigger The device has not been specified. Specify the
device is incorrect. device in the recipe properties window.
189
3. Error Messages
8002 The backup device setting is The device has not been specified. Specify the
incorrect. device in the recipe properties window.
8003 The setting of the recipe The device has not been specified. Specify the
number device is incorrect. device in the recipe properties window.
8004 The setting of the recipe block The device has not been specified. Specify the
number device is incorrect. device in the recipe properties window.
8005 The setting of the recipe data The device has not been specified. Specify the
transfer complete device is device in the recipe properties window.
incorrect.
8006 The setting of the recipe data The device has not been specified. Specify the
transfer error device is device in the recipe properties window.
incorrect.
8007 The setting of the recipe The device has not been specified. Specify the
sampling device is incorrect. device in the recipe properties window.
8008 The maximum recipe setting The sum of the specified recipes exceeds the
size (XX KB) is exceeded. maximum memory size. Adjust the number of
data blocks within the recipes to fit within the
maximum size.
8009 The backup path of the recipe Set the recipe backup path in the recipe
is not selected. properties window.
8010 The setting of the recipe The device has not been specified or the
sampling device is incorrect. number of devices exceeds the maximum
Check whether the maximum allowed. Verify the specified devices in the
device setting size is exceeded recipe entry window.
by the number of the recipe
devices.
9000 The download data size (XX The total size of the selected data exceeds the
bytes) exceeds the maximum maximum memory available for download to
size (XX bytes). the XGT Panel. Unselect items to reduce the
total data size and try again.
9001 The font used in the project The specified font is not installed on the
(XX) is not installed in the system. Install the font on the system or
system. Change to a font specify another font in the project properties.
installed in the system.
Otherwise, strings may not
appear.
190
3. Error Messages
11001 There is a character that The selected font cannot display the special
cannot be printed with the characters you are using. You must select
font [XX]. Check whether a another font that is capable of displaying the
character that is of the special characters.
incompatible font is used.
13001 There is no script selected as The specified script does not exist. Specify
operation. another script or create a new script.
15000 Backup file conversion: The file may be in use. Ensure that the file is
Cannot open backup file. closed and try again.
15001 Backup file conversion: The file may be in use. Ensure that the file is
Cannot create output file. closed and try again.
15002 Backup file conversion: The file may be in use. Ensure that the file is
Cannot access backup file. closed and try again.
15003 Backup file conversion: The file may be in use. Ensure that the file is
Cannot read backup file. closed and try again.
15004 Backup file conversion: The file may be in use. Ensure that the file is
Cannot write to backup file. closed and try again.
16001 The write-prohibited device is You have set a read-only device where a write
used as a write device, in the device is required. Specify a write device for
script. the script.
16002 The read-prohibited device is You have set an input device where a read
used as a read device, in the device is required. Specify a read device for
script. the script.
191
3. Error Messages
XX cannot be specified as the Set the number of scales in the graph object between 0
number of scale. The scale and 255.
number is between 0 and 255.
XX is not a 16 BCD data type. If the size and form of the device is 16 bit BCD, you must
Enter a value between 0~9999. set the conditional range between 0 and 9,999.
XX is not a 16 bit signed data If the device size and type is signed 16 bit, you must set
type. Enter a value between - the conditional range between 32,768 and 32,767.
32768~32767.
XX is not a 16 bit unsigned If the device size and type is unsigned 16 bit, you must
data type. Enter a value set the conditional range between 0 and 65,535.
between 0~65535.
XX is not a 32 bit BCD data If the device size and type is 32 bit BCD, you must set the
type. Enter a value between conditional range between 0 and 99,999,999.
0~99999999.
XX is not a 32 bit signed data If the device size and type is signed 32 bit, you must set
type. Enter a value between - the conditional range between -2,147,483,648 and
2147483648 and 2147483647. 2,147,483,647.
A temporary directory is a You cannot save or open files in the temporary directory.
place to store a temporary XGT Specify another file location.
file, so you cannot save or
open a file here.
Caption XX cannot be all This error occurs when the selected font cannot display
displayed with the currently set the double-byte characters used in the caption. Change
font YY. Choose the font the font or translate the caption into a language that is
meeting the entered contents. supported by the selected font.
Changed into an indirect This message appears when the method of selecting the
method. All the expressions of message or display for the word message, word
the built conditional sentences component, or word window has been changed from
192
3. Error Messages
Connection passwords are The password you entered is incorrect. Re-enter the
different. connection password for the XGT Panel.
Disconnected. Try again after This error occurs when the XGT Panel is disconnected.
connection. Check the connection between your computer and the
XGT Panel and ensure that the communication settings
are correct.
Edit device is Read-Only. Use Device input fails when the object does not support
writable device. writing. Some objects support both reading and writing,
but other devices, such as lamps, are read-only devices.
To support device input, you must use a writable device,
such as a switch, number input, or character input object.
For more information about object types, refer to <4.3
Objects>.
File transformation error This error occurs when the file to be transferred cannot
be read, due to an error in the file. Download the project
to the XGT Panel again. Refer to <2.8.1 Transferring to an
XGT Panel>.
Graphic library load has been The image library is corrupt or damaged. You must
failed. create a new image library.
More than 10M cannot be The XGT panel that is currently connected has only 10
downloaded. MB of available memory. You cannot transfer a file larger
than 10 MB.
No reply within the set period This error may occur during data transfer. Check the
or disconnected connection between your computer and the XGT Panel
and the power cable for the XGT Panel.
Object library load has been The object library is corrupt or damaged. You must
failed. create a new object library.
Password setting has been The new password cannot be set. Check the connection
failed. to the XGT Panel and the communication settings.
Problem with data This error occurs when incorrect data is included in the
transfer. Try the transfer again.
Save the project file. Enter a file name and save the project file.
Save the project first. This error occurs when you attempt to transfer a project
193
3. Error Messages
Shift to the XGT Panel program This error occurs when you attempt to update the XGT
update mode. Panel while the panel is in the normal operating mode,
instead of the update mode. On the XGT Panel, touch
and hold the screen to access the XGT Panel menu, and
then select the update mode.
The XX set lines exceed the The number of lines set in the object exceeds the
maximum display range. horizontal dimensions of the screen.
The XX set rows exceed the The number of rows set in the object exceeds the vertical
maximum display range. dimensions of the screen. Set the number of rows below
the maximum.
The backup data you want to This error occurs when there is no backup data in the
download is not in XGT Panel. XGT Panel.
The backup path has been The download path for the font or image file is incorrect.
incorrectly designated. Ensure that a USB drive is connected or a CF card is
installed in the XGT Panel and then modify the download
path in the project properties information.
The color is a user library The XGT Panel that is currently connected does not
larger than the number of support color. You must change the project settings to
colors that an XGT model can black and white or connect to an XGT Panel that
have now. supports color.
The compressed project file This error occurs when a compressed project file does
you want to download is not in not exist on the XGT Panel. To include the compressed
the XGT Panel. project file when transferring a project to an XGT Panel,
refer to <2.8.1 Transferring to an XGT Panel>.
The executable file in the The executable file has been modified. Transfer the entire
device and the executable file project to the XGT Panel.
to send are not the same.
The file already exists. Would A file with the same name exists in the directory you
you overwrite? specified. Click [Yes] to select another destination for the
file or [Cancel] to discontinue saving the file.
The file cannot be read. Check The download file is locked. This may occur if the project
whether another program is file is being accessed by another connected computer. If
being used. that is case, ensure that the project is not open by more
than one computer and try again.
The file is not writable. Check This error occurs when there is insufficient memory in
the disk memory. the XGT Panel to store the file. Check the memory in the
XGT Panel and make additional memory available, if
194
3. Error Messages
The maximum value must be Set the maximum value to be larger than the minimum
larger than the minimum value. value.
The number of characters that Set the number of characters in the character indicator
can be displayed should be an and character input/output units to an even number.
even number.
The number of the X axis The range of acceptable display numbers has been
displays that can be selected is exceeded. Set the number of X axis displays in the trend
between 3 and 120. Check and graph [Display] between 3 and 120.
enter again.
The previous project An earlier version of the project does not exist on the
information is not available. XGT Panel. Transfer the entire project to the XGT Panel.
Refer to <2.8.1 Transferring to an XGT Panel>.
The print template file does The excel template for printing does not exist. You must
not exist. create a new template.
The project header information The project header information is corrupt or incorrect.
is wrong.
The project ID is not correct. The project IDs in XP-Builder and the XGT Panel are
different. Transfer the entire project to the XGT Panel.
Refer to <2.8.1 Transferring to an XGT Panel>.
The selectable display numbers The range of acceptable display numbers has been
are from 1 to 4095. Check the exceeded. Specify a display number between 1 and
number and enter again. 4,095.
The simulator cannot be The simulator file does not exist. You must create a new
executed. simulator file.
The total number of figures Set the total number of figures larger than the number of
should be larger than the figures below the decimal point.
number of figures below the
decimal point.
The upload file is the same as You cannot overwrite the project file, because it is open.
the opened project file and Click [Yes] to select another destination for the file or
cannot be saved. Do you want [Cancel] to discontinue saving the file. To overwrite the
to specify another directory? project file, ensure the original file is closed and then try
again.
The XGT Panel model does not This error occurs when you attempt to transfer a project
match the model set in the to an XGT Panel model that is not the same as you have
195
3. Error Messages
There is no executable file in The executable file has been modified or is incomplete.
the device. Send the entire XGT Transfer the entire project to the XGT Panel.
file first.
This is not a 32 bit unsigned If the device size and type is 32 bit decimal, you must set
data type. Enter a value the conditional range between 0 and 4,294,967,295.
between 0~4294967295.
This project has an error. Check Recheck your data and correct any errors before
the tool-data. transferring the project.
[Working]/[Engine connection The XGT Panel is in the operational mode, instead of the
status is in early stage]. Try update mode. Tap and hold the XGT Panel screen to
again. open the menu. Then, tap [Update HMI Engine] and
select the engine download mode.
Wrong display number. A display with the same number exists or the range of
acceptable display numbers has been exceeded. Change
the display number.
XGT INI file open error The initialization file for transferring the XGT Panel
engine is missing or in use. Ensure that the initialization
file is not in use and try transferring the project again.
XGT model types are not the Change the XGT Panel model in the project properties or
same. transfer the project to a different XGT Panel.
XGT Panel is not ready to XGT Panel is carrying out another operation. Wait a
receive. moment and try again.
You can select only mobile GIF Select a mobile GIF image.
images.
196
4. Reference
4. Reference
Text Table Stores commonly used text. You can 255 tables
invoke text from the text table with 10,001 entries per text table
various objects.
Recipe Sets write or read values based on the 10,000 device recipes
conditions specified. 255 basic recipes/
65,535 recipe data
5,000 file recipe conditions
Flow Alarm Streams text across the bottom of the 10,000 devices
XGT Panel screen when a certain
condition is met.
197
4. Referencet
4.1.1 Tags
You can use tags to perform various functions. Tags can be used anywhere a device address
can be entered and, when you change the value of a tag, the change will be applied to all
devices with the same tag.
In the device field, you can enter a tag manually or click the keypad to the right of the field to
specify the tag. When you enter a tag name manually, enter = as the first character. The
checkmark icon will change to a T to indicate a tag.
To create a tag:
1 In the Project pane, double-click [Tag]. This will open a Tag tab in the editing area.
2 In the Tag Group tree, click the Default tag group (System tags cannot be edited).
3 In the tag list, set the tag name, device type, address, and a description for the tag.
Type Description
Numbers A name cannot begin with a number (e.g., 3ABCD).
Special Character The following special characters are allowed in the tag
names: _(underscore), %, $, #, @, &, *.
Blank Character Blank characters before or after the name are not
regarded as a part of the tag name.
Note
Tag names must be unique. The below table describes rules for tag names.
All tags are registered on a single table. The changes made to the table affect
all the objects where the tag is used.
Consecutive copying is not performed when you specify a device address with
a tag.
198
4. Reference
Two types of tags are available: system tags and user-defined tags. The following table
describes the system tags available in XP-Builder.
199
4. Referencet
_YEAR WORD HS0004 Time info [Year] for the XGT Panel.
_MON WORD HS0005 Time info [Month] for the XGT Panel.
_DAY WORD HS0006 Time info [Day] for the XGT Panel.
_HOUR WORD HS0007 Time info [Hour] for the XGT Panel.
_MIN WORD HS0008 Time info [Minute] for the XGT Panel.
_DAY_OF_WEEK WORD HS0003 Time info [Day of week] for the XGT
Panel (Sun=0 to Sat=6).
200
4. Reference
201
4. Referencet
_N1_Token_Hold BIT HS0501.0 Set the panel to hold the token for a
specified time.
202
4. Reference
2 In the device field, enter a tag manually or click the keypad to the right of the field to
specify the tag. When you enter a tag name manually, enter = as the first character. The
checkmark icon will change to a T to indicate a tag.
203
4. Referencet
4 Select a tag group and a tag. You can view the available tag list.
5 Click [OK]. The tag icon will appear in the device field.
Note
When you enter a new tag name or =new tag, you can register a new tag.
Changing the tag type (bit or word) can cause errors.
204
4. Reference
To delete a tag:
With XG5000 software, you can export all the tags used in a project, and then import them
into XP-Builder.
To import a file of tags from the XG5000:
4 Click [Open].
205
4. Referencet
Note
Follow the instructions to export tag data to a CSV file.
1. Run an XG5000 program of version 3.0 or higher.
2. Click [Project] [Save as Variables/Comment].
3. Select the variables and click [OK].
If the PLC type is different when you import the data, an error will occur.
206
4. Reference
Text tables allow you to store and manage text for reuse, translation, and simplified
management. The advantage of using text tables is that you can register text strings and then
use them throughout the project. For example, you can fetch text from a text table to use as
an object caption and format the color, size, and other font properties. You can also create
multilingual interfaces by adding language columns to the text table and registering
translations for the text strings.
The following are examples of text table applications for bit and word messages based on the
device conditions.
<Bit message>
<Word message>
207
4. Referencet
2 Click [Insert].
3 Enter text and set properties, such as font color and typeface.
Note
When a string for a window title is taken from a text table, text properties of the
text string in the table, such as font size, colors, and other text styles (italic,
underlined, bold, etc.), are ignored. The selected string is displayed in the title
section of the window in white 15 px characters.
When you enter text in a text table, the text appears in the language currently set in
the project properties.
208
4. Reference
3 Click languages from the language list and then click [OK]. Columns for alternate text will
be added for as many languages as you select in the language list.
209
4. Referencet
It will be available for display in objects when the user selects the alternative language
from the drop-down list on the XP-Builder toolbar. To add additional languages to the
list of supported languages, refer to <2.2.2.6 Changing Languages>.
Note
To support multiple languages, the operating system you are using must support the
language as well.
1 Create an object that supports the use of text tables (see the table that follows).
2 Click [Text] in the object property window or click [Header] for a History Alarm Viewer
object. To apply the text table to a Flow Alarm or History Alarm, select one of the text
tables from the Text Table Name field in the Flow Alarm editing area or the Text Table
field in the History Alarm editing area.
Type Description
Bit Message Click [On] or [Off] [Text Table].
Word Message Select a text table in the Select Text Table field, and then
click [Text Table].
210
4. Reference
Type Description
Bit Switch Check the checkbox next to Use Caption, check the checkbox
Word Switch next to From Text Table, and then click [Text Table].
Change Screen
Switch
Special Switch
Multi Switch
Bit Lamp
Word Lamp
N-State Lamp
History Alarm Click [From Text Table in Header Edit] and double-click the
Viewer Title area.
Note
You can set the text to appear differently based on the value of the device.
211
4. Referencet
3 Enter a name for the text table, select an editing language, and click [OK]. The text table
will appear in the Project pane.
You can double-click the name of the text table in the Project pane to ensure that the
captions have been listed on the text table.
Note
Text tables can contain up to 1,000 entries. When you attempt to add more than 1,000
entries, a new text table is created with an incremental suffix.
You can modify the text table name and number from the Project pane.
4.1.3 Logging
You can use up to 32 logs to record and save device values to a file when specified
conditions are met. Logging can be used to trace device trends. You can view the logs in the
Logging Viewer or Logging Trend Graph object. Refer to <4.3.11 Logging Viewer Object> for
detailed information.
Type Description
Periodical Logging Logging starts on a specified schedule and is repeated
(Time) periodically, as specified in the scheduler. The log can repeat up to
100 times. When the repetition timer reaches the specified limit,
212
4. Reference
Type Description
the device values are saved in the file.
The example below shows three logging data in 10-minute
intervals.
Periodical Logging When the logging device turns on, logging begins.
(Bit Device) You can set the logging intervals and repetition numbers.
Conditional Logging Logging begins when the logging device is changed, or when it is
(Bit Device) turned on or off. Logging does not repeat, unless the device is
changed, or it is turned on or off again.
213
4. Referencet
To create a log:
1 In the Project pane, double-click [Logging]. This will open a Logging tab in the editing
area.
Function Description
No. The number of the log.
Target Device Specify the device to read. Enter the device address
manually or click the keypad to the right of the field to
specify a device.
Logging Condition:
214
4. Reference
Function Description
Period Specify a period for logging: every hour, every day,
every week, every month, or once. Use the dropdown
menu to set a specific operating interval. For example,
if you select Every hour, you can set the specific
minute when the logging will occur. If you do not
specify the minute, the logging will occur every hour,
on the hour.
Repeat Period Set the file recording cycle, if logging conditions are
met.
Logging Progress Specify the device that will display the logging
process. The bit device stays turned on until the cycle
is completed.
215
4. Referencet
Function Description
Stop Logging Specify a device to stop logging. Logging stops when
the specified devices turns on. Once logging stops, it
does not continue on the next cycle or repetition. The
stop logging device operates on the rising edge.
Logging Area Full Specify a device to activate when the storage area
(NVRAM) for logging data is full.
Clear Logging Area Specify a device to clear the storage area for logging
data. When the device turns on, data in the specified
area is deleted.
Logging Area Clear Specify a device to activate when data in the storage
Complete area for logging data is deleted.
Note
If you set the periodic logging setting to Period, you can set the logging
to repeat up to 255 times. Logging starts at the time you set and repeats
as many times as specified at the designated period.
If you set the periodic logging setting to Device (Bit Device), logging starts
when the bit device is turned on or off and repeats as many times as
specified at the designated period.
Examples of periodic conditional operation
Setting: Repeat 4 times
Repetition
timer ON
Logging
progress
Logging
Repetition cycle
216
4. Reference
Function Description
Storage for Set a storage area for logging backup data.
Backup Data Refer to <4.7.1.1 File Path for Logging Backup> for detailed
information about storing backup files.
Use Ring Set this option to overwrite logging data when the storage
Buffer area is full. Otherwise logs cannot be saved even if the
condition is met. Overwriting occurs from the oldest file.
217
4. Referencet
Function Description
Storage location is
shifted and the Logging data 1
logging data is
recorded from the Logging data 2
first space.
Logging data 3
Logging data 4
Logging data 5
Logging data n
Do Not Clear Set to retain logging data when data is backed up to the
Log Area at area specified in the project properties. When logging data
Backup is backed up, the data in the internal memory is deleted.
However, some specific objects, such as the logging trend
object, need to retain data even though it is backed up. At
this time, set this option to retain the data. If you set this
option, the logging area setting is changed to Use Ring
Buffer automatically.
218
4. Reference
Function Description
Send E-mail Set to send an email when logging data is backed up.
after Backup
Done
Setting CSV Click to specify the layout of backup data in a CSV file.
File Format Refer to the <Logging Common Property> section that
follows for detailed information.
File Name Specify a device to contain the file name of backup data.
Device From the specified device, four consecutive word devices
are used as the file name. If the device fails to read the
data or the name string does not exist in the data, the
backup file is saved as noname.CSV.
BYTE Swap of Set to run a byte swap for the string value when using the
File Name file name device.
File Name Set the length (in bytes) of the file name.
219
4. Referencet
Function Description
Length
Append Data Set to add new backup data to the end of the previous
to CSV File CSV file.
a b
Function Description
a. Logging Area Set the size of the data saving area for each log.
The logging area can be calculated by the number,
size, and frequency of devices.
b. Logging Area Size Calculate the size of the area required to save
logging data:
Bit: [16 (Header Information) + 8 (Fixed size for
saving bit)] * [Frequency + 1].
Word: [16 + 2 * Device size] * [Frequency + 1].
Double word: [16 + 4 * Device size] * [Frequency
+ 1].
Note
The maximum size of a logging area varies by the panel type:
220
4. Reference
221
4. Referencet
4 Set the location for backup data in the Storage for backup data field.
Data
Information
Function Description
From Text Table Set to import header information from a text table.
Header Specify a header for the backup file. If you select the
From Text Table option, click [Header] to locate the
table.
Data Format Set the format for displaying the time and date.
222
4. Reference
Function Description
Decimal Digits Set how many decimal digits are used for data.
Zero Fill If you have selected right justification, select this option
to insert zeros (0) before the number.
Apply all the Logging Click to change the backup format for all log data.
Data Information The number of data columns shown varies based on the
number of logging devices specified.
Language Select the language to use for the saved logging data. If
the logged data is saved as character strings during a
backup of logging data, the data is interpreted as
Unicode values and saved as character strings. Character
strings are saved on a device in multibyte format and a
conversion table (also referred to as a code page) is
needed to convert the multibyte format to Unicode
format.
One language in [Project Property setting][Language]
[Multilingual font] can be selected at a time. Therefore, if
a Korean font is specified in [Project Property setting]
[Language][Multilingual font], Korean must be selected
as the language for logging backup before Korean
language logging data can be displayed during logging
backup.
Refer to <2.2.2.6 Changing Languages> for more
information.
223
4. Referencet
4.1.4 Recipes
You can use recipes to save and reuse process data. You can write or read data to a large
number of consecutive devices with recipes. You must set both read and write devices to
execute recipes.
Type Description
Basic Export data to non-volatile internal memory in an XGT Panel or to external
memory devices. If the power supply to the XGT Panel is interrupted, the most
recent data is saved on the NVRAM. The saved data is used for reading or writing
operation when monitoring resumes.
File The data is stored in a CSV file. You can store the file on an external device, such
as a USB drive or CF card, to run it on an HMI.
The name of the file recipe is written as shown below:
/Storage Card_root/XP_Recipe/XPR00000.CSV
/USB Storage_root/XP_Recipe/XPR00000.CSV
Refer to <4.7.1.2 Path for Recipe Backup> for detailed information about storing
the backup files.
When you open the CSV file, you can view the data as shown below:
224
4. Reference
225
4. Referencet
226
4. Reference
227
4. Referencet
2 Click [Insert].
a b
Option Description
Name The name of the recipe. You can register up to 255 recipes
(1 to 255). If you want to change the name, right-click the
recipe name in the Project pane and click [Rename].
Data type View the data type of the device. When you enter the value
in the data block, the data type is changed according to the
data type.
No. of Device Set the number of devices. Recipe data will be transferred
consecutively from as many devices as you specify.
Block count Set the number of data blocks. The maximum number of
available blocks is 255 (0254).
a. Device View the device list. Recipes use consecutive data sets, so
you cannot set each device address.
Note
228
4. Reference
The writing and reading functions cannot be executed simultaneously. When two
devices meet the same condition simultaneously, writing will be performed first.
If the recipe data is set to be saved on an external storage device and not in SRAM, the recipe
data is recorded in a file format on the storage device when monitoring begins. The file
content is updated when the recipe data read operation is performed. Changes are retained
as long as the file remains on the storage device, and the file is generated again when it is
deleted or another storage unit is mounted. In this situation, the previously updated data is
not retained and is reset to the recipe data that is initially set in XP-Builder.
The recipe data is not deleted when there is a partial download or when the download is only
of the changes in the project. However, the stored recipe data is deleted in all downloads if
the [Delete all monitoring data] option is selected.
Refer to <4.7.1.2 Path for Recipe Backup> for detailed information about storing recipe
backup files.
The process of restoring the default recipe data may fail in the following situations. For
information about data transmission errors, go to [Error Device].
The recipe file selected from File Explorer is the backup file generated by another project.
The recipe setting changed after the selected backup file in File Explorer was created.
A user modified the recipe backup file or the file is corrupted due to a storage device error.
229
4. Referencet
1 In the Project pane, double-click [Recipe Property]. This will open a Recipe Property tab in
the editing area.
230
4. Reference
Option Description
Trigger Device to Set to specify a device for writing data. Set the
Write condition to trigger the action (rising edge or falling
edge). Enter the device address manually or click the
keypad to the right of the device field.
Trigger Device to Set to specify a device for reading data. Set the
Read condition to trigger the action (rising edge or falling
edge). Enter the device address manually or click the
keypad to the right of the device field.
Recipe Type Device Specify the device that will control the recipe type. If
the lowest bit of the device is 0, a basic recipe will be
executed. If the lowest bit of the device is 1, a file
recipe will be executed. Enter the device address
manually or click the keypad to the right of the device
field.
Basic recipe Storage Set a storage location for data from a basic recipe
(Flash, CF Card, USB, or SD card).
You can also configure storage options in Storage
Settings in the Project Property window.
231
4. Referencet
Option Description
Error No. Device Specify a device to return a pre-defined error number
if a problem occurs with the data transfer. The error
numbers include:
No. Description
1 There is missing data.
The data does not match the current
2
transmission condition.
The data count exceeds the count specified
3
by the transmission condition.
The decimal point position used in the data
4 exceeds the decimal point position specified
by the transmission condition.
The data value exceeds the maximum value
5 of the format specified by the transmission
condition.
The data value is less than the minimum
6 value of the format specified by the
transmission condition.
The recipe number of the default recipe was
11
not read.
There is no recipe that corresponds to the
12
currently specified number.
The block number of the default recipe was
13
not read.
There is no recipe block corresponding to
14
the currently specified number.
The transmission condition number of the
15
file recipe was not read.
There is no file recipe transmission condition
16 that corresponds to the currently specified
number.
The file number of the file recipe was not
17
read.
There is no recipe file that corresponds to
18
the currently specified number.
19 The data in the file recipe is not valid.
The total data count in the file recipe is less
20 than the data count specified by the
transmission condition.
21 The file recipe data was not recorded.
22 The specified default recipe backup file is the
232
4. Reference
Option Description
backup file created by another project.
The content of the specified default recipe
23
backup file is not valid.
The recipe number of the specified default
24
recipe backup file is not valid.
The block size of the specified default recipe
25
backup file is not valid.
The block status of the specified default
26
recipe backup file is not normal.
The content of the specified default recipe
27
backup file in the data area was not written.
The memory for the readable content of the
28
specified default recipe was not allocated.
Option Description
Recipe No. Device Specify a device with a block number that will execute
the recipe when the condition is met. The recipe is
executed by reading the word value (unsigned 16-bit)
from the device. Enter the device address manually or
click the keypad to the right of the device field.
Block No. Device Specify a word device that the data will be transferred
to when the condition is met. The recipe is executed
by reading the word value (unsigned 16-bit) from the
device. This option can be used only with basic
recipes. Enter the device address manually or click the
keypad to the right of the device field.
233
4. Referencet
Option Description
Device complete.
File Recipe NO. Set a word device for the file recipe number.
Device
File NO. Device Set a word device for the data file number.
File recipe Storage Set a storage location for data from a file recipe (CF
card, USB device, or SD card).
The following examples explain the read and write operation using file recipes.
234
4. Reference
If the [Write begin] device is set to On while the [Recipe type] device value is 1, the [File
recipe number] device value is 2, and the [File number] device is 3, the following is selected.
235
4. Referencet
Eight devices are read from HW200, and the unsigned decimal data is saved in the
XPR00003.CSV file.
Refer to <4.7.1.2 Path for Recipe Backup> for detailed information about storing the recipe
backup files.
236
4. Reference
If the [Write begin] device is set to On while the [Recipe type device] value is 1, the [File
recipe number] device value is 2, and the [File number] device is 3, the following is selected.
237
4. Referencet
The data stored in the XPR00003.CSV file is saved in 8 devices from HW200.
1 In the Project pane, double-click [Recipe Property]. This will open a Recipe Property tab in
the editing area.
238
4. Reference
Option Description
Trigger Device to Set to specify a device for writing data. Set the
Write condition to trigger the action (rising edge or falling
edge). Enter the device address manually or click the
keypad to the right of the device field.
Trigger Device to Set to specify a device for reading data. Set the
Read condition to trigger the action (rising edge or falling
edge). Enter the device address manually or click the
keypad to the right of the device field.
Recipe Type Device Specify the device that will control the recipe type. If
the lowest bit of the device is 0, a basic recipe will be
executed. If the lowest bit of the device is 1, a file
recipe will be executed. Enter the device address
manually or click the keypad to the right of the device
field.
Basic recipe Storage Set a storage location for data from a basic recipe
(Flash, CF Card, USB, or SD card).
You can also set storage options in Storage Settings
in the Project Property window.
239
4. Referencet
Option Description
Error No. Device Specify a device to return a pre-defined error number
if a problem occurs with the data transfer. The error
numbers are listed below.
No. Description
1 There is missing data.
The data does not match the current
2
transmission condition.
The data count exceeds the count
3
specified by the transmission condition.
The decimal point position used in the
4 data exceeds the decimal point position
specified by the transmission condition.
The data value exceeds the maximum
5 value of the format specified by the
transmission condition.
The data value is less than the minimum
6 value of the format specified by the
transmission condition.
The recipe number of the default recipe
11
was not read.
There is no recipe that corresponds to the
12
currently specified number.
The block number of the default recipe
13
was not read.
There is no recipe block that corresponds
14
to the currently specified number.
The transmission condition number of the
15
file recipe was not read.
There is no file recipe transmission
16 condition that corresponds to the
currently specified number.
The file number of the file recipe was not
17
read.
There is no file recipe file that corresponds
18
to the currently specified number.
19 The data in the file recipe is not valid.
The total data count in the file recipe is
20 less than the data count specified by the
transmission condition.
21 The file recipe data was not recorded.
22 The specified default recipe backup file is
240
4. Reference
Option Description
the backup file created by another project.
The content of the specified default recipe
23
backup file is not valid.
The recipe number of the specified default
24
recipe backup file is not valid.
The block size of the specified default
25
recipe backup file is not valid.
The block status of the specified default
26
recipe backup file is not normal.
The content of the specified default recipe
27 backup file in the data area was not
written.
The memory for the readable content of
28 the specified default recipe was not
allocated.
Option Description
File Recipe NO. Set a word device for the file recipe number.
Device
File NO. Device Set a word device for the data file number.
File recipe Storage Set a storage location for data from a file recipe (CF
card, USB device, or SD card).
In the Project pane, double-click [Recipe] [File recipe] [File Recipe Condition].
Option Description
Recipe No. Enter the file recipe number. The number cannot be duplicated.
241
4. Referencet
Option Description
Device Enter the device that will receive the recipe data. Read and write
actions are performed by reading the data received in this device
and writing it to a file. Enter a word device.
Device Count Set the number of contiguous devices from the corresponding
device that will be read or written.
Decimal Place Enter the decimal place for the data to be displayed at.
Zero Fill Blank digits are filled with a 0 based on the data type.
Note
The valid file recipe number range is 0 5,000.
The valid device count range is 1 10,000.
The valid number count range is 1 - 64.
The valid decimal place range is 0 - 10.
The decimal place setting cannot be larger than the number count.
In the Project pane, double-click [Recipe] [File Recipe] [File Recipe Condition].
242
4. Reference
Option Description
File No. Enter the file data number.
Name Enter the name of the recipe file. The file name is displayed in
versions prior to 1.30.
Add Name Field to Select this option to include the Name field when exporting the
File Name on Export recipe.
Comment Enter the description.
File Name File searches automatically use the default file name format: "XPR
+ file number.csv. This file name is used when exporting the file.
Data The data in the file selected from [File list] is displayed.
Data in this file can be edited. However, ensure that the data
meets the conditions (such as data type) that are set for the
read/write operation of the recipe when you edit the data. A recipe
error will occur if the condition is not met.
Export Files All file recipe data is saved using CSV file format. Select an external
storage drive, such as a USB drive. If an "XP_Recipe" folder does
not exist on the storage drive, it is automatically created on the
selected device and the CSV file is saved in the folder.
Import Files This function retrieves a selected CSV file and loads the values in
the file data. Duplicated items are overwritten.
Note
The valid file number range is 165,535.
The valid data count range is 110,000.
A CSV file can be imported only if its name format is the same as the file name format.
243
4. Referencet
Flow alarm
244
4. Reference
Option Description
Device Count Set the number of alarm devices to monitor.
No. of Alarm Set a word device to save the number of alarms. It shows
Occurred the total number of alarms that have occurred.
Background color Set the background color for the flow alarm area
Message Position Set the position of the flow alarm message (bottom,
middle or top of screen).
Display Mode Set the display option for flow alarm changes.
Redraw at occurrence: The alarm message is replaced
automatically with a new message.
After current display list: The alarm message remains
on the screen and New or Reset alarms will be shown
in subsequent messages.
Flow Speed Set the renewal frequency of the flow alarm (21000 ms).
The lower the number, the faster the renewal frequency.
Move pixel Set the value for scrolling the flow alarm message (150
px). The larger the number, the faster the message
scrolls.
Font size Set the font size for the flow alarm message.
245
4. Referencet
Option Description
Device Specify the device to monitor. Only bit devices can be
monitored by the flow alarm.
Data type Set the data type for the flow alarm device. If set to read-
only, only the current bit device can be registered as the
alarm device.
Bit Condition Set the condition for turning the alarm on or off.
Text Table Name Specify a text table where the flow alarm message is
stored.
Text Index Specify a text string number in the text table to use for
the flow alarm message.
Note
By default, flow alarms appear on every screen when the XGT Panel is
operating.
Up to 10,000 flow alarms can be added.
The specified bit device is monitored continuously by the flow alarm. When the
bit device is ON, the alarm occurs and when the bit device is OFF, the alarm
is cleared.
If more than two flow alarms occur simultaneously, the message at the bottom
of the screen shows the messages in sequence.
A flow alarm message displays text in the language specified in the project
settings. The message can be shown in different languages if strings in other
languages exist in the text table.
To set to hide flow alarms from a specific screen on the XGT Panel:
246
4. Reference
3 Click the Etc. tab and uncheck the check box next to Show Flow Alarm.
Flow alarm messages can be set in a text table and are referred from the Flow Alarm settings
screen. Properties such as color or italic font can be set in a text table. A flow alarm message
displays on the panel screen with the properties that are set in a text table and with a size
that is set in the Flow Alarm settings screen. When you set the background color, the flow
alarm area is filled with the background color.
Below is an example where the device, Flow alarm #1 (%MX1000, is ON and an alarm has
occurred.
You can see that the flow alarm message is displayed with light green italic characters
according to the settings in a text table.
247
4. Referencet
History alarms are organized in alarm lists and groups. When an alarm is triggered or cleared,
the time, device address, and alarm details are saved to non-volatile memory.
248
4. Reference
If you select the second level Alarm group 2 on the Alarm Viewer, the alarms that have
occurred in Alarm list 1 will be displayed. If you select Alarm group 1, the alarms that have
occurred in Alarm list 1 and Alarm list 2 will be displayed.
Note
Up to 8 alarm groups can be created in the root structure.
Each group in the root structure may have up to 8 alarm groups/lists.
The maximum depth level allowed for any alarm group is 4.
1 In the Project pane, double-click [History Alarm]. This will open the History Alarm Property
tab in the editing area.
249
4. Referencet
Option Description
Backup Storage Path Set a location for the history alarm backup.
Refer to <4.7.1 Managing the File Path for Backup Files>
for more information about storing backup files.
Clear Alarm Area Specify a device to initialize the history alarm area in the
Device NVRAM.
Clear Alarm Area Specify a device to activate after initializing the history
Complete Device alarm area in the NVRAM is complete.
No. of Alarms Specify a device to save the number of alarms that have
Occurred occurred.
250
4. Reference
Option Description
Backup Start Device Specify a device to begin backup of alarm data. Backup
will only be performed if the backup location in the
project properties is set to a USB device or CF card.
File Name Device The name of the backup file can be changed. The
character string of the device is used as the file name.
BYTE Swap of File When a file is saved, the bytes are swapped. For example,
Name if the value stored in the device is H12345678, the
swapped bytes will be H21436587.
File Name Length Specifies the number of character strings in the file
name.
251
4. Referencet
Option Description
Send E-mail After Set to send an email when backup of alarm data is
Backup Complete complete. To use this function, you must specify backup
start and backup complete devices. An email address
specified in [Project Properties] [Others] [Email].
Clear Restored Alarm Set to allow cleared alarms to be removed from the
After Backup NVRAM after a backup is completed.
Complete
Append/Modify Data The alarm back up is added to the most recently saved
to Backup CSV File CSV file.
Alarm Entry Count of The maximum number of alarms in the backup file is
CSV File specified.
Always Backup even if The alarm backup file is created even when there is no
there were NO Alarm alarm history.
Log
Do Not Backup Deleted alarms in the history alarm are not included in
Removed Alarm the alarm backup.
Print Start Device Specify a device to start printing history alarm data.
Print Complete Device Specify a device to activate when printing history alarm
data is complete.
Top, Bottom, Left, and Specify margins for printing history alarm data.
Right margins
Note
About the Acquisition Rate Table:
252
4. Reference
To define the range for an alarm expression, specify the following settings.
a
b
d
e
f
253
4. Referencet
c Conditional Select the operand you want to modify and set the operator.
Expression
Editing item
Note
If a word device is set as the alarm monitoring device, an alarm condition is required. The
alarm condition is a single conditional expression consisting of two or three terms, linked
by and or or conditions.
Conditional expressions must meet the following requirements:
Each term should be separated by a blank space.
The standard device address is expressed by $V. If $V is entered, it is automatically
recognized as the standard device when the project is transferred to an XGT Panel. The
current alarm monitoring device must be included at least once in the expression.
Each conditional expression must include at least one direct variable (device variable).
The available operators are: < ,> , <= , >= , =, and !=
254
4. Reference
2 Click [Insert]. An Alarm Group tab will appear in the editing area.
Option Description
Group Name The name of the alarm group.
Display Name Select either From Text Table to fetch a group name from a
text table, or Manually Input to provide a group name
manually. If you fetch a name from a text table, set the No.
(string number) value to identify the correct string in the table.
The group name will appear in the Preview field. Click the
checkbox next to Synchronize manually input name to
update the alarm group name in the Project pane.
255
4. Referencet
2 Click [Insert]. An Alarm List tab will appear in the editing area.
Option Description
Name The name of the alarm list.
Sampling Time Set how often to check for alarm conditions (110 seconds).
The dropdown list provides time values as configured in the
Acquisition Rate Table.
Backup Alarm By default, history alarm data is cleared if you check Delete all
256
4. Reference
Option Description
Log monitoring data when you partially download a project, or
when you download an entire project.
To save history alarm data in the SRAM, set the Backup alarm
log function. The Backup alarm log function saves the alarm
data as a CSV file when the alarm backup device is turned on.
If a power interruption to the panel occurs, you cannot trace
the alarm via the History Alarm Viewer when the power is
resumed although it has not been cleared, and it is listed in the
CSV file as Untraceable.
Show Current Specify a device to display the most recent alarm. You can enter
Selected Alarm the device address manually or click the keypad icon to the
right of the device field.
Send E-mail Set to enable an email notification for the history alarm
(Occur/Restore/Both) or to disable it (No). For more details
about email settings, refer to <2.2.2.9 Changing Auxiliary
Settings >.
257
4. Referencet
Option Description
[Device Alias]
...
[Alarm group name]
...
[Alarm message]
...
[Alarm State]
Occurred
[Time]
----/--/-- --/--/--
[Device alias]
.....
[File Path]
.....
Text Table Index Set the method for specifying strings in text tables.
Show Detailed Set the method for specifying windows and whether or not to
Window show detailed information.
Use Alarm Set whether or not to use a device to save alarm count data
Count Device and the method for specifying devices.
258
4. Reference
Option Description
Type: Set the parameter type (file name, text, or number)
and the device to store the parameter data. If File name is
selected, you can also set the external storage where the file
is located.
File Name Position: Set the user input parameter to be
stored as a file on a USB drive, CF or SD cards (availability
may vary depending on the XGT Panel model).
Text: Set the user input parameter in the history alarm list to
be stored in a text format.
Number: The user input parameters in the history alarm list
are converted into a number based on the users selected
number type. Then, it is stored in the storage device. The
number type can be selected among unsigned 16 bits,
signed 16 bits, unsigned 32 bits, or signed 32 bits.
Alarm Condition Set the alarm condition. For bit devices, the condition is either
on or off. For word devices, the condition is an expression.
Window No. The number of the detailed window is displayed if you selected
View detail window option.
Alarm Count The alarm count device is displayed if you selected the Use
Device alarm count device option.
When a monitoring device detects that the alarm condition is met (on or off states for bit
devices, specific expression for word devices), a history alarm occurs, and the time and
content of the alarm is displayed in a history alarm viewer object. When a monitoring device
detects that the alarm condition is cleared, the time of alarm clearance will be displayed in a
history alarm viewer object.
259
4. Referencet
History alarms are saved in the order of occurrence. If the same alarm occurs more than once,
it will be saved several times in the alarm count device.
Because the acquisition time for each history alarm and the number of registered devices do
not match, the time of alarm occurrence may differ.
260
4. Reference
The History Alarm Viewer object displays a list of the alarms that have occurred. If many
alarms occurred and you want to refer to only a certain group, you can use the alarm
Navigator object to view only the desired alarm group.
261
4. Referencet
To add a window:
1 From the alarm list, click the check box next to Show detail window.
4 Create a special switch for the alarm list edit window, and select Go to History Alarm
Viewer Detail in the Special Switch Function settings.
262
4. Reference
5 Select an alarm from the alarm viewer object, and click the special switch to open the
detailed information window.
Note
Alarm messages for history alarms are referred from text tables. Text properties, such as
font color, that are set in a text table will also be applied.
You can print the list of history alarms using a special switch after connecting a USB printer to
the device. Refer to <4.3.2.4 Special Switch> for more information.
4.1.7 Schedules
You can use schedules to specify actions in advance. Available functions for schedules include
Bit On, Bit Off, Word value setting, script execution, and more. You can create up to 32
schedules and each schedule can specify up to 8 actions.
263
4. Referencet
[The Bit Off function switches off the device on the schedule]
264
4. Reference
[The WORD Set function writes a value on the word device at the scheduled time.]
265
4. Referencet
To create a schedule:
2 In the Project pane, double-click [Scheduler]. This will open the Scheduler tab in the
editing area.
Type Description
Type Set the operation interval (Every
minute/hour/day/week/month/year, or Once).
Detail Set the detailed operation time, based on the operation interval
Condition (seconds, minutes, hours, date, week of the day, etc.).
Function Click a function and then click [>>] to add the function to the
schedule. Click a function and then click [<<] to remove a function
from the schedule. You can specify up to 8 functions in a schedule.
266
4. Reference
Type Description
4.1.8 Sounds
You can specify a maximum of 512 WAV or MP3 files to play when conditions are met for the
XGT Panels other than the XP series models. To hear sounds, you must connect a speaker to
the sound output port.
267
4. Referencet
To create a sound:
1 In the Project pane, double-click [Sound]. This will open a Sound tab in the editing area.
Function Description
Destination Storage Select a storage location for the sound file. You can also
set the location at the Project Property window.
Device Enter the device that will activate the sound file.
Sound File You can select the sound file to play from the browsing
window. The file path and file name are displayed after
you have selected the file.
Note
MP3 files may not play if the sound codec is not supported by your PC. Install
the proper codecs to play sound files.
MP3 files must have the following characteristics: MPEG 1, Layer III, Sample
rate: 32-48 KHz, Bit rate: 32-320 kbps.
WAV files must have the following characteristics: Raw PCM Audio, 8/16 bit,
signed/unsigned, Stereo/Mono.
Sound files cannot exceed 10 MB.
4.2 Scripts
268
4. Reference
Instead of creating individual objects and assigning operations to them, you can program
global operations using scripts in the XP-Builder interface.
Display Change When the current screen is closed and before a new screen is
opened.
269
4. Referencet
Local Settings When the script conditions set in the current screen are met.
Set the scripts only for the screen.
Objects Based on the action defined for the object only in the current
screen.
270
4. Reference
Learn how to write commands with scripts. The following table describes the control
statements and operators available for programming scripts:
Control Statements
271
4. Referencet
break break; The break statement within the loop gets out
of the loop wrapping the break.
If the break statement is within the nested
loop, it only affects the loop which is furthest
inward in the program.
[Example]
continue continue; Skips the remaining part within the loop and
shifts to the next loop execution.
The continue statement is within the nested
loop, it only affects the internal loop structure
containing it.
[Example]
272
4. Reference
Logical Operators
&& <Term 1>&&<Term 2> Provides 1 if both <Term 1> and <Term 2> are
true and 0 otherwise.
[Example]
Named variable
Direct variable
Temporary variable
|| <Term 1> || <Term 2> Provides 1 if both <Term 1> and <Term 2> are
false and 0 otherwise.
[Example]
Named variable
Direct variable
273
4. Referencet
Temporary variable
Direct variable
Temporary variable
274
4. Reference
Relational Operators
< <Term 1><<Term 2> Provides 1 if <Term 1> is smaller than <Term 2>
and otherwise 0.
[Example]
Named variable
Direct variable
Temporary variable
<= <Term 1><= <Term 2> Provides 1 if <Term 1> is smaller than or equal
to <Term 2> and otherwise 0.
[Example]
Named variable
275
4. Referencet
Direct variable
Temporary variable
> <Term 1>><Term 2> Provides 1 if <Term 1> is larger than <Term 2>
and otherwise 0.
[Example]
Named variable
Direct variable
276
4. Reference
Temporary variable
>= <Term 1>>= <Term 2> Provides 1 if <Term 1> is larger than or equal to
<Term 2> and otherwise 0.
[Example]
Named variable
Direct variable
Temporary variable
277
4. Referencet
!= <Term 1> != <Term 2> Provides 1 if <Term 1> is not equal to <Term 2>
and otherwise 0.
[Example]
Named variable
Direct variable
Temporary variable
== <Term 1> == <Term 2> Provides 1 if <Term 1> is equal to <Term 2> and
otherwise 0.
[Example]
Named variable
278
4. Reference
Direct variable
Temporary variable
Mathematical Operators
Direct variable
279
4. Referencet
Temporary variable
Direct variable
Temporary variable
280
4. Reference
Direct variable
Temporary variable
Direct variable
Temporary variable
281
4. Referencet
Direct variable
Temporary variable
Bit Operators
Direct variable
Temporary variable
282
4. Reference
Direct variable
Temporary variable
283
4. Referencet
Direct variable
Temporary variable
Direct variable
284
4. Reference
Temporary variable
Direct variable
Temporary variable
285
4. Referencet
Direct variable
Temporary variable
Assignment Operators
Direct variable
286
4. Reference
Temporary variable
Direct variable
Temporary variable
287
4. Referencet
Direct variable
Temporary variable
Direct variable
288
4. Reference
Temporary variable
Direct variable
Temporary variable
289
4. Referencet
Direct variable
Temporary variable
Direct variable
290
4. Reference
Direct variable
Temporary variable
291
4. Referencet
<<= <Device><<= <term> Shifts <Device> to the left by <term> and assigns
the value of the result of the operation to
<Device>.
[Example]
Named variable
Direct variable
Temporary variable
292
4. Reference
Direct variable
Temporary variable
Increment/Decrement Operators
293
4. Referencet
Note
In the sample expressions that follow, 1 refers to the direct device address, which
varies by PLC type. For more information, refer to <4.2.1.3 Understanding Constants
and Data Types>.
Connection numbers range from 0 to 3.
294
4. Reference
Constant Examples
Decimal Numbers 124, -34, 0, 2334454
Characters a, 1, 0, %
Strings 123abc
Script functions can express and return various data types. The table below describes the
data types used by scripts in XP-Builder.
Short This data type uses less -32768 to 32767 short nValue = -10 ;
(16 bit) memory than an integer.
To initialize a variable,
place = after the variable
name and specify a value.
295
4. Referencet
296
4. Reference
Note
A bit is the basic unit of computer memory. It is represented as either a 0 or 1. The two
values can also be interpreted as activation states (On/Off).
You can declare an array variable the same way as other variables. When initializing variables
after an array declaration, the variables should be placed in brace brackets. You can also
place a string in quotation marks for the character type. If you do not initialize an array
variable, the variable may have a value other than 0. It is advised to initialize an array variable
before use.
The table below shows examples of the data types used by scripts in XP-Builder.
Unsigned unsigned int unsigned int nValue[5] = {10, 11, 12, 13, 15};
297
4. Referencet
Note
If you initialize a larger number than the number of the declared array, an error will
occur:
int nValue[3] = {1, 2, 3, 4};
If you initialize a smaller number than the number of the declared array, some variables
will not be initialized:
In case of bool bValue[2] = {true}; , bValue[0] is true but bValue[1] may be either true or
false.
When you initialize an array variable of the character type with quotation marks, you can
initialize one smaller number than the number of the declared array. That is because a
string variable should have a null value at the end to be used for a string:
char cValue[5] = 1234;
When you initialize an array variable of the character type with quotation marks, you can
initialize it with Latin characters, numbers, or special characters. You cannot use Korean
characters or other languages.
While an operation with a direct (physical) address is reflected and written to the PLCs
memory as soon as the operation is run, changes made to the temporary variables are
written to the PLCs memory only after the script is completely run.
Only objects with the Input function can write temporary variable values to a direct address
(PLC memory).
In the example below, a switch object is assigned with the direct address %mw10, and the
following scripts are run when the switch is pressed. The current value saved at %mw10 is
100.
298
4. Reference
Else
{
@[w:%mw10]= 40;
}
@[w:%mw10] = @[w:%mw10]+1; /*%mw10 = 21 */
------------------------------------------------------ Script ends
Resulting %mw10 value = 21
Script with the direct address %mw10 and a temporary variable $S:
------------------------------------------------------ Script runs
/* $S is initialized to 100 */
If ($S == 100)
{
@[w:%mw10]= 20; /* true*/
}
Else
{
@[w:%mw10]= 40;
}
Each data type has a corresponding temporary variable type. The table below shows the
standard variable types available.
299
4. Referencet
Float $F -1.175494351e-38,
to
3.402823466e+38
To view the script cross reference, click [Tool] [Cross Reference], and then select [Script].
Script names, positions, object types (if they are used), and explanations are displayed in the
output pane.
300
4. Reference
Note
If you double-click a result in the cross reference, the affected object or screen will open
in the editing area.
If you want to find script information that is applied to objects in the Base screen, click
301
4. Referencet
2 Create your script in the editing area. Right-click the Script tab and then click [Close] to
return to normal screen editing.
302
4. Reference
3 Click [Function List] to select from lists of pre-defined functions, such as device, screen,
and communication operations. Select an operation, set the properties, and then click
[Insert], or double-click the operation to insert it into the script.
4 Check that the selected operation is inserted in the script editing area.
You can enter or edit values for the operation directly from the editing area.
303
4. Referencet
5 In the Script Tool box, click [Control Word] to select from lists of commands, device
settings, and operators. Double-click an item to insert it into the script.
6 Check that the selected control word is inserted in the script editing area, and add
operands or the rest of the control words as necessary.
304
4. Reference
5 Select a script and execution condition from the drop-down lists. If you choose an
execution condition other than Consecutive or Periodic, specify the device condition
address.
6 Click [Insert] and, if necessary, click [Up] or [Down] to prioritize the script.
7 Click [OK].
305
4. Referencet
4 Click [Etc.].
5 If desired, check the checkbox next to Run Script at Open Screen or Run Script at Close
Screen, and then select a script to execute, based on the screen status.
306
4. Reference
6 Click [OK].
4 In the Property window, specify the schedule type, detail condition, and description as
desired.
307
4. Referencet
8 Close the Property window or specify additional scheduler scripts, as desired. Your
changes are saved automatically.
2 Create an object. For more information about creating objects, refer to <2.3.4 Inserting
Figures or Objects>. After creating an object, the Properties window will appear for the
object.
308
4. Reference
5 Select a script.
6 Click [OK].
Note
Scripts can only be configured for certain types of objects. The [Use Script] option is not
available if the object does not support use of scripts.
If you delete a script that is applied to objects in your project, an error will occur during
the data check.
1 With the Script tab open in the editing area, click [Tool] [Find in Active Screen].
309
4. Referencet
1 With the Script tab open in the editing area, click [Tool] [Replace in Active Screen].
4 Click [Replace] to replace data instances one at a time or you can click [Replace All] to
replace all data instances that match your search at once.
1 With the script tab open, right-click on the script editing area.
2 Click [Goto].
310
4. Reference
Note
You can add single-line or multi-line comments to your scripts. To add a single-line
comment, enter two backslashes (//) in front of the comment. To add a multi-line
comment, enter backslashes and asterisks (/* */) at the start and end of the comment, as
shown in the below example.
Statements within the ERROR control statement are executed only when an error occurs
during the script execution.
Executed
Executed
Divided by 0 ERROR
Not executed
Executed
Script errors and descriptions are displayed in the Output tab at the bottom of the XP-Builder
screen.
311
4. Referencet
You can adjust the script watchdog time in the Project Property settings window.
Script execution takes longer than any other action, so use conditional statements with care.
Pay special attention to statements for which the run time is hard to predict, such as for, while,
and do-while statements.
312
4. Reference
313
4. Referencet
314
4. Reference
The GetLastError function returns the values listed in the table below.
Value Description
0: Steady State Set a steady state.
2: Memory error A stack address value was not properly read or written.
3: Direct Variable Memory A direct variable address was not properly read or written.
error
7: Invalid Data A data value is invalid when writing variables (used for
debugging).
14: Watchdog Time Error The watchdog time has been exceeded.
18: Memory Error The pointers memory exceeds the range of the assigned
variable.
19: Memory Error The pointers class is incorrect (available only for global
variables or stack variables).
315
4. Referencet
Value Description
20: Memory Error The wrong type was entered (when a value other than the
declared variable type was entered).
316
4. Reference
317
4. Referencet
318
4. Reference
Note
When copying data, the source and destination devices must be of the same type.
Otherwise, communication will fail.
If a device address exceeds the upper limit, data will not be copied.
319
4. Referencet
320
4. Reference
321
4. Referencet
HIBYTE Obtains the upper byte of the Return value char: Upper byte
entered word values.
intn Value: The
Example: Parameter 1
entered data
intn Value = 0x1234;
char nResult;
nResult = HIBYTE(nValue);
LOBYTE Obtains the lower byte of the Return value char: Lower byte
entered word values.
intn Value: The
Example: Parameter 1
entered data
intn Value = 0x1234;
char nResult;
nResult = LOBYTE(nValue);
MAKEWORD Obtains word values with two Return value int: Word Value
entered byte values.
char cLow: Lower
Example: Parameter 1
byte
char cLow = 0x12, cHigh = 0x34;
char cHigh: Upper
intn Result; Parameter 2
byte
nResult = MAKEWORD(cLow,
cHigh);
//The result is 0x3412.
322
4. Reference
buffer
char * pSrcData:
Parameter 2 The source buffer
to be copied
intn DataSize: The
data number to
Parameter 3
be copied (char
number)
323
4. Referencet
SwapWord Swap upper and lower byte data int: The swapped
values of Word data. Return value
data value
Example: intn SrcData: The
intn Src = 0x1234, nResult; Parameter 1 data value to be
nResult = SwapWord(nSrc); swaped
//The value of nResult is 0x3412.
SwapDWord Swap upper and lower word data int: The swapped
values of DWord data. Return value
data value
Example: intn SrcData: The
intn Src = 0x12345678, nResult; Parameter 1 data value to be
nResult = SwapDWord(nSrc); swapped
//The value of nResult is
0x56781234.
324
4. Reference
325
4. Referencet
Note
If data that cannot be converted is encountered in the buffer, data conversion will stop. For
example, when converting {1,A,B,3,K,2,8,} from ASCII to hexadecimal, the result is
{0x1AB3}, because the conversion cannot be completed.
326
4. Reference
ShowStatusbar Show or hide the status bar. Bool bShow: Show the status bar.
The status bar appears and
then disappears automatically
after a specified time.
Example:
if(@[X: HX100] == true)
ShowStatusbar();
327
4. Referencet
4.3 Objects
Objects can change appearance, based on monitored data values. The subsections that
follow explain what each object in XP-Builder can do and how to change its settings. For
more information about drawing objects, refer to <2.3.4.3 Drawing Objects>.
You can set conditional settings for objects to change properties, such as the background
color, frame color, outline, text display, and more, as shown in the below table.
Object Settings
Switch Object Operation condition/Lamp condition
To set a conditional expression, click in the object property window to register it.
The Range Edit window will appear, as shown below. The window may appear different for
each object.
328
4. Reference
Function Description
Style Select a format for inputting conditional expressions (two
terms or three terms).
$V(Standard Device) Set the standard device value that the object is monitoring
as the operand.
Note
Refer to the below table for the minimum and maximum constant values based on the
device size.
Device size Device type Minimum Maximum
16 bit Signed decimal -32768 32767
16 bit Unsigned decimal 0 65535
16 bit BCD 0 9999
32 bit Signed decimal -2147483648 2147483647
32 bit Unsigned decimal 0 4294967295
32 bit BCD 0 99999999
329
4. Referencet
Note
If a lamp object is not connected to a PLC device, the lamp is not displayed on the XGT
Panel.
Do not overlay lamps on top of other objects. They may not be displayed correctly.
Basic: The basic settings for bit lamp objects are shown in the screenshots below.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Description: Enter a description for the object.
Display: The display settings for bit lamp objects are shown in the screenshot below.
330
4. Reference
331
4. Referencet
Pattern
Frame
Pattern
Frame
Pattern
Frame
Text: The text settings for bit lamp objects are shown in the screenshot below.
332
4. Reference
- Use Caption: Check the checkbox to use a text caption with the object. When you
select this option, you can input text from a text table.
- On: Click to configure options for the object in the On state. You must input the text
in a text table.
- Off: Click to configure options for the object in the Off state. You must input the text
in a text table.
- From Text Table: Check the checkbox to add text from a text table. The Text Table
option will be activated and the text input area will close. Add the required text to the
text table before editing the object. You must select text for the On and Off states
from the same text table.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be imported with the text.
- On <-> Off Copy: Click to copy the text and formatting from the on state to the off
state or vice versa.
- Delete On/Off Caption: Click to clear text settings for the current state.
- Font: Select a font from the drop-down list.
- Size: Set a text size from the drop-down list or enter a value directly into the field.
- Width Ratio: Expand or condense the text by selecting a ratio from the drop-down list
or entering a value directly in to the field. You can set a rate of 1%-600%.
- Change the Property of Text Table: Click to use different color and font properties for
the text than what is specified in the text table. This option is active only when you
fetch text from the text table.
- Color: Set a font color.
- Font Style: Set a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (Left, Center, or Right).
- Vertical Alignment: Set the vertical alignment (Top, Middle, or Bottom).
333
4. Referencet
Detail: The detail settings for bit lamp objects include the following.
- Offset: Click the checkbox to use the Offset function. You can offset the device address
based on the value of the offset device. For example, if the starting device address is
P100, XP-Builder reads the value from the offset device and offsets the address by that
value. If the offset value is 10, for example, then the referenced device address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
4 Create four conditional expressions from the Basic setting. ($V is a standard device.)
$V == 1
$V == 2
$V == 3
$V == 4
334
4. Reference
Basic: The basic settings for word lamp objects include the following.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Size: Set the data size for the device (16 bit upper byte, 16 bit lower byte, 16 bit, or 32
bit).
- Type: Set the data type for the device (signed decimal, unsigned decimal, BCD, or float).
- Case List: Create, delete, or reorganize conditional expressions:
(Create) Click to create a new range condition. You can create up
to eight conditions. Clicking this button opens the Range
Edit window, which allows you to create a condition. For
335
4. Referencet
(Delete) Click a condition and then click this icon to delete the
condition.
(Down) Click a condition and then click this icon to move it lower
down the list.
- Description: Enter a description for the object.
Display: The display settings for word lamp objects include the following.
- Transparent BG Image: Click the checkbox to make the image background transparent.
You cannot use a transparent background and the reverse image setting at the same
time.
- State: Select a state from the drop-down list to configure options for each state.
- Blink: Set a blink speed for the object:
Not use The object will not blink.
Slow The object will blink every three seconds.
Normal The object will blink every two seconds.
Fast The object will blink every second.
- Image Type: Set whether or not to change colors and patterns when switching
between On and Off states. If you select the Change Color/Pattern option, you must
select a vector image for the object. To view characteristics of raster or vector images,
refer to <2.4.1 Managing Graphic Libraries>.
336
4. Reference
Pattern
Frame
Pattern
Frame
Pattern
Frame
Text: The text settings for word lamp objects include the following.
337
4. Referencet
- Use Caption: Click the checkbox to use a text caption with the object. When you select
this option, you can input text from a Text Table.
- On: Click to configure options for the object in the On state. You must input the text
in a text table.
- Off: Click to configure options for the object in the Off state. You must input the text
in a text table.
- From Text Table: Click the checkbox to add text from a text table. The Text Table
option will be activated and the text input area will close. Add the required text to the
text table before editing the object. You must select text for the On and Off states
from the same text table.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be imported with the text.
- Delete Caption: Click to clear text settings for the current state.
338
4. Reference
Operation: Operation settings for word lamp objects include the following.
- Use Script: Check the checkbox to use a script with the object.
- Select Script: Select a script from the drop-down list.
- Script: When you select a script, it appears here. To modify a script, refer to <4.2
Scripts>.
Detail: The detail settings for word lamp objects include the following.
339
4. Referencet
- Offset: Check the checkbox to use the Offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
340
4. Reference
Basic: The basic settings for N-State lamp objects include the following.
- The Num. of State: Select the number of statuses to display for the object (from 3 to
16).
- State Change Condition: Set a method for changing device statuses.
Change Display the On/Off status for up to four controllers with
Condition by Bit one lamp. The maximum number of statuses is five.
Refer to the following example:
Type P0 P1 P2 P3 Display
341
4. Referencet
example
Status 1 OFF OFF OFF OFF
Status 2 ON OFF OFF OFF
Status 3 OFF ON OFF OFF
Status 4 OFF OFF ON OFF
Status 5 OFF OFF OFF ON
- Device Setting: Enter a device or tag address directly into the input field or click the
keypad icon to the right to specify a device or tag address. When you click the keypad
icon to open the Device window, you can also specify network settings, if necessary.
- Description: Enter a description for the object.
342
4. Reference
Display: The display settings for word lamp objects include the following.
- Transparent BG Image: Click the checkbox to make the image background transparent.
- State: Select a state from the drop-down list to configure options for each state.
- Blink: Set a blink speed for the object:
Not use The object will not blink.
Slow The object will blink every three seconds.
Normal The object will blink every two seconds.
Fast The object will blink every second.
- Image Type: Set whether or not to change colors and patterns when switching
between On and Off states. If you select the change color or pattern option, you
must select a vector image for the object. To view characteristics of raster or vector
images, refer to <2.4.1 Managing Graphic Libraries>.
Not Change Use the original image. You can apply the
Color/Pattern pattern or color to the image. Select the image
to display for On or Off status from raster,
vector, or user registered images.
Same Image & Change Select a vector image. You cannot select a raster
Color/Pattern in On/Off image. Apply a pattern or color to the image.
- Library: Click to select an image from the library.
- Open: Click to browse for images on your computer. When you select an image from
your computer, it will be added to the image library automatically.
- Pattern: Click a pattern to apply to the image. This option is available only when you
select the change color or pattern option in Image Type. Patterns are applied to
specific parts of objects, but not to the frames. The frames are different for each image.
Refer the following examples:
343
4. Referencet
Pattern
Frame
Pattern
Frame
Pattern
Frame
Text Settings: The text settings for word lamp objects include the following.
- Use Caption: Check the checkbox to use a text caption with the object. When you
select this option, you can input text from a Text Table.
- On: Click to configure options for the object in the On state. You must input the text
in a text table.
- Off: Click to configure options for the object in the Off state. You must input the text
in a text table.
344
4. Reference
- From Text Table: Check the checkbox to add text from a text table. The Text Table
option will be activated and the text input area will close. Add the required text to the
text table before editing the object. You must select text for each state from the same
text table.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be imported with the text.
- Delete Caption: Click to clear text settings for the current state.
- Copy to other states: Click to copy the current caption to another states caption
properties.
- Font: Select a font from the drop-down list.
- Size: Set a text size from the drop-down list or enter a value directly into the field.
- Width Ratio: Expand or condense the text by selecting a ratio from the drop-down list
or entering a value directly in to the field. You can set a rate of 1%-600%.
- Change the Property of Text Table: Click to use different color and font properties for
the text than what is specified in the text table. This option is active only when you
fetch text from the text table.
- Color: Set a font color.
- Font Style: Set a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (Left, Center, or Right).
- Vertical Alignment: Set the vertical alignment (Top, Middle, or Bottom).
345
4. Referencet
Basic: The basic settings for bit switches include the following.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Copy to Lamp: Click to copy the device address from a bit switch to a lamp condition
address.
- Action Type: Set an operation to perform when the switch is activated.
On Turns on the relevant bit device in the PLC when the
switch is activated. The state is preserved until changed
by another action.
Off Turns off the relevant bit device in the PLC when the
switch is activated. The state is preserved until changed
by another action.
Momentary Turns on the relevant bit device in the PLC only while the
switch object is held. The state returns to Off when the
switch is released.
346
4. Reference
Display: The display settings for bit switch objects include the following.
347
4. Referencet
- Image Type: Set whether or not to change colors and patterns when switching
between On and Off states. If you select the change color or pattern option, you
must select a vector image for the object. To view characteristics of raster or vector
images refer to <2.4.1 Managing Graphic Libraries>.
Not Change Use the original image. You can apply the
Color/Pattern pattern or color to the image. Select the image
to display for On/Off status from raster, vector,
or user registered images.
Same Image & Change Select a vector image. You cannot select a raster
Color/Pattern in On/Off image. Apply a pattern or color to the image.
- Library: Click to select an image from the library.
- Open: Click to browse for images on your computer. When you select an image from
your computer, it will be added to the image library automatically.
- Pattern: Click a pattern to apply to the image. This option is available only when you
select the Change color or Pattern option in Image Type. Patterns are applied to
specific parts of objects, but not to the frames. The frames are different for each image.
Refer the following examples:
Pattern
Frame
Pattern
Frame
Pattern
Frame
348
4. Reference
- Blink: Set a blink speed for the object. To use the blink function, you must set the Use
Lamp Condition option in the Basic settings.
Not use The object will not blink.
Slow The object will blink every three seconds.
Normal The object will blink every two seconds.
Fast The object will blink every second.
Text: The text settings for bit switch objects include the following.
- Use Caption: Check the checkbox to use a text caption with the object. When you
select this option, you can input text from a text table.
- On: Click to configure options for the object in the On state. You must input text in a
text table.
- Off: Click to configure options for the object in the Off state. You must input text in a
text table.
- From Text Table: Check the checkbox to add text from a text table. The Text Table
option will be activated and the text input area will close. Add the required text to the
text table before editing the object. You must select text for the On and Off states
from the same text table.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be imported with the text.
349
4. Referencet
- On <-> Off Copy: Click to copy the text and formatting from the On state to the Off
state or vice versa.
- Delete On/Off Caption: Click to clear text settings for the current state.
- Font: Select a font from the drop-down list.
- Size: Set a text size from the drop-down list or enter a value directly into the field.
- Width Ratio: Expand or condense the text by selecting a ratio from the drop-down list
or entering a value directly in to the field. You can set a rate of 1%-600%.
- Change the Property of Text Table: Click to use different color and font properties for
the text than what is specified in the text table. This option is active only when you
fetch text from the text table.
- Color: Set a font color.
- Font Style: Set a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (Left, Center, or Right).
- Vertical Alignment: Set the vertical alignment (Top, Middle, or Bottom).
350
4. Reference
Detail: The detail settings for bit switch objects include the following.
- Security Level: Set whether or not to require a password to use the object.
- Level: Set the security level for the object. The higher the security level is, the shorter
the authorization time becomes when the password is entered. When the authorization
time expires, the user must enter the password again to use the object.
- Action Delay: Set to delay the action triggered by the switch by a specified time.
- Type: Set the type of action delay.
On Delay When the switch is activated, the action is performed after
the delay time that you specify.
Off Delay When the switch is released, the action is performed after
the delay time that you specify.
Press Twice When the switch is activated once, a dialog box is invoked
to allow the user to verify the operation. When the switch
is activated a second time, the action is performed after
the delay time that you specify.
- Time: Set the length of time for the action delay.
- Offset in [Write] Operation: Set to use the Offset function.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Use Log: Set to allow the device to be monitored in an operation log.
351
4. Referencet
Action Condition: The action condition settings for bit switch objects include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Type Signed decimal, unsigned decimal, BCD, or float.
Exp. Click to designate the expression as conditional.
- Multi Bit: If you select the multi bit condition, specify the number of bits and click
[Setting] to specify the bit conditions.
Basic: The Basic settings for word switch objects include the following.
352
4. Reference
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Size: Set the data size of the device (16-bit upper byte, 16-bit lower byte, 16 bit, or 32
bit).
- Type: Set the data form of the device (signed decimal, unsigned decimal, or float).
- Action Type: Set the type of the action to perform.
Set Write the specified value in the device.
Add Add the specified value to the device value.
Sub Subtract the specified value from the device value.
Script Execute a script.
Digit Add Increase the bit value of a specific location in a word device.
The value is added to the current value with as many
operands as you specify, but the bit value of the location
increases only by the value specified here.
0 0 0 0 1 0 0 0
rd
3 digit
0 0 0 0 1 01 0 0
353
4. Referencet
If the operand is saved as a script, the final value will be applied to the device after
completing the calculation. The description below shows how it works.
1. Read the value from the device specified in the word switch and save the value
to the temporary variable referring to the device.
2. Operate the script on the read value.
3. Apply the value saved on the temporary variable after operating the script.
Read the value from the device.
- From the flow chart above, the script result means the value of the temporary
variable when the script ends. If the device value changes during operating the
script, it will not affect the script.
- If you change the device value using a direct variable while the script is in
operation, the change will not remain because the value of the temporary
variable after the script ends will be written to the device. If you use the device
within a script, a message such as 2012: The standard device exists in the
specified SCRIPT. An unexpected result might occur. will be displayed.
Note
If you set a fixed constant operand, the range of the constant varies based
354
4. Reference
on the size and type of the device, as described in the following table.
Device Size Device Type Minimum Maximum
16-bit upper
Signed decimal -128 127
byte
Unsigned decimal,
16-bit upper
binary, hexadecimal, 0 255
byte
octal
16-bit lower
Signed decimal -128 127
byte
Unsigned decimal,
16-bit lower
binary, hexadecimal, 0 255
byte
octal
Signed decimal -32,768 32,767
BCD 0 9,999
Display: The display settings for word switch objects include the following.
355
4. Referencet
- Use Image Reverse: The switch image is reversed when you tap the object or a
condition is met. If you set this option, you cannot use the Transparent BG Image
option or the On/Off image. If you set the Transparent BG Image option, you cannot
use this option.
- On: Click to configure options for the object in the On state.
- Off: Click to configure options for the object in the Off state.
- Image Type: Set whether or not to change colors and patterns when switching
between On and Off states. If you select the change color or pattern option, you
must select a vector image for the object. To view characteristics of raster or vector
images, refer to <2.4.1 Managing Graphic Libraries>.
Not Change Use the original image. You can apply the
Color/Pattern pattern or color to the image. Select the image
to display for On/Off status from raster, vector,
or user registered images.
Same Image & Change Select a vector image. You cannot select a raster
Color/Pattern in On/Off image. Apply a pattern or color to the image.
- Library: Click to select an image from the library.
- Open: Click to browse for images on your computer. When you select an image from
your computer, it will be added to the image library automatically.
- Pattern: Click a pattern to apply to the image. This option is available only when you
select the change color or pattern option in Image Type. Patterns are applied to
specific parts of objects, but not to the frames. The frames are different for each image.
Refer the following examples:
Pattern
Frame
Pattern
Frame
Pattern
Frame
356
4. Reference
- Blink: Set a blink speed for the object. You can use this option when you check Use
Lamp Condition in the Lamp Condition settings.
Not use The object will not blink.
Slow The object will blink every three seconds.
Normal The object will blink every two seconds.
Fast The object will blink every second.
Text: The text settings for word switch objects include the following.
- Use Caption: Check the checkbox to use a text caption with the object. When you
select this option, you can input text from a text table.
- On: Click to configure options for the object in the On state. You must input the text
in a text table.
- Off: Click to configure options for the object in the Off state. You must input the text
in a text table.
- From Text Table: Click the checkbox to add text from a text table. The Text Table
option will be activated and the text input area will close. Add the required text to the
text table before editing the object. You must select text for the On and Off states
from the same text table.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be imported with the text.
357
4. Referencet
- On <-> Off Copy: Click to copy the text and formatting from the On state to the Off
state or vice versa.
- Delete On/Off Caption: Click to clear text settings for the current state.
- Font: Select a font from the drop-down list.
- Size: Set a text size from the drop-down list or enter a value directly into the field.
- Width Ratio: Expand or condense the text by selecting a ratio from the drop-down list
or entering a value directly in to the field. You can set a rate of 1%-600%.
- Change the Property of Text Table: Click to use different color and font properties for
the text than what is specified in the text table. This option is active only when you
fetch text from the text table.
- Color: Set a font color.
- Font Style: Set a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (Left, Center, or Right).
- Vertical Alignment: Set the vertical alignment (Top, Middle, or Bottom).
358
4. Reference
Detail: The detail settings for word switch objects include the following.
- Security Level: Set whether or not to require a password to use the object.
- Level: Set the security level for the object. The higher the security level, the shorter the
authorization time when the password is entered. When the authorization time expires,
the user must enter the password again to use the object.
- Action Delay: Set to delay the action triggered by the switch by a specified time.
- Type: Set the type of action delay.
On Delay When the switch is activated, the action is performed after
the delay time that you specify.
Press Twice When the switch is activated once, a dialog box is invoked
to allow the user to verify the operation. When the switch
is activated a second time, the action is performed after the
delay time that you specify.
- Time: Set the length of time for the action delay.
- Offset in [Write] Operation: Set to use the Offset function.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Use Log: Set to allow the device to be monitored in an operation log.
359
4. Referencet
Lamp Condition: The lamp condition settings for word switch objects include the
following.
- Use Lamp Condition: If you want to control a lamp with a method other than simply
turning it on when the switch is activated, you can select a different action.
- Type: Select a condition for lamp control.
Bit When the device state is On, the lamp is on.
360
4. Reference
Action Condition: The action condition settings for word switch objects include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Type Signed decimal, unsigned decimal, BCD, or float.
Exp. Click to designate the expression as conditional.
- Multi Bit: If you select the multi bit condition, specify the number of bits and click
[Setting] to specify the bit conditions.
361
4. Referencet
Basic: The basic settings for change screen switch objects include the following.
Screen No. Set the screen number or click [Browse] to locate a screen.
- Screen Change Type: Select a method for changing screens.
Fixed The screen switches to a specified screen.
The screen number does not change and retains the screen number 1 that is set when
exporting.
362
4. Reference
When you select this option, the screen number, plus the offset, will be set to the
change screen switch.
Display: The display settings for change screen switch objects include the following.
- Transparent BG Image: Click the checkbox to make the image background transparent.
You cannot use a transparent background and the reverse image setting at the same
time.
363
4. Referencet
- Use Image Reverse: The switch image is reversed when you tap the object or a
condition is met. If you set this option, you cannot use the Transparent BG Image
option or the On/Off image. If you set the Transparent BG Image option, you cannot
use this option.
- On: Click to configure options for the object in the On state.
- Off: Click to configure options for the object in the Off state.
- Image Type: Set whether or not to change colors and patterns when switching
between On and Off states. If you select the change color or pattern option, you
must select a vector image for the object. To view characteristics of raster or vector
images, refer to <2.4.1 Managing Graphic Libraries>.
Not Change Use the original image. You can apply the
Color/Pattern pattern or color to the image. Select the image
to display for On or Off status from raster,
vector, or user-registered images.
Same Image & Change Select a vector image. You cannot select a raster
Color/Pattern in On/Off image. Apply a pattern or color to the image.
- Library: Click to select an image from the library.
- Open: Click to browse for images on your computer. When you select an image from
your computer, it will be added to the image library automatically.
- Pattern: Click a pattern to apply to the image. This option is available only when you
select the Change Color or Pattern option in Image Type. Patterns are applied to
specific parts of objects, but not to the frames. The frames are different for each image.
Refer the following examples:
Pattern
Frame
Pattern
Frame
Pattern
Frame
364
4. Reference
Text: The text settings for screen change object include the following.
- Use Caption: Click the checkbox to use a text caption with the object. When you select
this option, you can input text from a text table.
- On: Click to configure options for the object in the On state. You must input the text
in a text table.
- Off: Click to configure options for the object in the Off state. You must input the text
in a text table.
- From Text Table: Click the checkbox to add text from a text table. The Text Table
option will be activated and the text input area will close. Add the required text to the
text table before editing the object. You must select text for the On and Off states
from the same text table.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be imported with the text.
365
4. Referencet
- On <-> Off Copy: Click to copy the text and formatting from the On state to the Off
state or vice versa.
- Delete On/Off Caption: Click to clear text settings for the current state.
- Font: Select a font from the drop-down list.
- Size: Set a text size from the drop-down list or enter a value directly into the field.
- Width Ratio: Expand or condense the text by selecting a ratio from the drop-down list
or entering a value directly in to the field. You can set a rate of 1%-600%.
- Change the Property of Text Table: Click to use different color and font properties for
the text than what is specified in the text table. This option is active only when you
fetch text from the text table.
- Color: Set a font color.
- Font Style: Set a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (Left, Center, or Right).
- Vertical Alignment: Set the vertical alignment (Top, Middle, or Bottom).
366
4. Reference
Detail: The detail settings for change screen switch objects include the following.
- Security Level: Set whether or not to require a password to use the object.
- Level: Set the security level for the object. The higher the security level, the shorter the
authorization time when the password is entered. When the authorization time expires,
the user must enter the password again to use the object.
- Action Delay: Set to delay the action triggered by the switch by a specified time.
- Type: Set the type of action delay.
On Delay When the switch is activated, the action is performed
after the delay time that you specify.
367
4. Referencet
Action Condition: The action condition settings for change screen switch objects include
the following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
368
4. Reference
Basic: The basic settings for special switch objects include the following. You can select
the function for the special switch and set the properties in the Special Switch Function
settings.
Check All Alarm Set to view all alarm data or only specified alarm data
Data in Alarm Page by selecting the alarm. The view time is recorded for
both cases.
When checking all data
Check Selected
Alarm Data in Alarm
Viewer
369
4. Referencet
Function Description
Delete All Set to delete data for triggered alarms when the
Occurrence No. switch is activated.
Delete Recovered Set to delete all recovered data when the switch is
Alarm Data in Alarm activated.
Viewer Page
Delete Recovered All Set to delete all recovered data when the switch is
Data in Alarm activated.
Viewer
370
4. Reference
Function Description
the special switch.
History Alarm Filter Set to filter history alarm data and display it with the
history alarm viewer object. There are five types of
filters: Occurrence, Check, Restoration, Uncheck, and
Unrestoration (unrestored alarms).
Type Description
View the every history alarm data
Occurrence
occurred.
View the checked history alarm
Check
data with the special switch.
View the restored history alarm
Restoration
data.
History Alarm
Viewer Line up
371
4. Referencet
Function Description
History Alarm
Viewer Page Down
History Alarm
Viewer Page Up
Print History Alarm Set to print the selected history alarm data when the
switch is activated. An alarm group can be chosen
from the history alarm list.
Selected History Set to change the line of the history alarm data when
Alarm Viewer Line the switch is activated.
Down
Selected History
Alarm Viewer Line
Up
- History Alarm Row Scroll: Set to move to the specified area of the history alarm data
when the switch is activated. If the number of data columns exceeds the columns
supported by the XGT panel, this function allows you to view more data.
372
4. Reference
Unfixed
Fixed
For the history alarms data such as above, the descriptions below show how each
function operates:
Function Description
Next Column Use this function when there are more columns to
view than are displayed on the XGT-Panel. Fixed
columns retain and the next column will be displayed
on the area of unfixed column.
Fixed
Pre. Column Use this function when there are more columns to
view than are displayed on the XGT-Panel. Fixed
columns retain and the previous column will be
displayed on the area of unfixed column.
First Column Among the history alarm data, the history alarm on
the first column of the history alarm viewer on the
373
4. Referencet
Function Description
XGT-Panel will be displayed.
Last Column The history alarm on the last column of the history
alarm viewer on the XGT-Panel will be displayed.
Previous Page
Time Location Process 3 Process 4
2013/03/29 Line 1 21 31
2013/03/30 Line 2 22 32
2013/03/31 Line 3 23 33
2013/04/01 Line 4 24 34
374
4. Reference
- Alarm Navigator
Function Description
Alarm Navigator Set to move up or down a line in the alarm search
Viewer Line Down results when the switch is activated.
Alarm Navigator
Viewer Line Up
- Logging Trend
Function Description
Next Log Trend Data View the next log. You can set the number of logs to
display. For example, if the number is set to 8, the
graph will display the trend for the next eight logs.
Previous Log Trend View the previous log. You can set the number of
Data logs to display. For example, if the number is set to
8, the graph will display the trend for the previous
eight logs.
The First Log Trend View the first or last logged data.
Data
BookMark Set/Reset This function sets the users specified data area in the
375
4. Referencet
Function Description
logging trend graph as a bookmark. The data areas
in the graph can be navigated freely and have access
to return to the bookmarked location.
For example, two bookmarks can be set as shown
below.
376
4. Reference
Function Description
bookmark are deleted.
5. If a bookmarked data set is displayed in the
graph area, the bookmark is indicated in the zero
position as shown in the screenshot below.
377
4. Referencet
Function Description
saved memo is displayed.
Delete All Memo Set to delete all or selected memos. The third bit of
the memo pad status device indicates whether or not
Delete Memo
the memos were deleted successfully.
Next Memo Set to move to the next or previous memo when the
switch is activated.
Previous Memo
Pen Setting Set the color and thickness of the pen to be used for
memos. You can also set a special switch to apply the
color and line thickness you specify.
Reset Memo Set to delete all memo files from storage devices
when the switch is activated. The third bit of the
memo pad status device indicates whether or not the
memos were deleted successfully.
Undo Memo Set to undo the last action in a memo when the
switch is activated.
- Manager and Editor: Data List Editor
Function Description
Line Up Press this button to view the line directly above the
currently selected line.
Line Down Press this button to view the line directly below the
currently selected line.
378
4. Reference
Function Description
pages. Press this button to view the next page in the
file or folder list.
- Manager and Editor: File Explorer
Function Description
Line Up Press this button to view the folder or file in the line
directly above the currently selected folder or file.
Line Down Press this button to view the folder or file in the line
directly below the currently selected folder or file.
Select All Select all valid files in a selected File Explorer folder.
379
4. Referencet
Function Description
Go to Root Directory Moves to the root directory of the current storage
device.
Restoration of Basic Restores the basic recipe data. The data is read from
Recipe Backup files the recipe backup file in File Explorer that is specified
by the user. A recipe backup file is a CSV file saved in
a storage device when the basic recipe backup device
is set to on. The basic recipe data cannot be
restored if the basic recipe setting is changed after
the backup file is created, or if the backup file is
created in another project.
- Manager and Editor: File Recipe Editor
Function Description
Line Up Press this button to view the folder or file in the line
directly above the currently selected folder or file.
Line Down Press this button to view the folder or file in the line
directly below the currently selected folder or file.
Storage Save the data of the file recipe editor that is currently
displayed on the XGT-Panel to the file selected in
Recipe Explorer.
- Manager and Editor: File Recipe Explorer and Transfer
Function Description
Transfer from PLC- Press this button to transfer file recipes in the PLC to
>XP XP-Builder.
Transfer from XP- Press this button to transfer file recipes in XP-Builder to
>PLC the PLC.
380
4. Reference
Function Description
Line Up Press this button to view the folder or file in the line
directly above the currently selected folder or file.
Line Down Press this button to view the folder or file in the line
directly below the currently selected folder or file.
Show the Selected Press this button to show the recipe data of the
File selected item on the file recipe editor when the user
selects a certain item from the file recipe list displayed
on Recipe Explorer.
- Manager and Editor: General Recipe Explorer and Transfer
Function Description
Line Up Press this button to view the folder or file in the
line directly above the currently selected folder or
file.
Line Down Press this button to view the folder or file in the
line directly below the currently selected folder or
file.
Transfer from PLC->XP Press these buttons to transfer recipes from one
Transfer from XP->PLC device to another.
When the basic recipe edited in XP-Builder is
transferred to the XGT Panel, it will be backed up
in the NVRAM. The diagram below shows how
recipes are transferred between the NVRAM, an
internal device and PLC.
381
4. Referencet
Function Description
General Recipe
PLC
Transfer from PLC to When a special switch is set to Transfer from PLC
NVRAM to NVRAM, a recipe is transferred in the direction
labeled as shown in the diagram above.
To do this:
1. Select a recipe item.
2. Press the special switch for transferring from a
PLC to the NVRAM.
3. A basic recipe from a PLC moves to the
NVRAM allocated in the recipe.
382
4. Reference
Function Description
and the address of the internal device to move can
be set in the internal device of the recipe editor.
Transfer from PLC to When a special switch is set to Transfer from PLC
Internal Device to Internal Device, a recipe is transferred in the
direction labeled as shown in the diagram
above.
Show the Selected Shows a selected recipe on the data list editor.
Recipe
- PDF Viewer
Function Description
File Open The selected PDF file is displayed in the PDF file view
object. The file can be selected by manually entering
the file name or by reading the file name set in the
device.
If /# (number) is entered after the file name, the
specified page number is displayed when the PDF
viewer runs.
For example, USB Storage\LSIS.pdf/#5 will display
page 5 of the LSIS.pdf file at first.
Manual setting: The name of the PDF file to be
displayed is manually entered.
Device setting: The value of the parameter length
(byte unit) is read from the specified device to use as
the PDF file name.
383
4. Referencet
Function Description
File Close Closes the file displayed in the PDF file view object.
Zoom Out Zooms out of the file displayed in the PDF file view
object.
Anticlockwise Rotates the view of the file displayed in the PDF file
Rotation view object 90 in a counterclockwise direction.
Clockwise Rotation Rotates the view of the file displayed in the PDF file
view object 90 in a clockwise direction.
Previous Page Displays the previous page in the currently open file
in the PDF file view object. If there is no previous
page, the current page is displayed.
Next Page Displays the next page in the currently open file in the
PDF file view object. If there is no next page, the
current page is displayed.
First Page Displays the first page in the currently open file in the
PDF file view object.
Last Page Displays the last page in the currently open file in the
PDF file view object.
- VNC Viewer
Function Description
Zoon In Zooms in on the viewer screen.
384
4. Reference
Function Description
Change Runtime Set to change the runtime language when the switch is
Language activated. Select a language in the Function Setting
field.
Close Popup Set to close the current pop-up window when the
Window switch is activated.
385
4. Referencet
Function Description
into the numeric or text input device.
If an ASCII character or Unicode character is selected, a
user can input only one text value.
To use uppercase characters, users can enter the text
value by entering uppercase characters.
Note
To enter uppercase characters:
ASCII: You cannot input uppercase characters
directly. To input uppercase characters, turn
on the caps lock switch and the letter input
switch (A= the caps lock switch + the a
input switch).
UNICODE: Set the uppercase characters in
advance. You need only one switch.
Next Cursor Set to move the cursor in numeric or text input objects
to the next or previous field.
Previous Cursor
Print Screen Set to print a screen capture of the XGT Panel when
the switch is activated. The file can be printed to a file
or to a printer, as specified in the project properties. To
set the properties, click [Common] [Project
Property Setting] [Auxiliary Settings] and set a
print option from the Output drop-down list under
Screen Capture:
386
4. Reference
Function Description
Option Description
Save the image as a Bitmap file. You
can set the file path in [Common]
Save
as File
[Project Property Setting] [Storage
Setting] [Capture image].
Runtime Print a screenshot with a printer
print connected via USB.
Save an image as a file and print it with
a printer connected via USB. If a printer
is not connected to the XGT Panel, a
system alarm will occur. When the user
connects the printer again and
attempts to print, the system alarm will
Save and be restored.
Print To set the system alarm, click
[Common] [Project Property
Setting] [Auxiliary Settings] and
check the checkbox next to Alarm
window pop-up.
Program Monitoring Set to launch the program monitor when the switch is
activated. To run the program monitor, use the XGT,
XGI, or XGB series.
Specify the program monitor settings in the project
properties. Click [Common] [Project Property
Setting] [XGT Panel Settings] [Program
monitor].
387
4. Referencet
Function Description
Safe Removal Switch The safe removal switch performs the same function as
the safe hardware removal switch. Click the safe
388
4. Reference
Function Description
removal switch and the storage unit (SD) detaches
when the current operation is completed.
The special device address for the sensor that detects
that the storage device has detached is contained in
the following table.
Storage Device Special Device Address
SD card HS51.2
This function is supported only by iXP70/80/90
models.
389
4. Referencet
Display: The display settings for special switch objects include the following.
Same Image & Change Select a vector image. You cannot select a raster
Color/Pattern in On/Off image. Apply a pattern or color to the image.
- Library: Click to select an image from the library.
- Open: Click to browse images on your computer. When you select an image from your
computer, it will be added to the image library automatically.
- Pattern: Click a pattern to apply to the image. This option is available only when you
select the change color or pattern option in Image Type. Patterns are applied to
390
4. Reference
specific parts of objects, but not to the frames. The frames are different for each image.
Refer to the screenshots below.
Pattern
Frame
Pattern
Frame
Pattern
Frame
Text: The text settings for special switch objects are shown in the screenshot below.
- Use Caption: Check the checkbox to use a text caption with the object. When you
select this option, you can input text from a text table.
- On: Click to configure options for the object in the On state. You must input the text
in a text table.
391
4. Referencet
- Off: Click to configure options for the object in the Off state. You must input the text
in a text table.
- From Text Table: Check the checkbox to add text from a text table. The Text Table
option will be activated and the text input area will close. Add the required text to the
text table before editing the object. You must select text for the On and Off states
from the same text table.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be imported with the text.
- On <-> Off Copy: Click to copy the text and formatting from the On state to the Off
state or vice versa.
- Delete On/Off Caption: Click to clear text settings for the current state.
- Font: Select a font from the drop-down list.
- Size: Select a text size from the drop-down list or enter a value directly into the field.
- Width Ratio: Expand or condense the text by selecting a ratio from the drop-down list
or entering a value directly into the field. You can set a ratio of 1%-600%.
- Change the Property of Text Table: Click to copy different color and font properties
to the text than those specified in the text table. This option is active only when you
fetch text from the text table.
- Color: Select a font color.
- Font Style: Select a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (left, center, or right).
- Vertical Alignment: Set the vertical alignment (top, middle, or bottom).
Detail: The detail settings for special switch objects are shown in the screenshot below.
392
4. Reference
- Security Level: Set whether or not to require a password to use the object.
- Level: Set the security level for the object. The higher the security level, the shorter the
authorization time when the password is entered. When the authorization time expires,
the user must enter the password again to use the object.
- Action Delay: Set to delay the action triggered by the switch by a specified time.
- Type: Set the type of action delay.
On Delay When the switch is activated, the action is performed
after the delay time that you specify.
Lamp Condition: The lamp condition settings for special switch objects are shown in the
screenshot below.
393
4. Referencet
- Use Lamp Condition: If you want to control a lamp with a method other than simply
turning it on when the switch is activated, you can select a different action.
- Type: Select a condition for lamp control.
Bit When the device state is on, the lamp is on.
Action Condition: The action condition settings for special switch objects are shown in
the screenshot below.
394
4. Reference
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16-bit or 32-bit.
Basic: The basic settings for multi switch objects are shown in the screenshot below.
395
4. Referencet
- Set Script in Up or Down Action: Set scripts for up or down states of the switch.
Down Act. Script Select a script to execute when the switch is depressed.
(Down) Click a condition and then click this icon to move it lower
down the list.
- Bit Operation: Click to set a condition for a bit switch. For more information about bit
switches, refer to <4.3.2.1 Bit Switch>.
- Word Operation: Click to set a condition for a word switch. For more information
about word switches, refer to <4.3.2.2 Word Switch>.
- Change Screen: Click to set a condition for a screen change switch. For more
information about screen change switches, refer to <4.3.2.3 Change Screen Switch>.
Note
The change screen switch must be the last switch when using multiple
switches. This switch will be moved to the end of the operation list
automatically. This is to ensure that all the user operations on the current
screen are performed before switching to another screen.
- Print Screen: Click to set a condition for a print screen switch. For more information
about print screen switches, refer to <4.3.2.4 Special Switch>.
- Change Language: Click to set a condition for a change language switch. For more
information about change language switches, refer to <4.3.2.4 Special Switch>.
- Special Operation: Click to set a condition for a special operation switch. For more
information about special operation switches, refer to <4.3.2.4 Special Switch>.
396
4. Reference
Note
Language and screen switching operate independently, even though both
are special switches.
- Description: Enter a description for the object.
Display: The display settings for multi switch objects are shown in the screenshot below.
Same Image & Change Select a vector image. You cannot select a raster
Color/Pattern in On/Off image. Apply a pattern or color to the image.
- Library: Click to select an image from the library.
397
4. Referencet
- Open: Click to browse images on your computer. When you select an image from your
computer, it will be added to the image library automatically.
- Pattern: Click a pattern to apply to the image. This option is available only when you
select the change color or pattern option in Image Type. Patterns are applied to
specific parts of objects, but not to the frames. The frames are different for each image.
Refer to the screenshots below.
Pattern
Frame
Pattern
Frame
Pattern
Frame
398
4. Reference
Text: The text settings for multi switch objects are shown in the screenshot below.
- Use Caption: Check the checkbox to use a text caption with the object. When you
select this option, you can input text from a text table.
- On: Click to configure options for the object in the On state. You must input text from
a text table.
- Off: Click to configure options for the object in the Off state. You must input text
from a text table.
- From Text Table: Check the checkbox to add text from a text table. The Text Table
option will be activated and the text input area will close. Add the required text to the
text table before editing the object. You must select text for the On and Off states
from the same text table.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be imported with the text.
399
4. Referencet
- On <-> Off Copy: Click to copy the text and formatting from the On state to the Off
state or vice versa.
- Delete On/Off Caption: Click to clear text settings for the current state.
- Font: Select a font from the drop-down list.
- Size: Select a text size from the drop-down list or enter a value directly into the field.
- Width Ratio: Expand or condense the text by selecting a ratio from the drop-down list
or entering a value directly into the field. You can set a ratio of 1%-600%.
- Change the Property of Text Table: Click to apply different color and font properties
to the text from those specified in the text table. This option is active only when you
fetch text from the text table.
- Color: Select a font color.
- Font Style: Select a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (left, center, or right).
- Vertical Alignment: Set the vertical alignment (top, middle, or bottom).
Detail: The detail settings for multi switch objects are shown in the screenshot below.
- Security Level: Set whether or not to require a password to use the object.
- Level: Set the security level for the object. The higher the security level, the shorter the
authorization time when the password is entered. When the authorization time expires,
the user must enter the password again to use the object.
- Action Delay: Set to delay the action triggered by the switch by a specified time.
- Type: Set the type of action delay.
On Delay When the switch is activated, the action is performed
after the delay time that you specify.
400
4. Reference
Lamp Condition: The lamp condition settings for multi switch objects are shown in the
screenshot below.
- Use Lamp Condition: If you want to control a lamp with a method other than simply
turning it on when the switch is activated, you can select a different action.
- Type: Select a condition for lamp control.
Bit When the device state is on, the lamp is on.
Word When the condition is met, the lamp is on.
- Bit: If you selected the bit condition type, specify a bit device.
Device Enter a device or tag address directly into the input field or
click the keypad icon to the right to specify a device or tag
address. When you click the keypad icon to open the Device
window, you can also specify network settings, if necessary.
401
4. Referencet
- Word: If you selected the word condition type, specify a word device.
Device Enter a device or tag address directly into the input field or
click the keypad icon to the right to specify a device or tag
address. When you click the keypad icon to open the Device
window, you can also specify network settings, if necessary.
Size 16 bit or 32 bit.
Type Signed decimal, unsigned decimal, or BCD.
Exp. Click to designate the expression as conditional.
- Use Lamp Offset: Click to set an offset for the lamp.
Action Condition: The action condition settings for multi switch objects are shown in the
screenshot below.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
402
4. Reference
Basic: The basic settings for bit message objects are shown in the screenshot below.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Description: Enter a description for the object.
Display: The display settings for bit message objects are shown in the screenshot below.
403
4. Referencet
404
4. Reference
Text: The text settings for bit message objects are shown in the screenshot below.
- On: Click to configure options for the object in the On state. You can input text only
from a text table.
- Off: Click to configure options for the object in the Off state. You can input text only
from a text table.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be imported with the text.
- On <-> Off Copy: Click to copy the text and formatting from the On state to the Off
state or vice versa.
- Delete On/Off Msg.: Click to delete the text for the selected state.
- Size: Select a text size from the drop-down list or enter a value directly into the field.
- Blink: Set a blink speed for the object:
Not use The object will not blink.
Font Style Select a font style (bold, italic, strikeout, or underline). You
can apply more than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (left, center, or right).
- Vertical Alignment: Set the vertical alignment (top, middle, or bottom).
Detail: The detail settings for bit message objects are shown in the screenshot below.
405
4. Referencet
- Offset: Check the checkbox to use the Offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Display Mode: Set an option for the color of the message based on the background
color.
Transparent Display the message transparently, in contrast to the
background image.
XOR Display the message in a color that is easily
distinguishable from the background image.
406
4. Reference
Display Trigger: The display trigger settings for bit message objects are shown in the
screenshot below.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Type Signed decimal, unsigned decimal, BCD, or float.
Exp. Click to designate the expression as conditional.
- Multi Bit: If you select the multi bit condition, specify the number of bits and click
[Setting] to specify the bit conditions.
407
4. Referencet
Basic: The basic settings for word message objects are shown in the screenshot below.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Size: Select a data size (16 bit or 32 bit). Changing the data size for an existing object
will delete the conditions specified in the case settings.
- Type: Select a data type (Signed decimal number, Unsigned decimal number, or BCD).
- Select Message: Set the message type. Changing the message type for an existing
object will delete the conditions specified in the case settings.
Indirect A value is read from the referenced device to invoke the
message from the table.
408
4. Reference
409
4. Referencet
Text: The text settings for word message objects are shown in the screenshot below.
- Select Text Table: Select a text table for specifying message text.
- Text Table: Click to open the text table and select text. The color and font properties
set in the text table will be selected with the text.
This option is available only when the message type is set to Case in the basic settings.
The text to be set here is displayed in the message object by default when all the
conditions that are set in the case settings are not met. In the Indirect type where the
text string number for a device is designated, the message will not be displayed in the
message object when the text string number for the device does not exist. That is, text
cannot be selected from a text table when the message type is Indirect and text can be
selected from a text table when the message type is Case.
- Delete All Message: Delete any existing messages assigned to the object.
- Font: The font settings for a message cannot be set by the user. A message displayed
in a word message object shares the default settings of a pre-created text table.
Therefore, the font for the message corresponds with the font of the current editing
language that is set in [COMMON] [Project Property Setting] [Language].
- Size: Select a text size from the drop-down list or enter a value directly into the field.
- Change the Property of Text Table: Click to apply different color and font properties
to the text from those specified in the text table. This option is active only when you
fetch text from the text table.
- Color: Select a font color.
- Blink: Select a blink speed for the object:
Not use The object will not blink.
410
4. Reference
- Font Style: Select a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (left, center, or right).
- Vertical Alignment: Set the vertical alignment (top, middle, or bottom).
Case: The case settings for word message objects are shown in the screenshot below.
(Delete) Click a condition and then click this icon to delete the
condition.
(Down) Click a condition and then click this icon to move it lower
down the list.
411
4. Referencet
Operation: The operation settings for word message objects are shown in the screenshot
below.
- Use Script: Check the checkbox to use a script with the object.
- Select Script: Select a script from the drop-down list.
Script: When you select a script, it appears here. To modify a script, refer to <4.2 Scripts>.
Detail: The detail settings for word message objects are shown in the screenshot below.
- Offset: Check the checkbox to use the Offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
412
4. Reference
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Display Mode: Select an option for the color of the message based on the background
color.
Transparent Set the message to be transparent and contrast with the
background image.
XOR Display the message in a color that is easily
distinguishable from the background image.
Display Trigger: The display trigger settings for word message objects are shown in the
screenshot below.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
413
4. Referencet
Type Description
Numeric Input Enters and displays the value in the word device connected to the PLC
on the XGT Panel.
Numeric Displays the word device data connected to the PLC in numbers on the
Display XGT Panel.
Text Input Writes the entered text in the word device in ASCII code.
Text Display Displays the text recognizing the data saved in the word device as the
ASCII code value.
414
4. Reference
Basic: The basic settings for numeric input objects are shown in the screenshot below.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Use Input Function: Uncheck this option to change the numeric input object to a
numeric display object. Object property setting options automatically change to fit the
object type. Refer to <4.3.4.2 Numeric Display > for detailed information.
- Size: Set a data size (16 bit upper byte, 16 bit lower type, 16 bit, or 32 bit). If you
change the data size of an existing object, input and display conditions will be deleted.
- Display Format: Set the display format.
Numeric Format Set the number format.
Format Example
Signed decimal -2184
Unsigned decimal 2184
Octal 4210
Hexadecimal 888
Binary 10010001000
BCD 888
Float 2184.0
The Float format can be selected only when the data
size is 32 bit.
415
4. Referencet
No. of Display Set how many digits to display (up to 64). If the
Digits number of digits is less than the capacity of the
device, empty spaces are filled with placeholders (*).
If the device value cannot be displayed in BCD format,
it is expressed as ~.
No. of Decimal Set how many places to put to the right of the
Digits decimal point when you select formats other than
binary, octal, and hexadecimal.
- Use Scaling: When a user scales and inputs random values into an established PLC
device address, this function can be applied. Actual PLC values and displayable values
differ by data size and display type. If the value input by a user exceeds the maximum
value, the maximum value is input into the device instead. If the value input by a user is
lower than the minimum value, the minimum value is input into the device instead.
Min Device Value Input the minimum device value to allow.
416
4. Reference
Any value above the maximum input value is recognized as the maximum value (1,000),
so the device value becomes 100. Likewise, if you enter an input value under 0, the
value is still recognized as 0 and the device value becomes 0.
Below the
minimum input Device minimum value
value
Note
The available device value range and displayable data value range differ
by the size and type of the device, as shown in the below table.
Device Size Device Type Minimum Maximum
Signed decimal -128 127
16 bit upper Unsigned decimal,
type binary, octal, 0 255
hexadecimal
Signed decimal -128 127
16 bit lower Unsigned decimal,
type binary, octal, 0 255
hexadecimal
16 bit Signed decimal -32768 32767
417
4. Referencet
BCD 0 9999
418
4. Reference
Display: The display settings for numeric input objects include the following.
Plate Color Set a plate color (only available with vector images).
419
4. Referencet
Text: The text settings for numeric input objects include the following.
Text plate color is not in use Text plate color in use (blue)
- Space: Set the indent from the margin of the object. If you select left alignment, you
can set the left indent. If you select right alignment, you can set the right indent.
- Font Style: Set a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (Left, Center, or Right).
- Display Mode: Set to display the background color of figures in an XOR (exclusive Or)
color or in transparent.
420
4. Reference
Transparent XOR
Input Case: The input case settings for numeric input objects include the following.
- Input Case List: Create, delete, or reorganize conditional expressions. You can create
only one condition for numeric input.
(Create) Click to create a new range condition. You can create up
to eight conditions. Clicking this button opens the Range
Edit window, which allows you to create a condition. For
more information, refer to <4.2.1.3 Understanding
Constants and Data Types>.
(Delete) Click a condition and then click this icon to delete the
condition.
(Down) Click a condition and then click this icon to move it lower
down the list.
421
4. Referencet
Display Case: The display case settings for numeric input objects include the following.
- Display Case List: Create, delete, or reorganize conditional expressions. If the device
value meets multiple conditions, the display settings will be based on the first condition
met.
(Create) Click to create a new range condition. You can create up
to eight conditions. Clicking this button opens the Range
Edit window, which allows you to create a condition. For
more information, refer to <4.2.1.3 Understanding
Constants and Data Types>.
(Delete) Click a condition and then click this icon to delete the
condition.
(Down) Click a condition and then click this icon to move it lower
down the list.
<An example of an input condition or display condition>
$V is a value of a device to monitor.
If an input condition is $V > 0 and a display condition is as follows.
Setting Condition Background Text color Blink
color
Condition 1 200 <= $V < Blue Yellow Not use
300
Condition 2 $V > 1000 Yellow Black Slow
422
4. Reference
Changes of the number input on the XGT Panel according to the changes in the value
of the device to monitor are as follow.
Status Result
Device value = -200 Not supported
Note
If a value of a device meets multiple conditions, it is displayed according to
the settings of the first condition. In the example above, if the device value is
250, it will be displayed with the settings of the condition 1 although it
meets both the condition 1 and the condition 2.
In the Range Edit window, you can adjust the settings for the plate color, text color, and
blinking.
423
4. Referencet
Blink Set a blink speed for the object (Not use, Slow, Normal,
Fast).
Operation: The operation settings for numeric input objects include the following.
- Use Input Script: Set whether or not to use a script for numeric input.
- Input Script No.: Select a script for numeric input.
- Use Display Script: Set whether or not to use a script for numeric display.
- Display Script No.: Select a script for numeric display.
- Input Script Name: Expresses the most recent selected script contents.
424
4. Reference
Note
Input Script Process:
425
4. Referencet
426
4. Reference
Detail: The detail settings for numeric input objects include the following.
- Security Level: Set the security level for the object. The higher the security level, the
shorter the authorization time when the password is entered. When the authorization
time expires, the user must enter the password again to use the object.
- Zero Fill: If you have selected right justification, select this option to insert zeroes (0)
before the number.
- Zero Display: Set whether or not to show zeroes. If you do not set this option, the
object displays nothing when the device value is 0.
- Offset: Click the checkbox to use the offset function. You can offset the device address
based on the value of the offset device. For example, if the starting device address is
P100, XP-Builder reads the value from the offset device and offsets the address by that
value. If the offset value is 10, for example, then the referenced device address is P110.
The offset function behaves differently if a read device is set. When a read device is set,
the offset is only applied to the writing device. If a read device is not set, the offset is
applied to both read and write devices.
427
4. Referencet
428
4. Reference
D20 200
The values in the controller are same, but the data displayed in the XGT Panel is
different.
- Write Check Device: Set a device to verify the returned device value. Set this option
when the bit device is ON after inputting the number.
- Write Device Off: Set when to turn off the write check device, if the data cannot be
verified.
- Use Log: Set to allow the device to be monitored in an operation log.
Keypad Option: The keypad options settings for numeric input objects include the
following.
- Cursor: Set the movement type for using the automatic cursor.
<About cursor movement>
If the focus type is set to Touch, input objects for continuous inputs can be grouped
together. Continuous inputs are performed in each group.
If there is an interlocked object with an input order, the input cursor will skip the locked
unit and move automatically to the next unit in the sequence.
429
4. Referencet
If you press a cursor moving special switch while on input, current input will be
canceled and the data will return to the status before input. And the previous or next
input object will be ready for input.
Focus Set a method for moving the cursor. If you select Touch, the user must
Type touch the input field to move the cursor. The flow for the Touch
method is as follows:
If you select Input Permit Device, the cursor moves only when the
input permit bit device is on.
Input Permit Bit Device: ON
OFF OFF
Input Set the input permit bit device when Input Permit Device is selected.
Permit
Bit
Device
Clear Set whether or not to clear input data automatically when switching to
Type input mode.
Auto Clear OFF Shows the previous data in input mode.
Clears input data automatically when
Auto Clear On
switching to input mode.
- Keypad Settings: Set the key window options for data input. If you dont use the key
window, you can also set the key switches using the special switch object on the same
screen.
Keypad Type Set whether or not to use the Window Keypad Screen.
Use Keypad set in Set whether or not to use the keypad specified in the
Input Object key window settings. Enter the number of the key
window or click [Browse] to locate the key window.
If this option is not selected, the keypads set in
[COMMON] [Project Property Setting] [Key
Window Settings] will be used.
Use User Keypad Set whether or not to specify a location for the key
Position window. Set the coordinates for the X and Y axes. If
you do not specify the location, the key window will
appear at the upper left or upper right of the screen.
430
4. Reference
- Use Auto Cursor: Set whether or not to use the auto cursor function. When the user
touches [Enter] while entering data in a key window, the cursor moves to the next input
field automatically.
720 720 720
0 290 290
0 0 5
Input Order Specify the sequence number of the window to control
cursor movement.
431
4. Referencet
Action Condition: The action condition settings for numeric input objects include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched
on.
Bit Off The action is performed when the device is switched
off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation
result of multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Type Signed decimal, unsigned decimal, BCD, or float.
Exp. Click to designate the expression as conditional.
- Multi Bit: If you select the multi bit condition, specify the number of bits and click
[Setting] to specify the bit conditions.
432
4. Reference
Display Trigger: The display trigger settings for numeric input objects include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
433
4. Referencet
Basic: The basic settings for numeric display objects include the following.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Use Input Function: Check this option to change the numeric display object to a
numeric input object. Object property setting options automatically change to fit the
object type. Refer to <4.3.4.1 Numeric Input> for detailed information.
- Size: Set a data size (16 bit upper byte, 16 bit lower byte, 16 bit, or 32 bit). If you
change the data size of an existing object, input and display conditions will be deleted.
- Display Format: Set the display format.
Numeric Format Set the number format.
Format Example
Signed decimal -2184
Unsigned decimal 2184
Octal 4210
Hexadecimal 888
Binary 10010001000
BCD 888
Float 2184.0
The Float format can be selected only when the data
size is 32 bit.
No. of Display Set how many digits to display (up to 64). If the number
434
4. Reference
No. of Decimal Set how many places to put to the right of the decimal
Digits point when you select formats other than binary, octal,
and hexadecimal numbers.
Format Set the formats for both the numeric and text displays.
If you want to input text, enter it directly. Numbers,
however, appears as asterisks (*).
Truncated Digits: 1
Device
1 2 3 4 5 6 12cm, 3mm
Truncated Digits: 1
435
4. Referencet
Min. Input Value Input the minimum data value to be displayed at scale.
Max. Input Value Input the maximum data value to be displayed at scale.
Any value above the maximum input value is recognized as the maximum value (1000),
the device value becomes 100. Likewise, if you enter an input value under 0, the value is
recognized as 0 and the device value becomes 0.
436
4. Reference
Note
The available device value range and displayable data value range differ
by size and type of the device, as described in the following table.
Device Size Device Type Minimum Maximum
Signed decimal -128 127
16 bit upper Unsigned decimal,
type binary, octal, 0 255
hexadecimal
Signed decimal -128 127
16 bit lower Unsigned decimal,
type binary, octal, 0 255
hexadecimal
Signed decimal -32768 32767
BCD 0 9999
437
4. Referencet
Exceeded The When you input a value Input an exact value. Refer to
Maximum that exceeds the device the available device value
Value! size or data limit. range.
If the device size is changed, the existing input condition and display
condition are deleted.
If the communication with the controllers fails while inputting or reading
the data, only the background image is displayed on the XGT Panel. The
number is not displayed.
If you want to enter a decimal place, press the period on the keypad and
then enter the numbers.
- Description: Enter a description for the object.
Display: The display settings for numeric display objects include the following.
Plate Color Set a plate color (only available with vector images).
Text: The text settings for numeric display objects include the following.
438
4. Reference
Text plate color is not in use Text plate color in use (blue)
- Space: Set the indent from the margin of the object. If you select left alignment, you
can set the left indent. If you select right alignment, you can set the right indent.
- Font Style: Set a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (Left, Center, or Right).
- Display Mode: Set an option for the color of the message based on the background
color.
Transparent Display the message transparently, in contrast to the
background image.
439
4. Referencet
Display Case: The display case settings for numeric display objects include the following.
- Display Case List: Create, delete, or reorganize conditional expressions. If the device
value meets multiple conditions, the display settings will be based on the first condition
met.
(Create) Click to create a new range condition. You can create up to
eight conditions. For more information, <4.2.1.3
Understanding Constants and Data Types>.
(Delete) Click a condition and then click this icon to delete the
condition.
(Up) Click a condition and then click this icon to move it higher
up the list.
(Down) Click a condition and then click this icon to move it lower
down the list.
<An example of an input condition or display condition>
$V is a value of a device to monitor.
If an input condition is $V > 0 and a display condition is as follows.
Setting Condition Background Text color Blink
color
Condition 1 200 <= $V < Blue Yellow Not use
300
440
4. Reference
Note
If a value of a device meets multiple conditions, it is displayed according to
the settings of the first condition. In the example above, if the device value is
250, it will be displayed with the settings of the condition 1 although it
meets both the condition 1 and the condition 2.
In the Range Edit window, you can adjust the settings for the plate color, text color, and
blinking.
441
4. Referencet
Blink Set a blink speed for the object (Not use, Slow, Normal,
Fast).
Operation: The operation settings for numeric display objects include the following.
- Use Script: Click the checkbox to use a script with the object.
- Select Script: Select a script from the drop-down list.
- Script: When you select a script, it appears here. To modify a script, refer to <4.2
Scripts>.
442
4. Reference
Detail: The detail settings for numeric display objects include the following.
- Offset: Click the checkbox to use the offset function. You can offset the device address
based on the value of the offset device. For example, if the starting device address is
P100, XP-Builder reads the value from the offset device and offsets the address by that
value. If the offset value is 10, for example, then the referenced device address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Zero Fill: If you have selected right justification, select this option to insert zeroes (0)
before the number.
- Zero Display: Set whether or not to show zeroes. If you do not set this option, the
object displays nothing when the device value is 0.
443
4. Referencet
Display Trigger: The display trigger settings for numeric display objects include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched
on.
Bit Off The action is performed when the device is switched
off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation
result of multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
444
4. Reference
Basic: The basic settings for text input objects include the following.
- Use Input Function: Uncheck this option to change the text input object to a text
display object. Object property setting options automatically change to fit the object
type. Refer to <4.3.4.4 Text Display> for detailed information.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad
- Display Format: Set the display format.
No. of BYTE Set the number of characters to display (2 to 64).
- Use Data Byte Swap: Set to change output data into word form. For example, if ABCD
is input, BADC is output in the device.
- Use Cipher: Set to encode the numeric value that a user inputs. The input value will
appear as * in the interface.
- Description: Enter a description for the object.
Note
Spaces are counted in the number of bytes allowed for text input.
16 bit word devices allow entry of double-byte characters.
The starting address of the specified reference device is the memory
location for text input. The amount of text that can be input is the same
as the volume of the memory location.
An odd number of characters can be input and the remaining areas will be
filled with 0. For example, if the number of characters is set to 4 and only
445
4. Referencet
3 characters are input, the remaining area in the memory will be filled
with 0.
Display: The display settings for text input objects include the following.
Plate Color Set a plate color (only available with vector images).
Text: The text settings for text input objects include the following.
446
4. Reference
Text plate color is not in use Text plate color in use (blue)
- Space: Set the indent from the margin of the object. If you select left alignment, you
can set the left indent. If you select right alignment, you can set the right indent.
- Font Style: Set a font style (bold, italic, strikeout, or underline). You can apply more
than one option at a time.
- Horizontal Alignment: Set the horizontal alignment (Left, Center, or Right).
- Display Mode: Set an option for the color of the message based on the background
color.
Transparent Display the message transparently, in contrast to the
background image.
447
4. Referencet
Detail: The detail settings for text input objects include the following.
- Security Level: Set the security level for the object. The higher the security level, the
shorter the authorization time when the password is entered. When the authorization
time expires, the user must enter the password again to use the object.
- Offset: Click the checkbox to use the offset function. You can offset the device address
based on the value of the offset device. For example, if the starting device address is
P100, XP-Builder reads the value from the offset device and offsets the address by that
value. If the offset value is 10, for example, then the referenced device address is P110.
The offset function behaves differently if a read device is set. When a read device is set,
the offset is only applied to the writing device. If a read device is not set, the offset is
applied to both read and write devices.
448
4. Reference
D20 CD(0x4443)
D20 CD(0x4443)
The values in the controller are same, but the data displayed in the XGT Panel is
different.
- Write Check Device: Set a device to verify the returned device value. Set this option
when the bit device is On after inputting the number.
- Write Device Off: Set when to turn off the write check device, if the data cannot be
verified.
- Use Log: Set to allow the device to be monitored in an operation log.
Keypad Option: The keypad options settings for text input objects include the following.
- Cursor: Set the movement type for using the automatic cursor.
<About cursor movement>
449
4. Referencet
If the focus type is set to Touch, input objects for continuous inputs can be grouped
together. Continuous inputs are performed in each group.
If there is an interlocked object with an input order, the input cursor will skip the locked
unit and move automatically to the next unit in the sequence.
If you press a cursor moving special switch while on input, current input will be
canceled and the data will return to the status before input. And the previous or next
input object will be ready for input.
Focus Set a method for moving the cursor. If you select Touch, the user
Type must touch the input field to move the cursor. The flow for the
Touch method is as follows:
If you select Input Permit Device, the cursor moves only when
the Input Permit Bit Device is on.
Input Permit Bit Device:
OFF OFF
Input Set the input permit bit device when Input Permit Device is
Permit selected.
Bit
Device
450
4. Reference
- Use Auto Cursor: Set whether or not to use the auto cursor function. When the user
touches [Enter] while entering data in a key window, the cursor moves to the next input
field automatically.
720 720 720
0 290 290
0 0 5
Input Order Specify the sequence number of the window to control
cursor movement.
Use Group Specify the same sequence number of a group of windows
to control cursor movement.
- Use Interlock: Set to prevent input when the interlock device meets the specified
condition (device ON or OFF). The input cursor will skip the locked unit and move
automatically to the next unit in the sequence.
451
4. Referencet
Display Trigger: The display trigger settings for text input objects include the following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Type Signed decimal, unsigned decimal, BCD, or float.
Exp. Click to designate the expression as conditional.
- Multi Bit: If you select the multi bit condition, specify the number of bits and click
[Setting] to specify the bit conditions.
452
4. Reference
Action Condition: The action condition settings for text input objects include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Type Signed decimal, unsigned decimal, BCD, or float.
Exp. Click to designate the expression as conditional.
- Multi Bit: If you select the multi bit condition, specify the number of bits and click
[Setting] to specify the bit conditions.
453
4. Referencet
The data is read by word unit, with the low byte of the device value read first and the high
byte read next:
When you input the four-letter ASCII code, the value is displayed in the four bytes of the
reading range from the device address.
Basic: The basic settings for text display objects include the following.
454
4. Reference
- Use Input Function: Check this option to change the text display object to a text
input object. Object property setting options automatically change to fit the object type.
Refer to <4.3.4.3 Text Input > for detailed information.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Display Format: Set the display format.
Num. of Byte Set the number of characters to display (2 to 64).
- Use Data Byte Swap: Set to change output data into word form.
- Display Type: Set the display type.
Device Value Use the value from the device address set in the Basic
settings.
Input Value Display the value entered with the keypad on the current
screen. If you set this option, you cannot use the Device,
Display Format, and Use Data Byte Swap options.
Input Max. Display the maximum value entered with the keypad on
Value the current screen. If you set this option, you cannot use
the Device, Display Format, and Use Data Byte Swap
options.
Input Min. Display the minimum value entered with the keypad on
Value the current screen. If you set this option, you cannot use
the Device, Display Format, and Use Data Byte Swap
options.
The range of the maximum and minimum input values
differ by device size and the shape of the object
generated by the pop-up keypad. Furthermore, if the
input condition is set, the maximum and minimum values
also differ, depending on the ranges of the input
condition.
Bit Device Display the device address no the device value.
Address If the settings are as follows, the value saved in the HW9
device will be displayed.
455
4. Referencet
Display: The display settings for text display objects include the following.
456
4. Reference
- Transparent BG Image: Click the checkbox to make the image background transparent.
You cannot use a transparent background and the reverse image setting at the same
time.
Frame Color Set a frame color (only available with vector images).
Plate Color Set a plate color (only available with vector images).
Text: The text settings for text display objects include the following.
457
4. Referencet
Detail: The detail settings for text display objects include the following.
- Offset: Click the checkbox to use the offset function. You can offset the device address
based on the value of the offset device. For example, if the starting device address is
P100, XP-Builder reads the value from the offset device and offsets the address by that
value. If the offset value is 10, for example, then the referenced device address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
458
4. Reference
Display Trigger: The display trigger settings for text display objects include the following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
459
4. Referencet
Basic: The basic settings for bit window objects include the following.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Window Screen No.: Set the window number to invoke or click [Browse] to locate the
window.
- Bit Condition: Set the bit condition for invoking the window (on or off).
- Window Type: Set the type of window to invoke.
Popup Set to open a new window on top of the existing window.
<Window>
460
4. Reference
Top-Right Align the upper right corners of the window and the
object.
Bottom-Right Align the lower right corners of the window and the object.
Bottom-Left Align the lower left corners of the window and the object.
Note
If the input window area exceeds the borders of the Base screen, it is not
displayed in the XGT Panel. In this case, the project download will not
start. If the window object area partially extends beyond the right or
bottom of the Base screen, only the portion of the object that is inside the
borders will be displayed.
There are two ways to close the bit window when the condition is met.
1. Reverse the reference device status.
2. For a pop-up window, click the close button. The device status is
converted automatically. If the windows overlap, the close button
is not displayed.
The placement points for Window and Part objects are listed in the table
461
4. Referencet
below.
Object Placement Point
Window Object The start point of the edited Window screen
The start point where the parts are drawn in
Part Object
the edited Part screen.
- Description: Enter a description of the object.
Detail: The detail settings for bit window objects are shown in the screenshot below.
- Offset: Check the checkbox to use the Offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Use Border: Set the border color of a window object in XP-Builder. If the border color
is not set, a window object will be displayed in the color you set in [TOOL] [Option]
[Edit Option] [Default Line Color of Figure/Object].
The border is not displayed on the XGT Panel screen. It is displayed only in XP builder.
462
4. Reference
Basic: The basic settings for word window objects are shown in the screenshot below.
- Control Device:
Device Enter a device or tag address directly into the input field or
click the keypad icon to the right to specify a device or tag
address. When you click the keypad icon to open the Device
window you can also specify network settings, if necessary.
Size Set the data size for the object (16 or 32 bit). If Display Part
Screen is set to Indirect, the size is fixed to 16 bit and
cannot be changed.
463
4. Referencet
Type Set the data type for the object (signed decimal, Unsigned
decimal, or BCD).
- Window Type: Set the type of window to invoke.
Popup Set to open a new window on top of the existing window.
<Window>
Top-Right Align the upper right corners of the window and the
object.
Bottom-Right Align the lower right corners of the window and the
464
4. Reference
Placement Description
object.
Bottom-Left Align the lower left corners of the window and the object.
Note
If the data size or type are changed, the input and display condition are
deleted.
If the Display Window setting changes to Indirect, the input and display
condition are deleted.
If the input window area exceeds the borders of the Base screen, it is not
displayed in the XGT Panel. In this case, the project download will not
start. If the window object area partially extends beyond the right or
bottom of the Base screen, the portion of the object that is inside the
borders will be displayed.
The Word Window object is always displayed on the basic screen and you
cannot close the window, as there is no close button. The Word Window
object can be allocated two or more states, so it cannot be determined
how the reference device state should change even if the present Window
screen is closed.
The placement points for the Window and Part objects are listed in the
table below.
Object Placement Point
The start point of the edited Window
Window Object
screen.
The start point where the parts are drawn in
Part Object
the edited Part screen.
- Description: Enter a description for the object.
Case: The case settings for word window objects are shown in the screenshot below.
465
4. Referencet
(Delete) Click a condition and then click this icon to delete the
condition.
(Down) Click a condition and then click this icon to move it lower
down the list.
A number can be set for a window screen that pops up or overlaps when a condition is
met. You can directly set the number or browser for a window screen. If you click the
Browser button, all the window screens created will be displayed in thumbnails as
shown below. Select a window screen to set the number.
466
4. Reference
Operation: The operation settings for word window objects are shown in the screenshot
below.
- Use Script: Check the checkbox to use a script with the object.
- Select Script: Select a script from the drop-down list.
- Script: When you select a script, it appears here. To modify a script, refer to <4.2
Scripts>.
Detail: The detail settings for word window objects are shown in the screenshot below.
467
4. Referencet
- Offset: Check the checkbox to use the offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
The Offset function behaves differently if a read device is set. When a read device is set,
the offset is only applied to the writing device. If a read device is not set, the offset is
applied to both read and write devices.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- Use Border: Set the border color of a window object on XP-Builder. If the border color
is not set, a window object will be displayed in the color you set in [TOOL] [Option]
[Edit Option] [Default Line Color of Figure/Object]. This function is only for the
XGT Panel and does not affect editing.
<Examples>
468
4. Reference
Fixed: Display the part according to the registered location condition in XP-Builder.
XY: Display the part on the dot registered as the device value. The XY coordinates are set
based on the device value regardless of the current XY coordinates of that object.
In this case, the X location value is the same as the device address (P100) and the Y
location value is the device address plus 1 (P101). In the below example, the device value
is shown in the table.
The bit object movement for the above example is shown below.
Line: Display the movement of the object through the straight line. Set the minimum value
as the starting point, and the maximum value as the ending point.
469
4. Referencet
In this case, the X and Y location are relative based on the maximum and minimum value.
The X location value is the same as the device address (P100) and the Y location value is
the device address plus 1 (P101).
If the XY device value is as below:
Starting point
Ending point
Route: Display the movement of the object according to the point you set in advance. You
can set the point to display the part.
470
4. Reference
If the location device value is 6, the part moves along path (6). If the location device value
is 1 and 4, it moves along paths (1) and (4) respectively.
Basic: The basic settings for bit part objects are shown in the screenshot below.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
- No. of Part Screen: Set the parts to invoke.
On Set the part to invoke when the device is set to On.
Off Set the part to invoke when the device is set to Off.
On Blink Set the part to blink when the device is set to On (not use,
slow, normal, and fast).
Off Blink Set the part to blink when the device is set to Off (not use,
slow, normal, and fast).
471
4. Referencet
- Placement: Set the location where the new part will appear on the screen (top-left,
center, top-right, bottom-right, or bottom-left). For example, if you set the location to
Top-Left, the part will appear in the upper-left corner of the object.
<Part>
Type Description
Top-Left Align the upper-left corner of the part with the upper-left
corner of the object.
Top-Right Align the upper-right corner of the part with the upper-
right corner of the object.
Bottom-Right Align the lower-right corner of the part with the lower-
right corner of the object.
Bottom-Left Align the lower-left corner of the part with the lower-left
corner of the object.
Note
If an area of the part extends beyond the borders of the Base screen, only
the area inside the window borders will be displayed.
472
4. Reference
The placement points for Window and Part objects are as follows:
Object Placement Point
Window Object The start point of the edited Window screen.
The start point where the parts are drawn in the
Part Object
edited Part screen.
- Position: Set a device to control values for the relative location of the part for XY, Line,
and Route paths. The size of the path position device is fixed at 16 bit. The maximum
and minimum values restrict the path of a part, based on the device value (only for line
paths).
- Description: Enter a description of the object.
Detail: The detail settings for text bit part objects are shown in the below screenshot.
- Offset: Check the checkbox to use the Offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
473
4. Referencet
Display Trigger: The display trigger settings for bit part objects are shown in the below
screenshot.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
474
4. Reference
Basic: The basic settings for word part objects are shown in the below screenshot.
- Control Device:
Device Enter a device or tag address directly into the input field or
click the keypad icon to the right to specify a device or tag
address. When you click the keypad icon to open the Device
window you can also specify network settings, if necessary.
Size Set the data size for the object (16 or 32 bit). If Display Part
Screen is set to Indirect, the size is fixed to 16 bit and
cannot be changed.
Type Set the data type for the object (Signed decimal, unsigned
decimal, BCD, or float).
- Screen Type: Set the type of part to invoke.
Part Screen Set to invoke a part.
475
4. Referencet
Indirect Invoke the window based on the device value. It is either the
window number or the image file name that the device
value invokes. For example, if the device value is 1 and the
screen type is set to Part Screen, Part Screen 1 will be
invoked. If the screen type is set to Storage Image, the file
img00001.bmp will be invoked.
<Part>
Type Description
Top-Left Align the upper-left corner of the part with the upper-left
corner of the object.
Top-Right Align the upper-right corner of the part with the upper-
right corner of the object.
Bottom-Right Align the lower-right corner of the part with the lower-
right corner of the object.
Bottom-Left Align the lower-left corner of the part with the lower-left
corner of the object.
476
4. Reference
Note
If the data size or type is changed, the input and display conditions are
deleted.
If the Display Part Screen setting changes to Indirect, the input and
display conditions are deleted.
If an area of the part extends beyond the borders of the Base screen, only
the area inside the borders will be displayed.
The placement points for the Window and Part objects are as follows:
Object Placement Point
The start point of the edited Window
Window Object
screen.
The start point where the parts are drawn in
Part Object
the edited Part screen.
When the Screen Type setting is Storage Image and the Display Part
Screen setting is Indirect, the image from the storage device that
corresponds to the current control device is displayed.
- Position: Set a device to control values for the relative location of the part for XY, Line,
and Route paths. The size of the path position device is fixed at 16 bit. The maximum
and minimum values restrict the path of a part based on the device value (only for line
paths).
- Storage Image Setting: Set options for using images from a storage location.
Width Set the width of the image when you import an image from
the storage device. The image size is reduced or expanded
to fit the width you set. When you set the Original size
option, you can view as much of the original image as fits
within the width you set.
Height Set the height of the image when you import an image
from the storage device. The image size is reduced or
expanded to fit the height you set. When you set the
Original size option, you can view as much of the original
image as fits within the height you set.
477
4. Referencet
Original size Set to show the image in its original size. If the image size is
larger than the Base screen, only as much of the image as
fits within the Base screen will be displayed, as shown
below.
<Original Image>
478
4. Reference
Case: The case settings for word part objects are shown in the screenshot below.
(Delete) Click a condition and then click this icon to delete the
condition.
(Up) Click a condition and then click this icon to move it higher
up the list.
(Down) Click a condition and then click this icon to move it lower
down the list.
479
4. Referencet
A number can be set for a part screen that pops up or overlaps when a condition is met.
You can directly set the number or browser for a part screen. If you click the Browser
button, all the part screens created will be displayed in thumbnails as shown below.
Select a part screen to set the number.
Note
Browser button is not provided if the Screen type is set to Storage Image in
Basic property window.
Operation: The operation settings for word part objects are shown in the below
screenshot.
- Use Script: Check the checkbox to use a script with the object.
- Select Script: Select a script from the drop-down list.
480
4. Reference
- Script: When you select a script, it appears here. To modify a script, refer to <4.2
Scripts>.
Detail: The detail settings for word part objects are shown in the below screenshot.
- Offset: Check the checkbox to use the Offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window you can also specify network settings, if necessary.
Display Trigger: The display trigger settings for word part objects are shown in the below
screenshot.
- Use Condition: Set whether or not to specify a condition for the action.
481
4. Referencet
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Animation: The animation settings for animation objects are shown in the below
screenshot.
- Loop: Set whether or not to repeat the animation. If you set this option, you cannot set
the Start/End or Pause/Restart devices.
- Start/End: Set a bit device to start and end the animation.
- Pause/Restart: Set a device to pause or resume the animation halfway.
482
4. Reference
- Library: Click to select an animation from the user or system graphic libraries.
- Open: Click to select a GIF file from your computer.
- Speed: Set the speed of the animation.
Slow 400 ms
Normal 250 ms
Fast 100 ms
- Description: Enter a description of the relevant object.
Note
Depending on the operation speed and the image size, animation objects
can overload the system and affect the overall performance.
Display Trigger: The display trigger settings for animation objects are shown in the below
screenshot.
- Use Action Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
483
4. Referencet
484
4. Reference
Basic: The basic settings for bar graph objects are shown in the below screenshot.
- Control Device: Specify the following options for the control device.
Device Enter a device or tag address directly into the input field or
click the keypad icon to the right to specify a device or tag
address. When you click the keypad icon to open the Device
window, you can also specify network settings, if necessary.
Size Set the data size of the device (16 bit or 32 bit). If you change
the data size of an existing object, the conditional statement
will be deleted.
Type Set the data form at the device (signed decimal, unsigned
decimal, BCD, or float). If you change the data type of an
existing object, the conditional statement will be deleted.
- Upper/Lower Limit Value: Set the maximum and minimum values of the data to
display. The maximum and minimum values must be within the range supported by the
device type. Otherwise, only the minimum or maximum value supported by the device
will be displayed.
Device Set the specified device value as the maximum and
minimum value.
Constant Set the specified fixed value as the maximum and minimum
value.
Note
Refer to the following table for the minimum and maximum constant values
based on the device size:
Device size Device type Minimum Maximum
16bit Signed decimal -32768 32767
16bit Unsigned decimal 0 65535
485
4. Referencet
Display: The display settings for bar graph objects are shown in the below screenshot.
- Transparent BG Image: Set whether or not to make the background of the graph
transparent.
- Library: Click to select a background image for the graph from an image library.
- Open: Click to search for a background image for the graph on your computer.
- Direction: Set the direction of the graph (top > bottom, bottom > top, left > right, or
right > left).
- Hatch: Set a pattern for the ranges in the graph.
- Transparent Border: Set whether or not to use a transparent border for the graph.
486
4. Reference
Plate Color Select the background for areas not filled by value
ranges.
Plate Color
Fill Color
487
4. Referencet
Case: The case settings for bar graph object are shown in the below screenshot.
(Delete) Click a condition and then click this icon to delete the
condition.
When you create a range condition, you can also set the fill type of the graph.
Pattern FG Color Set the foreground color of the graph to display when
the condition is met.
Pattern BG Color Set the background color of the graph to display when
the condition is met.
488
4. Reference
Operation: The operation settings for bar graph objects are shown in the screenshot
below.
- Use Script: Check the checkbox to use a script with the object.
- Select Script: Select a script from the drop-down list.
- Script: When you select a script, it appears here. To modify a script, refer to <4.2
Scripts>.
Detail: The detail settings for bar graph objects are shown in the below screenshot.
- Offset: Check the checkbox to use the Offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
Display Trigger: The display trigger settings for bar graph objects are shown in the below
screenshot.
489
4. Referencet
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
490
4. Reference
Basic: The basic settings for pie graph objects are shown in the below screenshot.
- Control Device: Specify the following options for the control device.
Device Enter a device or tag address directly into the input field or
click the keypad icon to the right to specify a device or tag
address. When you click the keypad icon to open the Device
window, you can also specify network settings, if necessary.
Size Set the data size of the device (16 bit or 32 bit). If you
change the data size of an existing object, the conditional
statement will be deleted.
Type Set the data form at the device (signed decimal, unsigned
decimal, BCD, or float). If you change the data type of an
existing object, the conditional statement will be deleted.
- Upper/Lower Limit Value: Set the maximum and minimum values of the data to
display. The maximum and minimum values must be within the range supported by the
device type. Otherwise, only the minimum or maximum value supported by the device
will be displayed.
491
4. Referencet
Constant Set the specified fixed value as the maximum and minimum
value.
Note
Refer to the following table for the minimum and maximum constant values
based on the device size:
Device size Device type Minimum Maximum
16bit Signed decimal -32768 32767
16bit Unsigned decimal 0 65535
16bit BCD 0 9999
32bit Signed decimal -2147483648 2147483647
32 bit Unsigned decimal 0 4294967295
32 bit BCD 0 99999999
- Description: Enter a description of the relevant object.
Display: The display settings for pie graph objects are shown in the below screenshot.
- Library: Click to select a background image for the graph from an image library.
- Open: Click to search for a background image for the graph on your computer.
- Hatch: Set a pattern for the ranges in the graph.
- Transparent BG Image: Set whether or not to make the background of the graph
transparent.
- Transparent Border: Set whether or not to use a transparent border for the graph.
- Frame Display: Specify the following options for the frame.
Border Color Select a border color.
Plate Color Select the background for areas not filled by value
492
4. Reference
ranges.
- Fill Type: Specify the following options for the fill.
Pattern FG Color Set a foreground color for the pattern.
Direction Set the direction for filling the pie graph (clockwise
or counter-clockwise).
Start Position When using a circle shape, set the start position of
the pointer. If the direction is clockwise, the start
position is as follows.
493
4. Referencet
Case: The case settings for pie graph objects are shown in the below screenshot.
(Delete) Click a condition and then click this icon to delete the
condition.
(Down) Click a condition and then click this icon to move it lower
down the list.
When you create a range condition, you can also set the fill type of the graph.
Pattern FG Color Set the foreground color of the graph to display when
the condition is met.
Pattern BG Color Set the background color of the graph to display when
the condition is met.
494
4. Reference
Operation: The operation settings for pie graph objects are shown in the below
screenshot.
- Use Script: Check the checkbox to use a script with the object.
- Select Script: Select a script from the drop-down list.
- Script: When you select a script, it appears here. To modify a script, refer to <4.2
Scripts>.
Detail: The detail settings for pie graph objects are shown in the below screenshot.
- Offset: Check the checkbox to use the Offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
Display Trigger: The display trigger settings for pie graph objects are shown in the below
screenshot.
495
4. Referencet
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
496
4. Reference
Basic: The basic settings for meter graph objects are shown in the below screenshot.
- Control Device: Specify the following options for the control device.
Device Enter a device or tag address directly into the input field or
click the keypad icon to the right to specify a device or tag
address. When you click the keypad icon to open the Device
window, you can also specify network settings, if necessary.
Size Set the data size of the device (16 bit or 32 bit). If you
change the data size of an existing object, the conditional
statement will be deleted.
Type Set the data form at the device (signed decimal, unsigned
decimal, BCD, or float). If you change the data type of an
existing object, the conditional statement will be deleted.
- Upper/Lower Limit Value: Set the maximum and minimum values of the data to
display. The maximum and minimum values must be within the range supported by the
device type. Otherwise, only the minimum or maximum value supported by the device
will be displayed.
Device Set the specified device value as the maximum and
minimum value.
Constant Set the specified fixed value as the maximum and minimum
497
4. Referencet
value.
Note
Refer to the following table for the minimum and maximum constant values
based on the device size:
Device size Device type Minimum Maximum
16bit Signed decimal -32768 32767
16bit Unsigned decimal 0 65535
16bit BCD 0 9999
32bit Signed decimal -2147483648 2147483647
32 bit Unsigned decimal 0 4294967295
32 bit BCD 0 99999999
- Description: Enter a description of the relevant object.
Display: The display settings for meter graph objects are shown in the below screenshot.
- Library: Click to select a background image for the graph from an image library.
- Open: Click to search for a background image for the graph on your computer.
- Frame Display: Specify the following options for the frame.
Border Color Select a border color.
Plate Color Select the background for areas not filled by value ranges.
498
4. Reference
Start Position When using a circle shape, set the starting position of
the pointer.
When using a circle shape, set the starting position of
the pointer. If the direction is clockwise, the start position
is as follows.
Case: The case settings for meter graph objects are shown in the below screenshot.
(Delete) Click a condition and then click this icon to delete the
condition.
(Up) Click a condition and then click this icon to move it higher
up the list.
499
4. Referencet
(Down) Click a condition and then click this icon to move it lower
down the list.
When you create a range condition, you can also set the needle color of the graph to
display when the condition is met.
Operation: The operation settings for meter graph objects are shown in the below
screenshot.
- Use Script: Check the checkbox to use a script with the object.
- Select Script: Select a script from the drop-down list.
- Script: When you select a script, it appears here. To modify a script, refer to <4.2
Scripts>.
500
4. Reference
Detail: The detail settings for meter graph objects are shown in the below screenshot.
- Offset: Check the checkbox to use the Offset function. You can offset the device
address based on the value of the offset device. For example, if the starting device
address is P100, XP-Builder reads the value from the offset device and offsets the
address by that value. If the offset value is 10, for example, then the referenced device
address is P110.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
Display Trigger: The display trigger settings for the meter graph object include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
501
4. Referencet
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Basic: The basic settings for closed graph objects include the following.
- Control Device: Specify the following options for the control device.
Device Enter a device or tag address directly into the input field or
click the keypad icon to the right to specify a device or tag
address. When you click the keypad icon to open the Device
window, you can also specify network settings, if necessary.
Size Set the data size of the device (16 bit or 32 bit). If you
502
4. Reference
Type Set the data form of the device (signed decimal, unsigned
decimal, BCD, or float). If you change the data type of an
existing object, the conditional statement will be deleted.
- Upper/Lower Limit Value: Set the maximum and minimum values of the data to
display. The maximum and minimum values must be within the range supported by the
device type. Otherwise, only the minimum or maximum value supported by the device
will be displayed.
Device Set the specified device value as the maximum and
minimum value.
Note
Refer to the following table for the minimum and maximum constant values
based on the device size:
Device size Device type Minimum Maximum
16bit Signed decimal -32768 32767
16bit Unsigned decimal 0 65535
16bit BCD 0 9999
32bit Signed decimal -2147483648 2147483647
32 bit Unsigned decimal 0 4294967295
32 bit BCD 0 99999999
- Description: Enter description in the relevant object.
503
4. Referencet
Display: The display settings for closed graph objects include the following.
- Transparent BG Image: Set whether or not to make the background of the graph
transparent.
- Library: Click to select a background image for the graph from a library.
- Open: Click to locate background image for the graph on your computer.
- Direction: Set the direction for filling the graph (Top > Bottom, Bottom > Top, Left >
Right, or Right > Left).
- Hatch: Select the pattern for the filled areas of the graph.
- Transparent Border: Set whether or not to use a transparent border.
- Frame Display: Specify the following options for the frame.
Border Color Set a border color.
Plate Color Set the background for areas not filled by value
ranges.
- Fill Type: Specify the following options for the fill.
Pattern FG Color Set the foreground color for the pattern.
504
4. Reference
Case: The case settings for closed graph object include the following.
(Delete) Click a condition and then click this icon to delete the
condition.
(Down) Click a condition and then click this icon to move it lower
down the list.
When you create a range condition, you can also set the fill type of the graph.
505
4. Referencet
Pattern FG Color Set the foreground color of the graph to display when
the condition is met.
Pattern BG Color Set the background color of the graph to display when
the condition is met.
Operation: The operation settings for closed graph object include the following.
- Use Script: Click the checkbox to use a script with the object.
- Select Script: Select a script from the drop-down list.
- Script: When you select a script, it appears here. To modify a script, refer to refer to
<4.2 Scripts>.
Detail: The detail settings for closed graph object include the following.
- Offset: Click the checkbox to use the offset function. You can offset the device address
based on the value of the offset device. For example, if the starting device address is
P100, XP-Builder reads the value from the offset device and offsets the address by that
value. If the offset value is 10, for example, then the referenced device address is P110.
506
4. Reference
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
Display Trigger: The display trigger settings for the closed graph object include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
507
4. Referencet
Note
Only the data points on the X axis (time axis) that are collected most recently according
to the current time will be displayed on the screen. That is, the previous values of the
current time (acquisition interval X the number of points on the X axis) will be displayed.
When the screen shifts, communication may stop and resume. If a communication delay
occurs, graphs may not appear correctly. If communication fails for a short time because
of environmental factors such as nose, graphs may not appear correctly.
508
4. Reference
Basic: The basic settings for the trend graph object include the following.
Type Set the data form of the device (signed decimal, unsigned
decimal, BCD, or float).
Note
The data size, data form, maximum alarm value, minimum alarm value,
maximum data value, minimum data value are equally applied to all the
devices.
- Alarm Value: Set whether or not to trigger an alarm if the data value exceeds the
maximum or minimum limits.
Device Set the specified device value as the alarm limit.
509
4. Referencet
- Device: Click to specify a device to be referenced by the object or enter the device
address. When you specify a device, a new device input row will be created
automatically, where you can specify more devices to be referenced (up to 8).
To remove a device, click the row number and press Delete on the keypad.
Max/Min: The Max/Min settings for the trend graph object include the following.
510
4. Reference
- Max/Min Setting: This option specifies the maximum and minimum values for the data
to display. The maximum and minimum values are set by selecting with a device or by
entering the constant values. In the graph below, the minimum value is set at 0 and the
maximum value is set at 150 within a range of 0-150.If a device to be monitored has a
value outside the maximum or minimum values, it is displayed as the maximum or
minimum value on the graph.
50%
0%
[Default Settings]
511
4. Referencet
50 0 0
Note
Block If the maximum and minimum values are set to [Block], all
indices that are set in [Basic] will have the same values.
Therefore, indices 1, 2, and 3 will all have the same maximum
and minimum values in the example above. Only one
maximum and minimum value each can be entered for whole
setting configurations.
The reference line can be set only when the maximum and
minimum values are specified.
Display: The display settings for the trend graph object include the following.
- Library: Click to select a background image for the graph from a library.
- Open: Click to locate background image for the graph on your computer.
- Transparent BG: Set whether or not to make the background of the graph transparent.
512
4. Reference
Plate Color Set the background for areas not filled by value ranges.
- Sampling Time x100ms: Set the cycle for collecting the data, in milliseconds
Constant For a constant, the cycle can be set between 1 and 6,000.
Device For a device, the cycle is set from a device value. However,
if a device value is 0, the cycle is changed to 100 ms
forcefully.
- Starting Point Location: Set a starting point for the scales (left bottom or right
bottom).
Left Right
- The Scroll Points: Set the speed that the graph will scroll across the screen, by setting
the number of points that the graph will scroll each time. The higher the number, the
faster the graph will scroll. Previous data are deleted by the number of points that you
set and the new data are displayed in the direction of the graph.
- Scale: Specify the following options for the scale.
No. of Horizontal Point Set the number of points on the X axis.
513
4. Referencet
Operation: The operation settings for trend graph object include the following.
- Use Script: Click the checkbox to use a script with the object.
Select Script Select a script from the drop-down list.
Detail: The detail settings for trend graph object include the following.
- Offset: Click the checkbox to use the offset function. You can offset the device address
based on the value of the offset device. For example, if the starting device address is
P100, XP-Builder reads the value from the offset device and offsets the address by that
value. If the offset value is 10, for example, then the referenced device address is P110.
514
4. Reference
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
Display Trigger: The display trigger settings for the trend graph object include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
515
4. Referencet
Reference Line: The reference settings for the trend graph object include the following.
Note
- Use Reference: Click the checkbox to use a reference line for the graph. A reference
line refers to a line displaying the location of a specific value set by the user other than
the maximum or minimum value.
A reference line can be set as a fixed value or device value and it can be set only when
the maximum and minimum values are set to [Block].
Num of Reference Set the number of reference lines. When you enter
the number of lines and move to the properties
table of the reference lines, the corresponding
number rows will be created to allow you adjust the
properties. 1 to 8 reference lines can be created.
Reference Properties You can set the properties only when Use Reference
is checked. If the Value Type is set to Constant, you
516
4. Reference
Note
Only the data points on the X axis (time axis) that are collected most recently according
to the current time will be displayed on the screen.
When the logging is in progress, communication may stop for a short time because of
environmental factors such as nose and the logging fails. The data of such time are not
normal and are not displayed on the logging trend graph. Therefore, the graph appears
intermittently.
Basic: The basic settings for the logging trend graph object include the following.
517
4. Referencet
- Logging Device: Specify the following options for the logging device.
Size Set the data size of the device (16 bit or 32 bit). You can change
the data size only in the Logging data from the project pane.
Type Set the data form of the device (signed decimal, unsigned
decimal, BCD, or float).
- Alarm Value: Set whether or not to trigger an alarm if the data value exceeds the
maximum or minimum limits.
Device Set the specified device value as the alarm limit.
- Logging Group: Set the number of the logging group, which is set in the Logging.
518
4. Reference
Display when Bit Set to display only specific index based on the device
On/Off value.
For example, if the conditional device is set to P0100
and four indices are set as shown in the screenshot
below,
519
4. Referencet
P0002 2
P0005 5
P0010 10
P0018 18
To add a new item, enter the index number for the item on the index column. When a
new item is added, a blank index column is created on the next row to add a next item.
Up to 20 items can be added.
To remove an item, click the row number and press Delete on the keypad.
- Device Add.: Shows the starting address for the logging group and logging index. The
device address cannot be input and is displayed according to the logging index.
- Line Color: Set the line color for the graph.
- Line Type: Set the line type (dash or solid).
- Description: Enter a description for the object.
520
4. Reference
Max/Min: The Max/Min settings for the trend graph object include the following.
- Max/Min Setting: This option specifies the maximum and minimum values for the data
to display. The maximum and minimum values are set by selecting with a device or by
entering the constant values. In the graph below, the minimum value is set at 0 and the
maximum value is set at 150 within a range of 0-150.If a device to be monitored has a
value outside the maximum or minimum values, it is displayed as the maximum or
minimum value on the graph.
100%
Not displayed
50%
0%
Individual If the maximum and minimum values are set to [Individual], they
are applied respectively based on the device address listed in
[Basic].If the devices P0000, P0001, and P0002 are registered in
[Basic] as shown in the screenshot below, the maximum and
minimum values are specified:
[Default Settings]
521
4. Referencet
50 0 0
Note
Block If the maximum minimum values are set to [Block], all indices that
are set in [Default] will have the same values. Therefore, indices 1,
2, and 3 will all have the same maximum and minimum values in
the example above. Only one maximum and minimum value each
can be entered for whole setting configurations.
The reference line can be set only when the maximum and
minimum values are specified.
Display: The display settings for the logging trend graph object include the following.
522
4. Reference
- Library: Click to select a background image for the graph from a library.
- Open: Click to locate background image for the graph on your computer.
- Transparent BG: Set whether or not to make the background of the graph transparent.
- Transparent Border: Set whether or not to use a transparent border.
- No. of Display in X axis: Set the number of data points to be displayed on the graph
(3 to 120).
Plate Color Set the background for areas not filled by value ranges.
- No. of Samples to Scroll: A user can refer to the data of his intended position with the
special switch; Previous Data/Next Data View. However, in the below two cases (The
latest data tracking mode/the oldest data tracking mode), a window is automatically
updated and it displays the data since the present time. Through this option, you can
set how many data units will be applied to transfer a screen.
The latest data When you edit and download logging trend graph
tracking mode after setting Preferred View Mode as the latest data
tracking mode, logging trend is set as the latest data
523
4. Referencet
The oldest data The logging type linked to logging trend graph is set
tracking mode as circular buffer, the data displayed at the current
screen will be removed someday with continuous
logging process. Then, the equipment updates a
screen automatically and displays the oldest data.
- Starting Point Location: Set a starting point for the scales (Left Bottom, Right Bottom,
Left Top, or Right Top).
- Data Order: Specify the following options for the data order, for example:
Time Data
8: 10 10
8: 20 20
8: 30 30
8: 40 40
8: 50 50
Latest -> Oldest Show data in order from most recent to oldest. The
starting point is on the left:
Oldest -> Latest Show data in order from oldest to most recent.
The Starting Point Location is on the left:
524
4. Reference
525
4. Referencet
Cursor: The cursor settings for logging trend graph object include the following.
Storage Set whether or not to save cursor data (logging time of the
Cursor current cursor position and related values). Cursor data is saved
Information at device and the size of the device is always 32 bit. The cursor
information is saved as follows, based on the device set:
<Logging device size: 16bit>
526
4. Reference
Saved as
unsigned 16bit
The maximum
number of
logging groups
(20)
Saved at 32bit
Note
To show or hide the cursor, click the Logging Trend Graph area.
The location of the cursor is at the center of the current data.
527
4. Referencet
< The current data value: 3> < The current data value: 8>
If the data to be displayed is deleted, because the area is deleted in the
cursor display mode, the cursor will also disappear. When the logging is
restarted, the cursor will reappear.
The cursor cannot be moved. To move the cursor, use the Next Log Trend
Data or Previous Log Trend Data option from the Special Switch object.
If there is no data before or after the current data, the cursor is moved to
the previous or next data.
Display Trigger: The display trigger settings for the logging trend graph object include
the following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
528
4. Reference
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Reference Line: The reference line settings for the logging trend graph object include the
following.
Note
- Use Reference: Click the checkbox to use a reference line for the graph. A reference
line refers to a line displaying the location of a specific value set by the user other than
the maximum or minimum value.
529
4. Referencet
A reference line can be set as a fixed value or device value and it can be set only when
the maximum and minimum values are set to [Block].
Num of Reference Set the number of reference lines. When you enter
the number of lines and move to the properties
table of the reference lines, the corresponding
number rows will be created to allow you adjust the
properties. 1 to 8 reference lines can be created.
Reference Properties You can set the properties only when Use Reference
is checked. If the Value Type is set to Constant, you
cannot enter a device. If the Value Type is set to
Device, you cannot enter a fixed value. The number
column is a reference line number. It cannot be
edited and its location cannot be changed. If the line
type of a reference line is set to Dash, the thickness
can only be set to 1.
Basic: The basic settings for the logging scatter graph objects include the following.
530
4. Reference
X-Y Scatter For two continuous device addresses from starting device,
shows the previous device value along the X-axis and the
next device value along the Y-axis and displays dot or value
where the two coordinates intersect. You must designate a
minimum and maximum value for the axes.
531
4. Referencet
- Scatter Basic Setting: Specify the following options for the scatter chart.
Group ID The logging group No. to be displayed can be established
among 1~32. You can fix the logging group number from
Logging in the Project pane. To add a new item to logging
scatter chart, input logging group number to logging
group window and press the Enter key. If a new item is
added, the screen for logging group number is added to
the next row and you can also add another item up to 20.
To delete the item, select the number of item and press the
Delete key.
532
4. Reference
Max./Min.: The maximum and minimum value settings for the logging scatter graph
object include the following.
- Max./Min. Setting: Specify the following options for the maximum/minimum setting.
Y Axis Type / You can set the minimum and maximum value as many as
X Axis Type the items of logging distribution charts added at Basic
Settings. Namely, you cannot add or delete the items on
the minimum and maximum value. The type of the
minimum and maximum value can be established as
Constant or Device.
Y Axis. Max / You can set the minimum and maximum values of data to
Y Axis. Min be displayed on the Y-axis. You can use a device value or a
constant. If the device value exceeds the minimum or
maximum, it is displayed as the minimum or maximum
value of the graph.
X Axis. Max / You can set the minimum and maximum values of data to
X Axis. Min be displayed on the X-axis. You can use a device value or a
constant. If the device value exceeds the minimum or
maximum value, it is displayed as the minimum or
maximum value of the graph. The X-axis displays the
533
4. Referencet
Note
Line and Dot: The line and dot settings for the logging scatter graph object include the
following.
534
4. Reference
- Alarm Setting (Only Y Scatter Graph): Specify the following options for the alarm.
Use Alarm Set whether to use a value or not. It is only available for the
Y Scatter graph.
Max Line / You can set the color of a line to be applied when it is more
Min Line or less than the warning upper bound of a logging
distribution graph. If the device value exceeds the warning
upper bound, it is displayed as upper bound line color.
However, if it is less than the warning upper bound, it is
displayed as the lower bound line color.
Max. Dot / You can set the color of a dot to be applied when it is more
Min. Dot or less than the warning upper bound of a logging
distribution graph. If the device value exceeds the warning
upper bound, it is displayed as the upper bound dot color.
However, if it is less than the warning upper bound, it is
displayed as the lower bound dot color.
535
4. Referencet
Display: The display settings for the logging scatter graph objects are shown in the below
screenshot.
- Library: Click to select a background image for the graph from an image library.
- Open: Click to search for a background image for the graph on your computer.
- Transparent BG: Set whether or not to make the background of the graph transparent.
- Transparent Border: Set whether or not to use a transparent border.
- No. of Display Data: It fixes the number of dots to be displayed on a screen.
X-Y Scatter indicates a dot as two device values.
Y Scatter indicates each device value with a dot.
- Frame Display: Specify the following options for the frame.
Border Color Select a border color.
Plate Color Select the background for areas not filled by value ranges.
- Starting Point Location: Set a starting point for the scales (left bottom or right
bottom).
- Scale: Specify the following options for the scale.
No. of Horizontal Point Set the number of points on the X axis.
536
4. Reference
Note
The logging scatter graph is to mainly show how data are distributed and
once data are displayed on the screen, they will not be deleted. The
logging type linked to logging scatter graph is set as circular buffer, the
data displayed at the current screen will be removed someday with
continuous logging process. In this case, the dots and lines corresponding
to the deleted data will not be deleted.
The dots and lines distributed on the screen are initialized when the
logging area is deleted. That is, you can use the logging area deleting
device to initialize the scatter screen.
If you use multiple logging groups by connecting them, a short delay may
occur in displaying data of each group. Each logging group operates
independently with its own execution condition, monitoring device, and
monitoring area. Therefore, a time difference occurs between collected
data when executing even if execution conditions of multiple logging
groups are met at the same time. Also, a short time delay occurs between
displayed data by each group on the data distribution.
The logging function communicates with priority on the device connected
to the previous object when acquiring data. Therefore, lots of logging
groups and shorter acquisition cycles highly affect the overall
communication speed. It is recommended to use the logging function
when necessary.
Display Trigger: The display trigger settings for logging scatter objects are shown in the
below screenshot.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
537
4. Referencet
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Reference Line: The reference line settings for the logging trend graph object include the
following.
Note
538
4. Reference
A reference line can be set as a fixed value or device value and it can be set only when
the maximum and minimum values are set to [Block].
Num of Reference Set the number of reference lines. When you enter
the number of lines and move to the properties
table of the reference lines, the corresponding
number rows will be created to allow you adjust the
properties. 1 to 8 reference lines can be created.
Reference Properties You can set the properties only when Use Reference
is checked. If the Value Type is set to Constant, you
cannot enter a device. If the Value Type is set to
Device, you cannot enter a fixed value. The number
column is a reference line number. It cannot be
edited and its location cannot be changed. If the line
type of a reference line is set to Dash, the thickness
can only be set to 1.
When the Scatter Graph Type window appears, select Realtime Scatter and click OK.
539
4. Referencet
Basic: The basic settings for the realtime scatter graph object include the following.
X-Y Scatter For two continuous device addresses from starting device,
shows the previous device value along the X-axis and the
next device value along the Y-axis and displays dot or value
where the two coordinates intersect. You must designate a
minimum and maximum value for the axes.
540
4. Reference
- Scatter Basic Setting: Specify the following options for the scatter.
Setting of Set the number of devices to be monitored (1 to 1,000). You
Device num. can specify device numbers individually or designate a
control device to specify device addresses.
The example below shows when you specify a device number
individually.
Control If the first bit of word control device is On, it displays the
Device number of continuous devices from a starting device at a
graph. If the second bit is On, it removes the current graph
area. Each control device data is initialized into 0 after
completing each operation. If a new item is added, the blank
control device window is created to next row and you can
add another item up to 8.
Offset Click the checkbox to use the offset function. When you use
the offset function, the control device you specify offsets the
starting device address by 2, to address M5. When you do
not use the offset function, the starting device address begins
at M2. Address M1 is reserved, as shown in the following
illustration.
When Using the Offset Function When Not Using the Offset Function
Address Designation Explanation Address Designation Explanation
M0 Control (C) M0 Control (C) C
M1 Reserved C+1 M1 Reserved C+1
Offset Starting
M2 C+2 M2 C+2
Device (M) Device
541
4. Referencet
Starting
M5 C+3+M Device n C + (n-1)
Device
C+3+M+
Device n
(n-1)
Max./Min.: The maximum and minimum value settings for the realtime scatter graph
object include the following.
- Max./Min. Setting: Specify the following options for the maximum/minimum setting.
Y Axis Type / You can set the minimum and maximum value as many as
X Axis Type the items of logging distribution charts added at Basic
Settings. Namely, you cannot add or delete the items on
the minimum and maximum value. The type of the
minimum and maximum value can be established as
Constant or Device.
Y Axis. Max / You can set the minimum and maximum values of data to
Y Axis. Min be displayed on the Y-axis. You can use a device value or a
constant. If the device value exceeds the minimum or
maximum, it is displayed as the minimum or maximum
value of the graph.
542
4. Reference
X Axis. Max / You can set the minimum and maximum values of data to
X Axis. Min be displayed on the X-axis. You can use a device value or a
constant. If the device value exceeds the minimum or
maximum value, it is displayed as the minimum or
maximum value of the graph. The X-axis displays the
device values in order, so you do not need to designate a
minimum or maximum value.
Note
543
4. Referencet
Line and Dot: The line and dot settings for the realtime scatter graph object include the
following.
Alarm: The alarm settings for the realtime scatter graph object include the following.
- Alarm Setting (Only Y Scatter Graph): Specify the following options for the alarm.
Use Alarm Set whether using warning value or not. It is only available
for the Y Scatter graph.
544
4. Reference
Max Line / You can set the color of a line to be applied when it is more
Min Line or less than the warning upper bound of logging
distribution graph. If the device value exceeds warning
upper bound, it is displayed as upper bourn line color. On
the other hand, if it is less than warning upper bound, it is
displayed as lower bound line color.
Max. Dot / You can set the color of a dot to be applied when it is more
Min. Dot or less than the warning upper bound of logging
distribution graph. If the device value exceeds warning
upper bound, it is displayed as upper bound dot color. On
the other hand, if it is less than warning upper bound, it is
displayed as lower bound dot color.
Display: The display settings for the realtime scatter graph object include the following.
- Library: Click to select a background image for the graph from a library.
- Open: Click to locate background image for the graph on your computer.
- Transparent BG: Set whether or not to make the background of the graph transparent.
- Transparent Border: Set whether or not to use a transparent border.
545
4. Referencet
Plate Color Set the background for areas not filled by value
ranges.
- Starting Point Location: Set a starting point for the scales (Left Bottom or Right
Bottom).
- Scale: Specify the following options for the scale.
No. of Horizontal Point Set the number of points on the X axis.
Display Trigger: The display trigger settings for realtime scatter objects are shown in the
below screenshot.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
546
4. Reference
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Reference Line: The reference line settings for the logging trend graph object include the
following.
Note
- Use Reference: Click the checkbox to use a reference line for the graph. A reference
line refers to a line displaying the location of a specific value set by the user other than
the maximum or minimum value.
547
4. Referencet
A reference line can be set as a fixed value or device value and it can be set only when
the maximum and minimum values are set to [Block].
Num of Reference Set the number of reference lines. When you enter
the number of lines and move to the properties
table of the reference lines, the corresponding
number rows will be created to allow you adjust the
properties. 1 to 8 reference lines can be created.
Reference Properties You can set the properties only when Use Reference
is checked. If the Value Type is set to Constant, you
cannot enter a device. If the Value Type is set to
Device, you cannot enter a fixed value. The number
column is a reference line number. It cannot be
edited and its location cannot be changed. If the line
type of a reference line is set to Dash, the thickness
can only be set to 1.
Note
The XGT Panel collects and stores history alarm data regularly even when a history alarm
viewer object is not edited on the screen.
You can use a special switch to delete history alarm data. Unrestored data cannot be
deleted.
When there is an insufficient number of history alarm viewer objects, use the History
Alarm Viewer Page Down function of a special switch to move to the next page. You can
also use the History Alarm Viewer Page Up function to move to the previous page.
548
4. Reference
You can use the Print History Alarm function of a special switch to print history alarm
data on the current screen.
Basic: The basic settings for history alarm viewer objects are shown below.
Sort Set a sort method for the logging data (oldest first or
newest first).
- Use Detailed Window Position: Specify the location of the details window.
- Frame Display: Specify options for the frame of the alarm viewer.
Frame Color Select the frame color.
549
4. Referencet
State: The state settings for history alarm viewer objects are shown in the below
screenshot.
- Initial Filtering Type: Check the checkboxes to select the types of filters to use for the
alarm data:
Restoration Set to show history data for restored alarms.
550
4. Reference
Initial Alarm Set to show history data for a specific alarm group. After
Group checking the checkbox, select an alarm group from the
drop-down list. If you select an alarm navigator group,
history data for all alarms will be shown.
- Change Color by States: Set the color of the rows based on the alarm state.
Check Plate Color Select a background color for rows of checked alarms.
If you do not select a color, the default color set in the
Frame Color option in Basic settings will be applied.
Check Text Color Select a text color for rows of checked alarms. If you
do not select a color, the default color set in the Color
option in Text settings will be applied.
Restoration Text Select a text color for rows of restored alarms. If you
Color do not select a color, the default color set in the Color
option in Text settings will be applied.
551
4. Referencet
Header: The header settings for history alarm viewer objects are shown in the below
screenshot.
No. of fixed Set the number of reference value rows to show at one
552
4. Reference
ref. val. time on the XGT Panel display. To see additional rows, use
the History Alarm Row Scroll function provided by a
Special Switch. In the below example, the options are set
as follows:
Note
To view the next rows, you can use a special switch.
Create the special switch in the editing area, and click
[History Alarm Row Scroll] [Next row]. The rows
are moved to the next rows as shown below:
Fit to a max. Set to fit the longest header length when you use the text
553
4. Referencet
header length table to input header titles. If you do not set this option,
the header length changes whenever the runtime
language is changed.
For example, refer to Character String 343 highlighted in
the screenshot below for the heading Alarm History. If the
language is set to Korean, will be displayed. If
the language is set to English, Date and Time will be
displayed. The size of the object is not fixed to allow
variable character string lengths to be used for different
languages.
Setting of Cell Set to adjust the size of each column. The size of reference
Size columns can be set in the number of characters. The size
of the other columns can be set in pixels. If you do not set
this option, you can set only the length of the Message
and Group columns. The rest of the columns differ by
header type and font. When you change the size of the
history alarm viewer object, the Message and Group
columns are changed based on the value you set in Cell
Size. In the below example, the sizes of the Message and
Group columns are set as follows.
5 : 3
554
4. Reference
Note
You can change the order of headers (Occurrence,
Message, Group, Restoration, Check, and more).
Drag and drop a header to the desired place.
555
4. Referencet
Text: The text settings for history alarm viewer objects are shown in the below screenshot.
Display Trigger: The display trigger settings for history viewer alarm objects are shown in
the below screenshot.
556
4. Reference
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Basic: The basic settings for data list objects are shown in the below screenshot.
557
4. Referencet
- Control Device: Specify the following options for the control device.
Device Enter a device or tag address directly into the input field or
click the keypad icon to the right to specify a device or tag
address. When you click the keypad icon to open the Device
window, you can also specify network settings, if necessary.
Size Set the data size of the device (16 bit or 32 bit).
Note
If the size and type of data are changed, the case settings will be deleted.
If communication with the PLC fails, the data values will not be displayed.
If the device number exceeds the maximum device range, the values on
the data list may differ from the actual values of the PLC.
No. of Display Set how many digits to display (up to 64). If the
Digits number of digits is less than the capacity of the
device, empty spaces are filled with placeholders (*).
If the device value cannot be displayed in the BCD
format, it is expressed as ~.
No. of Decimal Set how many places to put to the right of the
Digits decimal point when you select formats other than
binary, octal, and hexadecimal.
558
4. Reference
Display: The display settings for data list objects are shown in the below screenshot.
Space Specify the size of the area where the data will be shown
(0 to 32 for each axis)
Direction Set the direction to display the data (top > bottom or
left > right).
- Frame Display: Set whether or not to use a frame.
Frame Color Select the frame color.
559
4. Referencet
Text: The text settings for data list objects are shown in the screenshot below.
560
4. Reference
Case: The case settings for data list objects are shown in the screenshot below.
(Delete) Click a condition and then click this icon to delete the
condition.
(Up) Click a condition and then click this icon to move it higher
up the list.
(Down) Click a condition and then click this icon to move it lower
down the list.
In the Range Edit window, you can adjust the settings for the plate color and text color.
561
4. Referencet
Display Trigger: The display trigger settings for data list objects are shown in the below
screenshot.
- Use Action Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
562
4. Reference
Main: The main settings for logging viewer objects are shown in the screenshot below.
- Select Logging Group: Set the number of the logging group to monitor. A number of
a logging group refers to the number that you set in [COMMON] [Logging Setting].
- Description: Enter a description of the object.
Display: The display settings for logging viewer objects are shown in the below screenshot.
563
4. Referencet
Space Specify the size of the area where the data will be shown
(0 to 32 for each axis).
Sort Set the sorting method (oldest data first or most recent
data first).
- Frame Display: Set whether or not to use a frame.
Frame Color Select the frame color.
Note
Only one logging viewer object can be set in one screen.
When # or * is displayed in a logging viewer object, refer to
[COMMON] [Logging Setting].
Header: The header settings for logging viewer objects are shown in the below screenshot.
564
4. Reference
- Use Header: This option enables or disables the heading in Logging view. If the
heading is disabled, it cannot be entered and is not displayed on the XGT Panel.
Plate Color Select the background color for the header.
Digits Set how many digits to display (up to 64). If the number
of digits is less than the capacity of the device, empty
spaces are filled with placeholders (*). If the device value
cannot be displayed in BCD format, it is expressed as ~.
Zero Fill If you have selected right justification, select this option
to insert zeros (0) before the number.
No. of Decimal Set how many places to put to the right of the decimal
Digits point when you select formats other than binary, octal,
and hexadecimal.
565
4. Referencet
- Header Edit: Click column headers to select text strings from a text table.
From Text Table Set to fetch header labels from a text table. Click a
in Header Edit column header to select the appropriate text string
from a text table.
566
4. Reference
Fit to a max. Set to fit the longest header length when you use the
header length text table to input header titles. If you do not set this
option, the header length changes whenever the
runtime language is changed. For example, in the
character string highlighted in the screenshot below,
string no. 2 is specified as the heading in logging view.
If the editing language is set to [English], it displays
Ballast. If the editing language is set to [Korean], it
displays . The object size is adjusted
automatically based on the string length.
567
4. Referencet
Width: 240
Width: 332
Switched to Korean
language (variable
size)
Width: 332
[If the Fit to a max. heading length option is not set, the
object size does not change regardless of the editing
language.]
568
4. Reference
Width: 332
Switched to Korean
language (fixed size)
Width: 332
- Logging index: Shows the index number of the device. The index numbers of logging
devices starts at 1 and increases by one as the device address increases.
As you can see in the example below, when 32 devices from P0100 are edited to be
logged, the index numbers of the four devices - P0001, P0005, P0010, and P0018 - from
the 32 devices are as follows.
569
4. Referencet
P0002 2
P0005 5
P0010 10
P0018 18
Note
If the target device of a logging group is not 32-bit, an error occurs while
checking the data when the data type of a logging viewer object is set to
Float.
Text: The text settings for logging viewer objects are shown in the below screenshot.
570
4. Reference
Display Trigger: The display trigger settings for the logging viewer objects are shown in
the below screenshot.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
571
4. Referencet
Note
Alarm group names displayed in an alarm navigator object are the group names that have
been set when creating history alarms. Therefore, the text color and properties are shared
from those of the text table that has been set as the group number.
Basic: The basic settings for alarm navigator objects are shown in the below screenshot.
572
4. Reference
Display Trigger: The display trigger settings for recipe navigator objects are shown in the
screenshot below.
- Use Action Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
4.3.13 Explorer
573
4. Referencet
This object displays a list of the file recipes saved in the storage device (USB, CF Card) or the
basic recipes edited in XP-Builder. You can write the recipe data shown in the recipe
navigator object directly to the controller. This section describes available settings for Recipe
Explorer. For more details about recipes, refer to <4.1.4 Recipes>.
Basic: The basic settings for recipe navigator objects are shown in the screenshot below.
574
4. Reference
File Explorer File Explorer displays all the files and the folder lists except
for the hidden files and folders that are saved in the storage
devices (USB drive, CF Card and SD Card).
575
4. Referencet
File Des. Set to show the recipe description. The description of the
file recipe is the title of the CSV file or the name of the basic
recipe in XP-Builder.
- Description: Enter a description of the object.
- File Explorer Setting
Root Plate Specify the background color of the section displaying the
parent path in File Explorer. Users can navigate between
folders or move to the previous directory through the
parent path.
576
4. Reference
Root Text Specify the color of the text in the section displaying the
parent path in File Explorer.
Use Status This option sets whether the status bar will be used. The
Bar status bar shows the current status of File Explorer. The
current action will be displayed as shown in the screenshot
below.
Status Bar
Plate Color Specify the background color of the section displaying the
status bar in File Explorer.
Text Color Specify the text color in the section displaying the status
bar in File Explorer.
Note
If multiple items are selected in File Explorer, the first of the selected items
is operated. For example, if<DIR> My Documents is selected and then
<DIR> Program Files is also selected and the Copy button is clicked, the
files in <DIR> My Documents are copied.
File Explorer cannot be used with some functions. The following models
do not provide File Explorer:
XP30-BTE, XP30-TTE, XP40-TTE, XP50-TTE
577
4. Referencet
File Name
To view the file, select the row and
select Show the Selected Recipe
under General Recipe Explorer and
Transfer from a special switch.
Text: The text settings for recipe navigator objects are shown in the screenshot below.
Display Trigger: The display trigger settings for recipe navigator objects are shown in the
screenshot below.
578
4. Reference
- Use Action Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
579
4. Referencet
Basic: The basic settings for the data list editor objects are shown in the screenshot below.
Size Set the data size for the device (16 bit or 32 bit).
No. of Edit Set the number of devices to be shown (up to 255). Clicking
Device a desired cell in a data list editor will open the keypad.
Press the Enter key to move the focus of the keypad to the
next cell automatically to allow you to edit the value of the
next cell. Press the ESC key on the keypad to stop editing.
- Display Format: Set the display format.
Numeric Set the number format (signed decimal, unsigned decimal,
Format octal, hexadecimal, binary, BCD, or float).
No. of Display Set how many digits to display (up to 64). If the number of
Digits digits is less than the capacity of the device, empty spaces
are filled with placeholders (*). If the device value cannot
be displayed in BCD format, it is expressed as ~.
No. of Decimal Set how many places to put to the right of the decimal
Digits point when you select number formats other than binary,
580
4. Reference
Zero Fill If you have selected right justification, select this option to
insert zeros (0) before the number.
Display: The display settings for the data list editor objects are shown in the screenshot
below.
Direction Set the display direction (top > bottom or left > right).
- Frame Display: Set the display options for the frame.
Use Set whether or not to use a frame.
581
4. Referencet
Keypad Option: The keypad option settings for the data list editor objects are shown in
the screenshot below.
Use User Keypad Set whether or not to specify the location of the
Position keypad on the screen.
- Use Interlock: Set to prevent input when the interlock device meets the specified
condition. The input cursor will skip the locked unit and move automatically to the next
unit in the sequence.
Not allowed on ON When the device is on, input is not allowed.
Not allowed on OFF When the device is off, input is not allowed.
- Use Log: Set to allow the device to be monitored in an operation log.
Text: The text settings for the data list editor objects are shown in the screenshot below.
582
4. Reference
Display Trigger: The display trigger settings for the data list editor objects are shown in
the screenshot below.
- Use Action Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
583
4. Referencet
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range.
Size 16 bit or 32 bit.
Display: The display settings for the file recipe editor objects are shown in the screenshot
below.
- Recipe Form: Set the display options for the recipe data.
No. of Row Set the number of rows to display.
Direction Set the display direction (top > bottom or left > right).
584
4. Reference
Keypad Option: The keypad option settings for the file recipe editor objects are shown in
the screenshot below.
Use User Keypad Set whether or not to specify the location of the
Position keypad on the screen.
- Use Interlock: Set to prevent input when the interlock device meets the specified
condition. The input cursor will skip the locked unit and move automatically to the next
unit in the sequence.
Not allowed on ON When the device is on, input is not allowed.
585
4. Referencet
Not allowed on OFF When the device is off, input is not allowed.
- Use Log: Set to allow the device to be monitored in an operation log.
Text: The text settings for the file recipe editor objects are shown in the screenshot below.
Display Trigger: The display trigger settings for the file recipe editor objects are shown in
the screenshot below.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
586
4. Reference
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range. Constants are based on
device size.
Size 16 bit or 32 bit.
587
4. Referencet
Basic: The basic settings for the clock objects are shown in the screenshot below.
Date Date
Time Time
- Date: Set the date format.
Item Description
YYYY/MM/DD Year/Month Number/Date (4-digit year)
588
4. Reference
HH:MM Hour:Minute
- Display Day: Set whether or not to show the day of the week.
- Zero Fill: If the date or time includes a single digit number, select this option to insert a
zero before the number. For example,
23/3/2010 15:15:3 23/03/2010 15:15:03
- Preview: Shows a preview of the data format.
- Clock Type: Set a clock type.
System Clock Set to show the system time in the clock.
Logging Trend Set to show logging data in the clock. Set a logging trend
Clock option (most recent time, oldest time, or cursor time). If a
logging trend object does not exist in a screen, - will be
displayed in the time format because the time cannot be
displayed.
- Description: Enter a description of the object.
Display: The display settings for the clock objects are shown in the screenshot below.
589
4. Referencet
Text: The text settings for the clock objects are shown in the screenshot below.
Display Trigger: The display trigger settings for the clock objects are shown in the
screenshot below.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
590
4. Reference
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range. Constants are based on the
device size.
Size 16 bit or 32 bit.
Type Signed decimal, unsigned decimal, BCD, or float.
Exp. Click to designate the expression as conditional.
- Multi Bit: If you select the multi bit condition, specify the number of bits and click
[Setting] to specify the bit conditions.
To embed a screen into the Base screen, in the Project pane, drag and drop a window (Base
screen, window, or Part screen) onto the editing area.
591
4. Referencet
Basic: Basic settings for the embedded screen object include the following.
Note
When you insert a Base screen into another Base screen:
- Background settings will not be applied.
- Set scripts cannot be used.
- The inserted Base screen cannot be imported from another Base screen to itself.
- The same number Base screen cannot be inserted.
You can also insert the Base screen into another Base screen by dragging it.
When you try to insert a Base screen that is already embedded in another Base screen,
the embedded screen is not inserted. Only the Base screen itself is inserted.
Basic: The basic settings for the memo pad object include the following.
592
4. Reference
- Storage Confirm: Set whether or not to use a device to view current memo status.
Enter the device address in the field or click the icon to the right of the field to specify a
device address. The first three bits of the device address specify the function of the
memo pad.
Device Bit Description
00 Indicates the status of the object (on in active mode; off in
non-active mode).
Display Trigger: The display trigger settings for the memo pad object include the
following.
593
4. Referencet
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range. Constants are based on
device size.
Size 16 bit or 32 bit.
You can either use File Explorer to search for a PDF file and open it in the PDF viewer object
on the screen, or configure a special switch for PDF viewing. Refer to the PDF viewer section
in <4.3.2.4 Special Switch> for detailed information.
594
4. Reference
Basic: The basic settings for the PDF viewer object include the following.
- Device of page No.: Set a device to assign the page number of a PDF file that is
currently open.
- Open File: Set whether to open a PDF file using a file path, or a device.
You can remotely monitor the hot computers screen using the VNC viewer. Refer to the VNC
viewer section in <4.3.2.4 Special Switch> for detailed information.
VNC Viewer: The basic settings for the VNC viewer object include the following.
595
4. Referencet
- Remote: Enter the host name of the remotely connected HMI device for monitoring.
- Port: Enter the TCP/IP port number to use for the monitoring.
- Use password: Click the checkbox to set a password for the monitoring operation.
- Option: Set the following options.
- Use Popup Window: Select this option to display the remote screen in a popup
window.
- Disable Touch Inputs: Select to disable touch inputs for the remote screen.
- Description: Enter a description for the object.
Display Trigger: The display trigger settings for the VNC viewer object include the
following.
- Use Condition: Set whether or not to specify a condition for the action.
- Type: Set a type of condition to specify.
Bit On The action is performed when the device is switched on.
596
4. Reference
Bit Off The action is performed when the device is switched off.
Range The action is performed when the value falls within the
specified range.
Multi Bit The action is performed when the logical operation result of
multiple devices is met.
- Device: Enter a device or tag address directly into the input field or click the keypad
icon to the right to specify a device or tag address. When you click the keypad icon to
open the Device window, you can also specify network settings, if necessary.
- Range: If you select the range condition, specify the range. Constants are based on
device size.
Size 16 bit or 32 bit.
Note
You can place only one VNC viewer on a screen.
PDF viewer function is not supported in the simulator.
597
4. Referencet
598
4. Reference
- Touch Buzzer Sound: Set whether or not to use audible feedback when a user
touches the XGT Panel screen.
- Keep-Alive Time: Set how long the server will keep the communication port
open if there is no response from the XGT Panel.
- Alias Name: Specify an alias to use when scanning for or connecting to the XGT
Panel.
- Install/Update XGT Panel USB Driver: Click [Install] to update the XGT Panels
USB driver.
Clock: The Clock tab allows you to specify the following settings:
599
4. Referencet
- Date: Specify the date. Click [Set] to apply your settings to the XGT Panel.
- Time: Specify the time. Click [Set] to apply your settings to the XGT Panel.
- Synchronise with PC Time: Click to apply the computers time to the XGT Panel.
Password: The Password tab allows you to specify or delete the password that is
required when transferring a project to the XGT Panel.
600
4. Reference
- Previous Password: Enter the current password and click [Delete] to delete it.
- New Password: Enter a new password and click [Set].
- Confirm Password: Re-enter the new password and click [Set].
601
4. Referencet
1 Create a project.
3 Specify the action type and size, and enter the device address.
Note
602
4. Reference
603
4. Referencet
2 Click [Add CSVE Files], and then select the CSVE files in the file browser window.
3 Click [] on the right side of the Output folder field, and select the destination folder for
the converted CSV files.
604
4. Reference
This section describes how to control external storage sources when making file backups,
such as logging, recipe, and screen image data. You can manage the backup data in this way:
You can back up data, such as logging, recipe, and screen image data by saving them to a
CF card, SD card, or a USB storage source, according to the settings contained in XP-
Builder.
If there is insufficient memory in the external storage source, the data will be deleted and
the backup process will stop. Settings that control this situation are adjusted in XP-Builder.
You can monitor if the external backup storage source has been recognized or not.
When you are backing up data make sure that external storage sources are only removed
when the safe removal switch is turned on and after the LED lamp turns off. Failure to
observe these precautions may result in backup failure.
Logging
1 (Logging number)
YYYY.MM.BeginDay.EndDay.0
DD.BeginHour.EndHour.1 (Filled storage limit per folder, and share the same start and
end time.)
DD.BeginHour. FF (Storage limit not reached)
HH.BeginMinute.FF
Lhhmmss0.CSV
Recipe
Screen Image
605
4. Referencet
Under the Logging directory, a subdirectory will be created with a filename generated by
the logging number.
Under the logging number directory, a subdirectory will be created with a filename by
Year/Month.
- The date directory will be included as a subdirectory.
- Up to 500 date directories can be created.
- The Year/Month directory will not only contain year and month information, but will
also record the date the directory was created.
As an example, the name of a directory created in October 2010 with subdirectories
created since 15 October would be: 2010.10.15.FF. The FF at the end of the directory
name represents that there is more data space to store for October, 2010. (This means
that the subdirectory currently holds less than 500 date directories).
- When there is a change of Month, the directory name will be changed and saved to the
last date in the month when information was logged.
As an example, if the directory contains date directories created between October 15
and October 30, and was created in October 2010, the directory name would be
2010.10.15.30.0 when the month changes to November 2010.
- If a month directory is carrying more than 500 date subdirectories before the month
ends, the directory name will change to the last date in the sub directory.
For example, if the number of date sub directories created from 1 October to 15
October 2010 is greater than 500 the file name will be: 2010.10.01.15.0.
- If the month ends or the total number of sub directories exceeds 500, or the directory
has the same starting/ending date name, then the last index number is added to
identify the directories.
As an example, if the directory created in October 2010 has 3 directories each holding
500 sub directories, then the directory names would be:
: 2010.10.01.01.0
: 2010.10.01.01.1
: 2010.10.01.01.2
Under the Year-/Month directory, a subdirectory with a date name will be created.
- The date directory contains an hour subdirectory.
- The date directory can hold up to 500 hour subdirectories.
- The filenames of date directories contain date and hour information, for the first
subdirectory that was created.
- The rest of the directory creation procedure is identical to the Year/Month directory
creation procedure.
Under the Date directory, a directory will be created that will store time information
created.
- The Hour directory will contain backup files.
- Each Hour directory can hold up to 500 backup files.
- The Hour directory contains hour and minute information for the first file that was
created.
606
4. Reference
- The rest of the directory creation procedure is identical to the Year/Month directory
creation procedure.
Logging backup files have hour, minute, and second information as their file names.
- Backup files will be created in CSV format.
- The names of the files will begin with L, representing 'logging', and the rest of the
name will contain hour, minute, and second index information.
- If the backup files are created simultaneously in the same second, additional index
information will be added at the end of the file name.
607
4. Referencet
- The filenames will begin with M, representing 'Memo', and the rest of the name will
contain hour, minute, and second index information.
- If backup files are created simultaneously in the same second, additional index
information will be added at the end of the filename.
Note
If time is set ahead of present time, normal operation is guaranteed. However, if time is
set behind present time, normal operation is not guaranteed. If this situation arises,
hour unit directories and all subdirectories should be deleted to resume normal
operation. For example, if the date setting had been changed from 10th December to
5th December, Year/Month directories including 5th December will have to be deleted
to enable normal operation to resume.
Logging, Recipe, Screen Image, and Memo functions do not support project
classification. For instance, if Project A has logging groups numbered 1,2 and 3, and
each logging group creates a file backup, 1,2,3 directory will be created and each file
will be saved in a subdirectory. Then, if Project B has logging groups numbered 1 and 2,
downloads the projects and creates file backups, these files can be mixed with Project
As backed up files. In this situation, the operator should classify Project As and Project
Bs backup files by their download time.
Using XP-Builder to delete the oldest data for backup, click [Common] [Project Property
Setting] [Storage Settings], set the Backup Storage location for each file, and then click
the checkbox next to Delete old file if disk full.
If there is insufficient backup space, look for the earliest Year/Month subdirectories in
Logging, Recipe, and Screen Image directories. When looking at Logging, look for
608
4. Reference
subdirectories under the current back up logging number. For example, if Logging number
2 is on the current back up list but does not have data in the files directory, data in
logging number 1 directory will remain untouched.
Look for the earliest date directory in the earliest Year/Month directory.
Look for the earliest hour directory in the earliest date directory.
Delete the earliest backed up files from the earliest hour directory.
If more data space is needed, repeat the above steps and check available data space.
When deleting files, if the whole hour directory has been cleared, remove the hour
directory.
When deleting hour directories, if a whole date directory has been cleared, remove the
date directory.
When deleting date directories, if a whole month directory has been cleared, remove the
month directory.
Note
If an unreadable directory or file (operator file or directory) is found, leave the directory
or file and locate normal backup files.
If the current directory contains only operator data, it will cause a backup failure. The
XGT Panel cannot delete operator data, therefore it will stop any further action.
609
4. Referencet
To use the monitoring function, you should select the Alarm window pop-up option, when
you download the project file.
When the external storage device for logging, recipe, and screen image backup is removed
from XGT Panel while the device is running, a system alarm is turned on. The alarm is reset
when an external storage device is reconnected to the XGT Panel.
You can check system alarms and their device addresses in the System Alarm menu located
in XP-Builder as shown below:
610
4. Reference
When the safe removal switch is on, and the storage device is not processing data, the LED
lamp will turn off. If the storage device is processing data, the LED lamp will turn off after the
backup is completed, automatically disengaging the storage device. This means that when
the LED lamp is turned off no backup action will be completed and the data in the storage
device is inaccessible.
When the safe removal switch is activated and the LED lamp is off, the storage device must
be removed and reconnected to ensure that it is recognized. The minimum time delay for
removing and reconnecting storage devices after their safe removal is 5 seconds.
The actions listed below describe situations where theLEDlamp will not turn off even if the
safe removal switch is turned on. The LED lamp will only go off after the described actions are
fully completed:
Logging Writing
Recipe Writing
Screen Writing
Memo Writing
Video Writing
611
4. Referencet
Logging Reading
Recipe Reading
Screen Reading
Memo Reading
Video Reading
Sound Writing
Execute Reading
612
Glossary
Glossary
Term Description
1: 1 one to one communication; a communication mode; in 1: 1
communication, one panel is used to send commands to one
controller
baud baud and bits per second are not necessarily the same, so do not
use "bits per second" or "bps" as a synonym for baud; modems
are conventionally designated by bits per second or kilobits per
second; a 28.8 kbps modem runs at a different baud, depending
on how events are coded for transmission
editing area the main part of the XP-Builder interface, where objects can be
placed to create a project
613
Glossaryt
Term Description
connection is 100mbps
falling edge the bit at which the device turns off is the falling edge
raster image a bitmap image with a dot matrix data structure representing a
generally-rectangular grid of pixels or points of color; a raster
image can be in varying formats, such as GIF, JPG, and BMP
rising edge the bit at which the device turns on is the rising edge
614
Glossary
Term Description
100 Kbit/s at 1200 m.
token a credential used to control usage rights; the node that holds the
token has the current usage rights
XG5000 Simulator a simulator for testing PLC logic programs. It can be run with XP-
Simulator to test operation of an XP-builder projects
615
List of Acronymst
List of Acronyms
Acronym Definition
A/V audio/video
CF compact flash
CMY cyan-magenta-yellow
CMYK cyan-magenta-yellow-black
COM communications
DEC decimal
H/W hardware
HEX hexadecimal
IL intermediate language
IP internet protocol
IP ingress protection
LD ladder diagram
M metadata
616
List of Acronyms
Acronym Definition
MPEG moving picture experts group
PC personal computer
Q output
QB bit output
QW word output
RGB red-green-blue
S/W software
SD secure digital
UI user interface
VM virtual memory
617
List of Acronymst
Acronym Definition
WAN wide area network
618
Appendix
Appendix
1 Program Monitor
The Program Monitor allows you to check the status of the system and diagnose PLC errors.
XGK-CPUE 16K
XGK-CPUH 64K
XGK-CPUS 32K
XGK-CPUU 128K
XGB-XBCH 15K
XGB-XBMS 10K
Link connection
Ethernet connection
619
Appendixt
Link connection
Ethernet connection
Note
Link connection and Ethernet connection are only for modules that has the XGT server
function. Refer to the modules user manual to learn more about each module.
The following table describes device types that support displaying monitoring data or
changing current values.
N X
ZR
(: Supports all areas, : Supports some areas, : Supports some models, X: Not supported)
620
Appendix
Note
Refer to the PLCs user manual to learn more about the device sizes and properties.
Item Description
a The top row shows fundamental information about the program and the
connected PLC.
Scroll upward.
621
Appendixt
Item Description
Scroll to the left.
Scroll downward.
Program/Variable Switch
When you click the program/variable switch, you can monitor variables in the program as
well.
Item Description
d Add, remove, or edit devices to monitor. Up to 16 devices can be monitored.
622
Appendix
You can monitor programs manually from the XGT Panels menu or via a special switch object
on a UI window. When you monitor programs via a special switch object, the objects on the
screen will not communicate until the Program Monitor stops.
1 Touch and hold the XGT Panel screen to open the main menu.
3 Select a connection number from the drop-down list and touch [Program Monitor].
Note
If you have not selected the program monitor function in the XP-Builder project, the
Program Monitor function will not be active. For more information, refer to <2.2.2.2
Changing XGT Panel Settings>.
623
Appendixt
1 Create a special switch object in XP-Builder and transfer the project to the XGT Panel. For
more information about special switch objects, refer to <2.3.4 Inserting Figures or Objects
> and <4.3.2.4 Special Switch>.
2 On the XGT Panel, access the window that contains the special switch.
Note
While the Program Monitor is active, objects on the current screen cannot be monitored,
but scripts and logging functions will work normally.
To select programs
1 In the Program Monitor window, touch a program from the program list and then touch
[Select].
624
Appendix
2 To begin monitoring the program, touch [Mon]. The LD program will appear in the
monitoring area of the window.
3 If the command is longer than the window can display, you can double-tap [PUT] to the
right of the command to expand it. Tap [Close] to return to normal monitoring.
625
Appendixt
To manage programs:
1 Touch the program list button at the top left of the window. To update the program list,
touch [Update].
4 To save a program as a file, touch a program and then touch [Save]. When the program is
saved Match appears in the Status column. If the file cannot be saved to the PLC,
Mismatch appears in the Status column.
626
Appendix
5 To delete a file, touch a program and then touch [Delete]. When the program is deleted,
Removed appears in the Status column.
Note
The file saving or deleting functions are available only when the file saving option is
checked.
627
Appendixt
Item ON OFF
Coil
Negated coil
Set coil
Reset coil
Positive transition-sensing
coil
Negative transition-sensing
coil
Monitoring value of each device is displayed on the top of a command. Monitoring values
are displayed differently depending on the data type used in a command.
Command
Format Description
Unsigned decimal Displays the current device value as an unsigned
decimal number.
628
Appendix
Format Description
number.
1 On the XGT Panel, touch and hold the screen to open the main menu.
Note
Real number and string data types are displayed as real numbers and strings, respectively,
of display format you choose. For more information about data types for each PLC
command, refer to the PLC user manual.
629
Appendixt
You can also change current device value from the Device Monitor window.
5 From the Device Monitor window, tap the Value field of a device to change.
630
Appendix
Note
When you select bit type device, the dialog box to select ON/OFF will be displayed.
Number input unit or string input unit will be displayed depending on the inputted data
type. After selecting the device to be changed, you can select the current device value.
631
Appendixt
To add a device:
632
Appendix
When you insert a device, the device will be added to the currently selected point. The
procedure of inserting a device is the same as the procedure of inserting a device except that
the point to insert a device is selected.
To insert a device:
1 In the Device Monitor window, select a point to insert a device and tap [Ins.].
633
Appendixt
To edit a device:
2 Change the device or the device data type, and tap [OK].
634
Appendix
To remove a device:
635
Appendixt
636
Appendix
637
Appendixt
For an index device, two devices should be entered in the format of Default Device[Index
Device]. The procedure for entering a default device is the same as the procedure for
entering a general device.
638
Appendix
The procedure for entering a default device is the same as the procedure for entering a
general device.
639
Appendixt
640
Appendix
You can select a device type (Bit, Word, or Word with bit).
Word with bits Search for a match from word devices and a device
containing a word device from bit devices.
For example, if you enter M0000 and select Word with
bit type, the following devices will be searched.
Word device: M0000
Bit devices: M00000, M00001, M00002- M0000F
Note
When you search for a device, devices of the same device type will be searched. For
example, if you enter M0000, devices such as M0000[Z000], #M0000, #M0000[Z000] will
not be searched.
641
Appendixt
After entering the device, tap [OK] to search for devices. The pointer will appear at the first
search result.
642
Appendix
1 You can search for labels that are used in programs and move to the corresponding point
directly.
643
Appendixt
644
Appendix
645
Appendixt
3 Tap the step number field to open the Number Input window.
646
Appendix
Because more than one JMP command can exist for one label, you can move to the next
search result.
647
Appendixt
Because only one label exists for one program block, you cannot move to the next search
result.
648
Appendix
649
Appendixt
Because more than one CALL or CALLP command can exist for one sub-routine, you can
move to the next search result.
2 Tap and hold the sub-routine command or the operand for a second.
650
Appendix
Because sub-routines exist in the entire PLC program, search results may not appear in the
selected program.
651
Appendixt
To search for a command that uses a selected input device for output:
652
Appendix
3 Confirm the nearest output device upward from the selected device.
653
Appendixt
To search for a command that uses a selected output device for input:
654
Appendix
3 Confirm the nearest input device downward from the selected device.
Note
This function uses the inclusion relationship between the data types of commands for
searching. For the data types of command, refer to PLC users manual.
655
Appendixt
656
Appendix
657
Appendixt
2 XP-VSP
2.1.1 Overview
XP-VSP enables data communication between the ladder software and the PLC using the
TCP/IP technology and the Virtual serial port technology.
The illustration below describes how the ladder software and the PLC communicate using the
TCP/IP technology.
658
Appendix
4 The data is sent to and received from the PLC via RS232C.
5 The TCP/IP server of the XGT panel sends data to the computer.
659
Appendixt
Manufacturer Driver
LSIS GLOFA GM series CPU Direct
To install XP-VSP:
660
Appendix
To update XP-VSP:
1 Run the XP-VSP setup file of a new version with the old version already installed.
661
Appendixt
Interface Description
XP List Window Shows the online status or the previously registered XP information.
XP Connection Status: Online/Offline
XP Status: Shows the current mode or version of XP.
XP Type: Shows the type of XP.
PLC1-PLC4: Specifies the PLC driver that is built in XP.
Manufacturer: Shows the manufacturer of the PLC driver.
Driver: Shows the PLC driver.
Communication For the PLC drivers that do not support XP-VSP, XP-VSP not
Port supported is displayed. It the PCL driver supports XP-VSP, the port
number is displayed. You can change the port number.
662
Appendix
If the project does not support XP-VSP, you cannot select a virtual com port as shown
below.
663
Appendixt
664
Appendix
Item Description
XGT-Panel IP Enter the IP address the virtual com port is registered.
Address
PLC Driver XGT panel supports 4 PLC drivers at the same time. Select
one of the 4 drivers.
Note
Once a virtual com port is registered, you can use the port afterward. You do not have
to register it each time.
XP-VSP is supported from XGT-Panel V1.11
2.4.2 Connecting PLC and Ladder Program via Virtual Com Port
You can connect the PLC and the ladder program using the virtual com port that is previously
registered. Before connecting, the XGT panel and the PLC must be connected via RS232C.
To connect the PLC and the ladder program via virtual com port:
2 Start XG5000.
665
Appendixt
666
Appendix
667
Appendixt
1 Click [Setup].
Item Description
Auto Start XP-VSP Set to start XP-VSP automatically when the Windows starts.
on Start
XGT-Panel Search Set the interval to search for XGT-panel on the network.
Interval
668
Index
Index
1:N communication inserting, 60, 92
with multiple protocols, 177 setting as background, 108
with RS-485, 178 interface (XGT Panel)
acquisition time table, 252 simulating, 128, 145, 147, 148, 155
auxiliary settings, 40 interface (XP-Builder)
bar graph object, 488 customizing, 15
barcode reader. See extended device viewing options, 77, 84, 85, 86
base screen, 50 key window
basic recipe, 224 settings, 33
bit lamp, 330 keyboard shortcuts, 17
bit message, 403 languages
bit part object, 474 changing, 33
bit switch, 346 local script, 270
bit window object, 463 log, 197, 212
change screen switch, 362 logging. See log
closed graph object, 509 logging scatter graph, 537
common data, 197 logging trend graph, 524
control statement, 271 managing backup files, 612
controller drivers menu options, 18
supporting N:1 communication, 181 meter graph object, 503
data check, 132 multi switch, 395
device multi-channel, 177
finding and replacing, 136, 137, 140, 142 multi-drop, 178
viewing cross references, 144 N:1 communication, 180
device address expression, 294 N-State lamp, 340
Device Map, 133 numeric display object, 434
display change script, 269 numeric input object, 415
download (project). See project, transferring to object
XGT Panel alarm navigator, 579, 580
error code, 184 animation, 486
error message, 192 arranging, 71
Ethernet connection, 122, 166 clock, 595
extended device, 43 data list editor, 587
figure datalist, 564
drawing, 57 drawing, 61
inserting, 57 editing, 64
file recipe, 224 embedded screen, 598
flow alarm, 197, 244 file recipe editor, 591
fonts graph, 488
installing/exporting, 21 history alarm viewer, 555
global script, 269 inserting, 57
settings, 39 inserting from library, 63
graphic library pane, 99 lamp, 330
graphic list, 99 logging viewer, 569
history alarm, 197, 248 memo pad, 600
image message, 403
669
Indext
670
Index
671
LS values every single customers.
Quality and service come first at LSIS.
Always at your service, standing for our customers.
LS Industrial Systems constantly strives to improve its product. Information in this manual is subject to change without notice.
LSIS Co., Ltd 2015 All Rights Reserved.
Version 2.00 Dec. 31, 2015