LS Industrial Systems XG5000 User manual

Right choice for ultimate yield
LSIS strives to maximize customers' profit in gratitude of choosing us for your partner.
Programmable Logic Controller
XG5000
User’s Manual
z
Read this manual carefully before
installing, wiring, operating, servicing
or inspecting this equipment.
zKeep this manual within easy reach
for quick reference.
For XGI/XGR/XEC
XGT Series
http://eng.lsis.biz

Safety Instruction
1
Before using the product …
For your safety and effective operation, please read the safety instructions
thoroughly before using the product.
► Safety Instructions should always be observed in order to prevent accident
or risk with the safe and proper use the product.
► Instructions are separated into “Warning” and “Caution”, and the meaning of
the terms is as follows;
This symbol indicates the possibility of serious injury
or death if some applicable instruction is violated
This symbol indicates the possibility of slight injury
or damage to products if some applicable instruction
is violated
► The marks displayed on the product and in the user’s manual have the
following meanings.
Be careful! Danger may be expected.
Be careful! Electric shock may occur.
► The user’s manual even after read shall be kept available and accessible to
any user of the product.
Warning
Caution

Revision History
Revision History
Version Date Remark Revised Page
V 1.0 ’05.03 First Edition -
V 1.1 ’05.05 Word revised and detailed description added -
V 2.0 ’06.12 XGI-CPUU added -
V 2.1 ’08.3 XGR-CPUH added -
V 2.2 ’08.8 PID monitor added CH.11
V 2.3 ’09.10 1. XG5000 installation modified 1-4~1-8
2. Option modified 2-28, 2-34
3. Making new project modified 3-3
4. Direct variable comment modified 4-2~4-3
5. Export to file added 4-38, 4-56, 4-73, 4-
88
6. EXTERNAL variable added 4-39, 4-57
7. Sharing variable added 4-89~4-96
8. OR contact modified 5-4
9. Input variable/device modified 5-5~5-14
10. View variable/comment modified 5-39
11. LD screen properties modified 5-41
12. Basic parameter modified 9-3, 9-7
13. I/O Skip modified 10-45~10-52
14. Fault mask modified 10-53~10-54
15. Module changing wizard modified 10-55
16. User event modified 10-62~10-72
17. Registering monitor modified 11-12~11-16
18. Show/Hide frame modified 11-39
19. Trend monitor setting modified 11-79
20. Print setting modified 14-10~14-11
21. Making user function/function block I/O
variable 15-5
22. Clear PLC added at Program Writing
window 10-14
23. Adjust of User function/function block
width 15-2, 15-3
24. Event input module added 19-1, 9-31
25. Coil added 5-16

Revision History
Version Date Remark Revised Page
V 2.5 ’10.05 1. System requirements and installation
procedure Modified
2. Contents on basic parameter added
3. PLC information/Password function
modified
CH1
CH9.1
CH10.9.1, CH10.9.3
※The number of User’s manual is indicated right part of the back cover.
ⓒLS Industrial Systems Co., Ltd 2007 All Rights Reserved.

About User’s Manual
About User’s Manual
Thank you for purchasing PLC of LS Industrial System Co., Ltd.
Before use, make sure to carefully read and understand the User’s Manual about the functions,
performances, installation and programming of the product you purchased in order for correct
use and importantly, let the end user and maintenance administrator to be provided with the
User’s Manual.
The User’s Manual describes the product. If necessary, you may refer to the following
description and order accordingly. In addition, you may connect our website(http://eng.lsis.biz/)
and download the information as a PDF file.
Relevant User’s Manuals
Title Description No. of User’s
Manual
XGI / XGR/ XEC
Instructions &
Programming
It is the user’s manual for programming to
explain how to use commands that are used
PLC system with XGI CPU, XGR CPU module
and XEC basic unit
10310000833
XGI-CPU User’s Manual
(XGI-CPUU/CPUH/CPUS
Describes on CPU module, power module, base,
I/O module, specification of expansion cable,
system configuration and EMC compliance
10310000832
XGR redundancy user
manual
Describes on CPU module, power module, base,
I/O module, specification of expansion cable,
system configuration and EMC compliance
10310001059

Table of Contents
Chapter 1 Introduction.......................................................................................................... 1-1 ~ 1-20
1.1 Features of XG5000…………………………………………………………………………………………………..........1-1
1.2 System Requirements necessary for XG5000……………………………………………………………………............1-3
1.3 Installation of XG5000………………………………………………………………………………………………............1-4
1.4 Installation of USB Device Driver……………………………………………………………………………………..........1-9
1.5 Confirmation of Installed USB Device Driver………………………………………………………………………..........1-13
Chapter 2 Basic Application................................................................................................ 2-1 ~ 2-40
2.1 Screen Configuration.............................................................................................................................................................2-1
2.1.1 Menu Configuration .......................................................................................................................................................2-2
2.1.2 Tool Box..........................................................................................................................................................................2-8
2.1.3 Status Display Line.......................................................................................................................................................2-11
2.1.4 Change View Window.................................................................................................................................................2-11
2.1.5Application of Dialog Box.............................................................................................................................................2-14
2.2 Open/Close Project..............................................................................................................................................................2-16
2.2.1 Open Project.................................................................................................................................................................2-16
2.2.2 Close Project................................................................................................................................................................2-16
2.2.3 Save Project.................................................................................................................................................................2-16
2.3 Convenient Edit Functions..................................................................................................................................................2-17
2.3.1 Cut-Paste......................................................................................................................................................................2-17
2.3.2 Copy - Paste.................................................................................................................................................................2-18
2.3.3 Drag & Drop..................................................................................................................................................................2-20
2.4 Shortcut Setting....................................................................................................................................................................2-23
2.5 Edit Window Zoom In, Zoom Out.......................................................................................................................................2-25
2.6 Options..................................................................................................................................................................................2-27
2.6.1 Option Configuration....................................................................................................................................................2-27
2.6.2 Option Configuration....................................................................................................................................................2-28
2.6.3 Option Configuration....................................................................................................................................................2-29
2.6.4 XG5000 font/color option.............................................................................................................................................2-30
2.6.5 XG5000 online option..................................................................................................................................................2-31
2.6.6 LD option.......................................................................................................................................................................2-34
2.6.7 LD Font/Color option....................................................................................................................................................2-35
2.6.8 SFC option....................................................................................................................................................................2-36
2.6.9 SFC Font/Color............................................................................................................................................................2-37
2.6.10 ST option ....................................................................................................................................................................2-38
2.6.11 ST Font/Color.............................................................................................................................................................2-35
Chapter 3 Project................................................................................................................... 3-1 ~ 3-38
3.1 Project Configuration................................................................................................................................................................3-1
3.2 Project File Management.........................................................................................................................................................3-3
3.2.1 New Project....................................................................................................................................................................3-3
3.2.2 Open Project...................................................................................................................................................................3-5

Table of Contents
3.2.3 Open from PLC..............................................................................................................................................................3-5
3.2.4 Save Project...................................................................................................................................................................3-6
3.2.5 Save as...........................................................................................................................................................................3-7
3.3 Open GMWIN File....................................................................................................................................................................3-9
3.3.1 Open GMWIN File.........................................................................................................................................................3-9
3.3.2 GMWIN Project Conversion Rules ............................................................................................................................3-10
3.4 Project Item..............................................................................................................................................................................3-18
3.4.1Add item........................................................................................................................................................................3-18
3.4.2 Import item from file .....................................................................................................................................................3-24
3.4.3 Export to file..................................................................................................................................................................3-27
3.4.4 Item register information..............................................................................................................................................3-29
3.4.5 Change program sequence........................................................................................................................................3-31
3.5 Compare Project.....................................................................................................................................................................3-32
3.6 Project Password....................................................................................................................................................................3-34
3.6.1 Input password.............................................................................................................................................................3-34
3.6.2 Change password........................................................................................................................................................3-36
3.6.3 Delete password..........................................................................................................................................................3-37
Chapter 4 Variable................................................................................................................. 4-1 ~ 4-96
4.1 Global/Direct Variable...............................................................................................................................................................4-1
4.1.1 Global Variable...............................................................................................................................................................4-1
4.1.2 Direct Variable Comment..............................................................................................................................................4-2
4.1.3 Flag..................................................................................................................................................................................4-4
4.2 Global/Direct Variable Edit........................................................................................................................................................4-6
4.2.1 Global/Direct Variable Registration...............................................................................................................................4-6
4.2.2 Copy, Cut, Delete and Paste.........................................................................................................................................4-8
4.2.3 Insert line.......................................................................................................................................................................4-11
4.2.4 Delete line.....................................................................................................................................................................4-13
4.2.5Automatic fill..................................................................................................................................................................4-14
4.2.6 Drag & Drop..................................................................................................................................................................4-16
4.2.7 Undo/Redo...................................................................................................................................................................4-18
4.2.8 Export to file..................................................................................................................................................................4-19
4.2.9 Register Special Module Variables.............................................................................................................................4-20
4.2.10 Preview.......................................................................................................................................................................4-22
4.2.11 Print .............................................................................................................................................................................4-23
4.2.12 Convenient Functions................................................................................................................................................4-23
4.3 Local Variable..........................................................................................................................................................................4-25
4.3.1 Local Variable...............................................................................................................................................................4-25
4.4 Local Variable Edit..................................................................................................................................................................4-26
4.4.1 Local Variable Registration..........................................................................................................................................4-26
4.4.2 Copy, Cut, Delete and Paste.......................................................................................................................................4-28
4.4.3 Insert line.......................................................................................................................................................................4-31
4.4.4 Delete line.....................................................................................................................................................................4-33
4.4.5Automatic fill..................................................................................................................................................................4-34
4.4.6 Drag & Drop..................................................................................................................................................................4-36
4.4.7 Undo/Redo...................................................................................................................................................................4-37
4.4.8 Export to file..................................................................................................................................................................4-38
4.4.9Add EXTERNAL Variable............................................................................................................................................4-39

Table of Contents
4.5 FB Variable..............................................................................................................................................................................4-42
4.5.1 FB Variable...................................................................................................................................................................4-42
4.6 FB Variable Edit.......................................................................................................................................................................4-43
4.6.1 FB Variable Registration..............................................................................................................................................4-43
4.6.2 Copy, Cut, Delete and Paste.......................................................................................................................................4-45
4.6.3 Insert line.......................................................................................................................................................................4-48
4.6.4 Delete line.....................................................................................................................................................................4-50
4.6.5Automatic fill..................................................................................................................................................................4-51
4.6.6 Drag & Drop..................................................................................................................................................................4-53
4.6.7 Undo/Redo...................................................................................................................................................................4-55
4.6.8 Export to file..................................................................................................................................................................4-56
4.6.9Add EXTERNAL Variable............................................................................................................................................4-57
4.7 FUN Variable...........................................................................................................................................................................4-60
4.7.1 FUN Variable................................................................................................................................................................4-60
4.8 FUN Variable Edit ...................................................................................................................................................................4-61
4.8.1 FUN Variable Registration...........................................................................................................................................4-61
4.8.2 Copy, Cut, Delete and Paste.......................................................................................................................................4-63
4.8.3 Insert line.......................................................................................................................................................................4-66
4.8.4 Delete line.....................................................................................................................................................................4-67
4.8.5Automatic fill..................................................................................................................................................................4-69
4.8.6 Drag & Drop..................................................................................................................................................................4-71
4.8.7 Undo/Redo...................................................................................................................................................................4-73
4.8.8 Export to file..................................................................................................................................................................4-73
4.9 Data type edit ..........................................................................................................................................................................4-75
4.9.1 DataType Registration................................................................................................................................................4-75
4.9.2 Copy, Cut, Delete and Paste.......................................................................................................................................4-77
4.9.3 Insert line.......................................................................................................................................................................4-80
4.9.4 Delete line.....................................................................................................................................................................4-82
4.9.5Automatic fill..................................................................................................................................................................4-83
4.9.6 Drag & Drop..................................................................................................................................................................4-85
4.9.7 Undo/Redo...................................................................................................................................................................4-87
4.9.8 Export to file..................................................................................................................................................................4-88
4.10 Sharing Variable....................................................................................................................................................................4-89
4.10.1 Saving variable/comment..........................................................................................................................................4-89
4.10.2 CSV file structure.......................................................................................................................................................4-92
4.10.3 Import external variable in XG-PD............................................................................................................................4-93
Chapter 5 LD Edit.................................................................................................................. 5-1 ~ 5-54
5.1 Limit............................................................................................................................................................................................5-1
5.2 Program Edit .............................................................................................................................................................................5-1
5.2.1 EditTools.........................................................................................................................................................................5-1
5.2.2 Input Contact point.........................................................................................................................................................5-3
5.2.3 Input OR contact point...................................................................................................................................................5-4
5.2.4 Input Variable/Device.....................................................................................................................................................5-5
5.2.5 Input Line......................................................................................................................................................................5-15
5.2.6 Input Coil.......................................................................................................................................................................5-16
5.2.7 Input Function(block)...................................................................................................................................................5-17
5.2.8 Favorite Function(Block)..............................................................................................................................................5-18

Table of Contents
5.2.9 Input Comment ............................................................................................................................................................5-22
5.2.10 Input Label..................................................................................................................................................................5-25
5.2.11 Insert Extended Function ..........................................................................................................................................5-27
5.2.12 Insert Cell....................................................................................................................................................................5-28
5.2.13 Insert Line...................................................................................................................................................................5-29
5.2.14 Delete Factor..............................................................................................................................................................5-29
5.2.15 Delete Cell..................................................................................................................................................................5-30
5.2.16 Delete Line .................................................................................................................................................................5-31
5.2.17 Copy/Cut/Paste..........................................................................................................................................................5-31
5.2.18 Undo and Redo..........................................................................................................................................................5-33
5.2.19 Program Edit Mode...................................................................................................................................................5-34
5.3 View Program..........................................................................................................................................................................5-36
5.3.1 View ILProgram...........................................................................................................................................................5-36
5.3.2 Program Magnification Change..................................................................................................................................5-37
5.3.3 View Device..................................................................................................................................................................5-38
5.3.4 View Variable................................................................................................................................................................5-38
5.3.5 View Device/Variable...................................................................................................................................................5-38
5.3.6 View Device/Comment................................................................................................................................................5-39
5.3.7 View Variable/Comment..............................................................................................................................................5-39
5.3.8Adjust No. of Contact Point .........................................................................................................................................5-40
5.3.9 LD Screen Properties..................................................................................................................................................5-41
5.4 Edit FunctionAdditional..........................................................................................................................................................5-43
5.4.1 Block Mask Instruction.................................................................................................................................................5-43
5.4.2 Bookmark .....................................................................................................................................................................5-45
5.4.3 Go To.............................................................................................................................................................................5-51
Chapter 6 SFC Edit................................................................................................................ 6-1 ~ 6-49
6.1 Limit............................................................................................................................................................................................6-1
6.2 Program Edit .............................................................................................................................................................................6-1
6.2.1 EditTools.........................................................................................................................................................................6-1
6.2.2 Input step/transition........................................................................................................................................................6-2
6.2.3 InputAction.....................................................................................................................................................................6-3
6.2.4 Input Block/Transition.....................................................................................................................................................6-4
6.2.5 Input label........................................................................................................................................................................6-5
6.2.6 Input Jump......................................................................................................................................................................6-6
6.2.7 Input left branch..............................................................................................................................................................6-7
6.2.8 Input right branch .........................................................................................................................................................6-10
6.2.9 Edit Step Property........................................................................................................................................................6-12
6.2.10 Transition property.....................................................................................................................................................6-13
6.2.11Action property............................................................................................................................................................6-14
6.2.12 Edit Block Property....................................................................................................................................................6-18
6.2.13 Edit label property......................................................................................................................................................6-19
6.2.14 Jump property............................................................................................................................................................6-20
6.2.15 Set Branch Priority.....................................................................................................................................................6-22
6.2.16 Erase Branch Priority.................................................................................................................................................6-23
6.2.17 Delete Factor..............................................................................................................................................................6-24
6.2.18 Copy/Cut/Paste..........................................................................................................................................................6-24
6.2.19 Undo and Redo..........................................................................................................................................................6-28

Table of Contents
6.2.20 Program Edit Mode...................................................................................................................................................6-29
6.3 View Program..........................................................................................................................................................................6-30
6.3.1 Program zoom In/Out..................................................................................................................................................6-30
6.3.2 SFC Property................................................................................................................................................................6-31
6.3.3 ViewBlock/Action/Transition List................................................................................................................................6-37
6.3.4 OpenAction/Transition ................................................................................................................................................6-38
6.3.5 Devices/Variables.........................................................................................................................................................6-38
6.3.6 Devices/Comments.....................................................................................................................................................6-39
6.3.7Adjust Contact No........................................................................................................................................................6-39
6.3.8 LD Properties................................................................................................................................................................6-40
6.4 Edit additional Function..........................................................................................................................................................6-42
6.4.1 Bookmark .....................................................................................................................................................................6-42
6.4.2 Go To.............................................................................................................................................................................6-46
Chapter 7 Programming Convenience.............................................................................. 7-1 ~ 7-30
7.1 Cross Reference.......................................................................................................................................................................7-1
7.1.1 ViewAll Device...............................................................................................................................................................7-1
7.1.2 Output Cross Reference Instantly................................................................................................................................7-3
7.1.3 Check Duplicated Coil Instantly....................................................................................................................................7-5
7.2 Used Device..............................................................................................................................................................................7-7
7.2.1 Execute Used Device....................................................................................................................................................7-7
7.2.2 View Device Uses..........................................................................................................................................................7-8
7.3 Check Program.......................................................................................................................................................................7-10
7.3.1 Check Program Setting...............................................................................................................................................7-10
7.3.2 Check Result Trace .....................................................................................................................................................7-14
7.3.3 Logic Error ....................................................................................................................................................................7-15
7.3.4 Grammar Error.............................................................................................................................................................7-19
Chapter 8 Find/Replace........................................................................................................ 8-1 ~ 8-27
8.1 Find Device................................................................................................................................................................................8-1
8.1.1 Find Next Device............................................................................................................................................................8-3
8.1.2 FindAll Device................................................................................................................................................................8-5
8.2 Find Text.....................................................................................................................................................................................8-7
8.2.1 Find Text..........................................................................................................................................................................8-9
8.2.2 FindAll String................................................................................................................................................................8-11
8.3 Replace Device.......................................................................................................................................................................8-14
8.3.1 Replace Device............................................................................................................................................................8-16
8.3.2 ReplaceAll Device.......................................................................................................................................................8-19
8.4 Replace String.........................................................................................................................................................................8-22
8.4.1 Replace String..............................................................................................................................................................8-23
8.4.2 ReplaceAll String.........................................................................................................................................................8-25
8.5 FindAgain................................................................................................................................................................................8-27

Table of Contents
Chapter 9 Parameter............................................................................................................. 9-1 ~ 9-25
9.1 Basic Parameter .......................................................................................................................................................................9-1
9.2 I/O Parameters..........................................................................................................................................................................9-7
9.2.1 Base Module Information Setting.................................................................................................................................9-8
9.2.2 Module Information Setting Based on Slots................................................................................................................9-9
9.2.3 I/O Parameter EditFunction .......................................................................................................................................9-11
9.2.4 Detailed Module Information Setting..........................................................................................................................9-15
9.2.5 I/O Parameter Print Function......................................................................................................................................9-23
Chapter 10 Online.............................................................................................................. 10-1 ~ 10-78
10.1 Connect Options...................................................................................................................................................................10-1
10.1.1 Local Connect Setting...............................................................................................................................................10-1
10.1.2 Remote 1 Connect Setting........................................................................................................................................10-4
10.1.3 Remote 2 Connect Setting........................................................................................................................................10-7
10.2 Connect/Disconnect.............................................................................................................................................................10-8
10.2.1 Connect......................................................................................................................................................................10-8
10.3 Write.....................................................................................................................................................................................10-13
10.4 Read ....................................................................................................................................................................................10-15
10.5 Change Mode.....................................................................................................................................................................10-16
10.6 Compare to PLC.................................................................................................................................................................10-17
10.7 Reset PLC...........................................................................................................................................................................10-18
10.8 Clear PLC............................................................................................................................................................................10-19
10.8.1 Clear Item.................................................................................................................................................................10-19
10.8.2 Clear Memory ..........................................................................................................................................................10-20
10.9 PLC Information..................................................................................................................................................................10-21
10.9.1 CPU Information......................................................................................................................................................10-21
10.9.2 CPU Performance...................................................................................................................................................10-22
10.9.3 Password..................................................................................................................................................................10-24
10.9.4 PLC RTC Setting.....................................................................................................................................................10-26
10.10 PLC History.......................................................................................................................................................................10-27
10.10.1 Error Log.................................................................................................................................................................10-27
10.10.2 Change Mode History...........................................................................................................................................10-28
10.10.3 Shut down Log History..........................................................................................................................................10-29
10.10.4 System Log............................................................................................................................................................10-30
10.11 PLC Error/Warning...........................................................................................................................................................10-31
10.12 Flash Memory Setting......................................................................................................................................................10-32
10.13 Forced I/O Setting.............................................................................................................................................................10-34
10.14 Skip I/O..............................................................................................................................................................................10-43
10.15 Fault Mask.........................................................................................................................................................................10-50
10.16 Module Changing Wizard................................................................................................................................................10-52
10.17 Custom Events.................................................................................................................................................................10-59
10.17.1 Example..................................................................................................................................................................10-59
10.17.2 Event Setting..........................................................................................................................................................10-64
10.17.3 Event History..........................................................................................................................................................10-74

Table of Contents
Chapter 11 Monitoring.................................................................................................... 11-1 ~ 11-120
11.1 Monitoring..............................................................................................................................................................................11-1
11.1.1 Start/Stop Monitoring..................................................................................................................................................11-1
11.1.2 Change Current Value...............................................................................................................................................11-2
11.1.3 Pause Monitoring.......................................................................................................................................................11-4
11.2 LD Program Monitoring........................................................................................................................................................11-7
11.3 Variable Monitoring .............................................................................................................................................................11-10
11.3.1 Register Monitoring..................................................................................................................................................11-11
11.3.2 View...........................................................................................................................................................................11-21
11.3.3 Operation of Monitoring...........................................................................................................................................11-23
11.3.4 Find............................................................................................................................................................................11-24
11.3.5 Print ...........................................................................................................................................................................11-24
11.3.6 Shortcut Keys...........................................................................................................................................................11-25
11.3.7Alignment..................................................................................................................................................................11-25
11.4 System Monitoring..............................................................................................................................................................11-27
11.4.1 BasicApplication......................................................................................................................................................11-27
11.4.2 Connect/Disconnect.................................................................................................................................................11-28
11.4.3 System Synchronization..........................................................................................................................................11-28
11.4.4All I/O modules ON/OFF..........................................................................................................................................11-29
11.4.5 Selected I/O modules ON/OFF ..............................................................................................................................11-29
11.4.6 Change Current Value.............................................................................................................................................11-30
11.4.7 Information Display of Power Module....................................................................................................................11-31
11.4.8 Information Display of CPU module.......................................................................................................................11-32
11.4.9 Information Display of Communication Module ....................................................................................................11-33
11.4.10 Information of Special Module ..............................................................................................................................11-34
11.4.11 Start/Stop Monitoring..............................................................................................................................................11-35
11.4.12 Special Module Monitoring....................................................................................................................................11-35
11.4.13 Save........................................................................................................................................................................11-37
11.4.14 Open .......................................................................................................................................................................11-37
11.4.15 Move Base .............................................................................................................................................................11-37
11.4.16 Preview...................................................................................................................................................................11-38
11.4.17 Hide/Show Frame..................................................................................................................................................11-39
11.5 Device Monitoring...............................................................................................................................................................11-40
11.5.1 BasicApplication......................................................................................................................................................11-40
11.5.2 DeviceAreas ............................................................................................................................................................11-41
11.5.3 Data Format and Display Items..............................................................................................................................11-42
11.5.4 Edit Data ...................................................................................................................................................................11-53
11.5.5 Save Device .............................................................................................................................................................11-55
11.5.6 Open Device.............................................................................................................................................................11-57
11.5.7 Data Value Setting....................................................................................................................................................11-58
11.5.8 Clear Data.................................................................................................................................................................11-62
11.5.9 Write to PLC .............................................................................................................................................................11-63
11.5.10 Read from PLC......................................................................................................................................................11-64
11.5.11 Write SelectedArea on PLC.................................................................................................................................11-65
11.5.12 Start/Stop Monitoring..............................................................................................................................................11-66
11.5.13 Change Current Value...........................................................................................................................................11-66
11.5.14 PLC Type Settings.................................................................................................................................................11-67

Table of Contents
11.5.15 Screen Zoom-In/Zoom-Out...................................................................................................................................11-68
11.5.16Automatic Width/HeightAdjustment.....................................................................................................................11-69
11.5.17 View Properties......................................................................................................................................................11-69
11.5.18 Page Setting...........................................................................................................................................................11-70
11.6 Special Module Monitoring.................................................................................................................................................11-72
11.7 Trend Monitoring.................................................................................................................................................................11-76
11.7.1 Start Trend Monitoring..............................................................................................................................................11-76
11.7.2 Setting Trend Monitoring .........................................................................................................................................11-77
11.7.3 Setting graph ............................................................................................................................................................11-80
11.7.4 Setting Graph Window ............................................................................................................................................11-83
11.7.5 Graph function..........................................................................................................................................................11-84
11.8 Data Traces.........................................................................................................................................................................11-89
11.8.1 Connect.....................................................................................................................................................................11-91
11.8.2 Trace Setting.............................................................................................................................................................11-91
11.8.3 Setting Graph ...........................................................................................................................................................11-96
11.8.4 Trace..........................................................................................................................................................................11-98
11.8.5Animation..................................................................................................................................................................11-99
11.8.6 Graph Function.......................................................................................................................................................11-100
11.8.7 File function.............................................................................................................................................................11-100
11.8.8 View Function.........................................................................................................................................................11-101
11.9 PID Monitor.....................................................................................................................................................................11-105
11.9.1 Basic instructions....................................................................................................................................................11-105
11.9.2 Save file...................................................................................................................................................................11-107
11.9.3 Open file..................................................................................................................................................................11-109
11.9.4 Setting/adjustment of loop name...........................................................................................................................11-111
11.9.5Add/Delete selected loop.......................................................................................................................................11-112
11.9.6 Print/Print Preview..................................................................................................................................................11-113
11.9.7 Connection to PLC.................................................................................................................................................11-113
11.9.8 Write loop data to PLC...........................................................................................................................................11-114
11.9.9 Write all data to PLC..............................................................................................................................................11-114
11.9.10 Read loop data from PLC....................................................................................................................................11-114
11.9.11 Read all data from PLC .......................................................................................................................................11-115
11.9.12 Monitor start/end ..................................................................................................................................................11-115
11.9.13 Change current value during monitoring............................................................................................................11-116
11.9.14 Graph....................................................................................................................................................................11-117
11.9.15 Graph related function.........................................................................................................................................11-117
11.9.16 Edit function..........................................................................................................................................................11-119
Chapter 12 Debugging ..................................................................................................... 12-1 ~ 12-19
12.1 Start/Stop Debugging ...........................................................................................................................................................12-1
12.1.1 Start Debugging.........................................................................................................................................................12-1
12.1.2 Stop Debugging.........................................................................................................................................................12-1
12.2 LD Program Debugging.......................................................................................................................................................12-2
12.2.1 Set/Remove Breakpoints..........................................................................................................................................12-2
12.2.2 Go................................................................................................................................................................................12-5
12.2.3 Go to Cursor...............................................................................................................................................................12-6
12.2.4 Step Into......................................................................................................................................................................12-7
12.3 List of Break Points.............................................................................................................................................................12-13

Table of Contents
12.4 Variable Break.....................................................................................................................................................................12-15
12.5 Scan Break..........................................................................................................................................................................12-18
Chapter 13 Online Editing.................................................................................................. 13-1 ~ 13-4
13.1 Sequence of Online Editing.................................................................................................................................................13-1
13.1.1 Sequence of Online Editing......................................................................................................................................13-1
Chapter 14 Print................................................................................................................. 14-1 ~ 14-11
14.1 Print Project...........................................................................................................................................................................14-1
14.1.1 Print Setting................................................................................................................................................................14-2
14.1.2 Page Setup.................................................................................................................................................................14-3
14.1.3 Header/Footer Setting...............................................................................................................................................14-4
14.1.4 Cover Setup...............................................................................................................................................................14-6
14.2 LD Program Print................................................................................................................................................................14-10
14.2.1 Print Setting..............................................................................................................................................................14-10
14.2.2 Preview.....................................................................................................................................................................14-11
Chapter 15 User Function/Function Block.................................................................... 15-1 ~ 15-10
15.1 Create User Function/Function Block.................................................................................................................................15-2
15.1.1 Create User Function/Function Block Program......................................................................................................15-2
15.1.2 Create User Function/Function Block I/O Variable.................................................................................................15-4
15.1.3 User Function/Function Block Programming..........................................................................................................15-5
15.2 Use User Function/Function Block......................................................................................................................................15-8
Chapter 16 XG-SIM......................................................................................................... 16-1 ~ 16-28
16.1 Getting Started......................................................................................................................................................................16-1
16.1.1 Feature of XG-SIM ....................................................................................................................................................16-1
16.1.2 System Requirements for the Execution of XG-SIM..............................................................................................16-2
16.1.3 XG-SIM Execution.....................................................................................................................................................16-2
16.2 XG-SIM..................................................................................................................................................................................16-4
16.2.1 Program window Configuration................................................................................................................................16-4
16.2.2 Channel List................................................................................................................................................................16-5
16.2.3 I/O Condition...............................................................................................................................................................16-6
16.2.4 Module Simulation...................................................................................................................................................16-18
16.3 Restrictions..........................................................................................................................................................................16-28
16.3.1 Watchdog Timer.......................................................................................................................................................16-28
16.3.2 COM module............................................................................................................................................................16-28

Table of Contents
Chapter 17 ST Edition.................................................................................................... 17-1 ~ 17-27
17.1 Writing ST program...............................................................................................................................................................17-1
17.1.1Adding Scan Program...............................................................................................................................................17-1
17.1.2Adding User Function/Function Block......................................................................................................................17-2
17.1.3Adding SFC transition, action....................................................................................................................................17-4
17.2 Limit........................................................................................................................................................................................17-6
17.3 Editing Program....................................................................................................................................................................17-6
17.3.1 Shortcut key................................................................................................................................................................17-6
17.3.2 Copy/Paste.................................................................................................................................................................17-7
17.3.3 Undo/Redo.................................................................................................................................................................17-8
17.3.4Adding/Selecting variable..........................................................................................................................................17-8
17.3.5 Inserting Function/Function Block..........................................................................................................................17-11
17.4 Viewing Program................................................................................................................................................................17-13
17.4.1 ST option ..................................................................................................................................................................17-13
17.4.2 Font/Color.................................................................................................................................................................17-14
17.4.3 Zoom.........................................................................................................................................................................17-15
17.4.4Tap.............................................................................................................................................................................17-15
17.4.5 Showing line numbers.............................................................................................................................................17-16
17.5Additional Edition Function.................................................................................................................................................17-17
17.5.1 Book mark................................................................................................................................................................17-17
17.5.2 Selection from character string list..........................................................................................................................17-19
17.5.3 Selecting member variable from character string list............................................................................................17-20
17.5.4 Setting/Removing Block Mask................................................................................................................................17-21
17.5.5 Setting/Removing Line Block Mask.......................................................................................................................17-23
17.5.6 Indent/Outdent .........................................................................................................................................................17-25
Chapter 18 Dedicated XGR Function............................................................................. 18-1 ~ 18-13
18.1 Redundancy Parameter.......................................................................................................................................................18-1
18.2 Redundancy PLC State Window........................................................................................................................................18-3
18.3 Control Redundancy ............................................................................................................................................................18-4
18.3.1 Change of master CPU.............................................................................................................................................18-4
18.3.2 Standby CPU control.................................................................................................................................................18-5
18.4 System Monitoring........................................................................................................................................................18-6
18.4.1 System Configuration................................................................................................................................................18-6
18.4.2 Node Count change..................................................................................................................................................18-7
18.4.3 Base information........................................................................................................................................................18-8
Chapter 19 Exclusive Functions for Event Input Module........................................... 19-1 ~ 19-31
19.1 Overview................................................................................................................................................................................19-1
19.1.1 Characteristics of SOE Monitor................................................................................................................................19-1
19.1.2 Functions of the SOE Monitor..................................................................................................................................19-1
19.1.3 Files Created in the SOE Monitor.............................................................................................................................19-1
19.2 Screen Configuration............................................................................................................................................................19-2

Table of Contents
19.2.1 Menu Structure...........................................................................................................................................................19-3
19.2.2 Tools ..........................................................................................................................................................................19-5
19.2.3 SOE Event History Window ....................................................................................................................................19-7
19.2.4 Status Bar .................................................................................................................................................................19-9
19.3 Basic Parameter Setting....................................................................................................................................................19-10
19.3.1 Setting Items.............................................................................................................................................................19-10
19.4 I/O Parameter Setting.........................................................................................................................................................19-11
19.4.1 Setting Item ..............................................................................................................................................................19-11
19.5 View Module Information...................................................................................................................................................19-17
19.6 Event History Monitor.........................................................................................................................................................19-18
19.7 Save as an Excel File.........................................................................................................................................................19-29

Chapter 1 Introduction
1-1
Chapter 1 Introduction
1.1 Features of XG5000
XG5000 is a software tool designed to program and debug XGT PLC series with the following features and
merits
(1) Multi-PLC, Multi-Program
Allows the user to edit, monitor or manage PLC system interlocked with several PLC included in a project at
the same time.
And the program can be made as divided into Scan programs and various Task programs
(2) Various Drag and Drop
Makes editing easy and convenient with Drag and Drop function on most of editors such as Project, Variable/
Comment, LD Edit, Variable Monitor, etc.
(3) Setting User’s Shortcut Keys
Shortcut Keys provided as default can be changed or added as specified as familiar to a user
(4) Various Message Windows
Provides various message windows to edit and inspect program easily.
(5) Convenient Variable/Comment Editing
-Edit with MS Excel is available.
-Various types of Edit is available through View Variable, View Device, View Flag, etc.
-Similar kind of Variables can be added easily withAuto-fill.
-Convenient Copy is available on different Variable/Comment Windows with Drag and Drop
-Direct Edit is available without displaying dialog box just like Excel.

Chapter 1 Introduction
1-2
(6) Convenient Program Edit
-Unlimited Undo/Redo function provided..
-Block Edit available in cell unit.
-Screen-divided Edit available.
-Find/Replace function enhanced.
-Execution in rung unit can be prohibited with Block Mask function.
-Convenient access is allowed to a specific position with Bookmark function.
-Memory of selected device can be referred when editing LD
(7) Various Monitoring Functions
-Various monitoring functions are provided such as variable monitoring, device monitoring, system
monitoring, trend monitoring, special module monitoring, etc.
(8) Custom Events
-If user defined conditions are met for a specific device, logging and reading data is available.
(9) Module Changing Wizard
-Module can be safely and easily changed during Run without stopping PLC.

Chapter 1 Introduction
1-3
1.2 System Requirements necessary for XG5000
Item Requirement
Personal computer and memory Computer with PENTIUM /256MB memory or more
Communication port RS-232 serial port or USB port
Hard disk at least 200MB area
Mouse connectable to PC
Monitor 1024 X 768 or more resolution
Window Window 2000/XP/VISTA supported

Chapter 1 Introduction
1-4
1.3 Installation of XG5000
[Steps]
1. Execute the installation file.
2. To run the XG5000 normally, special package need to be installed. If the installation screen appears,
press [Install] button.
3. Select [Yes] in the following window. Time to install the special package varies according to PC and
may be 1~2 minutes or more. Once it is installed, though you install XG5000 again, installing the
special package is not needed.
Table of contents
Other LS Industrial Systems Controllers manuals

LS Industrial Systems
LS Industrial Systems XBF-HO02A User manual

LS Industrial Systems
LS Industrial Systems MASTER-K80S User manual

LS Industrial Systems
LS Industrial Systems G3L-RUEA User manual

LS Industrial Systems
LS Industrial Systems XGT Series User manual

LS Industrial Systems
LS Industrial Systems SV-iS7 Series Programming manual

LS Industrial Systems
LS Industrial Systems XGK-CPUUN User manual

LS Industrial Systems
LS Industrial Systems XBC-E Series User manual

LS Industrial Systems
LS Industrial Systems XGT Series User manual

LS Industrial Systems
LS Industrial Systems XGT Series User manual

LS Industrial Systems
LS Industrial Systems GLOFA GM7U Series User manual