LS ELECTRIC XGT Series User Manual

LS ELECTRIC XGT Series User Manual

Programmable logic control
Hide thumbs Also See for XGT Series:
Table of Contents

Advertisement

Quick Links

LS ELECTRIC strives to maximize your profits in gratitude for choosing us as your partner.
Programmable Logic Control
XG5000
XGT Series
XGK/XGB

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XGT Series and is the answer not in the manual?

Questions and answers

Summary of Contents for LS ELECTRIC XGT Series

  • Page 1 LS ELECTRIC strives to maximize your profits in gratitude for choosing us as your partner. Programmable Logic Control XG5000 XGT Series XGK/XGB...
  • Page 2 Safety Instruction 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. ►...
  • Page 3 Safety Instruction Safety Instructions when designing Warning  Please, install protection circuit on the exterior of PLC to protect the whole control system from any error in external power or PLC module. Any abnormal output or operation may cause serious problem in safety of the whole system.
  • Page 4 Safety Instruction Safety Instructions when designing Caution I/O signal or communication line shall be wired at least 100mm  away from a high-voltage cable or power line. If not, it may cause abnormal output or operation. Safety Instructions when designing Caution ...
  • Page 5 Safety Instruction Safety Instructions when wiring Warning Prior to wiring, be sure that power of PLC and external power is  turned off. If not, electric shock or damage on the product may be caused. Before PLC system is powered on, be sure that all the covers of ...
  • Page 6 Safety Instruction Safety Instructions for test-operation or repair Warning  Don’t touch the terminal when powered. Electric shock or abnormal operation may occur.  Prior to cleaning or tightening the terminal screws, let all the external power off including PLC power. If not, electric shock or abnormal operation may occur.
  • Page 7 Safety Instruction...
  • Page 8 Revision History Revision History Version Date Remark Revised Page V 1.0 ’05.03 First Edition V 1.1 ’06.05 Word revised and detailed description added V 1.2 ’08.06 PID monitor added CH.11 V1.3 ’09.09 1. XG5000 installation modified 1-4~1-6 2. Option modified 2-24~2-36 3.
  • Page 9 1. Add race monitor XBMS maximum value CH11 V2.3 ’18.02 1. Data memory function added CH3.4.6 2. Find and replace function improved V2.4 ’19.05 1. Program block password function added CH3.7 V 2.5 ’20.05 LSIS to change its corporate name to LS ELECTRIC Entire...
  • Page 10 About User's Manual Thank you for purchasing PLC of LS ELECTRIC 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.
  • Page 11 About User's Manual...
  • Page 12: Table Of Contents

    Table of Contents ◎ Table of Contents ◎ Chapter 1 Introduction .................... 1-1~1-21 1.1 Features of XG5000 ...................... 1-1 1.2 System Requirements for XG5000.................. 1-3 1.3 Installation of XG5000..................... 1-4 1.4 Installation of USB Device Driver ................. 1-10 1.5 Confirmation of Installed USB Device Driver..............1-14 Chapter 2 Basic Application .................
  • Page 13 Table of Contents 2.6.7 LD Font/Color option ..................... 2-32 2.6.8 SFC option ......................2-33 2.6.9 SFC Font/Color ..................... 2-34 2.6.10 ST option ......................2-35 2.6.11 ST Font/Color ...................... 2-36 Chapter 3 Variable/Comment ................3-1~3-40 3.1 Project Configuration ......................3-1 3.2 Project File Management ....................3-3 3.2.1 New Project ......................
  • Page 14 Table of Contents 3.8.2 Deletion of network ....................3-69 3.8.3 Deletion of communication module ............... 3-70 3.8.4 Deletion of P2P ..................... 3-71 3.8.5 Setup of high-speed link ..................3-75 Chapter 4 Variable/Comment ................4-1~4-38 4.1 Variable/Comment ......................4-1 4.1.1 View variable ......................4-1 4.1.2 View device ......................
  • Page 15 Table of Contents Chapter 5 LD Edit ....................... 5-1~5-44 5.1 Limits ..........................5-1 5.2 Program Edit ......................... 5-1 5.2.1 Edit Tools ......................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-6 5.2.5 Input Line ......................
  • Page 16 Table of Contents Chapter 6 IL Edit ......................6-1~6-28 6.1 Screen Configuration ......................6-1 6.1.1 IL Window ........................ 6-1 6.1.2 Instruction Input Window ..................6-2 6.1.3 Limits ........................6-2 6.2 Program Edit ........................6-3 6.2.1 Overwrite /Insert mode .................... 6-3 6.2.2 Input Instruction .......................
  • Page 17 Table of Contents 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-17 Chapter 8 Find/Replace ....................
  • Page 18 Table of Contents 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-16 10.5 Change Mode ......................10-17 10.6 Compare to PLC ......................
  • Page 19 Table of Contents 11.1.1 Start/Stop Monitoring ..................11-1 11.1.2 Change Current Value ..................11-1 11.1.3 Pause Monitoring ....................11-3 11.2 LD Program Monitoring ....................11-6 11.3 Variable Monitoring ....................... 11-9 11.3.1 Register Monitoring ................... 11-10 11.3.2 View ........................11-16 11.3.3 Operation of Monitoring ..................11-19 11.3.4 Find ........................
  • Page 20 Table of Contents 11.5.9 Write to PLC ...................... 11-57 11.5.10 Read from PLC ....................11-58 11.5.11 Write Selected Area on PLC ................11-59 11.5.12 Start/Stop Monitoring ..................11-60 11.5.13 Change current Value ..................11-61 11.5.14 PLC Type Settings ................... 11-62 11.5.15 Screen Zoom-In/Zoom-Out ................
  • Page 21 Table of Contents 11.9.13 Change current value during monitoring ............11-108 11.9.14 Graph ......................11-109 11.9.15 Graph related function ................... 11-109 11.9.16 Edit function ....................11-111 Chapter 12 Debugging ..................12-1~12-18 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 ....................
  • Page 22 Table of Contents 14.2.2 Preview ......................14-9 Chapter 15 Print ......................14-1~14-9 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-5 14.2 LD Program Print ....................14-8 14.2.1 Print Setting ....................
  • Page 23 Table of Contents 16.2.2 Entering Step/Transition ....................16-2 16.2.3 Entering Action ......................16-3 16.2.4 Entering Block/Transition .................... 16-4 16.2.5 Entering Label ......................16-5 16.2.6 Entering Jump ......................16-6 16.2.7 Entering Left Branch..................... 16-7 16.2.8 Entering Right Branch ....................16-9 16.2.9 Step Register Information Edit ................... 16-12 16.2.10 Transition Register Information Edit .................
  • Page 24 Table of Contents 17.3.4 Select/Add Variable ...................... 17-7 17.3.5 Insert Application Command ..................17-11 17.4 View 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.4 Tap ..........................17-15 17.4.5 View Line Number ...................... 17-16 17.5 Additional Edition Function ....................
  • Page 25 Table of Contents Chapter 19 User Function / Function Block........19-1~19-17 19.1 Create User Function/Function Block..................19-1 19.1.1 Create auto-allocation project ..................19-1 19.1.2 Create User Function/Function Block Program ............19-1 19.1.3 Create User Function/Function Block I/O Variable ............19-6 19.1.4 User Function/Function Block Programming ............... 19-8 19.2 Use User Function/Function Block ..................
  • Page 26: Chapter 1 Introduction

    Chapter 1. Introduction 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.
  • Page 27 Chapter 1. Introduction 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 allowed to specific position with Bookmark function. - Memory of selected device can be referred when editing LD.
  • Page 28: System Requirements For Xg5000

    Chapter 1. Introduction 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 500MB area Mouse connectable to PC Monitor 1024 X 768 or more resolution Window...
  • Page 29: Installation Of Xg5000

    Chapter 1. Introduction 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.
  • Page 30 Chapter 1. Introduction Note Special package can’t be executed normally Phenomenon 1) Though you press “Installation” button , installation is not executed and same window appears Phenomenon 2) When you press “Installation” button, the following window appears Estimated reason) First, In order to install the special package, administrator right is needed. Si if you try with account that is not having administrator right, it may not be installed.
  • Page 31 Chapter 1. Introduction 4.Installation Wizard will prepare for installation as below. 5.Enter your name and company name and then click [Next] button.
  • Page 32 Chapter 1. Introduction 6. Select a folder to install XG5000 into. If you want to change the folder, click Browse… button and make or select a new folder. XG5000 needs about 30M Bytes of installation space in hard disk, which will ask you to select a disk with enough capacity. If the installation space is not enough, a warning message will be displayed to make the following progress unavailable.
  • Page 33 Chapter 1. Introduction 8. Check installation folder and click [Next] button. 9. Installation will be started as shown below. 10. In case PC is being connected with PLC through USB, at the final stage of installation, USB device driver installation window appears. Press “Continue” to install the USB device driver.
  • Page 34 Chapter 1. Introduction 11.Wait a second for the installation to be complete.
  • Page 35: Installation Of Usb Device Driver

    Chapter 1. Introduction 1.4 Installation of USB Device Driver If XG5000 has been installed on Windows XP for the first time, USB device driver shall be additionally installed. Although USB connection is not available, USB device driver shall be also installed as described below.
  • Page 36 Chapter 1. Introduction 3. Among the selection options in Found New Hardware Wizard Dialog Box, select “Installation from a list or specific location (Advanced)” and click [Next] to continue. 4. Among driver searching options, select “Search for the best driver in these locations” and check “Include this location in the search”.
  • Page 37 Chapter 1. Introduction 5. Click [Browse] button. On Browse Folder Dialog Box, select Drivers’ folder where XG5000 is installed. 6. Click [OK] button. Now computer will search for the driver files in the selected folder. 1-12...
  • Page 38 Chapter 1. Introduction 7. If the computer found the most suitable device driver, you will be asked to decide to install the selected device driver. Since USB device driver operated stably based on Windows OS, you may click [Continue Anyway] button. 8.
  • Page 39: Confirmation Of Installed Usb Device Driver

    Chapter 1. Introduction 1.5 Confirmation of Installed USB Device Driver If USB connection is not available, check the installation status of the device driver as follows. [Steps] 1. Click the right button of the mouse with the cursor on [My Computer] icon on the background screen, and select [Manage] on the menu.
  • Page 40 Chapter 1. Introduction 2) Abnormal Case The device driver has not been installed successfully, if the following figure is displayed. 1-15...
  • Page 41 Chapter 1. Introduction If the USB driver for XGT PLC is not installed successfully, reinstall the USB driver for XGT PLC in the following steps [Steps] 1. On the device driver with the icon with an exclamation mark, click the right button of the mouse. Select [Update Driver] on the menu.
  • Page 42 Chapter 1. Introduction 2. Found New Hardware Wizard Dialog Box will appear. Select the option “Installation from a list or specific location (Advanced)” and click [Next]. The next sequence is manually the same as in Installation of Device Driver. If the USB driver for XGT PLC is not installed successfully, reinstall the USB driver for XGT PLC in the following steps.
  • Page 43 Chapter 1. Introduction 2. On search and installation options, select [Don’t Search. I will choose the driver to install.] and click [Next]. 3. Click [Have Disk…] on the Dialog Box below. 1-18...
  • Page 44 Chapter 1. Introduction 4. If Installation Dialog Box is displayed on the disk, click [Browse] button. 5. From the Browse File Dialog Box, move to the folder XG5000 is installed in. Select drivers folder to display GmUSBD.inf file. With this file selected, click [Open] button. 1-19...
  • Page 45 Chapter 1. Introduction 6. On the location item of manufacturer’s file to copy, a directory with the file of the device driver will be displayed. Click [OK] button. 7. On the compatible H/W display list of the device driver Select Dialog Box, select “LSIS XGSeries” driver and then click [Next] button.
  • Page 46 Chapter 1. Introduction 8. Hardware Installation Dialog Box will appear. Click [Continue Anyway] to go on with the installation. 9. Found New Hardware Wizard Complete Dialog Box will appear. Click [Finish] button to end the installation of the driver. 1-21...
  • Page 47 Chapter 1. Introduction 1-22...
  • Page 48: Chapter 2 Basic Application

    Chapter 2. Basic Application Chapter 2 Basic Application 2.1 Screen Configuration XG5000 screen is composed as shown below. [Screen of XG5000] [Description of screen component] a. Menu bar: It is the basic menu bar for the XG5000 software. b. Tool bar: used to execute the instruction which contained in the menu conveniently. c.
  • Page 49: Menu Configuration

    Chapter 2. Basic Application 2.1.1 Menu Configuration If the menu is selected, application instructions will be appeared and an instruction will be executed when an instruction is selected by clicking mouse button or pressing shortcut key. If the shortcut key for the menu (Ctrl + X, Ctrl + C) is available, press the shortcut key directly to select the instruction.
  • Page 50 Chapter 2. Basic Application Item Variable/Comment Imports the variable/comment from the separated comment file. from Program Imports the program from a separated program file. File I/O parameter Imports the I/O parameter from a separated I/O parameter file. Basic parameter Imports the basic parameter from a separated basic parameter file. Export to File Saves the selected items included opened project as separated file.
  • Page 51 Chapter 2. Basic Application Instruction Description Remove All Cancels all the bookmarks specified. Previous Moves to the previous bookmark. Bookmark Next Moves to the next bookmark. Bookmark Edit Tools Edit Tools for each program are available. 3) Variable edit Instruction Description Add EXTERNAL variable Registers the variables declared as global variables to the local variables.
  • Page 52 Chapter 2. Basic Application 5) View Instruction Description Converts to IL View during LD Edit. Converts to LD View during IL Edit. Project Window Shows or hides the project window. P2P window Shows or hides the P2P view window. high-speed link window Shows or hides the high-speed link view window.
  • Page 53 Chapter 2. Basic Application Instruction Description Connect/Disconnect Connects or disconnects with PLC. Connect Settings Specifies the connection method. Change Mode Changes PLC mode. Stop Debug Read Reads parameter/program/comment from PLC. Write Writes parameter/program/comment on PLC. Compare with PLC Compares the project to the project saved in PLC Set Flash Memory Shows the window for setting up the flash memory.
  • Page 54 Chapter 2. Basic Application 7) Monitor Instruction Description Start/Stop Monitoring Starts or stops the monitor. Pause Temporarily stops the monitor. Resume Restarts the monitor temporarily stopped. Pausing Conditions Specifies conditions for the monitor temporary stop. Change Current Value Specifies the device value being monitored. System Monitoring Execute the system monitor.
  • Page 55 Opens Help for XGK/XGB PLC instructions. XGI Instruction Help Opens Help for XGI instructions. LS ELECTRIS Web Site Connects to LS ELECTRIC Home Page via the Internet. About XG5000 Displays XG5000 information. Notes - If you have a problem for opening Help, change the value of resister like below.
  • Page 56: Tool Box

    Chapter 2. Basic Application 2.1.2 Tool Box XG5000 provides the shortcut icons for frequently used menus. Click a tool desired to execute. [Tool Box] 1) New Tool Box It is used to create a new tool box containing frequently used tools. [Dialog Box] Items Descriptions...
  • Page 57 Chapter 2. Basic Application [Steps] 1. Select the menu [Tool]-[User Definition] 2. Click [New] button. 3. If the dialog box for entering toolbar name shows up, enter the toolbar name. 4. Press ‘OK’ button. At this time, the empty toolbox is created and the new toolbar ‘TEST’ will be added to the toolbar list.
  • Page 58 Chapter 2. Basic Application Items Descriptions Categories(a) Provides the menu list. Provides the command list belonging to one menu. Command(b) User Toolbar(c) If you the desired command on a user toolbar, the toll will be added. The following procedure is to explain how to fill the toolbar created from 1) with commands [Steps] 1.
  • Page 59 Chapter 2. Basic Application 2.2 Shortcut Setting [Dialog Box] Items Descriptions Selects the menu to set up shortcut key in the category list. Category(a) Current(b) Displays the currently allocated key. Press New Shortcut(c) Inputs new shortcut keys. Assign(d) Allocates newly shortcut keys entered for the selected menu. Remove(e) Deletes the current shortcut key.
  • Page 60 Chapter 2. Basic Application 1. Select the menu keyboard tab of [Tool]-[user definition]. 2. Select the category to set up shortcut key from the menu selection list. a. Enter the shortcut keys to be set. For example, if you want to use Ctrl + H, hold down Ctrl on your keyboard and press H.
  • Page 61 Chapter 2. Basic Application 2.3 Setup of Toolbox Options You can select options for the menu or toolbox. [Dialog Box] Items Descriptions Show ScreenTips Displays tool-tips when the mouse pointer stays on the toolbar. toolbars(a) Show shortcut keys Displays the shortcut key when the mouse pointer stays on the ScreenTips (b) toolbar.
  • Page 62: Status Display Line

    Chapter 2. Basic Application [Example of showing shortcut key on tool-tip] If you put the mouse on the tool executing ‘Undo’, you can see the tool tip, ‘Undo(Ctrl+Z)’ will pop up. [Example of Large icon] 2.3.1 Status Display Line [Dialog Box] [Description of Dialog Box] Configuration: Displays the names of active configurations.
  • Page 63 Chapter 2. Basic Application The below Fig. indicates the guide line of the docking position that is shown when moving the tool window. If you move the tool window once as below, the docking guide will be shown up in the screen. You can easily dock it by putting the window to inside of the docking guide.
  • Page 64 Chapter 2. Basic Application 2) Changing into floating window Click the targeted docking window title with the right mouse button or press the lower arrow-shaped button to select the [Floating Window] menu. 3) Auto-Hide Mode Click the targeted docking window title with the right mouse button to select the menu [Auto-Hide] or if you press the tack-shaped button in the docking window as below for ‘Hide’...
  • Page 65: Application Of Dialog Box

    Chapter 2. Basic Application 2.3.3 Application of Dialog Box Dialog Box provides blanks for Input, OK, Options and List Box where the user can input or specify the value as desired. [Dialog Box] [Description of Dialog Box] a. Input: used to input desired string by means of keys. b.
  • Page 66: Open/Close Project

    Chapter 2. Basic Application 2.4 Open/Close Project 2.4.1 Open Project [Steps] 1.Select [Project]-[Open Project] on the menu. 2.Select [Project File] and then click [Open]. Notes - The integrated project file’s extension is“.xgwx”. - The PLC programming project file’s extension is“.xgpx”. - The network setup project file’s extension is“.xfgx”.
  • Page 67: Convenient Edit Functions

    Chapter 2. Basic Application 2.5 Convenient Edit Functions These functions are available in LD, IL, Variable/Comment, Variable Monitor and Project Window. Variable/Comment and Excel can share the edited details with each other. 2.5.1 Cut-Paste It is used to select blocks to move to other places. [Steps] 1.
  • Page 68: Copy - Paste

    Chapter 2. Basic Application 2.5.2 Copy – Paste [Copy] - [Paste] menu is used to create one more data identical to the data of the selected area. At this time, if the variable name should not be duplicated as described in Variable/Comment, an applicable warning message will appear.
  • Page 69 Chapter 2. Basic Application 2-22...
  • Page 70: Drag And Drop

    Chapter 2. Basic Application 2.5.3 Drag and Drop [Drag and Drop] is applied as based on [Cut]-[Paste] and [Copy]-[Paste] under the given conditions. In other words, if [Drag and Drop] is used on the identical area of LD or IL edit window, it will work as [Cut]- [Paste].
  • Page 71 Chapter 2. Basic Application The figure above shows the [Drag and Drop] result of the area selected between two instances. Notes 2-24...
  • Page 72 Chapter 2. Basic Application -- Cut, Copy and Paste are also available through the mouse context menu of the edit window. - Copy and Paste in Variable/Comment or LD/IL Edit needs to be surely confirmed by the user even if the program inspects its duplication.
  • Page 73: Edit Window Zoom-In, Zoom-Out

    Chapter 2. Basic Application 2.6 Edit Window Zoom In, Zoom Out This function is used to magnify or reduce the Edit Window in a specific rate. The applicable magnification rate changes by minimum 5% within the range of 50% ~ 200%. [Steps] 1.
  • Page 74 Chapter 2. Basic Application 2-27...
  • Page 75: Options

    Chapter 2. Basic Application 2.7 Options 2.7.1 Option configuration Option of XG5000 is as follows.. [Dialog Box] [Description of Dialog Box] a. Category: XG5000 options applied to entire program and operations applied according to language are classified as tree type b.
  • Page 76 Chapter 2. Basic Application Specify items related with project. [Steps] 1. Select [Tools]-[Options] 2. Select XG5000 in option dialog box [Dialog box] [Description of dialog box] a. Default folder for new projects: default folder location when making new project b. Select Folder: Search folder c.
  • Page 77: Xg5000 Common Editor

    Chapter 2. Basic Application 2.7.3 XG5000 Common Editor [Steps] 1. Select menu [Tools]-[Options] 2. Select option after select [Common Editor] in XG5000 category [Description of dialog box] [Description of dialog box] 2-30...
  • Page 78: Xg5000 Color Options

    Chapter 2. Basic Application a. Output cross reference instantly: for device used in LD, displays memory reference contents automatically. When this option is not selected, you can check the result of memory use by selection [View]-[Cross Reference] b. Check duplicate coil instantly: check duplicate coil and display at duplicate coil window during editing c.
  • Page 79 Chapter 2. Basic Application [Dialog Box] [Description of Dialog Box] a. Items: Used to select the area to specify its font or color. b. Font: activated when item is Variable/Comment, specifies font of Variable/Comment c. Color: activated when item is not Variable/Comment, specifies color d.
  • Page 80: Online Options

    Chapter 2. Basic Application 2.7.5 Online Options Online related options can be specified. [Steps] 1.Select [Tools]-[Option] on the menu. 2.Select the Online tap on the Option Dialog Box. [Dialog Box] [Description of Dialog Box] a. Monitoring: used to specify the display format of the data value. Example) If Hexadecimal is selected on the Monitor Display Format, the variable values when monitored will be displayed in hexadecimal 2-33...
  • Page 81 Chapter 2. Basic Application Monitor Display Format Example) Application Instruction ADD Unsigned Decimal Signed Decimal Hexadecimal As instruction b. View connection setting when connecting: used to display the specified details of the connection with PLC automatically when connected. If the option [View connection settings when connecting] is selected, the following Dialog Box will appear whenever PLC is connected with.
  • Page 82 Chapter 2. Basic Application When changing from Run mode to Stop mode, the following message shows 2-35...
  • Page 83: Ld Option

    Chapter 2. Basic Application 2.7.6 LD option You can change text and column width of LD editor [Steps] 1. Select [Tools]-[Option] on the menu. 2. After selecting LD category, specify the item for changing [Dialog box] [Description of dialog box] a.
  • Page 84: Ld Font/Color Option

    Chapter 2. Basic Application 2.7.7 LD Font/Color option You can change Font/Color used in LD editor [Steps] 1. Select [Tools]-[Option] 2. After selecting [Font/Color] in LD category, specifies font/color [Dialog box] [Description of dialog box] a. Items: Used to select the area to specify its font or color. b.
  • Page 85: Sfc Option

    Chapter 2. Basic Application 2.7.8 SFC option Options used when editing SFC program [Steps] 3.1. Select [Tools]-[Option] 4.2. Select SFC category [Dialog box] [Description of dialog box] 2-38...
  • Page 86 Chapter 2. Basic Application a. Show comment: shows comment of step, transition, action and block b. Show print area: shows print-able area with the thick dotted line c. Show page number: shows page number in print-able area d. Step column width: specifies column width of step, transition e.
  • Page 87: Sfc Font/Color

    Chapter 2. Basic Application 2.7.9 SFC Font/Color You can change font/color used in SFC editor [Steps] 1. Select [Tools]-[Option] 2. After changing [Font/Color] in SFC category, specified font/color [Dialog box] [Description of dialog box] a. Items: Used to select the area to specify its font or color. b.
  • Page 88: St Option

    Chapter 2. Basic Application 2.7.10 ST option Options used in editing ST program. [Steps] 1. Select [Tools]-[Option]. 2. Select ST category [Dialog box] 2-41...
  • Page 89 Chapter 2. Basic Application [Description of dialog box] a. Parameter information: exclusive of XGK CPU b. Auto list members: When inputting character with keyboard, shows instruction and variable starting with inputted character c. Auto macro statement: When inputting control statement such as IF, WHILE, SWITCH and pressing Enter key, complete the statement according to ST grammar d.
  • Page 90: St Font/Color

    Chapter 2. Basic Application 2.7.11 ST Font/Color You can change Font/Color used in ST Editor. [Steps] 1. Select [Tools]-[Option] 2. after selecting [Font/Color] in ST category, specifies font/color. [Dialog box] [Description of dialog box] a. Items: Used to select the area to specify its font or color. b.
  • Page 91 Chapter 2. Basic Application 2-44...
  • Page 92: Project Configuration

    Chapter 3. Project Chapter 3. Project 3.1 Project Configuration The items of the project configuration are follows. [Dialog Box]...
  • Page 93 Chapter 3. Project [Description of Dialog Box] a. Project: Defines the whole system. One project can include several related PLCs. b.Network configuration: Defines the networks belonging to the project. c.Added network: Can add the networks of various types. d.Communication module: Indicates the communication module belonging to the networks. e.System variable: Indicates the variables shared among PLCs through the network.
  • Page 94: Project File Management

    Chapter 3. Project 3.2 Project File Management 3.2.1 New Project It is used to create a new project. At this moment, a folder whose name is identical to the project name will be also created, where the project file will be created. [Steps] 1.
  • Page 95 Chapter 3. Project [Description of Dialog Box] a. Project name: used to input the desired project name, which will be the name of the project file. The extension of the project file will be “.xgwx”. b. File directory: a folder whose name is identical to the project name as specified by the user will be created and there the project file will be created.
  • Page 96 Chapter 3. Project Product Table classified by PLC Series PLC Series Name PLC Series Name XGK-CPUE XGK-CPUE XBC-DN32UA XGK-CPUS XGK-CPUS XBC-DR28U XGB-XBCU XGK-CPUA XGK-CPUA XBC-DR28UP XGK-CPUH XGK-CPUH XBC-DR28UA XGK-CPUU XGK-CPUU XBC-DR30SU XGK-CPUSN XGK-CPUSN XBC-DN30S(U) XGK-CPUHN XGK-CPUHN XBC-DP30SU XGK-CPUUN XGK-CPUUN XBC-DR20SU XGI-CPUE XGI-CPUE XBC-DN20S(U)
  • Page 97 Chapter 3. Project PLC Series Name XEC-DR32H XEC-DR64H XGB-XECH XEC-DR32H/D1 XEC-DR64H/D1 XEC-DN20SU XEC-DN30SU XEC-DN40SU XEC-DN60SU XGB-XECS XEC-DR20SU XEC-DR30SU XEC-DR40SU XEC-DR60SU XEC-DN10E XEC-DN14E XEC-DN20E XEC-DN30E XGB(IEC) XEC-DP10E XEC-DP14E XGB-XECE XEC-DP20E XEC-DP30E XEC-DR10E XEC-DR14E XEC-DR20E XEC-DR30E XEC-DN32U XEC-DN32UP XEC-DN32UA XGB-XECU XEC-DR28A XEC-DR28UP XEC-DR28UA XGB-XEMH2 XEM-DN32H2...
  • Page 98: Open Project

    Chapter 3. Project 3.2.2 Open Project [Steps] 1. Select [Project]-[Open Project] on the menu. [Dialog Box] 2. If Project File is selected, user defined comment will appear on the comment which will help the user to select the project. If project file selected Click [Open]. 3.2.3 Open from PLC It is used to read the project stored in PLC to make a new project.
  • Page 99: Save Project

    Chapter 3. Project [Dialog Box] 2. Select the object to connect to on the [Online Settings] and click [OK]. Refer to Connect Options in On -line for details on connection settings. 3. A new project will be created. Notes - The project read from PLC will be saved in PC through the menu [Project]-[Save Project]. Notes - Select [Online]-[Read] to read the items of PLC and import to the presently Open Project.
  • Page 100: Save As

    Chapter 3. Project Notes - If items of project is changed and needed to be saved, “*” will be displayed at the side of the project name of the project window. 3.2.5 Save as It is used to save the project as a different file name. [Steps] 1.
  • Page 101 Chapter 3. Project [Description of Dialog Box] a. File name: used to input the desired project name, which will be the name of the project file. The extension of the project file will be “.xgp”. b. File directory: a folder whose name is identical to the project name as specified by the user will be automatically created, where the project file will be created.
  • Page 102 Chapter 3. Project Note - To read the selected items from the PLC normally, the following conditions should be met. The PLC items in the project should be all Write-Enable. It must be matched with the connected PLC model. - In the event the information of the selected PLC items is not matched, you can reconfigure the PLC in the following manner.
  • Page 103: Open Kglwin File

    Chapter 3. Project 3.3 Open KGLWIN File 3.3.1 Open KGLWIN file It is used to read KGLWIN project file in XG5000 to convert to XG5000 project. The list of the project convertible items are as follows. - Program (LD, IL) - Variable/Comment - Rung/Output comment - Basic Parameters...
  • Page 104: Kglwin Project Conversion Rules

    Chapter 3. Project 3. Click Open to display the New Project Dialog Box. 4. Input Project name, PLC type, etc. and then click [OK]. Then XG5000 will convert KGLWIN file into XG5000 project. If any error occurs while the file is converted, it will be displayed on the result window. Refer to the next chapter for details on errors.
  • Page 105 Chapter 3. Project Device/Memory Area KGLWIN Project and XG5000 Project are different from each other in device type and memory area. Since XG5000 can use all the devices KGLWIN uses, and its memory area larger than that of KGLWIN, it brings the exact details of KGLWIN when converted.
  • Page 106 Chapter 3. Project Notes - If any error occurs on LD logic, LD logic may not be converted exactly. Let the error all cleared if possible and then start to convert. Application instructions used in Master-K series PLC are somewhat different from those used in XG5000. Some exceptions generated when converting Application instructions of other programs are as follows.
  • Page 107 Chapter 3. Project Instructions with changed LD display The display format of CTU, CTD and CTR has been changed among counter instructions. The instruction displayed in 2-line block in KGLWIN will be displayed as divided in 1 line. Reset signal must be created with M area’s remnant addresses. Information on M area memory used will be displayed on the result window of XG5000..
  • Page 108 Chapter 3. Project Instructions with changed LD display series The SR instructions will be displayed with 4 separate lines. At this moment also, Two output coils must be created with M area’s remnant addresses which will be used for input and direction signals.
  • Page 109 Chapter 3. Project Instructions with changed LD display series CALL and SBRT also use the String factor like JMP and LABEL, and the conversion results are also identical. Instructions MK series unavailable FILR FILW series The instructions are not available in XG5000. So, These instructions will be displayed in ERR block as shown above with the Changed Information “Error”...
  • Page 110 Chapter 3. Project The instructions listed in the table below will be changed to other instructions. Because the basic data type of operands are changed from unsigned integer to signed integer. U which located the last of instructions means unsigned integer and S means signed integer. The message “Changed Information: Instruction Name Changed”...
  • Page 111 Chapter 3. Project Instructions with the name changed MK series series MULSP MULP MULU MULP MULUP D NOT OUTN OUTP SUBU SUBP SUBUP The instructions listed in the table below will be deleted when KGLWIN project is converted to XG5000 project.
  • Page 112 WRITEP Change Flag Information The flags used in MK series and XGT series have been changed partially. Accordingly the changed flags will be automatically converted to the flags identically operated. Refer to CPU manual for details on the changed flags.
  • Page 113: Confirm Converted File

    Chapter 3. Project 3.3.3 Confirm converted file The conversion result is displayed on the result window as shown below along with the step number in the original project file and the step number in the converted XG5000 file for the user to double-click the mouse on the list of the result window to go to the applicable location.
  • Page 114 Chapter 3. Project Instruction Deleted Once used in KGLWIN but deleted from XG5000. Displayed as ERR instruction in LD. Step number for KGLWIN and XG5000 is displayed to make easy to find the location applicable to each message. Select [Find/Replace]-[Go To]-[Step] on the menu to confirm the details. Notes After the Project conversion, surely confirm or change the following items.
  • Page 115: Project Item

    Chapter 3. Project 3.4 Project Item (PLC, Task, Program) 3.4.1 Add item (PLC, Task, Program) PLC, task and program can be inserted into the project additionally. Add PLC [Steps] 1. On the project window, select the Project Item. 2. Select [Project]-[Add Item]-[PLC] on the menu. 3-24...
  • Page 116 Chapter 3. Project 3. Input PLC name, PLC type and PLC Description, and then click [OK] to create a new PLC a shown below. Notes - PLC is kind of a project as in previous KGLWIN. XG5000 allows the user to specify the project as a unit of PLC and include several projects (PLC) in one project to manage conveniently.
  • Page 117 Chapter 3. Project [Steps] 1. On the project window, select the PLC Item. 2. Select [Project]-[Add Item]-[Task] on the menu. 3-26...
  • Page 118 Chapter 3. Project [Dialog Box] 3-27...
  • Page 119 Chapter 3. Project [Description of Dialog Box] a. Task name: used to input a desired task name. Korean, English and figures can be used except for special characters. b. Priority: used to specify the priority of the tasks. The less the figure is, the higher the priority is. c.
  • Page 120 Chapter 3. Project 3. Input Task name, Priority, Task Number and Execution Condition, and then click [OK] to create a new Task as shown below. Add Program [Steps] 1. On the project window, select the Program Location to add. The program can be added to Scan Program or Task Item. 3-29...
  • Page 121 Chapter 3. Project 2. Select [Project]-[Add Item]-[Program] on the menu. 3. Input Program name and Program Description, and then click [OK]. 3-30...
  • Page 122 Chapter 3. Project 4) Add Function Function can be added only if XGK series support auto-allocation. [Steps] 1. Select the position of the function blocks to be added in the project window. 2. Select the menu [Project]-[Add Items]-[Function]. 3-31...
  • Page 123 Chapter 3. Project 3. After inputting name, language, use of EN/ENO, return data type, the number of width columns, comment, then, press OK button. 5) Add Function Block Function block can be added only if XGK series support auto-allocation. [Steps] 1.
  • Page 124 Chapter 3. Project 2. Select the menu [Project]-[Add Items]-[Function Block]. 3. After inputting name, language, use of EN/ENO, return data type, the number of width columns, comment, then, press OK button. 3-33...
  • Page 125: Import Item From File

    Chapter 3. Project 3.4.2 Import item from file The following items can be saved as separate item files and replaced by saved item file. Item File Extension Variable/Comment I/O Parameter Basic Parameter Program Import function is inserting project items such as PLC, program and parameters from saved item files. When import function for an item is executed, the item of currently opened project will be replaced by imported item file.
  • Page 126 Chapter 3. Project 2. Select [Project]-[Import Item from File]-[PLC] on the menu. 3. Select the file, and then click [OK]. Variable/Comment [Steps] 1. On the project window, select the PLC Item. 2. Select [Project] – [Import Item from File]-[Variable/Comment] on the menu. 3.
  • Page 127 Chapter 3. Project 1. On the project window, select the PLC Item. 2. Select [Project]-[Import Item from File]-[I/O Parameter] on the menu. 3. Select the file, and then click [OK]. Basic Parameter [Steps] 1. On the project window, select the PLC Item. 2.
  • Page 128: Export To File

    Chapter 3. Project Program [Steps] 1. On the project window, select the Program Location to add. The program can be added to Scan Program or Task Item. 2. Select [Project]-[Import Item from File]-[Program] on the menu. 3. Select the file, and then click [OK]. 3.4.3 Export to file The following items can be saved as separate item files.
  • Page 129 Chapter 3. Project 1. On the project window, select the PLC Item. 2. Select [Project] – [Export to File]-[PLC] on the menu. 3. Input the file name, and then click [OK]. Variable/Comment [Steps] 1. On the project window, select the Variable/Comment Item. 2.
  • Page 130: Item Register Information

    Chapter 3. Project Program [Steps] 1. On the project window, select the Program Item. 2. Select [Project] - [Export to File] - [Program] on the menu. 3. Input the file name, and then click [OK]. Notes - Items can be easily copied or moved between the projects with Drag and Drop function. - Especially, drag and drop function is available between projects, when two XG5000 are executed.
  • Page 131 Chapter 3. Project 2. Select [View] - [Properties] on the menu. [Dialog Box] [Description of Dialog Box] a. Project name: displays the project name, which can be changed as necessary. b. Project description: displays the project description, which can be changed as necessary. c.
  • Page 132: Change Program Sequence

    Chapter 3. Project Task Properties [Steps] 1. On the project window, select the Task Item. 2. Select [View] - [Properties] on the menu. 3. After the change, click [OK]. Program Register Information [Steps] 1. On the project window, select the Program Item. 2.
  • Page 133 Chapter 3. Project the retain (XGK latch) is not set. (Except W and ZR) Note Depending on the type of PLC, the type of memory supported may be different. Refer to the help of the selected PLC for the type and characteristics of the PLC memory. 1) Adding memory The ability to add items to memory while offline.
  • Page 134 Chapter 3. Project a. Memory - Displays the memory area that can be added to the current PLC item. Memory areas already added to the project are not displayed. b. OK - Adds the selected memory area and closes the dialog box. c.
  • Page 135 Chapter 3. Project 3. In the confirmation message box, click the [Yes] button. 3) Edit memory Edit the memory entries added to the project. [Steps] 1. Double-click the memory area you want to edit in the project tree. 2. Move to the memory location to change and change the value. The memory editing function is the same as the device monitoring function of the XG5000.
  • Page 136 Chapter 3. Project The current value can be changed in the same way as online. The changed value is monitored. However, unlike actual PLC, logic is not executed. 5) Reading memory This function reads the PLC data memory. When reading, all data memory areas of the PLC can be read. [Steps] 1.
  • Page 137 Chapter 3. Project [Dialog Box] a. Memory area - Displays the memory area selectable in the current PLC. b. Select All - Selects all memory items. c. Reset All - cancels the selection. d. OK - Save your changes and close the dialog box. e.
  • Page 138 Chapter 3. Project Note When the memory is read, the data is read across multiple scans. Therefore, in the case of data that changes quickly, the data may be inconsistent. Information about the selected data memory is not stored in the PLC. Therefore, when opening from the PLC, the data memory area that was previously written is not read.
  • Page 139 Chapter 3. Project 6) Memory write The data memory set in the project is written to the PLC. The data memory is writable regardless of the run or stop mode. [Steps] a. Select the menu [Online] - [Write]. b. In the Write dialog box, select [Data memory], and then click the [Setting] button. 3-48...
  • Page 140 Chapter 3. Project [Dialog Box] a. Memory area - The memory area that can be written in the current PLC is displayed. b. Select All - Selects all memory items. c. Reset All - cancels the selection. d. OK - Save your changes and close the dialog box. e.
  • Page 141: Compare Project

    Chapter 3. Project 3.5 Compare Project Two projects can be compared with each other based on respective item. Compare result will be displayed on the Result window. [Steps] 1. Select [Project]-[Compare Projects] on the menu. 2. On the [Compare Projects], Click [Open Project]. 3.
  • Page 142 Chapter 3. Project 4. Select the items to compare with. At this moment, the selected items of both projects must be identical. 3-51...
  • Page 143 Chapter 3. Project 5. Click [Compare]. 6. Compare result will be displayed on the Result window. 3-52...
  • Page 144: Project Password

    Chapter 3. Project 3.6 Project Password Password for project file can be setup. This function prevents other users from opening the project file . This project file password has nothing to do with the password of PLC. Notes - Password is available in Korean and English, however with the capital/small letters sorted out in English. Up to 8 characters of password is available.
  • Page 145: Change Password

    Chapter 3. Project 2. Select [View] - [Properties] on the menu. 3. On the project dialog box, select the [Password] tap. 4. Input the password in New password. 5. Input the password once again in Confirm password as identical as input in the 4 above. 6.
  • Page 146 Chapter 3. Project 1. On the project window, select the Project Item. 2. Select [View]-[Properties] on the menu. 3. On the project [Dialog Box], select the [Password] tap. 3-55...
  • Page 147: Delete Password

    Chapter 3. Project 4. Input the previous password in Old Password. 5. Input a new password in New password. 6. Input the new password once again in Confirm Password as identical as input in the 5 above. 7. Click [OK]. 3.6.3 Delete password [Steps] 1.
  • Page 148 Chapter 3. Project 2. Select [View] - [Properties] on the menu. 3. On the project dialog box, select the [Password] tap. 4. Input the previous password in Old Password. 5. Click [Cancel]. 3-57...
  • Page 149: Program Block Password

    Chapter 3. Project 3.7 Program block password To set the password for each program block, set the password for each program block and enter the password to open the program. Note -The program block password can be set in the PLC disconnect status. -Password characters are Korean / English and case sensitive.
  • Page 150: Change Password

    Chapter 3. Project 4.Enter your password in the new password. 5.Re-enter the password you entered in step 4. to confirm your password. 6.Press the OK button. 3.7.2 Change password [Steps] 1.Select the program item in the project window. 3-59...
  • Page 151 Chapter 3. Project 2.Select [View] - [Properties] on the menu. 3.In the program dialog, select the Password tab. 3-60...
  • Page 152: Delete Password

    Chapter 3. Project 4.Enter the old password in the Previous Password. 5.Enter the new password in the New Password. 6.Re-enter the password you entered in step 5 to confirm your password. 7.Press the OK button. 3.7.3 Delete password [Steps] 1.Select the program item in the project window. 2.Select [View] - [Properties] on the menu.
  • Page 153 Chapter 3. Project 4.Enter the old password in the Previous Password. 5.Click the Delete button. 3-62...
  • Page 154 Chapter 3. Project 3-63...
  • Page 155: Setup Of Integrated Project Network

    Chapter 3. Project 3.8 Setup of integrated project network It is available for the integrated project only. 3.8.1 Network configuration [Steps] 1.In the project window, select [Network Configuration] and then, select [Add Item]-[Network]. 2.In the screen to add networks, enter the [Name] and select [Network Type]. 3-64...
  • Page 156 Chapter 3. Project 3. Specify the communication module in the I/O parameters. 3-65...
  • Page 157 Chapter 3. Project 4. If you click [Apply] button, the set communication module will be added under [Network configuration]- [Basic Network] of the project. 5. Select [Network Configuration]-[Network Name] in the project window and then, select [Add Item]- [Communication Module]. 3-66...
  • Page 158 Chapter 3. Project [Dialog Box] a.PLC type: Displays the PLC items added to the project. b.Communication module: Displays the communication module list of the selected PLC. c.Module addition: Adds the communication module to the selected PLC. d.Delete module: Deletes the communication module selected from the communication module list. e.OK: Adds the communication module selected from the communication module list to the current network and closes the dialog box.
  • Page 159 Chapter 3. Project 7. Double-click the communication module in the project window and enter the basic setup items. 3-68...
  • Page 160: Deletion Of Network

    Chapter 3. Project 3.8.2 Deletion of Network [Steps] 1. Select the network to be deleted. 2. Click on the right mouse button and select the items to be deleted. 3. If you want to delete the subcategory of the selected network, press [Yes] button 3-69...
  • Page 161: Deletion Of Communication Module

    Chapter 3. Project Notes - If you do not delete the sub-network when deleting the selected network, it will be changed into the basic one. 3.8.3 Deletion of Communication Module [Steps] 1.Select the communication module to be deleted. 2.Click on the right mouse button and select the items to be deleted. 3-70...
  • Page 162 Chapter 3. Project 3.If you want to delete the module, press [Yes] button; if you want to move to the basic network, press [No] button. 4.If you want to delete the communication module, you can choose whether including high-speed link, (if there are P2P items), the relevant data.
  • Page 163 Chapter 3. Project 2. After numbering, click [OK] button and the P2P items will be added as below. 3. Refer to the communication module to set up P2P. Notes - In the event you doubly add other communication module P2Ps to the P2P number allocated to the existing communication module, the existing communication module information will be deleted and the P2P items of the newly declared communication module will be allocated.
  • Page 164: Deletion Of P2P

    Chapter 3. Project Deletion of P2P 1. Select the P2P item in the project window and press [Delete] button. 2. In the dialog box to confirm deletion of P2P, press [OK] button. Edition of P2P 1. Select the P2P items in the project window and then, select [Properties]. 3-73...
  • Page 165 Chapter 3. Project 2. Select the index to be changed in the P2P selection dialog box. 3. In the P2P selection dialog box, press [OK] button. 3-74...
  • Page 166: Setup Of High-Speed Link

    Chapter 3. Project 3.8.5 Setup of high-speed link Adding high-speed link 1.Select the communication module [XGL-EFMT] in the project window and then, select [Add items]-[High- speed Link Communication]. 2.After numbering, click [OK] button and the high-speed link(HSLink 01) items will be added as below. 3-75...
  • Page 167 Chapter 3. Project 3.Refer to the communication module to set up high-speed link. Notes - In the event you doubly add other communication modules’ high-speed links to the high-speed link number allocated to the existing communication module, the existing communication module information will be deleted and the high-speed link items of the newly declared communication module will be allocated.
  • Page 168 Chapter 3. Project Deletion of high-speed link 1. Select the high-speed link items in the project window and then, select [Delete]. 2. Press [OK] button in the dialog box to confirm deletion of the high-speed link. Edition of High-speed link 1.
  • Page 169 Chapter 3. Project 2. Select the index to be changed in the dialog box to set up the high-speed link communication module. 3-78...
  • Page 170 Chapter 3. Project 3. Press [OK] button in the dialog box to set up the high-speed link communication module. 3-79...
  • Page 171 Chapter 3. Project 3-80...
  • Page 172: Chapter 4 Variable/Comment

    Chapter 4. Variable/Comment Chapter 4 Variable/Comment The user normally uses the devices directly in the program. As a rule, the user needs to know what the devices are used for in the program. A simple method is to input the Comment in the device. The better method is to specify a variable in the device and use the variable in the place the device is used.
  • Page 173: Variable/Comment

    Chapter 4. Variable/Comment 4.1.2 View device It is used to display the list of the Variables/Comments declared from the device input with its type changed. [Dialog Box] [Description of Dialog Box] a. Device: used to display the list of the variables/comments from the device input. b.
  • Page 174: View Flag

    Chapter 4. Variable/Comment 4.1.3 View flag [Dialog Box] [Description of Dialog Box]...
  • Page 175 Chapter 4. Variable/Comment a. Flag kind: used to select kind of flag among System, HS link, P2P and PID. b. All: used to display the whole list of the flags selected from [Flag kind]. As for the system flag, all the details only will be displayed on the screen.
  • Page 176 Chapter 4. Variable/Comment d. Block index: This will be active only for HighSpeed link and P2P flag. Only the flag item of the input block index will be displayed. ( If Block index 120 is input, it will be as shown below.) Example.
  • Page 177: Variable/Comment Edit

    Chapter 4. Variable/Comment 4.2 Variable/Comment Edit On the list of the presently declared variables/Comments, Variable, Type, Device and Comment item can be edited. In addition, a new variable can be added to the list of the variables/comments to use in the program. 4.2.1 Variable/Comment register This is used to register the variable/comment to use in the program.
  • Page 178 Chapter 4. Variable/Comment [Description of Dialog Box] a. Variable: The declared variable can not be duplicated with the identical name. - A figure is unavailable for the first character. - A special character is unavailable. (However,‘_’ is available.) - Empty character is unavailable. - A name identical to the device is unavailable.
  • Page 179: Copy, Cut, Delete, Paste

    Chapter 4. Variable/Comment 2) View Device Register A variable can be added on, changed or deleted from the list of variables/comments. [Dialog Box] [Comment of Dialog Box] a. Variable: The declared variable can not be duplicated with the identical name. - A figure is unavailable for the first character.
  • Page 180 Chapter 4. Variable/Comment 1) Copy It is used to save the data of the area selected to copy in the clipboard. The copied details can be added to the present project or other projects. Paste on other applications is also available. [Steps] 1.
  • Page 181 Chapter 4. Variable/Comment 4) Paste It displays the data saved in the clipboard on the selected position. If the data is already displayed, the Dialog Box will be called to select and change the data. * If the data saved in the clipboard is a part of columns, [Steps] 1.
  • Page 182 Chapter 4. Variable/Comment edited. e. OK: applies the lines of the selected check box. The existing list of variables/comments will be deleted to add a new list of variables/comments. f. Cancel: The existing list of variables/comments will not be deleted, and a new the list of variables/ comments will not be applied accordingly.
  • Page 183: Insert Line

    Chapter 4. Variable/Comment a. Number: used to display the duplicated number of the variables and devices to paste. b. Replace: used to apply Paste. c. Gray Line: used to display the data in the existing cell, which will not be edited. d.
  • Page 184 Chapter 4. Variable/Comment 1. Select the area to insert the lines into. 2. Select [Edit] - [Insert Line] on the menu. Notes - If no cell is selected, one cell will be added to the last line. - If Enter key or Tab key is selected at the last of the lines, a new line will be created. - It is available only in View Variable.
  • Page 185: Delete Line

    Chapter 4. Variable/Comment 4.2.4 Delete line It is used to delete the lines as many as the lines of the selected area. [Steps] 1. Select the area to delete the lines from. 2. Select [Edit] - [Delete Line] on the menu. Notes - If no cell is selected, [Delete Line] will not be executed.
  • Page 186: Automatic Fill

    Chapter 4. Variable/Comment 4.2.5 Automatic fill It is used to increase or decrease variables and devices to add on the list of variables/comments. [Steps] 1. Move the mouse to the end of the cell and the mouse cursor will change to + shape. 2.
  • Page 187 Chapter 4. Variable/Comment The case with figures will be found to increase the figures automatically. If the device and the type are not identical, the type will change to conform to the device. d. Comment: If Automatic Fill is executed with Ctrl key being pressed, the figures area will automatically increase, and if with Ctrl key not pressed, it will be copied.
  • Page 188: Drag And Drop

    Chapter 4. Variable/Comment 4.2.6 Drag and drop It is used to copy the selected items to paste on different positions. [Steps] 1. Select the area to drag and drop. 2. The mouse cursor will change to the state available for drag and drop. 3.
  • Page 189: Undo/Redo

    Chapter 4. Variable/Comment [Details] a. Drag and drop is available onto Variable Monitoring Window. b. Drag and drop is available onto LD Window. c. Copy is available when drag and drop is executed onto Excel program. d. Drag and drop is available onto Data Traces window. e.
  • Page 190: Export To File

    Chapter 4. Variable/Comment 4.2.8 Export to file It is used to save the previously declared list of variables/Comments on the file and to open and read in the external programs. [Steps] 1. Select [Edit] - [Export to File] on the menu. 4-19...
  • Page 191: U Device Automatic Register

    Chapter 4. Variable/Comment Notes - It is available only in View Variable. 4.2.9 U Device automatic register It is used to register variables of the respective module by referring to the special module information specified in I/O parameter. The user can modify the variable and the comment. [Steps] 1.
  • Page 192 Chapter 4. Variable/Comment 4-21...
  • Page 193 Chapter 4. Variable/Comment Notes - Delete all the existing information of the U devices to add on the list of variables/comments referring to the presently specified I/O parameter. 4.2.10 Automatic registration of network variables It is the function to add the variables allocated from the XG-CANOpen tool to XG5000. 1) How to create network variables 1.
  • Page 194 Chapter 4. Variable/Comment 3. Click the CANOpen module items to execute the XG-CANopen tool. 4-23...
  • Page 195 Chapter 4. Variable/Comment 4. Click the master items to select the registration information. 5. After setting up the device for diagnosis variable items in the PLC area, press ‘Apply’ button. 6. The allocated variable list will be displayed in the diagnosis variable table. 4-24...
  • Page 196 Chapter 4. Variable/Comment 2) Automatic registration of Network variables 1. Click the menu [Edit]-[Automatic Registration of Network Variables]. 2. Then, the message “Do you want to add the variable allocated from XG-CANopen to XG5000?” will be displayed. 3. Select [Yes] button]. 4.
  • Page 197 Chapter 4. Variable/Comment 4-26...
  • Page 198: Preview

    Chapter 4. Variable/Comment 4.2.11 Preview This function is used to previously show the screen which will be printed. [Steps] 1. The window to previously show shall be displayed on the screen. 2. Select [Project]-[Preview] on the menu. 4-27...
  • Page 199 Chapter 4. Variable/Comment Notes - By changing the size of the column, the window previously displayed on the screen can be adjusted. - In View Device, all the areas of the specified type will be displayed on the Previous View screen. - In View Variable, incomplete variables displayed on the present screen will be also displayed on the Preview screen.
  • Page 200: Print

    Chapter 4. Variable/Comment 4.2.12 Print It is used to print the window displayed on the screen in View Variable, View Device and View Flag. [Steps] 1. The window to print shall be displayed on the screen. 2. Select [Project]-[Print] on the menu. Notes - By changing the size of the column, the details to be printed on paper can be adjusted.
  • Page 201 Chapter 4. Variable/Comment 3) Shortcut Keys Shortcut Keys Comment Home Used to move to the first in the cell. Used to move to the end in the cell. Ctrl + Home Used to move to the first cell position. Ctrl + End Used to move to the last cell position.
  • Page 202 Chapter 4. Variable/Comment 3. You can see the variable is added to the window to set up EtherNet/IP variable. 4. Click [Save] button in the window to set up EtherNet/IP variable. 4-31...
  • Page 203 Chapter 4. Variable/Comment 5. Save the EtherNet/IP variable as CSV file. 4-32...
  • Page 204: Sharing Variable

    Chapter 4. Variable/Comment 4.3 Sharing Variable XG5000 is programming tool for PLC. In PLC program, factor and step consist of variable and device. Variable and device need to be observed by external device. To be observed by external program, saves variable and device as CSV file.
  • Page 205 Chapter 4. Variable/Comment 2. Select [Project]-[Save Variable Names to File] [Dialog box] 4-34...
  • Page 206: Csv File Structure

    Chapter 4. Variable/Comment [Description of dialog box] a. Item for saving: select item to be saved. -. If you check upper box, all lower boxes are checked. -. If you click on +, - button, tree is enlarged or reduced. - If you click one item, variables of selected item shows art right grid.
  • Page 207 Chapter 4. Variable/Comment VariableComment Data1 M0000 WORD Memory 1 VariableComment Data2 M0001 WORD Memory 1 VariableComment Data3 M0002 WORD Memory 1 VariableComment Data4 M0003 WORD Memory 1 VariableComment Data5 M0004 WORD Meemory 1 VariableComment Data6 M0005 WORD Memory 1 VariableComment Button1 P00000 Lamp 1...
  • Page 208: Import External Variable In Xg-Pd

    Chapter 4. Variable/Comment 4.3.3 Import external variable in XG-PD In order to refer to the variable and device of PLC program in XG-PD, specifies as shown below [Steps] 1. Saves CSV file at XG5000 to be used in XG-PD. CPU type of XG5000 and XG-PD should be same. 2.
  • Page 209 Chapter 4. Variable/Comment 3. Click “File Open” and select file created by step 1. Then click on ‘Open’. 4-38...
  • Page 210 Chapter 4. Variable/Comment 4. If you select item in data item, the variable list shows. Select variable in variable list and click ‘OK’ 5. In High-Speed Link window, Read area, variable, variable comment is shown as below 4-39...
  • Page 211: Xgk Automatic Variable

    Chapter 4. Variable/Comment 4.4 XGK Automatic Variable Describes on information when using automatic variable in XGK series In Global Variable, you can declare commonly used variable and see already declared variable list. In Device Comment, you can declare comment of device and, edit comment and see already declared comment. In Local Variable, you can declare variable used in one program and see already declared local variable.
  • Page 212: Device Comment

    Chapter 4. Variable/Comment 4.4.2 Device Comment Inputs device or show comment of device [Dialog box] [Description of dialog box] a. Device: shows device comment list according to type b. Type: show device comment list according to type - WORD, only BIT/WORD are available - For S device, only BIT type is available - For Z, ZR, N device, only WORD type is available - For T, C device, only BIT/WORD type is available...
  • Page 213: Registering Global Variable

    Chapter 4. Variable/Comment 4.4.3 Registering Global Variable Registers global variable to be used in program. You can register global variable in Global Variable tap. 1) Registering in Global Variable You can add, modify and delete global variable in Global Variable tap. [Dialog box] 4-42...
  • Page 214 Chapter 4. Variable/Comment [Description of dialog box] a. Variable kind: only VAR_GLOBAL can be here b. Variable: duplicated variable name is not allowed. - Number can’t used as the first character. - Special character can’t be used. (But,‘_’ can be used.) - Empty space can’t be used.
  • Page 215 Chapter 4. Variable/Comment Note - In case of inputting device in ladder program, memory allocation for automatic variable is done except already used device area Ex) In case device auto-allocation area is D0~D100, if D0 is already been using in program, when allocating automatic variable AA, D0 is not allocated for variable AA and D1 is allocated - After allocating memory for automatic variable, if that device is used in program, that device changes into variable.
  • Page 216: Registering Local Variable

    Chapter 4. Variable/Comment 4.4.4 Registering Local Variable Registers local variable to be used in program. You can register local variable in Local Variable tap. 1) Registering at local variable You can add, modify or delete variable at local variable list [Dialog box] 4-45...
  • Page 217: Adding External Variable

    Chapter 4. Variable/Comment [Description of dialog box] a. Variable Kind: VAR, VAR_EXTERNAL can be here - If you set this item as VAR_EXTERNAL, type, device, latch, used, comment column is not activated b. Variable: duplicated variable name is not allowed. - Number can’t used as the first character.
  • Page 218 Chapter 4. Variable/Comment [Dialog box] 4-47...
  • Page 219 Chapter 4. Variable/Comment 4-48...
  • Page 220 Chapter 4. Variable/Comment 4.5 System variable It is displayed only when selecting the tool integration project. It shows the list of high-speed link of communication modules and variables or devices used for setting up P2P. 4.5.1 System Variables It displays the list of variables or devices set in the high-speed link and P2P windows. a.
  • Page 221 Chapter 4. Variable/Comment 4-50...
  • Page 222: Chapter 5 Ld Edit

    Chapter 5. LD Edit Chapter 5. LD Edit LD program displays the PLC program through graphic signals of coils or contact points used in the relay logic diagram. 5.1 Limits There are functional limits in LD Program Edit as described below. Item Description Limit...
  • Page 223 Chapter 5. LD Edit Symbol Shortcut Key Description Shift + F9 Reverse input Coil Reverse coil Shift + F3 Set(latch) coil Shift + F4 Reset(unlatch) coil Shift + F5 Positive-conversion detection coil Shift + F6 Negative-conversion detection coil Application instruction Ctrl+3 Normally opened OR contact point Ctrl+4...
  • Page 224: Input Contact Point

    Chapter 5. LD Edit 5.2.2 Input Contact point This is used to input the contact points (normally open contact, normally closed contact, positive-conversion detection contact and negative-conversion detection contact). [Steps] 1. Move the cursor to the location to input the contact point on. 2.
  • Page 225: Input Or Contact Point

    Chapter 5. LD Edit Notes - Select [Tool]-[Option]-[Option Dialog Box] on the menu. If the Input mode is promptly released from the LD/IL Edit page, the Variable Input Dialog Box will not be displayed. - The basic operation of Enter key is to input identical kind of instruction used previous edit. ) If a normally open contact is input and entered in the previous edit, the normally open contact Example input dialog box will be displayed when enter key is pressed.
  • Page 226 Chapter 5. LD Edit 2. Select contact point kind at Toolbar and click editing area. Or press shortcut key corresponding to OR contact point 3. Input device name at dialog box for variable input. For detail on dialog box for variable input, refer to 5.2.4 Note - In duplicated mode, in case contact point is in cursor, OR connection does not operate - In there is application instruction etc, vertical line is not inserted...
  • Page 227: Input Variable/Device

    Chapter 5. LD Edit 5.2.4 Input Variable/Device It is used to input the Device or Variable/Comment. [Dialog Box] [Description of Dialog Box]...
  • Page 228 Chapter 5. LD Edit a. Variable/Device: used to input the Device or Declared Variable name. If the input String is of variable format and the applicable String is not registered as a variable in the Variable/Comment, the Variable/Comment Add Dialog Box will be displayed. b.
  • Page 229: Input Line

    Chapter 5. LD Edit Notes - If the variable name is input on the Variable/Device Input Dialog Box, it will be automatically completed based on the presently displayed Variable/Comment list. For example, if flag is monitored and ‘FA’ is input, the address will be changed to F000A automatically. And if Variable/comment is displayed, and ‘FA’...
  • Page 230: Input Coil

    Chapter 5. LD Edit 2. Select the Shortcut Key of Vertical Line Input. Or select Vertical Line on the tool box to select the Edit area to input the Vertical Line in. Notes - The vertical line will be input downward to the left from the location of the present cursor. 5.2.6 Input Coil It is used to input the coils (coil, reverse coil, positive-conversion detection coil and negative-conversion detection coil).
  • Page 231: Input Application Instruction

    Chapter 5. LD Edit 3. After the device name is input on the Variable Input Dialog Box, click [OK]. Notes - If a coil and output related application instruction is input, a horizontal line will be automatically input to connect with the left factor. - In case there is duplicate coil, output to output module according to status of last coil.
  • Page 232 Chapter 5. LD Edit [Dialog Box] [Description of Dialog Box] a. Instruction: used to input the application instruction. If the input application instruction is edited, the previous application instruction will be displayed in default. b. Category: used to display the application instructions classified. If specific classification is selected, the instructions applicable to the classification will be displayed on the instructions list.
  • Page 233 Chapter 5. LD Edit 3. On the Application Instruction Input Dialog Box, input the application instruction, and then click [OK]. Notes - Refer to XGK CPU manual for details on the application instructions. - The following steps lead you to edit application instructions easily. ①...
  • Page 234 Chapter 5. LD Edit 5.2.8 Inputting the applied command of functions/function blocks The command is available only if it is created through ‘Device Auto-allocation project’. [Steps] 1.Move your cursor to the position to input the command applying extended functions. 2.Select the command applying extended functions and click the edition area. Otherwise, press the short key to input the command applying extended functions.
  • Page 235 Chapter 5. LD Edit a. Name: Searches the names for the functions. b. List: Displays the list for the functions. c. Category: Displays the classification of the extended functions. d. Function information: Displays the designated function’s information. e. Function list: Displays the list of the extended functions. f.
  • Page 236: Input Comment

    Chapter 5. LD Edit 5.2.9 Input Comment It is used to input the Rung and Output Comment. The comment displayed on the start position of Rung is called [Rung Comment], and the comment for the output factor is called [Output Comment]. 1)Rung Comment [Steps] 1.
  • Page 237 Chapter 5. LD Edit a. Comment: used to select the Rung Comment to input. b. Label: used to select the Label to input. c. OK: applies the selected details and closes the Dialog Box. d. Cancel: closes the Dialog Box. 3.
  • Page 238: Input Label

    Chapter 5. LD Edit 1. Move the cursor to the location to input the output comment on. 2. Double-click the left mouse button or press Enter key. 3. Input the output comment on the Output Comment Dialog Box and then click [OK]. Notes - The output comment will be available to input only when the output factor exists.
  • Page 239 Chapter 5. LD Edit 3. On the Label Dialog Box, input the label to add, and then click [OK]. [Dialog Box] [Comment of Dialog Box] a. Label: used to input the label to use. b. Label being used: used to display the label presently used in the same scan program. Notes - Up to 16 characters in English is available for the label.
  • Page 240: Insert Cell

    Chapter 5. LD Edit 5.2.11 Insert Cell It is used to insert a new cell in the present cursor position. [Steps] 1. Move the cursor to the location to insert the cell in. 2. Select [Edit] - [Cell Insert]. Notes - Cell Insert operates in rung unit.
  • Page 241: Insert Line

    Chapter 5. LD Edit 5.2.12 Insert Line It is used to insert a new line in the present cursor position. [Steps] 1. Move the cursor to the location to insert the line in. 2. Select [Edit] - [Line Insert]. Notes - If Line Insert is executed, a new line will be inserted in the present cursor position.
  • Page 242: Delete Factor

    Chapter 5. LD Edit 5.2.13 Delete Factor It is used to delete the input contact point, coil, application instruction, line, rung/output comment and label. [Steps] 1. Move the cursor to the location to delete the factor from. 2. Select [Edit] - [Delete]. 5.2.14 Delete Cell It is used to delete the factors such as the input contact point and horizontal line to draw in the next cell.
  • Page 243: Delete Line

    Chapter 5. LD Edit Notes - Delete Cell operates in rung unit. - If among the factors connected with OR, any other factor than the horizontal line is included in the present cursor position, Delete Cell is unavailable. 5.2.15 Delete Line It is used to delete all the lines in the selected area.
  • Page 244: Copy/Cut/Paste

    Chapter 5. LD Edit 2. Select [Edit] - [Line Delete]. 5.2.16 Copy/Cut/Paste It is used to copy the data in the selected area, or cut the data to copy on the specified position. Differently from [Copy], [Cut] is used to delete the data in the presently selected area. 1) Copy [Steps] 1.
  • Page 245 Chapter 5. LD Edit 2) Cut [Steps] 1. Select the area to cut. 2. Select [Edit] - [Cut] on the menu. 3. Move the cursor to the area to paste on. 5-24...
  • Page 246: Drag And Drop

    Chapter 5. LD Edit 5.2.17 Drag & Drop Drag & Drop function leads the edit more easy and convenient with mouse. Moving and copying the LD data with drag & drop function is available in the LD program. And the dragging the information of Variable/Comment in the Variable/Comment window and dropping to the operands of contacts, coils, and application instruction is possible.
  • Page 247 Chapter 5. LD Edit 2. Move the mouse cursor to the selected area and press the left side button of mouse. Wait until the shape of mouse cursor is changed. 3. Release the mouse button after moving the cursor to the area where the data is moved to. 3) Copy Data.
  • Page 248 Chapter 5. LD Edit 2. Move the mouse cursor to the selected area and press the left side button of mouse and Ctrl key of keyboard. Wait until the shape of mouse cursor is changed. 3. Release the mouse button and Ctrl key after moving the cursor to the area where the data is moved to. 4) Paste Variable/Comment.
  • Page 249: Undo And Redo

    Chapter 5. LD Edit 3. Release the mouse button. Notes. - It is possible to copy the device information from variable monitor window. - It is possible to copy the device information from trend monitor window. 5.2.18 Undo and Redo It is used to Undo the details edited by Program Edit back to its previous state, or execute again the details cancelled.
  • Page 250: Change Columns

    Chapter 5. LD Edit 3. Select [Edit] - [Undo] on the menu. 2) Redo (example of Delete) 1. Select [Edit] - [Redo]. Notes - All the edited details can be cancelled or executed again. - The number of times to cancel the execution is unlimited. The shortcut key for Undo is “Ctrl + Z”, Redo is “Ctrl + Y”.
  • Page 251 Chapter 5. LD Edit 3) Decrease Contact Number [Steps] 1. Select Decrease Contact number on the View tool bar. Notes - The range of the number of contacts is 9 ~ 32. - If the contact number inserted in a line is greater than assigned number, ‘▶’ mark will be displayed as below.
  • Page 252: Ld View Properties

    Chapter 5. LD Edit 5.2.20 LD View Properties Specifies LD View Properties. In properties, you can specify setting about device view, variable view, comment view, Magnification and number of contacts. For entire LD screen, you can specify same properties [Steps] 1.
  • Page 253: Program View

    Chapter 5. LD Edit 5.3 Program View It is used to specify the Program View options. 5.3.1 IL Program View It is used to convert the LD program to the IL program in IL format so to display or edit the IL program as converted.
  • Page 254: Program Magnification Change

    Chapter 5. LD Edit 5.3.2 Program Magnification Change This is used to change the magnification of the LD program displayed on the screen. 1) Zoom-In [Sequence] 1. Select [View]-[Zoom-In] on the menu. 2) Zoom-Out [Sequence] 1. Select [View]-[Zoom-Out] on the menu. Notes - Ctrl + Upward Wheel if available perform Zoom-Out step by step.
  • Page 255: View Variable

    Chapter 5. LD Edit 5.3.4 View Variable It is used to display the name of the variable for the device used as the operand of the contact point, coil and application instruction If no variable is declared for the applicable device, it will be displayed as the device name. [Sequence] 1.
  • Page 256 Chapter 5. LD Edit [Steps] 1. Select [View]-[Devices/Comments] Item. 5.3.7 View Variable/Comment It is used to display the variable/comment for the device used as the operand of the contact point, coil and application instruction. [Steps] 1. Select [View]-[Variable/Comment] Notes - If View Options are changed, it may take some time according to the number of the edited program steps. - Print function of the Device/Variable/Comment is available.
  • Page 257: Optimize Program

    Chapter 5. LD Edit 5.4 Edit Function Additional Additional functions will be described below for convenient edit. 5.4.1 Optimize Program It is used to delete the horizontal and empty lines between the contact points so to optimize the position where LD diagram will be drawn.
  • Page 258 Chapter 5. LD Edit Notes - Optimize Program if once executed can not be back to its previous state through execution cancel. - It may take some time according to the size of the program. -In case LD logic is not complete, optimization function doesn’t operate 5-37...
  • Page 259: Block Mask Instruction

    Chapter 5. LD Edit 5.4.2 Block Mask Instruction This is used to specify or cancel the area Block Mask in PLC among the LD programs. 1) Block Mask Instruction Setting [Sequence] 1. Move the cursor to the rung to specify the Block Mask instruction. 2.
  • Page 260 Chapter 5. LD Edit 2) Block Mask Instruction Cancel [Sequence] 1. Move the cursor to the rung to cancel the Block Mask instruction. 2. Select [Edit] - [Remove Block Mask] on the menu. Notes. - The program capacity of block masked area is included not in the program capacity but comment capacity. - The program in the block masked area can be written to PLC and read from PLC just like comment.
  • Page 261: Bookmark

    Chapter 5. LD Edit 5.4.3 Bookmark It allows the user easily to move to an interesting area with the bookmark specified on the line. 1) Set Bookmark [Sequence] 1. Move the cursor to the line to specify the bookmark on. 2.
  • Page 262 Chapter 5. LD Edit 2) Bookmark Reset [Sequence] 1. Move the cursor to the line to cancel the bookmark from. 2. Select [Edit] - [Bookmark] - [Set/Reset] on the menu. 3) Reset All Bookmark [Sequence] 1. Select [Edit] - [Bookmark] - [Remove All] on the menu. 5-41...
  • Page 263 Chapter 5. LD Edit 4) Previous Bookmark [Sequence] 1. Select [Edit] - [Bookmark] - [Previous Bookmark] on the menu. 5-42...
  • Page 264 Chapter 5. LD Edit 5) Next Bookmark [Sequence] 1. Select [Edit] - [Bookmark] - [Next Bookmark] on the menu. Notes - Bookmark will be specified in line unit. - [Move to Previous Bookmark] and [Move to Next Bookmark] function is effective in the same program.
  • Page 265: Go To

    Chapter 5. LD Edit 5.4.4 Go To It is used to move to the step position the program has specified, or go to the position of the edited label and rung comment. 1) Go To Step [Sequence] 1. Select [Find/Replace]-[Go To]-[Step/Line]. [Dialog Box] [Description of Dialog Box] a.
  • Page 266 Chapter 5. LD Edit 2) Go To Label [Sequence] 1. Select [Find/Replace]-[Go To]-[Label]. [Dialog Box] [Description of Dialog Box] a. Program: used to display the list of the present PLC programs. If ‘All Programs’ is selected, the list of all the labels will be displayed.
  • Page 267 Chapter 5. LD Edit 3) Go To Rung Comment [Sequence] 1. Select [Find/Replace]-[Go To]-[Rung Comment]. [Dialog Box] [Description of Dialog Box] a. Program: used to display the list of the present PLC programs. If ‘All Programs’ is selected, the list of all the rung comments will be displayed.
  • Page 268 Chapter 5. LD Edit 4) Go To END Instruction [Sequence] 1. Select [Find/Replace]-[Go To]-[END Instruction] on the menu. [Dialog Box] [Description of Dialog Box] a. Program: used to display the list of the present PLC programs. If ‘All Programs’ is selected, the list of all the END instructions will be displayed.
  • Page 269 Chapter 5. LD Edit 5-48...
  • Page 270: Chapter 6 Il Edit

    Chapter 6. IL Edit Chapter 6 IL Edit The programming method of IL language which is based on String will be described in this chapter. 6.1 Screen Configuration 6.1.1 IL Window 1) Description of IL Window [Dialog Box]...
  • Page 271: Instruction Input Window

    Chapter 6. IL Edit [Description of Dialog Box] a. Rung: used to display the sequence number of the rung of each line. The rung can be changed whenever the line is edited. b. Step: used to display the step of each line. c.
  • Page 272: Program Edit

    Chapter 6. IL Edit 6.2 Program Edit 6.2.1 Overwrite/Insert mode The Overwrite Mode is used to change the existing details of the selected line. Insert Mode is used to add newly input details to the selected line. In this case, the existing details move to the next line. 1) Overlap mode [Sequence] 1.
  • Page 273 Chapter 6. IL Edit 2) Insert mode [Sequence] 1. Select [Edit] - [Insert Mode] on the menu. 2. Select the line to change. 3. Press Enter key to create the Instruction Input Window on the selected line. Input the details to insert on the Instruction Input Window.
  • Page 274: Input Instruction

    Chapter 6. IL Edit 6.2.2 Input Instruction This is used to input the instruction or application instruction in the IL editor. [Sequence] 1. Select the line to input in. 2. Press Enter key to create the Instruction Input Window on the selected line. 3.
  • Page 275: Input Application Instruction

    Chapter 6. IL Edit Notes - The space between instruction and operand and between operand and operand should be classified with the characters of SPACE. - Inputting the instruction on the Instruction Input Window will automatically create the instructions list starting with the character input.
  • Page 276: Input Rung Comment

    Chapter 6. IL Edit 2. Select [Edit] - [Application Instruction] on the menu. 3. Input the application instruction and operand. 4. Click [OK] to input the instruction and operand in the applicable line and to create the Instruction Input Window right on the next line. Notes - In order to input the String constant like $MOV as an operand, attach small quotation marks to the String as shown below;...
  • Page 277 Chapter 6. IL Edit 2. Select [Edit]-[Insert Comment] and then input the details of the rung comment. 3. Click [OK] to input the rung comment in the applicable line. Notes - The rung comment will be positioned always at the first of the rung. Even if the rung comment is input in the middle of the lines of the rung, it will be automatically positioned at the first line of the rung.
  • Page 278: Change Instruction

    Chapter 6. IL Edit 6.2.5 Change Instruction This is used to change the instruction and operand prepared previously. [Sequence] 1. Select the line to change. 2. Press Enter key to create the Instruction Input Window on the selected line. The existing instruction and operand will be displayed on the Instruction Input Window.
  • Page 279: Insert Line

    Chapter 6. IL Edit 3. Change the instruction and operand on the Instruction Input Window. 4. Press Enter key to input the instruction and operand in the applicable line and to create the Instruction Input Window right on the next line. 6.2.6 Insert Line It is used to insert an empty line in the selected line.
  • Page 280: Delete Line

    Chapter 6. IL Edit 2. Select [Edit]-[Insert Line]. 6.2.7 Delete Line This function is used to delete the instruction and operand previously input. [Sequence] 1. Select the line to delete. 2. Select [Edit]-[Delete Line] on the menu. 6-11...
  • Page 281: Paste, Copy, Cut

    Chapter 6. IL Edit Notes - Insert Line and Delete Line will insert and delete as many a line as specified. - The last line will not be available for Insert Line or Delete Line function. - Delete Line will delete the selected line, regardless of instruction, rung comment or Block Mask instruction.
  • Page 282 Chapter 6. IL Edit 1) Cut [Sequence] 1. Select the lines to cut. 2. Select [Edit]-[Cut] on the menu. 2) Copy [Sequence] 1. Select the lines to copy. 2. Select [Edit]-[Copy] on the menu. 3) Paste [Sequence] 6-13...
  • Page 283: Undo/ Redo

    Chapter 6. IL Edit 1. Select the line to paste on. 2. Select [Edit]-[Paste] on the menu. 6.2.9 Undo/ Redo This is used to cancel the details edited previously or execute again the details cancelled. 1) Undo 1.Select [Edit]-[Undo] on the menu. 2) Redo 1.Select [Edit]-[Redo] on the menu.
  • Page 284: Program View

    Chapter 6. IL Edit 6.3 Program View It is used to change the magnification of IL program, or to see the user defined operand in various ways. 6.3.1 Change Program Magnification It is used to change the magnification so to adjust the size of the IL program displayed on the screen. 1) Zoom-In [Sequence] 1.
  • Page 285: View Variable

    Chapter 6. IL Edit 6.3.3 View Variable This function is used to display the variable if the operand is declared as the variable and the device if not declared as the variable in the IL editor. [Sequence] Select [View]-[Variables] on the menu. 6.3.4 View Device, Variable This function is used to display both the device and the declared variable of the operand in the IL editor.
  • Page 286: View Device, Comment

    Chapter 6. IL Edit 6.3.5 View Device, Comment This function is used to display both the device and the device comment of the operand in the IL editor. [Sequence] Select [View]-[Devices/Comments] on the menu. 6-17...
  • Page 287: Additional Edit Function

    Chapter 6. IL Edit 6.4 Additional Edit Function 6.4.1 Block Mask Instruction This is used to specify or cancel the line which dose not need to be executed in PLC. If it may be necessary later even though not right now, let it specified as the Block Mask instruction for the sake of convenience. 1) Block Mask Instruction Setting [Sequence] 1.
  • Page 288 Chapter 6. IL Edit 2. Select [Edit]-[Set Block Mask Instruction] on the menu. 2) Remove Block Mask Instruction [Sequence] 1. Select the line to cancel the Block Mask instruction. 6-19...
  • Page 289: Bookmark

    Chapter 6. IL Edit 2. Select [Edit] - [Remove Block Mask] on the menu. Notes - Block Mask Instruction Set/Reset operates in rung unit. Namely, the whole rung including the selected line will be set or cancelled. 6.4.2 Bookmark This function is identical to the Book Leaf function. If a bookmark is specified in a specific line, fast and easy movement will be available from other line to the location with the bookmark specified.
  • Page 290 Chapter 6. IL Edit Notes - Bookmark Set/Remove will be repeatedly set and cancelled whenever selected. 2) Bookmark Reset All [Sequence] 1. Select [Edit]-[Bookmark]-[Reset All] on the menu. [Previous Bookmark Sequence] This function is used to go to the bookmark line specified in front of the present line, based on the presently selected line.
  • Page 291: Go To

    Chapter 6. IL Edit 6.5 Go To This function is used to go to the applicable location of step, label or rung comment designated. 6.5.1 Go To Step This function is used to go to the specific step designated. [Sequence] 1.
  • Page 292 Chapter 6. IL Edit 2. Select the program where the step to find is included, and then input the step to go to in [Go to what]. 3. Click [Go To]. 6-23...
  • Page 293: Go To Label

    Chapter 6. IL Edit 6.5.2 Go To Label This function is used to go to the label prepared previously. [Sequence] 1. Select [Find/Replace]-[Go To]-[Label]. 2. Select the program, and then select the label to go to on the labels list. 6-24...
  • Page 294: Go To Rung Comment

    Chapter 6. IL Edit 3. Click [Go To]. 6.5.3 Go To Rung Comment This function is used to go to the rung comment. [Sequence] 1. Select [Find/Replace]-[Go To]-[Rung Comment] on the menu. 6-25...
  • Page 295 Chapter 6. IL Edit 2. Select the program, and then select the rung comment to go to on the comments list. 3. Click [Go To]. 6-26...
  • Page 296: Go To End Instruction

    Chapter 6. IL Edit 6.5.4 Go To END Instruction This function is used to go to the END instruction. [Sequence] 1. Select [Find/Replace]-[Go To]-[END Instruction] on the menu. 2. Select the program, and then select the END instruction to go to on the END instructions list. 6-27...
  • Page 297 Chapter 6. IL Edit 3. Click [Go To]. 6-28...
  • Page 298: Chapter 7 Programming Convenience

    Chapter 7. Programming Convenience Chapter 7 Programming Convenience 7.1 Cross Reference It is used to display the application details of all the devices used in the program. The devices include contact points (normally open contact point, normally closed contact point, positive-conversion detection contact point and negative-conversion detection contact point), coils (coil, reverse coil, positive-conversion detection coil and negative-conversion detection coil) and all the devices used as the operand of application instructions.
  • Page 299 Chapter 7. Programming Convenience Step Displays the steps inside the program. The following signs are displayed for the type of instructions; -( )-: Coil -(/)-: Reverse coil -(S)-: Set coil -(R)-: Reset coil -(P)-: Positive-conversion detection coil Type -(N)-: Negative-conversion detection coil -| |-: Normally open contact point -|/|-: Normally closed contact point -|P|-: Positive-conversion detection contact point...
  • Page 300: Output Cross Reference Instantly

    Chapter 7. Programming Convenience 3) Select Row It is used to display the desired data only on the screen. Click the right mouse button to select each item on the menu [Select Row]. 4) Lock Data Details of the Cross Reference Window are updated when the cursor moves in the program. If you don’t want to update them, specify the Fix function.
  • Page 301 Chapter 7. Programming Convenience [Steps] 1. Select the Cross Reference tap to display the Cross Reference Result on. 2. Move the cursor to the position of the device to display the purpose of.
  • Page 302: Check Duplicated Coil Instantly

    Chapter 7. Programming Convenience Notes - If ‘Output cross reference instantly’ is used, the edit speed may get slow. - Select [Tools]-[Options]-[Edit Ladder/Mnemonic], on the LD/IL Edit page to apply ‘Output cross reference instantly’ function. - Refer to 7.1.4 for details on the Cross Reference Window. 7.1.3 Check Duplicated Coil Instantly It is used to inspect the applicable device if used as duplicated whenever the coil is edited.
  • Page 303 Chapter 7. Programming Convenience Notes - ‘If ‘Check duplicated coil instantly’ is used, the edit speed may get slow. - Select [Tools]-[Options]-[Edit Ladder/Mnemonic], on the LD/IL Edit page to apply ‘Check duplicated coil instantly’ function. - ‘Check duplicated coil instantly’ inspects the coil and the reverse coil only.
  • Page 304 Chapter 7. Programming Convenience 7.2 Cross Reference of Selected Device It displays the details of use of the devices selected from the program. Devices include contacts (normally open contacts, normally closed contacts, positive transition-sensing contacts, negative transition-sensing contacts) and coils(coils, reverse coils, positive transition-sensing coils, negative transition-sensing coils) and devices that are used as operand of the applied command.
  • Page 305: Used Device

    Chapter 7. Programming Convenience 7.3 Used Device It shows all the devices used in the program (LD, IL). The devices used in each device area will be displayed as classified into input and output. [Description of Window] a. Device Display: displays each device used in the program in Word unit. # device, index device, and # index device are not displayed.
  • Page 306 Chapter 7. Programming Convenience [Dialog Box] a.Select Area: you can select the device types to be displayed on the screen. b.Display unused devices: Displays the whole address of the devices selected by [Select Device] or used device list only. Notes - Select [Update Used Device] on the context menu to display the used devices.
  • Page 307: View Device Uses

    Chapter 7. Programming Convenience 7.3.2 View Device Uses Double-click the mouse on the cell where the used I/O figures are displayed, or click ‘View Device Uses’ on the context menu. [Dialog Box] 7-10...
  • Page 308 Chapter 7. Programming Convenience [Description of Dialog Box] a. PLC: used to display the PLC name with the applicable device used. b. Device used: It is the device that the Device Uses View dialog box shows. c. Type: displays the device type. d.
  • Page 309: Check Program

    Chapter 7. Programming Convenience 7.4 Check Program This function is used to check the prepared LD program for errors. Inspection items are as follows; - Logic Error: checks for LD connection errors. - Grammar Error: checks for errors related with grammar used in SBRT/CALL, FOR/NEXT, etc. - Duplicated Coil Error: checks for errors if output factors are used as duplicated.
  • Page 310 Chapter 7. Programming Convenience a. Logic Error: used to check for program’s logic errors such as LD connection errors and short circuit. b. Grammar Error: used to check for errors in application instructions such as CALL/SBRT, MCS/MCSCLR, etc. c. Unreferenced label: used to specify the processing range of the declared label which was not used. [Ignore], [Warning] or [Error] can be selected.
  • Page 311 - When writing a program on PLC, all the items other than the Duplicated Coil will be always inspected if specified or not by the user. Notes - In XGT series PLC, many a program can be added to the PLC item and the SBRT call is available between programs. [Dialog Box]...
  • Page 312 Chapter 7. Programming Convenience [Description of Dialog Box ] a. Select All: used to inspect all the devices areas. b. Device Select: used to specify the device area to check for the Duplicated Coil. c. Bit type instruction: used to inspect the operand of the bit type of application instructions. d.
  • Page 313 Chapter 7. Programming Convenience Double coil Notes - Set coil (-(S)-) and Reset coil (-(R)-) are not the object to check for the Duplicated Coil. - The range of “Check the word type of application instructions” depends on the data type of the output operand of application instructions.
  • Page 314: Check Result Trace

    Chapter 7. Programming Convenience 7.4.2 Check Result Trace If any error occurs on the program, its details will be displayed on the Program Inspect tap of the message window. Double-click the error details to move to the location where the error occurs. 7-17...
  • Page 315: Logic Error

    Chapter 7. Programming Convenience 7.4.3 Logic Error It is used to check for any logic error, and display its details and location if any occurs. 1) L0000: Input or output is not connected. This error will occur if the contact point is not connected with the power line.
  • Page 316 Chapter 7. Programming Convenience 4) L0300: OR-LOAD incorrectly connected. This error will occur if OR-LOAD connected incorrectly. Action: Search for OR-LOAD incorrectly connected and then correct the LD program. 5) L0400: Specified number of contact points exceeded. This error will occur if the number of continuous LOAD instructions exceeds 32.
  • Page 317: Grammar Error

    9) L0406: Application instruction in error. This error will occur if the application instruction nonexistent in XGT series PLC is used. Action: Replace the instruction with the one provided by XGT series PLC. Notes - This error will occur if MK series PLC project file is converted to XGT project.
  • Page 318 Chapter 7. Programming Convenience 1) E0001: MCS instruction duplicated. This error will occur if MCS number is duplicated. Action: Correct the duplicated MCS instruction, or add the correspondent MCSCLR instruction. 2) E0002: MCSCLR nonexistent or cancelled already. MCS instruction is singly used. Action: Input the correspondent MCSCLR instruction.
  • Page 319 Chapter 7. Programming Convenience 4) E1001: Label declared as duplicated. This error will occur if duplicated LABEL used. Action: Delete the duplicated label, or change the name of the label. 5) E1002: Label ‘Label Name‘ nonexistent. This error will occur if JMP is used to refer to the nonexistent label.
  • Page 320 Chapter 7. Programming Convenience 6) E1003: Label ‘Label Name‘ not used. This error will occur if the JMP instruction is nonexistent to use the label existent. Action: Delete the label, or add the application JMP instruction. 7) E1004: Label ‘Label Name‘ not used in the subroutine. This error will occur if the JMP instruction is nonexistent to use the label existent in the subroutine.
  • Page 321 Chapter 7. Programming Convenience Notes - The error number E1003/E1004 will occur only when [Warning] or [Error] is selected for the label not referred to in the Grammar Error Inspect item. Refer to 7.3.1 Program Inspect Setting for details. 8) E1005: Label ‘Label Name‘ nonexistent in the subroutine. This error will occur if the JMP instruction uses the label nonexistent in the subroutine.
  • Page 322 Chapter 7. Programming Convenience 10) E2001: Return instruction nonexistent in the subroutine ‘Subroutine Name. The subroutine shall be finished with the RET instruction. Action: Add the RET instruction in the subroutine block. 11) E2010: Subroutine call nonexistent. The call of nonexistent SBRT causes an error. Action: Add the SBRT~RET blocks of the subroutine name to call.
  • Page 323 Chapter 7. Programming Convenience 12) E2003: Subroutine 'Subroutine Name' is positioned prior to END instruction. SBRT and RET positioned prior to END instruction cause an error. Action: Move the application instructions SBRT and RET to the position after the End instruction. 13) E2011: Subroutine not used.
  • Page 324 Chapter 7. Programming Convenience 14) E2012: Subroutine declared as duplicated. ‘Subroutine Name’- An identical name of the subroutine can not be used. Action: Change the duplicated name of the subroutine. 15) E2014: The maximum number of subroutines exceeded. Based on the PLC type, the maximum number of subroutines is exceeded.
  • Page 325 Chapter 7. Programming Convenience 16) E3001: Identical NEXT unavailable. If the application times of FOR/NEXT instructions are not identical, it will cause an error. Action: Let the number of FOR instructions and NEXT instructions identical. 17) E3002: Identical FOR unavailable. If the application times of FOR/NEXT instructions are not identical, it will cause an error.
  • Page 326 Chapter 7. Programming Convenience 18) E3003: FOR-NEXT can not be duplicated more than 16 times. FOR/NEXT can be duplicated up to 16 blocks. If the number of the duplicated FOR/NEXT blocks exceeds 16, it will cause an error. Action: Correct the number of the FOR / NEXT blocks not to exceed 16. 19) E3004: Between FOR-NEXT, RET or END is not available.
  • Page 327 Chapter 7. Programming Convenience 20) E3005: BREAK singly used. BREAK instruction can be used only between FOR/NEXT blocks. Action: Change the location of BREAK instruction. 21) O0001: The maximum program capacity exceeded. The maximum programmable step is exceeded. Action: Correct the program not to exceed the specified program capacity. Notes - The program capacity depends on the PLC type.
  • Page 328: Chapter 8 Find/Replace

    Chapter 8. Find / Replace Chapter 8 Find / Replace It is a function to search and replace device and Text in LD, variable / description of XG5000. 8.1 Find a device This function is used to find the device previously made in LD Editor, SFC Editor, IL Editor, or Variable/Com ment Editor.
  • Page 329 Chapter 8. Find / Replace Select type: Select the type of device you are looking for. There are [Bit], [Bit (Word + Bit)], [Word], [Word (Bit + Word)] and [All] items for type selection. ① When [Bit] is selected, only the bit device can be entered in the search contents, and only the bit device is searched in the selected search area.
  • Page 330 Chapter 8. Find / Replace searches for word device M0000 including bit device M0000A and bit device M0000A.) ③ When [Word] is selected, only the word device can be entered in the search contents, and only the word device is searched in the selected search area. ④...
  • Page 331 Chapter 8. Find / Replace Note - ‘Advanced’ Button is pressed.
  • Page 332: Find Next Device

    Chapter 8. Find / Replace Note - The 'Advanced' button is enabled only when the current window is a ladder editor, and the following items are displayed when this button is pressed. 8.1.2 Find Next Device It is commonly used in LD, IL, global / direct variables, local variables and so on. The following is based on LD.
  • Page 333 Chapter 8. Find / Replace 2. Select [Find / Replace] - [Find Device] on the menu and enter the search contents and search conditions. 3. Click the Find Next button. If there is a device that matches what you set in the dialog box, the cell moves to the matching device.
  • Page 334 Chapter 8. Find / Replace 8.1.3 Find all devices It is commonly used in LD, IL, global / direct variables, local variables and so on. The following is based on LD. [Steps] 1. Select [Find / Replace] - [Find Device] on the menu. 2.
  • Page 335 Chapter 8. Find / Replace 4.Select the line you want to find in the Find window and press the Enter key to move the cell to the line of the LD program. Note - Find All finds the device in the selected area in the Find area.
  • Page 336: Find Text

    Chapter 8. Find / Replace 8.2 Find Text It is a function to search for Text such as rung comment, variable, variable comment, application command, label except device. [Dialog Box] [Description of dialog box] Find what: Specify the Text you are looking for. Look in: Specify the area you are looking for.
  • Page 337 Chapter 8. Find / Replace Range: After specifying each direction, select to search only by specifying specific lines. If you select Specify range, you must enter the start line and the last line. Find next: Look for the above setting just after the currently selected line (position). If a matching Text is found, the selection moves to where the Text is located.
  • Page 338 Chapter 8. Find / Replace Note - Only when you have searched all, the results are displayed in Find 1 and 2. - Find All is found in the document, so choosing a direction is meaningless. - The item selection button is only visible in the LD editor. The following dialog box appears when this button is selected.
  • Page 339: Find Next Text

    Chapter 8. Find / Replace 8.2.1 Find Next Text It is commonly used in LD editor, SFC editor, ST editor, and variable / description editor. The following is based on LD. [Steps] 1. Select the cell that is the base of the direction. 2.
  • Page 340: Find All Text

    Chapter 8. Find / Replace 3. Set the Text, selection, and direction you want to find. 4. Click the Find Next button. If there is a Text that matches what you set in the dialog box, the cell moves to the matching Text.
  • Page 341 Chapter 8. Find / Replace 1. Select [Find / Replace] - [Find Text] on the menu. 2. Set the Text you want to find, selection, direction, and so on. 3. Click the Find All button. Find All displays the results in the Find Messages window. 8-14...
  • Page 342: Replace Device

    Chapter 8. Find / Replace 4. Select the line you want to find in the Find window and press the Enter key to move the cell to the line of the LD program. Note - Find in the 'Current Window' in the search area will find the currently active program. - In the "Find in Multiple Window"...
  • Page 343 Chapter 8. Find / Replace [Description of dialog box] Find what: Specifies the device you are looking for. Replace: Specify the device to be replaced. Look in: Specify the area you are looking for. The current window can be found only in the active window.
  • Page 344 Chapter 8. Find / Replace 8-17...
  • Page 345 Chapter 8. Find / Replace d. Select type: Select type: Select the type of device you are looking for. There are [Bit], [Bit (Word + Bit)], [Word], [Word (Bit + Word)] and [All] items for type selection. ① When [Bit] is selected, only the bit device can be entered in the search contents, and only the bit device is searched in the selected search area.
  • Page 346: Replace Device

    Chapter 8. Find / Replace word device M0001 as word (Bit + Word).) Include variable (Replace all): Select whether to replace the variable / description of the device entered in the search contents to the variable / description of the device entered in the replacement contents.
  • Page 347 Chapter 8. Find / Replace 3. Set what to search, content to replace, type selection, direction, and so on. 8-20...
  • Page 348 Chapter 8. Find / Replace 4. Press the Replace button. If the device of the currently selected cell is the same as the one found, replace the current cell with the one set in the dialog box and move to the next cell This is where the previous replace was made.
  • Page 349: Replace All Device

    Chapter 8. Find / Replace Note - Replace only if the Find and Replace dialog box matches the device and type of the currently selected cell. - When you click the Replace button, you will be taken to the next cell that matches the find in the Replace dialog box, regardless of whether the Replace is running.
  • Page 350 Chapter 8. Find / Replace Select [Find / Replace] - [Replace Device] on the menu. 1. Set what to search, content to replace, type selection, direction, and so on. 8-23...
  • Page 351 Chapter 8. Find / Replace 2. Click the Find All button. Find all the M0 bit devices in the Find 2 Results window. 8-24...
  • Page 352 Chapter 8. Find / Replace 3. Press the Replace All button. 4. When all the replaces are completed in the current program, the following message box is created. 8-25...
  • Page 353 Chapter 8. Find / Replace 2) Replace with range Batch replace is used to batch replace the sequential devices. In other words, devices from M0000 to M0009 can be replaced from P000 to P0009. [Steps] 1. Select [Find / Replace] - [Replace Device] on the menu. 2.
  • Page 354 Chapter 8. Find / Replace 8-27...
  • Page 355: Replace Text

    Chapter 8. Find / Replace 3. Press the Replace All button. Note - Batch replaces are available only for devices. Constants can not be replaced in bulk. 8.4 Replace Text It is a function to search for explanation statements, variables except for devices. 8-28...
  • Page 356 Chapter 8. Find / Replace [Dialog Box] [Description of dialog box] Find what: Specify the Text you are looking for. Replace: Specifies the Text to replace. Look in: Specify the area you are looking for. The current window is only able to find the Text in the active window.
  • Page 357 Chapter 8. Find / Replace Advanced: This button is used only in the ladder editor. It is used to search only the specific contact, specific coil, extended function, function / function block used in ladder editor. Note - The item selection buttons are only visible in the ladder editor. The appearance of the dialog box displayed when this button is selected is the same as in Section 8.1, Device Search.
  • Page 358 Chapter 8. Find / Replace 2. Select [Find / Replace] - [Replace Text] on the menu. 3. Set the Text, selection, and direction you want to replace with the Text you are looking for. 4. Press the Replace button. If the Text of the currently selected cell matches the found one, it replaces the current cell with the one you set in the dialog box and moves to the cell that matches the found one.
  • Page 359 Chapter 8. Find / Replace variable inclusion option when changing and the DD variable must be declared in the variable / explanation window. 8-32...
  • Page 360: Replace All Text

    Chapter 8. Find / Replace 6. Press the Replace button. If the Text of the currently selected cell matches the found one, it replaces the current cell with the one you set in the dialog box and moves to the cell that matches the found one. Note - Replace is executed only when the Text of the currently selected cell matches the search contents of the dialog box.
  • Page 361 Chapter 8. Find / Replace 1. Select [Find / Replace] - [Replace Text] on the menu. 2. Set what to search, what to replace, and what to choose. 8-34...
  • Page 362 Chapter 8. Find / Replace 3. Click the Find All button. Find all found results 2 Display in the results window. 4. Press the Replace All button. . All variables used in the variable / description window and the LD program are replaced and displayed in the Find 2 Results window.
  • Page 363 Chapter 8. Find / Replace 8-36...
  • Page 364: Find Again

    Chapter 8. Find / Replace 8.5 Find Again Find Again is a feature th at you can use to find a device or find a text search previously. If you have not done this before, it is disabled. [Steps] Select [Find / Replace] - [Find Again] on the menu. 8-37...
  • Page 365 Chapter 8. Find / Replace 8-38...
  • Page 366: Chapter 9 Parameters

    Chapter 9. Parameters Chapter 9 Parameters 9.1 Basic parameter It is used to specify the basic parameters related with PLC operation. Notes. - Please refer to the CPU or Instruction manual for details of basic parameter. [Steps] 1. On the project tree, double-click [Parameter]-[Basic Parameters]. [Dialog Box] [Description of Dialog Box]...
  • Page 367 Chapter 9. Parameters a. Basic Parameters Settings: used to specify setting of basic operation, time and output control of [Basic Parameters] information. b. Fixed period operation: used to decide to run the PLC program based on the fixed period operation or based on the scan time.
  • Page 368 Chapter 9. Parameters 2. Device Area Setup [Dialog Box] [Description of Dialog Box] a. Device Area Setup: used to specify the area to preserve (latch area) of [Basic Parameters] information even when PLC power is off. b. Select latch area: used to specify data area to preserve. It is the representative flag to control area 1 and area 2 of the right latch area table.
  • Page 369 Chapter 9. Parameters T100ms Start: 0 End: 999 T10ms Start: 1000 End: 1499 T1ms Start: 1500 End: 1999 T0.1ms Start: 2000 End: 2047 When the timer limit specified is the default, the timer will be automatically in 100ms unit with T100 if used in LD diagram.
  • Page 370 Chapter 9. Parameters 3. Error Operation Setup [Dialog Box] [Description of Dialog Box] a. This tap is used to specify the operation method when an error occurs on PLC among [Basic Parameters] information. b. If this option is selected, PLC will continuously run although a arithmetic error occurs during PLC RUN. c.
  • Page 371 Chapter 9. Parameters 4. MODBUS Setup The RS-232C port of CPU module can be operated as slave module of MODBUS communication. [Dialog Box] [Description of Dialog Box]...
  • Page 372: I/O Parameters

    Chapter 9. Parameters a. It is used to specify MODBUS basic information among [Basic Parameters] information. b. It is used to specify the station Number used for MODBUS communication. 0~63 is available for the range. c. It is used to change the number of data bits used for each String received. It shall be set identical to the value specified in PLC communicating with the user.
  • Page 373 Chapter 9. Parameters [Description of Dialog Box] a. All bases: Displays the base module information and the module information by slot. If the module for the slot is not specified, it is displayed as ‘default’. b. Set base: Displays the base selecting module only. c.
  • Page 374: Base Module Information Setting

    Chapter 9. Parameters - Fixed point assignment and variable point assignment are available for the module assignment method. The fixed point assignment assigns 64 points collectively to a slot while the variable point assignment depends on the module type. Exceptionally 16 points is assigned to the special/communication module and the empty slot.
  • Page 375: Module Information Setting Based On Slots

    Chapter 9. Parameters [Dialog Box] [Description of Dialog Box] a. Number of Slots: used to input the maximum number of slots. b. OK: applies the changed items and closes the dialog box. c. Cancel: closes the dialog box. Notes - If the specified number of slots is less than the maximum number of slots, the rest area is unavailable to edit.
  • Page 376 Chapter 9. Parameters 1. Select the slot to specify the module in the slot information. 2. Select the module column to display the module selection box. Or click the right mouse button to select [Edit]. 3. Press the selection box to select the module. 4.
  • Page 377 Chapter 9. Parameters 9.2.3 Current consumption for base modules It displays the total current consumption for the modules attached to the base module. [Procedures] 1. Click on the right mouse button and select [Current Consumption]. 2. Then, the estimated current consumption will be displayed. 9-12...
  • Page 378: I/O Parameter Edit Function

    Chapter 9. Parameters 9.2.4 I/O Parameter Edit Function Data editing details of Copy, Cut and Paste will be described below, based on slots. 1) Copy/Paste [Steps] 1. Select the slot to copy. 2. Click the right mouse button to select [Copy]. 3.
  • Page 379 Chapter 9. Parameters 4. Click the right mouse button to select [Paste]. 2) Cut/Paste 1. Select the slot to cut. 2. Click the right mouse button to select [Cut]. 9-14...
  • Page 380 Chapter 9. Parameters 3. Select the slot to paste. 4. Click the right mouse button to select [Paste]. 3) Undo [Steps] 1. Select the slot to delete. 9-15...
  • Page 381 Chapter 9. Parameters 2. Click the right mouse button to select [Delete]. 3. Click the right mouse button to select [Undo]. 9-16...
  • Page 382 Chapter 9. Parameters 4) Redo [Steps] 1. Click the right mouse button to select [Redo]. Notes - 20 steps are available for Undo and Redo functions. - The shortcut keys used in I/O Parameters Edit can not be used as the user defined shortcut key specified in XG5000.
  • Page 383: Detailed Module Information Setting

    Chapter 9. Parameters 9.2.5 Detailed Module Information Setting How to set the detailed module information will be described. Double-click the mouse or click [details] button for the detailed module information setting. 1) Input module [Dialog Box] [Description of Dialog Box] a.
  • Page 384 Chapter 9. Parameters Notes - Input module with the input of AC can not specify the filter value. - Standard value of the input filter shall be specified in basic parameters. Refer to 9.1 Basic Parameters for details on the Basic Parameters. - The input filter used to inspect the input signal will process the applicable signal as normal input if kept identical for the filtering time.
  • Page 385 Chapter 9. Parameters [Description of Dialog Box] a. Channel: one channel is assigned for 8 points, and the emergent output mode can be specified per channel. b. OK: applies the specified items and closes the Dialog Box. c. Cancel: closes the Dialog Box. Notes - Emergent output value will be specified in emergency like the stopped CPU during RUN - Default for the emergent output is Hold.
  • Page 386 Chapter 9. Parameters [Description of Dialog Box] a. Filter Value: used to specify filter constant value for the input. b. Output setting: used to specify detailed information for the output. c. OK: applies the changed items and closes Dialog Box. d.
  • Page 387 Chapter 9. Parameters 4) Interrupt Module Interrupt or Pulse-Catch mode is available for each channel. Rising/Falling condition is also available to specify for the bit of each channel. [Dialog Box] [Description of Dialog Box] 9-22...
  • Page 388 Chapter 9. Parameters a. Filter Value: used to specify filter constant value for the input. b. SOE History management: In case the module has no space to save events any more. c. Use External Time: You can select the base time; internal or external time d.
  • Page 389 Chapter 9. Parameters a. All Parameters Settings: after the white check box selected on the left of the parameter names, change the parameter item value to change all channels’ applicable parameter value. b. Maximum/Minimum Value Display: as for the parameter item to input figures, if the user inputs data, an applicable range will be displayed on the bottom of the dialog box automatically.
  • Page 390 Chapter 9. Parameters [Description of Dialog Box] a. All Parameters Settings: after the white check box selected on the left of the parameter names, change the parameter item value to change all channels’ applicable parameter value. If the user changes the parameter value to any other value than the default, the String color will change [Black][Blue] b.
  • Page 391 Chapter 9. Parameters [Description of Dialog Box] a. Parameter Area: displays the parameter item. And if the user changes the parameter value to any other value than the default, the String color will change [Black][Blue]. b. Maximum/Minimum value Display: as for the parameter item to input figures, if the user inputs data, an applicable range will be displayed on the bottom of the dialog box automatically.
  • Page 392 Chapter 9. Parameters N/A/Count clear/Count latch/ Sampling count/Measure input frequency / Additional Function Mode Measure rotations per unit time/Count Disable Range Value [msec] 0-60000 (Single Compare) less/(Single Compare) less or equal/ (Single Compare) equal/(Single Compare) equal or greater/ (Single Compare) Compared Output 0 Mode (Single Compare) greater/(Section Compare) included/ less...
  • Page 393: I/O Parameter Print Function

    Chapter 9. Parameters 9.2.6 I/O Parameter Print Function This function is used to print the specified I/O parameter and detailed module information specified. 1) Print Option Setting [Sequence] 1. On I/O Parameter Dialog Box, select [Print Button]-[Print]. [Dialog Box] [Description of Dialog Box] a.
  • Page 394 Chapter 9. Parameters [Sequence] 1. Select [Print Button]-[Copy to Clipboard] on the I/O parameter Dialog Box. Notes - While printing clipboard, the print options are not available but always I/O configuration table only available to print. 9.3 Device Auto-allocation Parameter To allocate device to automatic variable automatically, sets device area You can change position of device [Steps]...
  • Page 395 Chapter 9. Parameters [Description of dialog box] a. Order: according to order, memory allocation is done in order from upper line to lower line. b. Start: inputs start position of word device c. End: inputs end position of word device. d.
  • Page 396: Chapter 10 Online

    Chapter 10. Online Chapter 10 Online Available functions only with PLC connected will be described below. 10.1 Connect Options It is used to specify the connection network with PLC. 10.1.1 Local Connect Setting RS-232C or USB connection is available for Local Connect Setting. 1.Select [Online]-[Connect Settings] on the menu.
  • Page 397 Chapter 10. Online Retrial times: used to specify the times to retry to connect with PLC if the communication connection fails. Read/Write data size in PLC run mode: used to specify the frame size of data to transfer. This option is available only when the PLC operation is in Run mode. In other operation modes, data will be transferred in the maximum frame size.
  • Page 398 - USB device driver has to be installed for USB to connect to PLC. If not, let it installed prior to the connection. - When XG5000 is installed, USB driver will be installed automatically. If USB driver is not normally installed, download the applicable driver from LS ELECTRIC Home Page to install. 10-3...
  • Page 399: Remote 1 Connect Setting

    Chapter 10. Online 10.1.2 Remote 1 Connect Setting Ethernet Connect Setting [Steps] 1. Select the Connection Type of Ethernet. 2. Click the setting button to specify Ethernet IP. 3. Click [OK] to save the Connect Options. [Dialog Box] Notes - Ethernet shall be connected with PC to connect to Ethernet. - IP is as specified in Ethernet communication module.
  • Page 400 Chapter 10. Online Modem Connect 1. Select the Connection Type of Modem. 2. Click the setting button to specify modem details. [Dialog Box] [Description of Dialog Box] Modem Type: specifies the modem type available to connect. Cnet communication module has the exclusive modem functions.
  • Page 401 Chapter 10. Online 2. Select the Connection Step of Remote 1. 3. Click the setting button to specify Remote 1. [Dialog Box] [Description of Dialog Box] Network type: used to specify PLC communication module type for remote connection. Rnet, Cnet, FEnet and FDEnet are available for the communication modules. Base number: used to specify communication module’s base number of local PLC base.
  • Page 402: Remote 2 Connect Setting

    Chapter 10. Online 10.1.3 Remote 2 Connect Setting [Dialog Box] [Description of Dialog Box] a. Network type: used to specify PLC communication module type for remote connection. Rnet, Cnet, FEnet and FDEnet are available for the communication modules. b. Base number: used to specify communication module’s base number of local PLC base. c.
  • Page 403: Connect/Disconnect

    Chapter 10. Online 10.2 Connect/Disconnect 10.2.1 Connect It tries to connect to PLC based on the specified Connect Options. [Steps] 1. Select [Online]-[Connect] on the menu. 2. The Dialog Box will appear while connecting. 3. If connected to PLC, the Online menu and Online status will be displayed. 4.
  • Page 404 Chapter 10. Online Notes - If connected to PLC fast, the Dialog Box may appear and disappear quickly while connecting. - After connected, PLC’s status will be displayed at the side of project name on the project window and on the status display line. - If any other application program is already connected while PLC connected, its main Online functions are unavailable.
  • Page 405 Chapter 10. Online -Notes - Check Points when connection is failed. 1) RS-232C  Check if RS-232C cable connection between Computer and PLC is correct.  Check if the number of COM port of computer is match with the number of COM port where the cable is connected.
  • Page 406 Chapter 10. Online - Normal connection 3) Ethernet  Check if Ethernet cable (LAN cable) connection between Computer and PLC is correct.  Check if the IP and Gateway of Ethernet module is correct. The IP and Gateway of Ethernet module can be read or written with XG-PD software, which can be executed when [Tools]- [Network Manager] on the XG5000 menu bar is clicked.
  • Page 407 Chapter 10. Online communication status as below. And if the Ethernet module does not respond, the screen will show “Time out” message.  Check if the status of PLC is normal. 10-12...
  • Page 408: Write

    Chapter 10. Online 10.3 Write It is used to transfer user programs, respective parameter and comment to PLC. [Steps] 1. Select [Online]-[Connect] to connect to PLC via Online. 2. Select [Online]-[Write]. 3. Select the data to transfer to PLC and then click [OK] to start to transfer the selected data to PLC. [Dialog Box] [Description of Dialog Box] Selection Tree: selects the data to transfer to PLC.
  • Page 409 Chapter 10. Online Clear PLC: Pops up the window to delete the memory areas or parameters, programs inside of the PLC before writing the program(For more details on the function, refer to ‘10.8 Deletion of PLC’). Setting: Added settings for writing are allowed. [Dialog Box] [Description of Dialog Box] a.
  • Page 410 Chapter 10. Online [Description of Dialog Box] a. Select All: selects all the items in b Select. b. List of Select Items: displays the comment items available to write inside the PLC comment memory. c. Displays the size in byte or KB unit. d.
  • Page 411: Read

    Chapter 10. Online 10.4 Read It is used to upload programs, respective parameter and comment saved in PLC to apply to the present project [Steps] 1. Select [Online]-[Connect] to connect to PLC. 2. Select [Online]-[Read]. 3. Click [OK] after items to upload from PLC are selected. The uploaded items will be applied to the present project.
  • Page 412: Change Mode

    Chapter 10. Online 10.5 Change Mode It is used to convert PLC operation mode. [Steps] 1. Select [Online]-[Connect] to connect to PLC. 2. Select [Online]-[Change Mode]-[Run/Stop/Debug]. 3. PLC operation mode will change as selected by the user. Notes - PLC’s remote dip switch shall be ON with the operation mode dip switch in Stop. - The program in PLC shall be identical to that in the project to convert to Debug mode.
  • Page 413: Compare To Plc

    Chapter 10. Online 10.6 Compare to PLC It compares the project in PLC to the project open in XG5000. [Steps] 1. Select [Online]-[Connect] To connect to PLC. 2. Select [Online]-[Compare with PLC]. 3. Select an object to compare and then click [Compare]. [Dialog Box] [Description of Dialog Box] a.
  • Page 414 Chapter 10. Online 10.7 Setup of Communication Module It is the function to set up the communication module embedded to the PLC. 10.7.1 Link Enable It sets up the operations of high-speed link and P2P service. [Procedures] 10-19...
  • Page 415 Chapter 10. Online Select the menu [Online]-[Connect] for connecting to the PLC. Select the menu [Online]-[Communication module setting]-[Link Enable]. Check the items to be set and click ‘Write’. If you ‘Write’, the below completion message will be displayed. 10-20...
  • Page 416 Chapter 10. Online In case of failure, failure message will be displayed. 10.7.2 Download/Upload It is used to download or upload files such as OS, BBM, etc. for the communication module. [Procedures] 10-21...
  • Page 417 Chapter 10. Online Select the menu [Online]-[Connect] for connecting to the PLC. Select the menu [Online]-[Communication module setting]-[Download/Upload]. Select the communication modules to be downloaded/uploaded. Select the File Type. Select the BBMBoot, download, upload button depending on the file types. 10.7.3 EIP Tag Download It downloads the EIP tag for EtherNet/IP module’s tag communication.
  • Page 418 Chapter 10. Online Select the menu [Online]-[Connect] for connecting to the PLC. Select the menu [Online]-[Communication module setting]-[EIP tag download]. Select the EtherNet/IP module to be downloaded. Select the download button. The tags set in the menu [project]-[EtherNet/IP tag Export] window will be downloaded. After download is finished, the completion message will be displayed.
  • Page 419 Chapter 10. Online Select the menu [Online]-[Connect] for connecting to the PLC. Select the high-speed link window to be Config. Uploaded. Select the menu [Online]-[Communication module setting]-[Config. upload]. The information to be Config. uploaded to the high-speed link window will be displayed. 10.7.5 System Diagnosis [Procedures] Select the menu [Online]-[Connect] for connecting to the PLC.
  • Page 420: Reset Plc

    Chapter 10. Online 10.8 Reset PLC It is used to reset PLC. Reset PLC is also available with ‘Reset PLC’ dip switch. [Steps] 1. Select [Online]-[Connect] to connect to PLC. 2. Select [Online]-[Reset PLC]. 3. After reset type selected, click [OK] button to reset PLC. [Dialog Box] Notes - Reset and Overall reset are available for its type.
  • Page 421 Chapter 10. Online 10.9 Reset individual module [Procedures] Select the menu [Online]-[connect] for connecting to the PLC. Select the menu [Online]-[Reset/Clear]-[Reset individual module]. Tick the communication module to be reset and press OK button. Note -For more details on reset of individual communication module, refer to the communication module manual. 10-26...
  • Page 422: Clear Plc

    Chapter 10. Online 10.10 Clear PLC It deletes programs, respective parameter, comment, and memory and latch area in PLC. [Steps] 1. Select [Online]-[Connect] to connect to PLC. 2. Select [Online]-[Clear PLC]. 3. Select items to delete and then click Clear to start Clear PLC. 10.10.1 Clear Item It deletes the contents of the project saved in PLC.
  • Page 423: Clear Memory

    Chapter 10. Online 10.10.2 Clear Memory It deletes the memory value in PLC. [Dialog Box] [Description of Dialog Box] a. List of memory areas to select: shows the memory areas in PLC. Start/End address to delete can be specified by the user. b.
  • Page 424: Clear Latch

    Chapter 10. Online 10.10.3 Clear Latch It deletes the device value specified as a latch area. [Dialog Box] [Description of Dialog Box] a. Latch Area Check Box: device area’s value of the latch area checked and selected in PLC will be deleted if execute button is pressed.
  • Page 425 Chapter 10. Online 10.11 Clear all PLC [Procedures] Select the menu [Online]-[Reset/Clear]-[Clear all PLC]. The message will be displayed; “All programs, parameters, passwords, data of the PLC are deleted”. If you press [Yes] button, the connect setup window will be displayed. If you press [OK] button in the connect setup window, the process [Delete all PLCs] will be executed.
  • Page 426 Chapter 10. Online 10.12 SD format It has the function to format the SD memory card. [Procedures] Select the menu [Online]-[Connect] for connecting to the PLC. Select the menu [Online]-[Reset/Clear]-[SD Format]. The message on matters that require attention is displayed. If you click [Yes] button, the format window will be displayed and if you select ‘Start’...
  • Page 427 Chapter 10. Online 10.13 Deletion of parameters It is the function to delete the high-speed link and P2P parameters set in the communication module. [Procedures] Select the menu [Online]-[Connect] for connecting to the PLC. Select the menu [Online]-[Reset/Clear]-[Delete parameters]. Select the parameters to be deleted and press the OK button. Execute the process ‘Delete selected parameters’.
  • Page 428: Plc Information

    Chapter 10. Online 10.14 PLC Information It shows the information of PLC connected, where password and PLC timer can be set. 10.14.1 CPU Information Detailed information of PLC CPU can be checked. [Sequence] 1. Select [Online]-[Connect] to connect to PLC. 2.
  • Page 429: Cpu Performance

    Chapter 10. Online 10.14.2 CPU Performance Scan time of PLC and memory application status can be checked. [Steps] 1. Select [Online]-[Connect] to connect to PLC. 2. Select [Online]-[PLC Information]. 3. Select the Performance tap. [Dialog Box] [Description of Dialog Box] a.
  • Page 430 Chapter 10. Online [Dialog Box] [Description of Dialog Box] a. List: shows the list of the programs saved and the number of steps of each program. [Dialog Box] [Description of Dialog Box] a. List: shows the list of the comments saved and the size of each comment. 10-35...
  • Page 431: Password

    Chapter 10. Online 10.14.3 Password User password can be specified, changed or deleted to protect PLC information. [Sequence] 1. Select [Online]-[Connect] to connect to PLC. 2. Select [Online]-[PLC Information]. 3. Select the Password tap. [Dialog Box] [Description of Dialog Box] a.
  • Page 432 Chapter 10. Online [Password Changes] 1. Input the password saved in PLC in Edit Box for current Password Input. 2. Input a new password in Edit Box ‘b’ for New Password Input. 3. Input the new password again in Edit Box c for New Password Confirm as identical as in 2 above. 4.
  • Page 433: Plc Rtc Setting

    Chapter 10. Online 10.14.4 PLC RTC Setting The RTC (Real Time Clock) of PLC can be setup as follow steps. [Steps] 1. Select [Online]-[Connect] to connect to PLC. 2. Select [Online]-[PLC Information]. 3. Select the PLC RTC tap. [Dialog Box] [Description of Dialog Box] 10-38...
  • Page 434 Chapter 10. Online a. State: shows PLC timer setting status. If the timer is not specified, PLC time will not be read. b. Date: displays date. c. Time: displays time. d. Synchronize with PC clock: synchronizes date and time between PC and PLC. e.
  • Page 435: Plc History

    Chapter 10. Online 10.15 PLC History It displays the history data of error/warning, Change Mode and Shut down Log saved in PLC. 10.15.1 Error Log [Sequence] 1. Select [Online]-[Connect] to connect to PLC. 2. Select [Online]-[PLC History]. 3. Select the Error Log tap on PLC History Dialog Box. [Dialog Box] 10-40...
  • Page 436: Change Mode History

    Chapter 10. Online [Description of Dialog Box] a. List: displays Error Log. b. Details/Remedy: displays details of the error selected from the history along with action to take against the error. c. Read All: reads and displays all PLC histories. d.
  • Page 437: Shut Down Log History

    Chapter 10. Online 10.15.3 Shut down Log History It shows the Shut down Log history of PLC. [Dialog Box] Notes - Base number where the power is cut also will be displayed. 10-42...
  • Page 438: System Log

    Chapter 10. Online 10.15.4 System Log It shows the history of works executed by XG5000 when PLC runs. [Dialog Box] Notes - Each history is arranged in time sequence. - Each history will be saved on “.csv” file. This file can be open through Excel or other String editing programs.
  • Page 439: Plc Error/Warning

    Chapter 10. Online 10.16 PLC Error/Warning Error/warning and previous Error Log presently saved in PLC can be checked. [Steps] 1. Select [Online]-[Connect] to connect to PLC. 2. Select [Online]-[Error/Warning]. [Dialog Box] Notes - If any error or warning occurs during connection or Online, the Error/Warning dialog box will appear. - If the error is “I/O parameter discordant, I/O installation error, fuse error, I/O Read/Write error, special communication module error”, the applicable error’s slot information will be displayed as well.
  • Page 440 Chapter 10. Online 10.17 I/O information [Procedures] Select the menu [Online]-[Connect] for connecting to the PLC. Select the menu [Online]-[diagnosis]-[I/Q information]. [Description on the dialog box] a. Base module information: Displays the base. b. Show Existing base only: If you tick this, the base where modules are embedded currently only will be displayed.
  • Page 441 Chapter 10. Online 10.18 Saving PLC history [Procedures] Select the menu [Online]-[Connect] for connecting to the PLC. Select the menu [Online]-[diagnosis]-[Save PLC history]. If you click [diagnosis]- [Save PLC history], the window for saving will show up. Save the PLC’s history so far. 10-46...
  • Page 442: Flash Memory Setting

    Chapter 10. Online 10.19 Flash Memory Setting Flash memory operation of PLC can be specified. Flash memory operation: When PLC operation mode Changes to Run, it executes Run operation after copying the program in the flash memory to the program memory. In other words, it runs PLC through the program in the flash memory.
  • Page 443 Chapter 10. Online Notes - If a flash memory operation mode is specified, the program can be copied to the flash memory after Program Write or Modification Write during Run. - The flash memory operation mode setting is prepared to recover the program when PLC status is not normal.
  • Page 444: Forced I/O Setting

    Chapter 10. Online 10.20 Forced I/O Setting Forced I/O of the I/O refresh area can be specified in PLC. 1.Select [Online]-[Forced I/O Setting]. Notes - To obtain Forced I/O information, it will take about 5 sec. at a speed of 115200bps with RS-232C connected, or about 1 sec.
  • Page 445 Chapter 10. Online [Description of Dialog Box] a. Move address: changes the address value of area. Use the button or directly input the address value in the edit box desired to move to. Button Description << Used to move to 8 words previous address. <...
  • Page 446 Chapter 10. Online Notes - In case the assignment method of fixed points of 64-bit is used for each module, the flag and data can be specified for the other bits than the output module points if not identical to the points of the output module actually installed on PLC.
  • Page 447 Chapter 10. Online 1) Forced I/O Setting [Steps] (Example.: P0004 word 4 bit’s forced output 1, 7 bit’s forced output 0) 1. Move to P0004. Use the button or directly input the area desired to move to. 10-52...
  • Page 448 Chapter 10. Online 2. Select the flag and data of the bit 3. 3. Select the flag of the bit 7. As the forced output value of the bit 7 is 0, no data needs to be selected. 4. Select the Forced Output Enable Flag and then click Apply button to apply the forced value. 10-53...
  • Page 449 Chapter 10. Online 2) Forced I/O Cancel [Steps] (Example: P0004 word 4 bit’s forced value to cancel) 1. Move to P0004. Use the button or directly input the area desired to move to. 2. Cancel the bit 3 and 7’s flag selected to cancel the forced output value 3.
  • Page 450 Chapter 10. Online Notes Monitoring is to display the value of the calculation result of the program. - In the case of the forced input, monitoring will be with the forced value since the forced input value is updated in the monitor area. - In the case of the forced output, monitoring will not be available since the forced value will be actually output regardless of the calculation result.
  • Page 451: Skip I/O

    Chapter 10. Online 10.21 Skip I/O It is used to decide to inspect I/O and update I/O for the specific module during PLC operation. [Sequence] 1. Select [Online] - [Skip I/O]. [Dialog Box] [Description of Dialog Box] a. Base I/O Skip: used to decide to skip the base I/O or not. If the base module is skipped, all slots in the base will be I/O skipped.
  • Page 452 Chapter 10. Online 1) Skip I/O Setting for each slot [Sequence] 1. Select the base with the slot to specify Skip I/O. 10-57...
  • Page 453 Chapter 10. Online 2. Select the slot to specify the Skip I/O. 3. Select the check box of the status column. At this moment ‘*’mark will be added to the base. 10-58...
  • Page 454 Chapter 10. Online 4.If you press OK, the changed items are displayed. 2) Skip I/O Cancel for each slot [Sequence] 1. Select the base to cancel the Skip I/O. 2. Select the slot to cancel the Skip I/O. 3. Cancel the selected check box of the status column. ‘*’mark will be deleted if there is no slot any more where Skip I/O is specified in the applicable base.
  • Page 455 Chapter 10. Online 4.If you press OK, the changed items are displayed. 10-60...
  • Page 456 Chapter 10. Online 3) Base Skip I/O Setting [Sequence] 1. Select the base to specify the base Skip I/O. 2. Select the check box. 10-61...
  • Page 457 Chapter 10. Online 3.If you press OK, the changed items are displayed. 4) Base Skip I/O cancel [Sequence] 10-62...
  • Page 458 Chapter 10. Online 1. Select the base to cancel the base Skip I/O 2. Cancel the check box selected. As the base Skip I/O is canceled, the Skip I/O for each slot can be specified or canceled. 10-63...
  • Page 459 Chapter 10. Online 3.If you press OK, the changed items are displayed. Notes - Click [OK] button to apply the specified Skip I/O. 10-64...
  • Page 460: Fault Mask

    Chapter 10. Online 10.22 Fault Mask It is used to decide to keep running the module in Fault or not during PLC operation. [Sequence] 1. Select [Online]-[Fault Mask Setting]. [Dialog Box] [Description of Dialog Box] 10-65...
  • Page 461 Chapter 10. Online a. Base Fault Mask: used to decide to apply base module’s fault mask or not. If the base module’s mask is specified, all slots in the base will be of the fault mask. b. Slot Fault Mask: used to decide to apply the fault mask for each slot or not. c.
  • Page 462 Chapter 10. Online Notes - The I/O Information dialog box which is similar to Fault Mask or I/O skip dialog box when [Online]-[I/O Information] is selected. I/O Sync. Button will be activated when PLC is STOP Mode. - The I/O Parameter of XG5000 project will be synchronized with the real module installation information when I/O Sync.
  • Page 463: Module Changing Wizard

    Chapter 10. Online 10.23 Module Changing Wizard This Wizard is used to change the module during PLC operation. Note - Module Changing Wizard can be executed only in Run mode - In case there is PLC error, you can’t start Module Changing Wizard. [Steps] 1.
  • Page 464 Chapter 10. Online [Dialog Box] [Description of Dialog Box] a. Comment: displays the comment of the module selection stage. b. Base Module Tree: displays the base module. c. Slot Modules List: displays the information of the slot installed on the base module. d.
  • Page 465 Chapter 10. Online [Dialog Box] [Description of Dialog Box] a. Comment: displays the comment of the module confirming stage. b. Module Information: displays detailed information on the selected module. c. Back: used to move to the module selection stage. d. Next: used to move to the Removing Module. e.
  • Page 466 Chapter 10. Online 4. Click Next button if the information displayed is identical to the module to change, or click Back button to go back to the previous stage. In order to cancel the Module Changing Wizard, click Cancel button. 5.
  • Page 467 Chapter 10. Online [Dialog Box] [Description of Dialog Box] a. Description: displays the comment of the module installation stage. b. Back: used to move to the Removing Module. c. Next: used to move to the confirming stage of the module installation. d.
  • Page 468 Chapter 10. Online [Dialog Box] [Description of Dialog Box] a. Description: displays the comment of the module change complete stage. b. Back: It will be inactive since going back to previous stage is unavailable after the module changed. c. Finish: finishes the Module Changing Wizard. Notes If the Module Changing Wizard is cancelled, Fault Mask and Skip I/O may be set to protect the applicable module.
  • Page 469 Chapter 10. Online Notes - If you want to change the module without the Wizard, follow the sequence described below. [Sequence] 1. Set the Skip I/O for the module to change. 2. Set the Fault Mask for the module to change. 3.
  • Page 470: Custom Events

    Chapter 10. Online 10.24 Custom Events The Custom Events mean a series of events whose conditions are the devices specified by the user. User defined events are registered in PLC, which will monitor the registered events and record the event history if generated.
  • Page 471 Chapter 10. Online 2. Write the program to the PLC and select [Monitor]-[Custom Event] on the Online menu. 3. Open Event Setup dialog box by clicking [Add event] and setup each items as figure below. 10-76...
  • Page 472 Chapter 10. Online 4. Open ‘Associated Device Setup’ dialog box and setup the bit device M00100 and word device M0000 as figure below to store the data when event is met. 5. Close the dialog box, select ‘Enable’ for ‘Event allowance’ on the upper side of dialog box and click ‘OK’...
  • Page 473 Chapter 10. Online 7. Select [Monitor]-[Custom Event] on the Online menu to check event history and select event history tab on the ‘Custom Event’ dialog box. 8. An ‘Event History’ dialog box will be displayed when an event item is selected, and [Properties] button on the menu is clicked, where the list of associated device and the details of event can be seen.
  • Page 474: Event Setting

    Chapter 10. Online 10.24.2 Event Setting [Steps] 1. Select [Monitor] - [Custom Events]. 2. Click the event setting tap on the user event dialog box. [Dialog Box] [Description of Dialog Box] a. Event Allowance: used to decide to allow the user event or not. If the event disenabled, PLC does not collect the Custom Events.
  • Page 475 Chapter 10. Online 1) Custom Event Item Add [Steps] 1. Select [Add Event]. 2. Select the basic setting tap. [Dialog Box] [Description of Dialog Box] a. Device: used to input the device to monitor the events. The event device shall be of the value 0 or 1 in bit format only.
  • Page 476 Chapter 10. Online - Event type is specified by user based on the importance of the event and is used as a classifying method of events for Event View. - Refer to 10.17.2 Event History for more details. e. Message: used to input an event message. The maximum length of the message is 80 characters in English) (40 in Korean).
  • Page 477 Chapter 10. Online Notes - If related devices are specified, the value of the related devices will be also recorded when applicable events happen. - Up to 8 related devices can be specified in up to 16 bytes based on the data type of the device input. Supported data type and its respective byte size are as shown below.(XGB : Up to 4 related devices) Type Size...
  • Page 478 Chapter 10. Online 2. Select [Edit Event]. 3. Click [OK] to apply the changed items, or click Cancel to cancel it 3) Delete Event It deletes the user event input. [Steps] 1. Select the event to delete. 2. Select [delete]. 10-83...
  • Page 479 Chapter 10. Online 4) Event Allowance It is used to decide to allow all custom events or not. [Steps] 1. Click Enable to allow the event, or click Disable not to allow. 5) Event Allowance Setting Each event will be decided to be enabled or not. [Steps] 1.
  • Page 480 Chapter 10. Online 2. Move to the position to paste on. 3. Select [Paste]. 7) Custom Event Cut/Paste [Steps] 1. Select the event to cut. 2. Select [Cut]. 3. Move to the position to paste on. 10-85...
  • Page 481 Chapter 10. Online 4. Select [Paste]. 8) Delete All [Steps] 1. Select [Delete All]. 9) Save Event Since the user defined event is saved in PLC, it shall be additionally saved to manage as files. [Steps] 1. Select [Save Event]. 2.
  • Page 482 Chapter 10. Online 10-87...
  • Page 483: Event History

    Chapter 10. Online 10.24.3 Event History It reads the user event history saved in PLC to display its applicable details. [Steps] 1. Select [Monitor] [Custom Event]. 2. Select the Event History tap on the user event dialog box. [Dialog Box] 10-88...
  • Page 484 Chapter 10. Online [Description of Dialog Box] a. Event History List: displays the event history found on PLC. b. Menu: displays the event history-related menu. c. Apply PLC: inactive on the event history page. d. OK: applies the changed items and closes the Dialog Box. e.
  • Page 485 Chapter 10. Online 2. Select [Information]. [Dialog Box] [Description of Dialog Box] a. Date: displays the date an event occurs in Year-Month-Date. b. Time: displays the time an event occurs in Hour: Minute: Second: MS. c. Condition: displays event details specified in event setting items. Notes - Refer to 1) Custom Event Items Additional of 10.17.1 for details on the respective event setting item.
  • Page 486 Chapter 10. Online 2) Refresh It updates the event history as recent details in PLC. 1.Select [Refresh]. 3) Event Filtering The history can be displayed on the event type. 1.Select [View All]. 2.Select [View Informtion]. 3.Select [View Warning]. 4.Select [View Alarm]. 10-91...
  • Page 487 Chapter 10. Online 10-92...
  • Page 488: Chapter 11 Monitoring

    Chapter 11. Communication and Special Function Blocks Chapter 11 Monitoring 11.1 Monitoring XG5000’s monitoring functions used in common (Start/Stop Monitoring, Pause, Resume, Pausing Conditions, Change Current Value) will be described below. 11.1.1 Start/Stop Monitoring [Start Monitoring] 1. Select [Online]-[Connect] on the menu for on-line connection to PLC. 2.
  • Page 489 Chapter 11. Communication and Special Function Blocks 4. Select [Monitor]-[Change Current Value] on the menu. 5. Input Current Value in dialog box and select OK to change the current value. [Dialog Box] [Description of Dialog Box] a. Device: Name of the device where current value is changed. b.
  • Page 490: Pause Monitoring

    Chapter 11. Communication and Special Function Blocks Notes - Default of the value is displayed based on the device’s display type. In other words, if it is displayed in hexadecimal when monitored, current value changed will be too in hexadecimal. - The value may not be input according to its display type.
  • Page 491 Chapter 11. Communication and Special Function Blocks - PLC is in Run mode, even if monitoring is momentarily stopped. - Momentarily stopped monitoring only can be restarted. - Monitoring value will not be renewed if program screen is moved with Pause Monitoring. - If current value is changed with Pause Monitoring, PLC value will be changed but monitoring value of program screen will not be renewed.
  • Page 492 Chapter 11. Communication and Special Function Blocks a. Select All: used to check all items with no error to allow on the list. b. Use: used to check setting status of Pause Monitoring. c. Type: used to select device type. d.
  • Page 493: Ld Program Monitoring

    Chapter 11. Communication and Special Function Blocks 11.2 LD Program Monitoring With XG5000 in monitoring status, it displays contact points prepared in LD diagram (ordinarily open contact point, ordinarily closed contact point, positive-converted detection contact point, negative-converted detection contact point), coils (coil, reverse-coil, set coil, reset coil, positive-converted detection coil, negative- converted detection coil) and application instruction’s current value.
  • Page 494 Chapter 11. Communication and Special Function Blocks [Coil Monitor Display] 1. Coil: If applicable coil’s value is On status, device (or variable) value will be displayed in red, and the power flow inside the coil in blue. 2. Reverse-coil: If applicable coil’s value is On status, device (or variable) value will be displayed in red, and the power flow inside the coil will not be displayed.
  • Page 495 Chapter 11. Communication and Special Function Blocks Notes - Displayed data of application instruction can be specified on Monitor/Debugger page on the menu [Tools]-[Options]-[Online]. Refer to the option item in Chapter 2 Basic Application for more details. [Monitor Stop] 1. Select [Monitor]-[Start/Stop Monitoring] on the menu. 11-8...
  • Page 496 Chapter 11. Communication and Special Function Blocks Notes - All kinds of Edit are unavailable except Modification during Run Mode when monitored. - Refer to the 1 clause of this chapter, Monitor in Common for details on Pause Monitoring and Change Current Value.
  • Page 497: Variable Monitoring

    Chapter 11. Communication and Special Function Blocks 11.3 Variable Monitoring Monitoring is available through specific variable or device registered. [Variable Monitoring Window] [Description of Variable Monitoring Window] 11-10...
  • Page 498: Register Monitoring

    Chapter 11. Communication and Special Function Blocks a. PLC: Shows the names of PLCs that can be registered. XG5000 can realize multi-configuration of PLC so it should be distinguished variable monitor window. b. Device/variable: Inputs the device name. # device or double device also can be set up. c.
  • Page 499 Chapter 11. Communication and Special Function Blocks 1. On the monitoring window, click the right button of the mouse to select [Register in Variable/Comment]. 2. [Select] dialog box will appear if PLCs are 2 or more included in the project. Select PLC to register. 3.
  • Page 500 Chapter 11. Communication and Special Function Blocks [Description of Dialog Box] a. Variable/Device: used to input device names to find. b. List: used to show items registered on Variable/Comment or Flags list c. List(L): used to select Variable/Comment or Flags list to show items registered thereon. d.
  • Page 501 Chapter 11. Communication and Special Function Blocks 2) Register All Many devices with an identical variable type (BIT, WORD……) can be registered. [Sequence] 1. On the variable monitoring window, click the right button of the mouse to select [Register All]. 2.
  • Page 502 Chapter 11. Communication and Special Function Blocks [Description of dialog box] a. Start Device: used to input start address of the device to register. (Device Ex.: P0, D0, D0.0, U00.0.0, R0) b. Type: used to specify registered device type. Bit or Word available only. c.
  • Page 503 Chapter 11. Communication and Special Function Blocks Notes - Copy, Paste and Delete functions supported. 1. Copy: available in String format on the variable monitoring windows. Paste is available onto Excel or other String editor. 2. Paste: Paste is available onto variable monitoring after Copy from Excel or other String editor. 3.
  • Page 504 Chapter 11. Communication and Special Function Blocks 2. Move onto the variable monitoring window along with the mouse’s left button being pressed on the selected area. - Cursor shape and input image will be created if the mouse is moved onto the variable monitoring window as shown below.
  • Page 505 Chapter 11. Communication and Special Function Blocks Notes - The larger the number of variables to register is, the longer the registration time may be. - The number of registers is unlimited. - If the items are inserted in the middle of rows, they will be registered between rows. - With the mouse’s left button still pressed, move onto variable monitoring number taps (Monitoring 1, Monitoring 2, Monitoring 3 and Monitoring 4) to register on the applicable variable monitoring taps.
  • Page 506: View

    Chapter 11. Communication and Special Function Blocks 11.3.2 View 1) Detailed/Briefly It is a helpful function to view as many a variable as possible on the screen of the variable monitoring window. [Sequence] 1. On the variable monitoring window, select [Briefly] on the menu displayed by the right button of the mouse. 2.
  • Page 507 Chapter 11. Communication and Special Function Blocks Notes - ‘Briefly’ will hide the columns for PLC, Type, Variable and Comment. - Even if in Brief View mode, the hidden columns can be viewed through View function. - The number of rows is decided by the size of the variable monitoring window. - In Brief View mode, the number of rows will be changed if the size of the Variable Monitoring Window changed.
  • Page 508 Chapter 11. Communication and Special Function Blocks Notes - Default is Show All. - This function is also available in Detailed View mode. - The value column does not support Hide function. - If converted to Detailed or Brief View mode, hidden columns will be displayed as default. - String in the hidden columns can not be copied.
  • Page 509: Operation Of Monitoring

    Chapter 11. Communication and Special Function Blocks 11.3.3 Operation of Monitoring 1) Start Monitoring It is used to start the monitoring of the device registered on the variable monitoring. [Sequence] 1. Select [Monitor]-[Start/Stop Monitoring] on the menu. 2. The item with identical Start Monitoring PLC name and the item with no error will execute Monitoring. Variable Monitoring Window being monitored Notes - PLC’s device value will not be displayed if not monitored.
  • Page 510: Find

    Chapter 11. Communication and Special Function Blocks 11.3.4 Find 1) Find It helps find string based on the classification by capital/small letter, partial accord and direction. Notes - On the variable monitoring, Find function is not available. - On the variable monitoring, Change function is not available. - Value is regarded as string not as figure when Find function is executed in the value column.
  • Page 511: Shortcut Keys

    Chapter 11. Communication and Special Function Blocks 11.3.6 Shortcut Keys All the operations are available with shortcut keys on the menu. Notes - Some shortcut keys can not be changed as specified by user. Shortcut Keys Details Home/End On the variable monitoring window, select a cell to make the cursor into the cell in the column where edit is available (PLC, Device, Type Column) to be in Edit mode.
  • Page 512 Chapter 11. Communication and Special Function Blocks 2. Alignment will be in ascending or descending sequence 3. After aligned, an arrow figure will be displayed according to ascending or descending sequence. Notes - If aligned in descending sequence, a downward arrow image will be displayed. And if aligned in ascending, an upward arrow image will be displayed.
  • Page 513: System Monitoring

    Chapter 11. Communication and Special Function Blocks 11.4 System Monitoring System Monitoring is used to display PLC’s slot information, I/O information assigned, module status and data value. 11.4.1 Basic Application There are two methods available to execute System Monitoring. - Select [Monitor]-[System Monitoring] on the XG5000 menu. - Select [Start]-[Program]-[XG5000]-[System Monitoring] on the Start menu.
  • Page 514: Connect/Disconnect

    Chapter 11. Communication and Special Function Blocks - If System Monitoring is executed on the XG5000 menu, it will be in Connect and Monitoring status. 11.4.2 Connect/Disconnect System Monitoring can be created by a call from XG5000, or can be also executed solely. Thus, the connection is available to PLC with Connect options.
  • Page 515: All I/O Modules On/Off

    Chapter 11. Communication and Special Function Blocks 11.4.4 All I/O modules ON/OFF It is used to check output value of all the I/O modules installed on PLC. 1) All I/O modules ON It makes the data value of all the I/O modules installed on PLC be ON. [Sequence] 1.
  • Page 516: Change Current Value

    Chapter 11. Communication and Special Function Blocks 1. Confirm the connection status with PLC. 2. Select [PLC]-[Selected I/O modules OFF] on the menu. 11.4.6 Change Current Value In order to change the current value, it shall be in the connection status with PLC and in monitoring mode. Click the contact point to change the data value of the selected contact point to ON or OFF.
  • Page 517: Information Display Of Cpu Module

    Chapter 11. Communication and Special Function Blocks 11.4.8 Information Display of CPU module Information of CPU Module displays CPU version, type, operation mode, key status, CPU status, connection status, forced I/O setting status, I/O skip and error mask status. [Sequence] 1.
  • Page 518: Information Display Of Communication Module

    Chapter 11. Communication and Special Function Blocks 11.4.9 Information Display of Communication Module Information of Communication Module displays module type, operation status, H/W version & error status, O/S version and its installed date. [Sequence] 1.Confirm the connection status with PLC. 2.
  • Page 519: Information Of Special Module

    Chapter 11. Communication and Special Function Blocks 11.4.10 Information of Special Module Information of Special Module displays module type, module-related information, O/S version, and module status. [Sequence] 1. Confirm the connection status with PLC. 2. Select one method among those below to display the module information. - With Special Module selected, select [PLC]-[Module Info.] on the menu.
  • Page 520: Start/Stop Monitoring

    Chapter 11. Communication and Special Function Blocks [Detailed Description] Classification Description Module type Provides special module’s type and its detailed information. O/S version Provides special module’s installed O/S version information, which will be helpfully used for upgrading module O/S later. O/S updated date Provides special module’s latest O/S updated date information.
  • Page 521: Save

    Chapter 11. Communication and Special Function Blocks Notes - Please refer to the special module manual or chapter 11. 6 Special Module monitoring for the details of special module monitoring. - Not [Special Module Monitoring] but [Module Info.] function is only available for the positioning module.
  • Page 522: Open

    Chapter 11. Communication and Special Function Blocks [Sequence] 1. Select [File]-[Save] on the menu. 2. Select [File]-[Save As] on the menu to save the data as a different name. Notes - File extension will be set as (.smi). 11.4.14 Open It is used to read the system information file previously saved.
  • Page 523: Preview

    Chapter 11. Communication and Special Function Blocks 11.4.16 Preview This function is used to previously view the image to be printed. On the Previous View window, the user can modify the area to be printed. [Sequence] 1. Click [Preview]. - Select [File]-[Preview] on the menu. 2.
  • Page 524: Device Monitoring

    Chapter 11. Communication and Special Function Blocks 11.5 Device Monitoring Device Monitoring can monitor all the device areas’ data in PLC. It can write or read data value on the PLC’s specific device. In addition, Device Monitoring can display the data value variously when displayed or input on the screen according to bit format and display method.
  • Page 525: Device Areas

    Chapter 11. Communication and Special Function Blocks How to open the device is as follows. Double-click the device icon (Ex. P, T, …) or click the right button of the mouse to select [Open Device] on the menu. Notes - Device monitoring if executed on the XG5000 menu will be in Connect, Monitor status. - If not in Monitoring mode, the device if open will display the previous data value.
  • Page 526 Chapter 11. Communication and Special Function Blocks 1) 16 bits Data size of the device is displayed in 16 bits. [Sequence] 1. Select [View]-[View Option]-[16 bit] on the menu. Notes - Assigned device of the selected cell is displayed in the status bar. 11-39...
  • Page 527 Chapter 11. Communication and Special Function Blocks 2) 32 bits Data size of the device is displayed in 32 bits. [Sequence] 1. Select [View]-[View Option]-[32 bit] on the menu. [Detailed Description] - 32-bit P0000 device is of memory format united with 16-bit device P0000 and P0001. 16 bits P0000 P0001...
  • Page 528 Chapter 11. Communication and Special Function Blocks 3) 64 bits Data size of the device is displayed in 64 bits. [Sequence] 1. Select [View]-[View Option]-[64 bit] on the menu. [Detailed Description] - 64-bit P0000 device is of memory format united with 16-bit P0000, P0001, P0002 and P0003. 16 bits P0000 P0001...
  • Page 529 Chapter 11. Communication and Special Function Blocks 4) Binary Data is displayed in binary. [Sequence] 1. Select [View]-[View Option]-[Binary] on the menu. [Detailed Description] - Data value is displayed by 1, 0, ‘ ‘ (blank). Application Example) Hexadecimal 1234 Binary 0001 0010 0011 0100 11-42...
  • Page 530 Chapter 11. Communication and Special Function Blocks 5) BCD Data is displayed in BCD. [Sequence] 1. Select [View]-[View Option]-[BCD] on the menu. [Detailed Description] - Data value is displayed by the figures of 0 ~ 9. Application Example) Hexadecimal 1234 1234 11-43...
  • Page 531 Chapter 11. Communication and Special Function Blocks 6) Unsigned decimal Data is displayed in unsigned decimal. [Sequence] 1. Select [View]-[View Option]-[Unsigned Decimal] on the menu. [Detailed Description] - Data value is displayed by the figures of 0 ~ 9. Application Example) Hexadecimal 1234 Unsigned decimal...
  • Page 532 Chapter 11. Communication and Special Function Blocks 7) Signed Decimal Data is displayed in signed decimal. [Sequence] 1. Select [View]-[View Option]-[Signed Decimal] on the menu. [Detailed Description] - Data value is displayed by the figures of 0 ~ 9. Application Example) Hexadecimal 1234 Signed decimal...
  • Page 533 Chapter 11. Communication and Special Function Blocks 8) Hexadecimal Data is displayed in hexadecimal. [Sequence] 1. Select [View]-[View Option]-[Hexadecimal] on the menu. 11-46...
  • Page 534 Chapter 11. Communication and Special Function Blocks 9) Real Data is displayed in real. [Sequence] 1. Select [View]-[View Option]-[Real] on the menu. [Detailed Description] - Data value is displayed in real. - Real format is available in 32 bits and 64 bits. Application Example) Hexadecimal 5678 1234...
  • Page 535 Chapter 11. Communication and Special Function Blocks 10) Text Data is displayed in ASCII string. [Sequence] 1. Select [View]-[View Option]-[Text] on the menu. [Detailed Description] - Data value is displayed in ASCII string. Application Example) Hexadecimal 1234 Text 11-48...
  • Page 536 Chapter 11. Communication and Special Function Blocks 11) Current Value This function is used to show or hide the row of the current value in the T and C devices. [Sequence] 1. Select [View]-[View Option]-[Current Value] on the menu. 11-49...
  • Page 537 Chapter 11. Communication and Special Function Blocks 12) Setting Value This function is used to show or hide the row of the setting value in the T and C devices. [Sequence] 1. Select [View]-[View Option]-[Setting Value] on the menu. 11-50...
  • Page 538 Chapter 11. Communication and Special Function Blocks 13) Bit Value This function is used to show or hide the row of the bit value in the T and C devices 1.[Sequence]-[Bit Value] on the menu. 11-51...
  • Page 539 Chapter 11. Communication and Special Function Blocks 14) Text Bits This function is used to display the bit value data by ON/OFF in T and C devices. [Sequence] 1. Select [View]-[View Option]-[Textbit] on the menu. 11-52...
  • Page 540: Edit Data

    Chapter 11. Communication and Special Function Blocks 15) Numberbit This function is used to display the bit value data by the figures of 1/0 in T and C devices. [Sequence] 1. Select [View]-[View Option]-[Numberbit] on the menu. 11.5.4 Edit Data Data value shall be specified to write device data on PLC, or to write the selected area only on PLC.
  • Page 541: Save Device

    Chapter 11. Communication and Special Function Blocks 1. Select the area to cut. 2. Select [Edit]-[Cut] on the menu. 3) Copy It is used to copy the data of the selected area to save it in the clipboard. [Sequence] 1. Select the area to copy. 2.
  • Page 542 Chapter 11. Communication and Special Function Blocks There are 3 methods available to save the device. 1) Save All Device Areas [Sequence] 1. Select [File]-[Save] on the menu. 2. Select [File]-[Save As] on the menu to save the data as a different name. - File extension will be set as (.mem).
  • Page 543: Open Device

    Chapter 11. Communication and Special Function Blocks 3) Save Respective Device Area if all windows closed [Sequence] 1. Select [File]-[Save Device to File] on the menu. 2. Select the device to save from the combo box. - File extension will be set as (device+m). (Ex. pm, mm, lm,…) 11.5.6 Open Device There are 3 methods available to open the device.
  • Page 544 Chapter 11. Communication and Special Function Blocks 2) Import Device from File [Sequence] 1. Select [File]-[Import Device from File] on the menu. 3) Open Respective Device Area if all windows closed [Sequence] 1. Select [File]-[Import Device from File] on the menu. 2.
  • Page 545: Data Value Setting

    Chapter 11. Communication and Special Function Blocks 11.5.7 Data Value Setting Data value of the device can be specified according to its display type and the number of bits. In addition, setting area of the data value can be selected. [Sequence] 1.
  • Page 546: Clear Data

    Chapter 11. Communication and Special Function Blocks [Description of Dialog Box] a. Title bar: used to display the device to set its data value. b. Data value: used to input and display the data compatible with the number of bits and the display format. c.
  • Page 547: Write To Plc

    Chapter 11. Communication and Special Function Blocks 11.5.9 Write to PLC It is used to transfer the device data saved in on-line computer to PLC. [Sequence] 1. Ensure PLC is connected and the monitoring mode is inactive. 2. Select [PLC]-[Write to PLC] on the menu. 3.
  • Page 548: Read From Plc

    Chapter 11. Communication and Special Function Blocks [Dialog Box] [Description of Dialog Box] a. Device Area: used to display the list of the devices to write on PLC. b. Select All: used to select all the devices to write on PLC. c.
  • Page 549: Write Selected Area On Plc

    Chapter 11. Communication and Special Function Blocks [Dialog Box] [Description of Dialog Box] a. Device Area: used to display the list of the devices to read from PLC. b. Select All: used to select all the devices to read from PLC. c.
  • Page 550: Start/Stop Monitoring

    Chapter 11. Communication and Special Function Blocks 11.5.12 Start/Stop Monitoring It reads the device data from PLC to display on the screen in the on-line status, or it stops reading the data. 1) Start Monitoring It reads the device data from PLC to display on the screen in the on-line status. [Sequence] 1.
  • Page 551: Change Current Value

    Chapter 11. Communication and Special Function Blocks 11.5.13 Change Current Value It is used to change the data value of the cell in monitoring mode. [Sequence] 1. Ensure PLC is connected and the monitoring mode is active. 2. Select [PLC]-[Change Current Value] on the menu. 3.
  • Page 552: Plc Type Settings

    Chapter 11. Communication and Special Function Blocks 11.5.14 PLC Type Settings It is used to display the PLC type presently set or to set device data based on the PLC type. [Sequence] 1. Select [File]-[ PLC Type Settings] on the menu. [Dialog Box] [Description of Dialog Box] a.
  • Page 553: Automatic Width/Height Adjustment

    Chapter 11. Communication and Special Function Blocks 11.5.16 Automatic Width/Height Adjustment This function is used to adjust the size of the data values so to display on the screen. 1) Width AutoFit It adjusts the size to the string length of the cell. [Sequence] 1.
  • Page 554: Page Setting

    Chapter 11. Communication and Special Function Blocks [Description of Dialog Box] a. Font Type, Font size: shows presently displayed font name and font size. b. Font: calls a dialog box to change font name and font size displayed on the screen. c.
  • Page 555: Special Module Monitoring

    Chapter 11. Communication and Special Function Blocks 11.6 Special Module Monitoring Select [Monitor]-[Special Module Monitoring] on the menu of XG5000 program to display “Special Module” list dialog box (as shown in Fig. 1). “Special Module List” dialog box displays the information list of the special module presently installed on the PLC system for the user to select a module on the list and then to click [Monitor] in order to show “Special Module Monitoring”...
  • Page 556 Chapter 11. Communication and Special Function Blocks Monitoring Screen Parameter Setting Screen Fig. 2 Monitoring/Test Screen (High-speed Count Module) 11-69...
  • Page 557 Chapter 11. Communication and Special Function Blocks Screen for Contact Point Input Signal Status Instruction Screen Fig. 2 Monitoring & Instruction Screen of HS Counter Module FLAG 11-70...
  • Page 558 Chapter 11. Communication and Special Function Blocks [Description of Dialog Box] a. FLAG Monitor(applicable only to HS counter module): Flag monitoring function is used to execute instructions for HS counter module. The user can check the instruction and input signal status along with HS counter monitoring/test screen as well as Flag monitoring screen (refer to Fig.
  • Page 559: Trend Monitoring

    Chapter 11. Communication and Special Function Blocks 11.7 Trend Monitoring Trend monitoring is used to read the data periodically from PLC connected so to display in a graph. The trend monitoring window is composed of bit graph and trend graph. In the bit graph, bit device’s On/Off status is displayed in stair-shaped graph.
  • Page 560 Chapter 11. Communication and Special Function Blocks 4.Select [Graph]-[Graph Settings]. 5. Select ‘Graph Setup’ tab on the monitor setup dialog box and input C0000 for Device. 6.Click ‘OK’ button and close the dialog box. The device C0000 is registered in the trend graph. 7.
  • Page 561 Chapter 11. Communication and Special Function Blocks 8. Click [Monitor]-[Start/Stop Monitoring] and the monitoring will be started. The current value of counter, C0000, will be displayed with trend graph. Notes - The data to display on the trend monitoring may be different from the actual data. In order to monitor correct timing, use the data trace function.
  • Page 562: Setting Trend Monitoring

    Chapter 11. Communication and Special Function Blocks 11.7.2 Setting Trend Monitoring [Sequence] 1. Select [Graph]-[Graph Settings] on the menu. [Dialog Box] [Description of Dialog Box] a. Max. sample to display: displays the maximum number of samples available to scroll in the graph. b.
  • Page 563 Chapter 11. Communication and Special Function Blocks - The ‘Max. samples to display’ can not be greater than the ‘Max. sample to keep’. - The ‘Max. time to display’ can not be greater than the ‘Max. time to keep’. - The relationship between the Max. samples to keep and the Max. sample to displayed is as shown below.
  • Page 564: Setting Graph

    Chapter 11. Communication and Special Function Blocks - Up to 8 bit devices are available to register. 2) Setting Trend Device It is used to input the trend device to monitor. [Sequence] 1. Select the trend graph tap on the Setting Monitoring dialog box. 2.
  • Page 565 Chapter 11. Communication and Special Function Blocks [Sequence] 1. Select [Graph]-[Graph Settings] on the menu. [Dialog Box] [Description of Dialog Box] a. Show grid: used to decide to show XY grid or not on the screen. b. Show X-axis data: used to decide to show X-axis data or not. c.
  • Page 566 Chapter 11. Communication and Special Function Blocks - The max./min. value is applied only to Y-axis of the trend graph, and not applied if View Present Y-axis is automatically adjusted. - The min. value input can not be greater than the max. value. - The actual data’s max./min.
  • Page 567: Setting Graph Window

    Chapter 11. Communication and Special Function Blocks 1. Select the device to change its graph color. 2. Click the color column to display applicable dialog box. On the dialog box, select desired color and then click [OK] button. 2) View Graph Option Settings [Sequence] 1.
  • Page 568: Graph Function

    Chapter 11. Communication and Special Function Blocks It is used to decide to change View Graph Option and display the data value as necessary. [Sequence] 1. Select [Graph]-[Graph Settings] on the menu. [Dialog Box] [Description of Dialog Box] a. View all: displays all the bit and trend graphs. b.
  • Page 569 Chapter 11. Communication and Special Function Blocks 1) View Cursor It is used to display the data value the mouse is positioned on. [Sequence] 1. Select [Graph]-[View Cursor] on the menu. 2. Click the left mouse button to select the graph. Whenever the mouse moves, the data value the cursor is positioned on will be displayed.
  • Page 570 Chapter 11. Communication and Special Function Blocks 1. Move the horizontal scroll bar to scroll the bit graph and the trend graph at the same time based on Scroll Synchronization specified. 3) Adjust X-axis magnification It is used to adjust X-axis magnification. [Sequence] 1.
  • Page 571 Chapter 11. Communication and Special Function Blocks 4) Adjust Y-axis magnification It is used to adjust Y-axis magnification. [Sequence] 1. Select [Graph]-[Zoom In Y axis], [Zoom Out Y axis], [Reset Y axis] on the menu. Based on the selected item, Y-axis’s height will be increased, decreased or back to basic value. 5) Adjust X-axis Automatically It is used to decide to adjust X-axis automatically.
  • Page 572 Chapter 11. Communication and Special Function Blocks 6) Adjust Y-axis Automatically It is used to decide to adjust Y-axis automatically. The automatic adjustment of Y-axis is applicable only to the trend graph. [Sequence] 1. Select [Graph]-[Adjust Y-axis Automatically] on the menu. Notes - If the function of Y axis Autofit is not selected, the display will be based on the max./min.
  • Page 573 Chapter 11. Communication and Special Function Blocks 9) Copy to Clipboard It is used to copy the graph presently displayed on the screen onto the window clipboard. [Sequence] 1. Select [Graph]-[Copy to Clipboard] on the menu. Notes - The data will not be displayed if ‘Y axis auto scale’ is setup and the variant of data is less than 2.2e-016. The graph will be displayed as figure below.
  • Page 574: Data Traces

    Chapter 11. Communication and Special Function Blocks 11.8 Data Traces Trace Data is used to specify trace condition and device to trace in PLC so to collect the data complying with the specified condition from PLC. In XG5000, applicable data read from PLC will be displayed in a graph. While being similar to the trend monitoring described in 11.7, it can collect more correct data as read from PLC.
  • Page 575 Chapter 11. Communication and Special Function Blocks [Trace Data Window] [Description of Window] a. Menu: displays the data trace menu. b. Tool Box: displays the tool box of the data trace. c. Bit graph Index: displays bit device and graph color. d.
  • Page 576: Connect

    Chapter 11. Communication and Special Function Blocks 11.8.1 Connect [Sequence] 1. Select [Online]-[Connect] on the menu. Notes - Refer to 10.1 Connect Options in XG5000 manual for details on Connect Options. 11.8.2 Setting Trace It is used to specify trace conditions and trace device. [Sequence] 1.
  • Page 577 Chapter 11. Communication and Special Function Blocks [Description of Dialog Box] a. Trace: decides to allow the trace or not. b. Trigger settings: specifies the condition for trace start. As a trigger condition bit condition or word condition can be selected. c.
  • Page 578 Chapter 11. Communication and Special Function Blocks [Sequence] 1. Select the check box of word condition. 2. Input the device to use as a word condition. Word device format only is available. 3. Input constant value to compare with word device value. 4.
  • Page 579 Chapter 11. Communication and Special Function Blocks Notes - Devices of bit type can be input up to 16. 4) Word Device Settings It is used to select the word device to collect data. The selected device will be displayed in a word graph [Sequence] 1.
  • Page 580: Setting Graph

    Chapter 11. Communication and Special Function Blocks 2.Input the device of word type. 3. Select the data type of device. Notes - Devices of word type can be input up to 8(XBMS: Max. 4) - Supported data types are as follows. Type Size Type...
  • Page 581 Chapter 11. Communication and Special Function Blocks [Description of Dialog Box] a. Show grid: used to decide to show XY grid or not on the screen. b. Display trigger: used to decide to display the trigger position on the graph, and to specify color. c.
  • Page 582: Trace

    Chapter 11. Communication and Special Function Blocks 11.8.4 Trace It is used to read the data traced from PLC or the data specified. 1) Write Trace Setting It applies the trace setting to PLC. [Sequence] 1. Select [Trace]-[Write Trace Settings] on the menu. 2) Read Trace Settings It is used to read trace setting from PLC.
  • Page 583 Chapter 11. Communication and Special Function Blocks [Dialog Box] [Description of Dialog Box] a. Frequency: used to specify the cycle to update the data sample on the screen. Available data update cycles are 20, 50, 100, 200, 500, 1000 and 2000ms value. b.
  • Page 584: Graph Function

    Chapter 11. Communication and Special Function Blocks 11.8.6 Graph Function Refer to 11.7.5 Graph Function in this manual for its basic functions. 1) Move Trigger It moves the trigger to its generated point of time. [Sequence] 1. Select [Graph]-[Go to Trigger Position] on the menu. 11.8.7 File function It is used to save or read trace setting from the file.
  • Page 585: View Function

    Chapter 11. Communication and Special Function Blocks 5) Save Text It is used to save the graph data on the file in text. Samples as many as the max. samples kept specified in setting the max. graph will be saved. [Sequence] 1.
  • Page 586 Chapter 11. Communication and Special Function Blocks [Description of Dialog Box] a. Trace info: displays the trace sampling cycle. b. View Settings: displays the trace details. c. Data Grid: displays the current value specified in the sequence of the samples. The sample data will be displayed in negative before triggered, and in positive after triggered.
  • Page 587: Pid Monitor

    Chapter 11. Communication and Special Function Blocks 11.9 PID Monitor At PID monitor, you can set data value by loop unit and monitor it for PID control. XGI/XGR supports 8 blocks (256 loops). Representative function of PID monitor is as follows. 1) Read/Write PID data from PLC 2) Read/Save PID data from file 3) PID monitor/setting...
  • Page 588 Chapter 11. Communication and Special Function Blocks At block information window, select block, loop you want. If you double-click loop or press enter, loop monitor window shows up. [Detail description] a. Graph: indicates PV (Present Value), MV (Manipulated Value), SV (Setting value) among PID monitor value as trend graph b.
  • Page 589: Save File

    Chapter 11. Communication and Special Function Blocks 11.9.2 Save file It saves PID data value into file. 1) Save All Loops [Sequence] Select menu [File]-[Save All Loops] After inputting file name, press ‘Save’ button 2) Save Block How to save at menu [Sequence] Select [File]-[Save Block] After inputting file name, press ‘Save’...
  • Page 590 Chapter 11. Communication and Special Function Blocks How to save at block information window [Sequence] Select block to save at block information window Push the right button of mouse and select [Save Block] After inputting file name, press ‘Save’ button 3) Save Loop How to save at block information window [Sequence]...
  • Page 591: Open File

    Chapter 11. Communication and Special Function Blocks 11.9.3 Open file Reads PID data setting value from file 1) Open All Loops [Sequence] Select [File]-[Open All Loops] After inputting file name, push ‘Open’ button 2) Open Block How to open at menu [Sequence] Select [File]-[Open Block] at menu After inputting file name, push ‘Open’...
  • Page 592 Chapter 11. Communication and Special Function Blocks How to open at block information window [Sequence] Select block to open at block information window Press the right button of mouse and select [Open Block] After inputting file name, push ‘Open’ button 3) Open Loop How to open at block information window [Sequence]...
  • Page 593: Setting/Adjustment Of Loop Name

    Chapter 11. Communication and Special Function Blocks 11.9.4 Setting/adjustment of loop name It is used to name PID loop [Sequence] Press the right button at block information window and select [Establish Loop Name] Input name you want and press OK Check name of loop Note You can set/adjust loop name at Selected Loop tap of block information window...
  • Page 594: Add/Delete Selected Loop

    Chapter 11. Communication and Special Function Blocks 11.9.5 Add/Delete selected loop It is function to monitor easily selected loop the user uses frequently among maximum 32 loops. Add selected loop [Sequence] Push the right button at block information window and select [Add/Del Selected Loop] Check if check box in front of loop number is set or not at block information window Check if selected loop is added or not at Select Loop tap of block information window Delete selected loop...
  • Page 595: Print/Print Preview

    Chapter 11. Communication and Special Function Blocks 11.9.6 Print/Print Preview It is function to print/print preview the activated loop monitor window and detail setting window Print Preview [Sequence] Select [File]-[Print Preview] Print function [Sequence] Select [File]-[Print] or [Print] at preview window Note Print/Print Preview supports only one loop at one time 11.9.7 Connection to PLC...
  • Page 596: Write Loop Data To Plc

    Chapter 11. Communication and Special Function Blocks 11.9.8 Write loop data to PLC It writes data value to PLC by loop unit. You can check progress through progress bar at bottom of PID monitor [Sequence] Select loop at block information window Open loop monitor window by double-clicking Input the value at detail setting window of loop monitor window Push the PLC Write button or select [PLC]-[Write Loop]...
  • Page 597: Read All Data From Plc

    Chapter 11. Communication and Special Function Blocks 11.9.11 Read all data from PLC It reads all loop data from PLC. You can check progress through progress bar at bottom of PID monitor [Sequence] Select [PLC]-[Read All] 11.9.12 Monitor start/end 1) Start Monitoring It reads PID data value in PLC connected and indicates at screen [Sequence] Check if PLC is connected...
  • Page 598: Change Current Value During Monitoring

    Chapter 11. Communication and Special Function Blocks 11.9.13 Change current value during monitoring It sets data necessary to PID control If you want to use all data relevant to loop to PLC, refer to 11.9.8. [Sequence] If it is not monitor mode, select [PLC]-[Start Monitoring] Select block and loop you want at block information window Open relevant loop by double-clicking relevant loop or using ENTER key Move the mouse to cell you want to set at loop monitor window...
  • Page 599: Graph

    Chapter 11. Communication and Special Function Blocks 11.9.14 Graph It indicates PV (Present Value), MV (Manipulated Value), (Setting Value) among PID monitoring value as graph In case of changing PID flag value of XG5000 or changing detail setting value at PID monitor during monitoring, it is reflected in real time.
  • Page 600 Chapter 11. Communication and Special Function Blocks 3) Graph color setting It is used to change color of PV (Present Value), MV (Manipulated Value), SV (Setting Value) graph [Sequence] Select [Graph]-[Graph Color Setting] Select graph color part you want to change Select color at color table and press OK Check the change of graph color 11-113...
  • Page 601: Edit Function

    Chapter 11. Communication and Special Function Blocks 4) Graph initialization Delete accumulated graph and draw again [Sequence] Select [Graph]-[Graph Initialization] Check graph is renewed from time line 0 11.9.16 Edit function 1) Cell copy It is used to execute copy of cell unit among detail setting value of PID monitor [Sequence] Select cell to copy and after pressing the right button of mouse, select [Cell Copy] Note...
  • Page 602 Chapter 11. Communication and Special Function Blocks Note When Cell Copy is not executed, [Cell Paste] is not activated Cell Paste function is supported at same data type When pasting different data type, warning window occurs When selecting more than one cell, Cell Copy/Paste is not possible 3) Setting Copy It is used to copy entire detail setting of PID monitor [Sequence]...
  • Page 603 Chapter 11. Communication and Special Function Blocks 11-116...
  • Page 604: Chapter 12 Debugging

    Chapter 12. Debugging Chapter 12 Debugging 12.1 Start/Stop Debugging 12.1.1 Start Debugging [Sequence] 1. Select [Online]-[Connect] on the menu to connect with PLC. 2. Select [Online]-[Write] on the menu to download the program onto PLC. 3. Select [Online]-[Change Mode]-[Debug] or [Debug]-[Start/Stop Debugging] on the menu. Notes - This function is available only with PLC connected in online - Debug is unavailable if PLC operation is in Run mode.
  • Page 605: Ld Program Debugging

    Chapter 12. Debugging 12.2 LD Program Debugging It is used to specify functions to debug the prepared LD program. 12.2.1 Set/Remove Breakpoints It is used to set or remove the Breakpoint per step. 1) Set Breakpoint [Sequence] 1. Move the Breakpoint to the step to specify. 2.
  • Page 606 Chapter 12. Debugging 2) Remove Breakpoint [Sequence] 1. Move the Breakpoint to the step to remove. 2. Select [Debug]-[Set/Remove Breakpoints] on the menu. 12.2.2 Go It starts program debugging using the specified Breakpoint. With the Go function, the program can be run up to the Breakpoint specified.
  • Page 607: Go To Cursor

    Chapter 12. Debugging 2. Select [Debug]-[Go] on the menu again to go to the next Breakpoint. 12.2.3 Go to Cursor It is used to make the program run up to the cursor position. [Sequence] 1. Move the cursor to the position desired to run. 2.
  • Page 608: Step Into

    Chapter 12. Debugging 12.2.4 Step Into If the Breakpoint is engaged during debugging, its progress will be made step by step. When debugging program, Step Into, Step Out and Step Out functions will be provided. 1) Step Into It runs the program to the next step. If the present step is a application instruction CALL with the running condition satisfied, it will enter the subroutine block.
  • Page 609 Chapter 12. Debugging Notes - If not with CALL instruction or if the CALL running condition unsatisfied, the program will be run to the next step. 2) Step Out It is used to step out of the subroutine block once entered with Step Into function executed. [Sequence] 1.
  • Page 610 Chapter 12. Debugging Notes - If the presently debugged step is not inside the subroutine block, the program will be run to the next step. 3) Step Over It is used to run the program to the next step. Differently from Step Into, even if the present step is a application instruction CALL, it will not enter the subroutine block but run the program to the next step.
  • Page 611: Il Program Debugging

    Chapter 12. Debugging 12.3 IL program Debugging It is used to specify functions to debug the prepared IL program. 12.3.1 Set/Remove Breakpoints It is used to set or remove the Breakpoint per step. 1) Set Breakpoint [Sequence] 1.Move the Breakpoint to the step to specify. 2.
  • Page 612 Chapter 12. Debugging 2) Remove Breakpoint [Sequence] 1.Move the Breakpoint to the step to cancel. 2.Select [Debug]-[Set/Remove Breakpoints] on the menu. 12.3.2 Go It starts program debugging using the specified Breakpoint. With the Run function, the program can be run up to the Breakpoint specified.
  • Page 613: Go To Cursor

    Chapter 12. Debugging 2. Select [Debug]-[Go] on the menu again to go to the next Breakpoint. 12.3.3 Go to Cursor It is used to make the program run up to the cursor position. [Sequence] 1. Move the cursor to the position desired to run. 12-10...
  • Page 614: Step Progressing

    Chapter 12. Debugging 2. Select [Debug]-[Go to Cursor] on the menu. 12.3.4 Step Progressing If the Breakpoint is engaged during debugging, its progress will be made step by step. When debugging program, Step Into, Step Out and Step Over Instructions will be provided. 1) Step Into It runs the program to the next step.
  • Page 615 Chapter 12. Debugging Notes - If not with CALL instruction or if the CALL running condition unsatisfied, the program will be run to the next step. 2) Step Out It is used to step out of the subroutine block once entered with Step Into Instruction executed. [Sequence] 1.
  • Page 616 Chapter 12. Debugging Notes - If the presently debugged step is not inside the subroutine block, the program will be run to the next step. 3) Step Over It is used to run the program to the next step. Differently from Step Into, even if the present step is a application instruction CALL, it will not enter the subroutine block but run the program to the next step.
  • Page 617: List Of Breakpoints

    Chapter 12. Debugging 12.4 List of Break Points The list shows all the Break Points being used in the program, where the user can decide to use or delete the Break Point. [Sequence] 1. Select [Debug] - [Breakpoints List] on the menu. [Dialog Box] 12-14...
  • Page 618 Chapter 12. Debugging [Description of Dialog Box] a. Use: If the checked item once allowed is cancelled in the check box, the break only will not be engaged although the breakpoint being used is not deleted. b. Program: displays the name of the program where the breakpoint is used. c.
  • Page 619: Device Break

    Chapter 12. Debugging 12.5 Device Break Applicable debugging is available based on the data value and the application of the device. 1) Setting Device Break [Sequence] 1. Select [Debug] - [Breakpoint Conditions] - [Device Break] on the menu. [Dialog Box] 12-16...
  • Page 620 Chapter 12. Debugging [Description of Dialog Box] a. Use the device as a device break: If the check in the box is cancelled, the break even if saved, will not be used. b. Device: shows the device name used for device break. c.
  • Page 621: Scan Break

    Chapter 12. Debugging 12.6 Scan Break This function is used to run PLC as many as the scan times specified, and apply the bake. [Sequence] 1. Select [Debug] - [Break Conditions] on the menu. 2. Select [Scan Break] tap. [Dialog Box] [Description of Dialog Box] a.
  • Page 622: Chapter 13 Online Editing

    Chapter 13. Online Editing Chapter 13 Online Editing This function is used to edit the PLC program with PLC operation status in Run mode. 13.1 Sequence of Online Editing a. Open Project b. Connect c. Start Monitoring d. Start Online Editing * Start Online Editing will start after active.
  • Page 623 Chapter 13. Online Editing d. Start Online Editing - Select [Online]-[Start Online Editing] on the menu. A message box figured below will be displayed if opened project is different from the project saved in the PLC. If ‘Yes’ button is clicked, Online editing will be continue after comparing the projects. If ‘NO’...
  • Page 624 Chapter 13. Online Editing - If Online Editing starts, the background color of the program can be changed through its applicable option. e. Edit - Edit Online Editing is the same as specified in the off-line Edit. f. Write Modified Program - Select [Online]-[Write Online Editing] on the menu.
  • Page 625 Chapter 13. Online Editing 13-4...
  • Page 626: Chapter 14 Print

    Chapter 14. Print Chapter 14 Print 14.1 Print Project This instruction is used to print all the contents in the project in regular sequence. It is also used to select items to be printed, specify necessary setting options for printing per item, and execute Preview and Print instruction.
  • Page 627: Print Setting

    Chapter 14. Print [Description of Dialog Box] a. Project Level Diagram: displays level structure of the item printable in the Project. Detailed setting functions are available in the tree structure of the Level Diagram. Print and Previous View functions are available for the selected item.
  • Page 628: Page Setup

    Chapter 14. Print 14.1.2 Page Setup It is used to specify margins of paper to print on. [Steps] 1. Click ‘f. Setting’ on the main Print Dialog Box or click the right mouse button in the ‘a. Project Level Diagram’. 2.
  • Page 629: Header/Footer Setting

    Chapter 14. Print [Description of Dialog Box] a. Where the selected paper and layout of margins can be viewed previously. b. Used to select paper to print on. c. Used to select a printing direction. d. Zooms out the screen to adjust to the paper width printed. e.
  • Page 630: Cover Setup

    Chapter 14. Print Notes - If the content of the header/footer is long, the header/footer in the left, center or right may be printed as overwritten with each other. - The user can specify the content of the header/footer using Input and Field at the same time. Example) If the content of “The date today is &d”...
  • Page 631 Chapter 14. Print [Dialog Box] [Description of Dialog Box] a. Cover Paper: Default is A4 vertical. Printed differently based on the paper setup. If the Edit Box exceeds the paper, the exceeded area will not be printed. b. Margin Display: displays the specified margins with a dotted line. c.
  • Page 632 Chapter 14. Print [Content Add Steps] 1. Press [Add] button. 2. Move the mouse on the paper. 3. The mouse cursor will change as shown. 4. Click the left mouse button on the paper. 5. Edit Dialog Box will appear 6.
  • Page 633: Ld Program Print

    Chapter 14. Print 14.2 LD Program Print It is used to print the selected LD program. 14.2.1 Print Setting [Steps] 1. Select the program item to print. 2. Select [Project]-[Print] on the menu . [Dialog Box] [Description of Dialog Box] a.
  • Page 634: Preview

    Chapter 14. Print Notes - Click Details button to select a print program for Print Project. b. View Options: used to specify View Options for printing. Refer to 5.3 Program View Options in this manual for each View Option. c. Contact: used to specify the number of contacts in a line. The number of contact is fixed to the number currently displayed if printing is executed in the LD program.
  • Page 635 Chapter 14. Print 14-10...
  • Page 636 Chapter 15. XG-SIM Chapter 15 XG-SIM 15.1 Getting Started 15.1.1 Features of XG-SIM XG-SIM is a Windows-based virtual PLC for XGT PLC series. If using XG-SIM, an operator may execute a created program without PLC and debug a PLC program by using the functions of input setup and module simulation.
  • Page 637: Chapter 15 Xg-Sim

    Chapter 15. XG-SIM 15.1.2 System Requirements for the Execution of XG-SIM Minimum requirements: Pentium3 900MHz, 256MB RAM Recommended requirements: Pentium4 1.5GHz, 512MB and higher RAM XG-SIM requires higher system specifications than XG5000. If the minimum requirements are adopted, scan cycle may be extended longer than the set fixed cycle and constant scan may not work properly, probably resulting interruption of access.
  • Page 638 Chapter 15. XG-SIM Menu Support Menu Support ○ ○ Write Pause monitor ○ Ⅹ Compare to PLC Resume monitor ○ Ⅹ Flash memory setup (set) Monitor pause setup Flash memory setup ○ Ⅹ Change current value (cancel) ○ Ⅹ PLC Reset System monitor ○...
  • Page 639: Xg-Sim

    Chapter 15. XG-SIM 15.2 XG-SIM 15.2.1 Program Window Configuration XG-SIM program is configured as follows. 5) Channel list It displays channels by modules and user’s favorable channels. In case of module, it displays the only modules set in I/O parameter. Module is displayed in a format of ‘B0 (base number) S00 (slot number): module name.’...
  • Page 640: Channel List

    Chapter 15. XG-SIM Status Description Display Shows the status of access ready. Red Accessible LED lights up. Single Shows single I/O condition is executed, condition executed during which green LED blinks. Continuous Shows continuous condition condition executed executed, during which yellow LED blinks 15.2.2 Channel List 1) Module Channel Double-click an item to view its channel in the tree view.
  • Page 641: I/O Condition

    Chapter 15. XG-SIM a.Select a channel of which current value is to be changed. b.Move from a selected channel to a column of current value. c.By double-clicking or pressing Enter key, display the dialog box of change channel value. [Description of Dialogue Box] a.
  • Page 642 Chapter 15. XG-SIM 1) Conditional statement It describes conditional statement used in single input condition or continuous input condition. A conditional statement consists of one or more conditions while a conditional statement may be used as one or more statements through the combination of conditions Type Operator Priority...
  • Page 643 Chapter 15. XG-SIM 2) Basic functions Both single I/O condition and continuous I/O condition keep the following interface. 1. Input I/O condition [Steps] a.Move to a position to enter new I/O condition. b.Select [Edit] – [Properties] in Menu. c.Edit I/O condition dialog box and click OK. 2.
  • Page 644 Chapter 15. XG-SIM 3. Cut/Paste I/O Condition [Steps] a. Select the I/O condition to cut. b. Select [Edit] – [Cut] in Menu. c. Move to a position to paste and select [Edit] – [Paste] in Menu. 4. Copy/Past I/O Condition [Steps] a.
  • Page 645 Chapter 15. XG-SIM 5. Delete I/O Condition [Steps] a. Select I/O condition to delete. b. Select [Edit] – [Delete]. 6. Insert line [Steps] a. Select a position to insert a line b. Select [Edit] – [Insert Line] in Menu. 15-10...
  • Page 646 Chapter 15. XG-SIM 7. Delete line [Steps] a. Select a position to delete a line. b. Select [Edit] – [Delete Line] in Menu. 3) Single I/O Condition Single I/O condition copies the value entered into a selected device/channel if meeting the operation option. 15-11...
  • Page 647 Chapter 15. XG-SIM [Description of Dialog Box – Basic Setting] a. Use condition: sets whether to apply single I/O condition. If not allowing the use, XG-SIM does not use the condition set by a user. b. Name: enter the name of I/O condition. c.
  • Page 648 Chapter 15. XG-SIM 4) Continuous I/O condition Continuous I/O condition enters a value entered into the selected device/channel when meeting the operation option. [Description of Dialog Box – Basic Setting] a. Use condition: sets whether to apply continuous I/O condition. If not allowing the use, XG-SIM does not use the condition set by a user.
  • Page 649 Chapter 15. XG-SIM [Description of Dialog Box – Output Setting] a. Repeated Execution: selects whether to enter output repetitively. b. Ignore Condition while execution: selects whether to inspect operation condition while entering continuous value. c. Output setting: displays the dialog box to set continuous value Notes Considering performance of XG-SIM, Single I/O and continuous I/O have the following restriction Relevant I/O...
  • Page 650 Chapter 15. XG-SIM For instance, in the above continuous value, ① Not setting ‘Ignore Condition while Execution’ / not setting ‘Repeated Execution’ (if button operation/conditional statement is false) 7 → 7 → 7 → 7 → 7 → 7 → 7 → 7 ②...
  • Page 651 Chapter 15. XG-SIM [Description of Dialog Box] a.Device/Channel: enter a device/channel to set its value. b.Value: the only constant such as integer, real number, hexadecimal or True/False may be entered. c.OK: saves edited items and exits the dialog box. d.Cancel: cancels values entered. 2.
  • Page 652 Chapter 15. XG-SIM [Description of Dialog Box] a. Channel/Device Name: enter the name of a channel/device. b.View Channel Browser: displays a channel finder. c. OK: saves edited items and exits the dialog box. d. Cancel: cancels edited items and exists the dialog box. 3.
  • Page 653 Chapter 15. XG-SIM 6) Monitor I/O Condition 1.Start Monitor [Steps] a.Select [Tools] – [Use Single I/O Condition] or [Tools] – [Use Continuous I/O Condition] in Menu. 2.End Monitor [Steps] a.Deselect [Tools] – [Use Single I/O Condition] or [Tools] – [Use Continuous I/O Condition] in Menu. Notes - Program scan is the procedure that operations are repetitively executed from the first to the last step of a program created by the basic program execution scheme of PLC.
  • Page 654: Module Simulation

    Chapter 15. XG-SIM 15.2.4 Module Simulation XG-SIM provides a simple simulation function for I/O module and special module. In case of digital I/O module, it supports I/O function for I or Q area; in case of special module, it supports the monitoring function for analogue value receiving from or sending to outside.
  • Page 655 Chapter 15. XG-SIM Base Slot Module Module type Basic base XGI-D21A DC 24V 8 point input module Basic base XGF-AV8A Voltage type A/D conversion module(8 ch) Open collector type high speed counter module(2 Basic base XGF-HO2A After XG-SIM is executed, system monitor shows the module set in I/O parameter as presented in the figure. Notes For details of I/O parameter editing and the parameter setting by modules, refer to XG5000 Manual.
  • Page 656 Chapter 15. XG-SIM Not setting I/O module Setting I/O module Use the monitor’s current Use the XG-SIM channel value Change Input value change change Change output Unable to change Unable to change Forcible Not applicable Input forcibly set input input Forcible I/O Not applicable Output forcibly set output...
  • Page 657 Chapter 15. XG-SIM Notes For the details on the parameters of analog input module and the programming, refer to the manual of a module. Analog input may be set in ‘Channel’ item of XG-SIM window. 4) Analog output module (D/A conversion module) For the analog output module supported by XG-SIM, refer to the following table.
  • Page 658 Chapter 15. XG-SIM Digital input may be entered through special module parameter in a program and it is valid only within the range set in the parameter. Notes For the details on the parameters of analog output module and the programming, refer to the manual of a module.
  • Page 659 Chapter 15. XG-SIM The current count value may be changed in ‘Channel’ of XG-SIM window. High speed counter simulator compares the input count value to a value set in parameter and uses it as the comparison output signal. 6) Temperature input module (RTD module) For the temperature input module supported by XG-SIM, refer to the following table.
  • Page 660 Chapter 15. XG-SIM 7) Positioning module (APM module) Notes XG-SIM supports limited functions among the APM functions that PLC actually supports. APM module in XG-SIM is the module created to help users understand the operation of APM-related functions, so error and program operations may be different with XG-SIM when actually operating PLC. Furthermore, it supports a part of APM related errors, so actual PLC operation may generate different errors, which do not appear in XG-SIM.
  • Page 661 Chapter 15. XG-SIM XG-SIM supports the following operation parameters(X/Y/Z axes). Parameter type Item Support ○ Basic parameter Bias speed External command ○ selection ○ External command ○ External stop Extended parameter External simultaneous ○ start External speed/position ○ conversion Origin address High speed origin...
  • Page 662 Chapter 15. XG-SIM Function block Command Support ○ Continuous operation ○ INCH Inching start Manual operation returning to ○ previous position ○ Start step no. change ○ Repeat step no. change ○ Cancel M code ○ Current position preset ○ ZONE output allowed ○...
  • Page 663 Chapter 15. XG-SIM Error code Meaning Speed override command may not be executed if not operating Continuous operation command may not be executed if not operating Inching command may not be executed during operation Auto operation point return command may not be executed during operation Start step no.
  • Page 664 Chapter 15. XG-SIM Notes The channels of positioning module have the following meaning. (i.e.: based on X-axis) Channel name Meaning XCurrentPosH High 16 bits in the current position value of X-axis XCurrentPosL Low 16 bits in the current position value of X-axis XCurrentVelH High 16 bits of the current speed value of X-axis XCurrentVelL...
  • Page 665: Restrictions

    Chapter 15. XG-SIM 15.3.1 Restrictions Comparing to actual PLC, XG-SIM have the following restrictions. 15.3.1 Watchdog Timer Watchdog timer is installed in XGI PLC to prevent a created PLC program from working abnormally. On the other hand, XG-SIM executes scan at lower speed than actual XGI series PLC, so the watchdog timer set in the basic parameter does not work properly.
  • Page 666: Chapter 16 Sfc Edit

    Chapter 16. SFC Edit Chapter 16 SFC Edit The SFC program can control the execution sequence of other program languages (LD, ST), using graphic symbols (step, transition, branch, etc.). 16.1 Limitation Following limitations are applied to SFC program edit. Item Description Limit This is the maximum number of the steps usable in a...
  • Page 667: Entering Step/Transition

    Chapter 16. SFC Edit Following shortcut keys are used to move mouse cursor, These keys cannot be redefined in the XG5000. Shortcut Key Description Home Go to the first character of the line. Ctrl+Home Go to the beginning of the program. →...
  • Page 668: Entering Action

    Chapter 16. SFC Edit 3. New Step/Transition will be entered. Note - Step name is automatically determined, or user can name it as necessary. - According to the entry position, it is entered as Step + Transition or Transition + Step. Item at the selected position Step + Transition Transition, parallel branching start line, label, end line of selective branching...
  • Page 669: Entering Block/Transition

    Chapter 16. SFC Edit 2. Select the shortcut key for entering. Or, select Action from the toolbar and select the edit area to enter it. Note - The position where Action is entered differs by the selected item. Position Item at the selected position Right Right side of Step if a Step is selected Below...
  • Page 670: Entering Label

    Chapter 16. SFC Edit Note - The same rule applied to the entry position of Block as those of Step entry. 16.2.5 Entering Label Enters a Label. [Procedure] 1. Move cursor to the desired position. 2. Select Label from the toolbar and click edit area, or press corresponding shortcut key. 3.
  • Page 671: Entering Jump

    Chapter 16. SFC Edit 16.2.6 Entering Jump Enters a Jump. [Procedure] 1. Move cursor to the desired position. 2. Select Jump from the toolbar and click edit area, or press corresponding shortcut key. 3. A new Jump is entered. Note - A Jump can be entered only when the last Transition in the selected branch or the last Transition in the last line of the program has been selected.
  • Page 672: Entering Left Branch

    Chapter 16. SFC Edit 16.2.7 Entering Left Branch Enters a Left Branch. An example of creating Select Branch is provided below. 1) Creating a Branch [Procedure] 1. Move cursor to the desired position. 2. Select Left Branch from the toolbar and click edit area, or press corresponding shortcut key. 3.
  • Page 673 Chapter 16. SFC Edit 5. Select the branch end point. 6. A branch is created. Note - Selective Branch or Parallel Branch will be created according to the position of the selected starting point. Item at the branch starting point Line Shape Selective Branch Step, Block...
  • Page 674: Entering Right Branch

    Chapter 16. SFC Edit 2. Select Left Branch from the toolbar and click edit area, or press corresponding shortcut key. 3. A new Branch is added. Note Although number of Branch is not limited, it may be limited by the number of the horizontal rows. - Selective and Parallel Branches cannot be added to the other type.
  • Page 675 Chapter 16. SFC Edit 2. Select Right Branch from the toolbar and click edit area, or press corresponding shortcut key. 3. Mark the starting and linkable positions of Branch. Start Point Linkable Point 4. Move the cursor to the end position of the Branch. 5.
  • Page 676 Chapter 16. SFC Edit Note - The positioning rule of the Selective and Parallel Branches are the same as that of the Left Branch. See Chapter 16, 2.7 “Entering Left Branch.” 2) Adding a Branch [Procedure] 1. Move cursor to the desired position. 2.
  • Page 677: Step Register Information Edit

    Chapter 16. SFC Edit 16.2.9 Step Register Information Edit Edit name or comment of Step. [Procedure] 1. Move cursor to the desired position. 2. Press Enter or double click mouse left button. [Dialog] [Dialog] box description a. Name: enter Step name. b.
  • Page 678: Transition Register Information Edit

    Chapter 16. SFC Edit 16.2.10 Transition Register Information Edit Edit the name or comment of Transition. [Procedure] 1. Move cursor to the desired position. 2. Press Enter or double click mouse left button. [Dialog] 16-13...
  • Page 679: Action Register Information Edit

    Chapter 16. SFC Edit [Dialog] box description a. Name: enter name of the Transition. b. Comment: enter comment of the Transition. c. Classification: the Transition can be defined as a variable or a program. d. List: show other Transitions being used in the current program window. e.
  • Page 680 Chapter 16. SFC Edit [Dialog] [Dialog] box description a. Name: enter name of the Action. b. Comment: enter comment of the Action. c. Classification: the Action can be defined as a variable or a program. d. Post Scan: after executing the Action, disable the coil in the Action. e.
  • Page 681 Chapter 16. SFC Edit Note - The behavior of Action varies by limiter. Limiter Function Behavior Step active N (Non-stored) Action is executed only when Step is active. Action active R(overriding Reset) If Step is active, the same actions executed with the S, SD, DS, or SL Limiter are stopped.
  • Page 682: Block Register Information Edit

    Chapter 16. SFC Edit 16.2.12 Block Register Information Edit Edit name or comment of Block. [Procedure] 1. Move cursor to the desired position. 2. Press Enter or double click mouse left button. [Dialog] [Dialog] box description a. Name: enter Block name. b.
  • Page 683: Label Register Information Edit

    Chapter 16. SFC Edit 16.2.13 Label Register Information Edit Edit name of Label. [Procedure] 1. Move cursor to the desired position. 2. Press Enter or double click mouse left button. [Dialog] [Dialog] box description a. Label: enter name of the label. b.
  • Page 684: Jump Register Information

    Chapter 16. SFC Edit 16.2.14 Jump Register Information Edit name of a Jump. [Procedure] 1. Move cursor to the desired position. 2. Press Enter or double click mouse left button. [Dialog] 16-19...
  • Page 685: Priority To Selective Branch Setting

    Chapter 16. SFC Edit [Dialog] box description a. Jump: enter name of the Jump. b. List: show other labels being used in the current program window. c. Confirm: save the changes and exit the dialog. d. Cancel: exit the dialog without saving changes. Note - Jump name must be the same as the label name.
  • Page 686: Selective Branch Priority Rest

    Chapter 16. SFC Edit 4. Click any position other than the beginning point of Branch to finish setting. Note - Number of priorities can be set up as much as the number of the branches. - If priority order has not been defined, the program compiling proceeds from left to right. That is, the program is executed from left to right.
  • Page 687: Delete Element

    Chapter 16. SFC Edit 2. Select menu [Edit] – [Selective Branch Priority Rest]. 3. The priority setting of the branch is reset. 16.2.17 Delete Element Deletes Step, Transition, Action, Block, Label, Jump, or Branch can be deleted. [Procedure] 1. Move cursor to the element to be deleted. 2.
  • Page 688 Chapter 16. SFC Edit 1) Copy/Paste [Procedure] 1. Select the area to be copied. 2. Select menu [Edit]-[Copy]. 3. the area to be copied is indicated. 4. Move cursor to the desired position for pasting. 5. Select menu [Edit]-[Paste]. 16-23...
  • Page 689 Chapter 16. SFC Edit Note - According to the selected position, Step, Transition, or Block is copied together with the element beneath it. -- Copy may be inapplicable according to the position. In such case, the edit is cancelled. - Copying after selecting the beginning point of a Branch will copy all the contents beneath the Branch. - To paste a branch, select the beginning point of the branch.
  • Page 690 Chapter 16. SFC Edit 3. Move cursor to the area to paste to. 4. Select menu [Edit]-[Paste]. 16-25...
  • Page 691: Edit Cancel And Redo

    Chapter 16. SFC Edit 16.2.19 Edit Cancel and Redo Cancel the changes made in program edit, or redo the cancelled change. 1) Edit Cancel (with an example of deletion) [Procedure] 1. Move cursor to the position to delete. 2. Select menu [Edit]-[Delete]. 16-26...
  • Page 692: Program Edit Mode

    Chapter 16. SFC Edit 3. Select menu [Edit]-[Edit Cancel]. 4. The edited area is indicated and the change is cancelled. 2) Redo (with an example of deletion) 1. Select menu [Edit]-[Redo]. Note - For all the changes made in edit, cancel or redo is applicable. - Number of cancel is not limited.
  • Page 693: View Program

    Chapter 16. SFC Edit 16.3 View Program This section described view option, zoom in and zoom out of the SFC program. 16.3.1 Program Zoom In/Out Ratio Change Changes the magnification of the screen view of the SFC program. 1) Zoom In [Procedure] 1.
  • Page 694 Chapter 16. SFC Edit [Dialog] [Dialog] box description a. View Comment: show comments of Step, Transition, Action, or Block. b. View Print Area: mark print area with thick dotted line. c. View Page No.: show page No. in the print area. d.
  • Page 695 Chapter 16. SFC Edit 1) View Comments <Comments not displayed> <Comments displayed> 2) View Print Area 3) View Page No. 16-30...
  • Page 696 Chapter 16. SFC Edit 4) Step Column Width <Step column 68 pixel (default) screen> <Step column 100 pixel screen> 5) Action Column Width <Action column 100 pixel (default) screen> <Action column 150 pixel screen> 6) Partitioned Window <Screen with partitioned windows> 16-31...
  • Page 697 Chapter 16. SFC Edit <Screen not partitioned> 7) Partitioned Window Contents Selected Position <View selected Action, Transition: Action selected> <View the same SFC program> Selected Position <View partitioned window with fixed contents: view the contents previously fixed, different from selected position>...
  • Page 698: View Block/Action/Transition List

    Chapter 16. SFC Edit 8) Partitioned Window Position <Partitioned window on the right side> <Partitioned window at the bottom> 16.3.3 View Block/Action/Transition List Check other program list being used in the SFC program, and can edit name, comment, etc. [Procedure] 1.
  • Page 699: Open Program

    Chapter 16. SFC Edit 16.3.4 Open Program The Block, Action, or Transition program at the position selected by SFC program can be opened in new window. [Procedure] 1. Select the position to open the program. 2. Select menu [View]-[Open Program]. 3.
  • Page 700: Additional Edit Functions

    Chapter 16. SFC Edit 16.4 Additional Edit Functions This section described additional convenience functions for edit. 16.4.1 Book Mark Book marks can be set up to go to desired position promptly. 1) Book Mark Setting [Procedure] 1. Move cursor to the position to set a book mark. 2.
  • Page 701 Chapter 16. SFC Edit 2) Reset Book Mark [Procedure] 1. Move cursor to the position to reset a book mark. 2. Select menu [Edit]-[Book Mark]-[Set/Rest]. 16-36...
  • Page 702 Chapter 16. SFC Edit Reset All Book Marks [Procedure] 3. Select menu [Edit]-[Bok Mark]-[Rest All]. 3) Go to the Previous Book Mark [Procedure] 1. Select menu [Edit]-[Book Mark]-[Previous Book Mark]. 16-37...
  • Page 703 Chapter 16. SFC Edit 4) Go to the Next Book Mark [Procedure] 1. Select menu [Edit]-[Book Mark]-[Next Book Mark]. Note - Book marks are set up by cell unit. - Since a book mark is not an edit item, cancel or redo is not applied to book mark set/reset. 16-38...
  • Page 704: Go To

    Chapter 16. SFC Edit 16.4.2 Go To Go to the designated line, edited label, or Rung comment. 1) Go To Line [Procedure] 1. Select menu [Search/Replace]-[Go To]-[Step/Line]. [Dialog] [Dialog] box description a. Go To Line: enter the line to go to. b.
  • Page 705 Chapter 16. SFC Edit 2) Go To Label [Procedure] 1. Select menu [Search/Replace]-[Go To]-[Label]. [Dialog] [Dialog] box description a. Program: show the program list of the present PLC. If ‘Whole Program’ is selected, the list for all the labels appears. b.
  • Page 706 Chapter 16. SFC Edit 3) Go To Rung Comment [Procedure] 1. Select menu [Search/Replace]-[Go To]-[Rung Comment]. [Dialog] [Dialog] box description a. Program: show the program list of the present PLC. If ‘Whole Program’ is selected, the list for all the Rung Comments appears.
  • Page 707 Chapter 16. SFC Edit 4) Go To END Command [Procedure] 1. Select menu [Search/Replace]-[Go To]-[END Command]. [Dialog] [Dialog] box description a. Program: show the program list of the present PLC. If ‘Whole Program’ is selected, all the END commands will appear. b.
  • Page 708: Chapter 17 St Edit

    Chapter 17. ST Edit Chapter 17 ST Edit The ST is a character based programming language in accordance with the IEC 61131-3. 17.1 ST Programming For PLC, scan program pr SFC can be programmed with ST. 17.1.1 Adding Scan Program [Sequence] 1.
  • Page 709: Add Sfc Transition And Action

    Chapter 17. ST Edit Enter the name and description of the program, select ST as the language, and press Confirm. 17.1.2 Add SFC transition and action [Adding Transition] 1. In the SFC program, move the cursor to the location to enter Transition. 2.
  • Page 710 Chapter 17. ST Edit 4. In the Add Program dialog, select ST as the language. [Adding Action] 1. In the Action Register dialog, enter the name and description of the Action, select Program (P) in the classification (K), and press Confirm. 2.
  • Page 711: Limit

    Chapter 17. ST Edit 17.2 Limitation Following limitations are applied to ST program edit. Item Description Limit Max. number of characters Max. number of characters in a line is 2,048 English alphabets 2,048 or 1,024 Korean alphabets. in a line Note 1.
  • Page 712 Chapter 17. ST Edit Following shortcut keys are used for cursor movement, and cannot change in the XG5000. Shortcut Key Description Home Go to the first character of the line. Ctrl + Home Go to the beginning of the program. →...
  • Page 713: Copy/Paste

    Chapter 17. ST Edit 17.3.2 Copy/Paste You can copy selected character string to the clipboard and paste it with Paste function. [Procedure] 1. Select the character string to be copied. 2. Select menu [Edit]-[Copy]. 3. Go to the position to Paste the character string. 4.
  • Page 714: Undo/Redo

    Chapter 17. ST Edit 17.3.3 Undo/Redo Cancel function restores the state before edit. Redo function returns to the state before cancel after a Cancel command has been executed. [Procedure] 1. After executing Paste function, select menu [Edit]-[Undo]. => The ‘pasted’ character string is deleted. 2.
  • Page 715 Chapter 17. ST Edit [Dialog] 17-8...
  • Page 716 Chapter 17. ST Edit [Dialog] Box Description Variable: enter name of the direct variable or declared variable. The entered character string is variable type and if the character string has not been registered as a variable in the Variable/Description, Add Variable/Description dialog will appear.
  • Page 717 Chapter 17. ST Edit [Dialog] [Dialog] Box Description a. Variable: enter name of the variable to be added. b. Data Type: select the type of the variable to be added. c. Variable Kind: select the data type of the variable to be added. d.
  • Page 718: Insert Application Command

    Chapter 17. ST Edit 17.3.5 Insert Application Command Insert a character string of application command at the cursor position. [Procedure] 1. Move the cursor to the desired position. 2. Select menu [Edit]-[Function/Function Block]. [Dialog] 17-11...
  • Page 719 Chapter 17. ST Edit [Dialog] Box Description a. Application Command: enter name of the application command to be used. b. Classification: show the classification of the application command. c. Command: show the list of the application commands which fall under the selected class. d.
  • Page 720: View Program

    Chapter 17. ST Edit 17.4 View Program This section describes the screen display setting of the ST software program. 17.4.1 ST Option Description on the option dialog box of the ST software. [Procedure] 1. Select menu [Tool]-[Option]. 2. Select ST. [Dialog] [Dialog] Box Description a.
  • Page 721: Font/Color

    Chapter 17. ST Edit character string. e. Auto Indent: at line change by Enter key, the new line will be indented by the number of the tap spacing of the previous line. f. Apply Word Color: in the ST program, apply coloring to variable, reserved words, comments, and application commands.
  • Page 722: Zoom

    Chapter 17. ST Edit Note 1. The items whose color can be changes are “Variable,” “Comment,” “reserved Word.” “Function/Function Block,” “Flag,” “Constant,” and “Background Color for Edit during Running.” 2. For details of option setting, see 2.6 [Option]. 17.4.3 Zoom ST programming does not support Zoom In/Out function.
  • Page 723: View Line Number

    Chapter 17. ST Edit [Screen with tap spacing 4] [Screen with tap spacing 8] Note 1. The default tap spacing is 4. 2. Tap size ranges from 1 to 100. 17.4.5 View Line Number Show or hide line number in ST program. [Procedure] 1.
  • Page 724: Book Mark

    Chapter 17. ST Edit 17.5 Additional Edit Functions This section describes the additional edit functions provided for convenience. 17.5.1 Book Mark Insert book marks to go to interested pages promptly. 1) Book Mark Setting [Procedure] 1. Move the cursor to the desired position. 2.
  • Page 725 Chapter 17. ST Edit 2) Reset Book Mark [Procedure] 1. Move the cursor to the desired position. 2. Select menu [Edit]-[Book Mark]-[Set/Reset]. 3) Reset All Book Marks [Procedure] 1. Select menu [Edit]-[Book Mark]-[Reset All]. 4) Go to the previous book mark [Procedure] 1.
  • Page 726 Chapter 17. ST Edit 1. Select menu [Edit]-[Book Mark]-[Nest Book Mark]. Note 1. Book marks are set up by line. 2. Since a book mark is not an edit function, its set or reset are not influenced by the cancel or redo function of the edit.
  • Page 727: Set/Remove Block Mask

    Chapter 17. ST Edit 3. Press Enter of double click the desired character string. Note Character string list bit map description : ST language key words such as IF, CASE, WHILE, etc. : variable name : flag variable name : function name 17.5.3 Set/Remove block mask Set or reset the area of the ST program which will not be executable by the PLC.
  • Page 728: Set/Remove Line Block Mask

    Chapter 17. ST Edit 2. Select menu [Edit]-[Set Block Mask]. 2) Remove Block mask 1. Select the non-executable statement which has been set up. 2. Select menu [Edit]-[Remove Block Mask]. 17.5.4 Set/Remove Line Block mask Different from [Set/Reset Non-executable Statement] which is applicable for a selected area, this command set/reset non-executable statement by line basis from the cursor position.
  • Page 729 Chapter 17. ST Edit 2. Select menu [Edit]-[Set/Remove Line Block Mask]. 2) Remove Line Block Mask 1. Select the lines to be reset from the line non-executable statement. 2. Select menu [Edit]-[Set/Remove Line Block Mask]. 17-22...
  • Page 730: Indent/Outdent

    Chapter 17. ST Edit 17.5.5 Indent/Outdent Indent or outdent the selected area. 1) Indent 1. Select the area to be indented. 2. Press Tab key. 2) Outdent 1. Select the area to be outdented. 2. Press Shift + Tab key. 17-23...
  • Page 731 Chapter 17. ST Edit 17-24...
  • Page 732: Chapter 18 Exclusive Functions For Event Input Module

    2. XGF-SOEA module: save 300 event at maximum 18.1.1 Characteristics of SOE Monitor 1. This is a software package for the operation and monitoring of the XGF-SOEA module of XGT series. 2. This package provides a function that enables independent operation of the SOE monitor, regardless of the XG5000.
  • Page 733: Screen Configuration

    Chapter 18. Exclusive Functions for Event Input Module 18.2 Screen Configuration This section describes the basic screen elements, windows and pop-up menus when “Monitor,” “SOE Monitor” is selected in the XG5000 monitor state. The figure below is the beginning shot of the SOE monitor. [Dialog] 1) Select [Monitor]-[SOE Monitor] in the menu.
  • Page 734: Menu Structure

    Chapter 18. Exclusive Functions for Event Input Module 18.2.1 Menu Structure If you select a menu item, commands appear. The commands can be executed with mouse or keyboard. Some menus provide shortcut keys. 18-3...
  • Page 735 Chapter 18. Exclusive Functions for Event Input Module 1) Project Command Description New logging session Create the project. Open logging Open an existing logging file. Save logging as Save the logging file with a different file name. Export to file Save the current logging data in an Excel file.
  • Page 736: Tools

    Chapter 18. Exclusive Functions for Event Input Module Window Command Description New window Open a new window in the activated window. Cascade Arrange the windows in the XG5000 in cascade layout. Tile Horizontally Arrange the windows in the XG5000 in horizontal layout. Tile Vertically Arrange the windows in the XG5000 in vertical layout.
  • Page 737 Chapter 18. Exclusive Functions for Event Input Module [Dialog] [Dialog] description; a. Toolbar: check/remove-check in the check box in front of the items to make the toolbar appear/disappear. b. New tool: create a new toolbar. c. Reset: initialize the toolbar. 2) Add tools to toolbar Add tools in the toolbar created above.
  • Page 738: Soe Event History Window

    Chapter 18. Exclusive Functions for Event Input Module [Dialog] [Dialog] description; a. Command: the Command tab in the user definition dialog. b. Type: select the existing toolbar. c. Button: select the desired tool. User toolbar: drag-drop the desired tool with the button onto the user toolbar to add it. 18.2.3 SOE Event History Window The SOE monitor displays the XGF-SOEA module SOE event history window automatically when connected with PLC CPU.
  • Page 739 Chapter 18. Exclusive Functions for Event Input Module [Dialog] [Dialog] description; a. CPU event history: select the event saved in the CPU module. b. Module event history: select the event saved in the SOE module. c. Double-click on the CPU event history or module event history to activate the event monitor window. 18-8...
  • Page 740: Status Bar

    Chapter 18. Exclusive Functions for Event Input Module 18.2.4 Status Bar [Dialog] [Dialog] description; a. Event No.: show the number of the events in the event monitor window. b. PLC name: show the name of the PLC connected with the SOE monitor. c.
  • Page 741: Basic Parameter Setting

    Chapter 18. Exclusive Functions for Event Input Module 18.3 Basic Parameter Setting Basic parameters of the XGF-SOEA can be set up using the menu or toolbar of the XG5000. 18.3.1 Setting Items Sets up the method of saving the history occurred in the XGF-SOEA module in the CPU module. [Sequence] 1) Click on the [Parameter]-[Basic Parameter] in the project tree.
  • Page 742: I/O Parameter Setting

    Chapter 18. Exclusive Functions for Event Input Module 18.4 I/O Parameter Setting I/O parameters of the XGF-SOEA can be set up using the menu or toolbar of the XG5000. 18.4.1 Setting Item Sets up the method of saving the external event history in the XGF-SOEA module. [Sequence] 1) Click on the [Parameter]-[I/O Parameter] in the project tree.
  • Page 743 Chapter 18. Exclusive Functions for Event Input Module 3) In the above window, click on the arrow button. A window where respective module can be selected will appear. Select the desired module. 4) After selecting the module, click on the [Detail] button. 18-12...
  • Page 744 Chapter 18. Exclusive Functions for Event Input Module [Dialog] [Dialog] description a. Input filter setting: set up the time which enables an event to be identified as an effective input data. (Setting range: 1ms ~ 100ms) b. Event history setting - Overwrite with recent history: use this to save the most recent event.
  • Page 745: View Module Information

    Chapter 18. Exclusive Functions for Event Input Module 18.5 View Module Information XG5000 supports viewing event input module information. [Sequence] 1) [Online] -> [Connect]; select [I/O Information]. 2) Clicking on the [Detail Info] will show XGF-SOEA information as shown below; 18-14...
  • Page 746: Event History Monitor

    Chapter 18. Exclusive Functions for Event Input Module 18.6 Event History Monitor The events entered into the CPU and event input modules can be monitored with the SOE monitor. [Sequence] 1) [Online] -> [Connect]; select [Monitor] -> [SOE Monitoring]. Unless in [Online] state, the [SOE Monitor] menu is not activated. 18-15...
  • Page 747 Chapter 18. Exclusive Functions for Event Input Module a. [SOE Monitor] will be executed. b. Select [Online] -> [Connect]. The information of the event input module in the connected system will appear. 18-16...
  • Page 748 Chapter 18. Exclusive Functions for Event Input Module a. CPU event history: the event history stored in the CPU module. b. Module event history: the event history stored in the SOEA module. c. Double clicking on the CPU event history or module event history will activate the event monitor window. c.
  • Page 749 Chapter 18. Exclusive Functions for Event Input Module d. Click on the module event history. [SOE 02 (Base: 00, Slot: 04] -> double click -> [Online] -> [Refresh Event] 2. Event history information Variable name,input state Base No. Event occurrence Slot No.
  • Page 750 Chapter 18. Exclusive Functions for Event Input Module 2) View This function provides user convenience including searching and comparing of events. 1. Module event display: select [View] -> [Filtering] to look up all the events regardless of the filter setting. [Sequence] a.
  • Page 751 Chapter 18. Exclusive Functions for Event Input Module 2. Event filter: use this function to search the behavior of a specific event. [Sequence] a. Select [View] -> [Filtering]. [Dialog] [Dialog] description; a. Designate event occurrence point: designate the bit at which the event has occurred. b.
  • Page 752 Chapter 18. Exclusive Functions for Event Input Module 3. An example of event filter Select [View] -> [Filtering]. - Event occurrence point filter setting Filtering result #0 bit Rise event a. Event occurrence point setting: No. “0” bit b. Event type setting: “Rise” event. Select [View] ->...
  • Page 753 Chapter 18. Exclusive Functions for Event Input Module 4. Priority to the last/first - Priority to the recent events: the recent events have priority over the old events in the display list. - Priority to old events: the old events have priority over the recent events in the display list. [Sequence] a.
  • Page 754 Chapter 18. Exclusive Functions for Event Input Module [Sequence] b. Select [View] -> [Oldest first]. From old to recent events 5. Event Comparison Compare the events stored in the CPU and event input modules and show the result. [Sequence] a. Select [View] -> [Compare Event]. 18-23...
  • Page 755 Chapter 18. Exclusive Functions for Event Input Module 6. Delete Event History Delete CPU history: the history stored in the CPU module is deleted. [Sequence] a. Select [Online] -> [Clear PLC Event History]. Clear SOE module event history: delete the history stored in the module. [Sequence] b.
  • Page 756 Chapter 18. Exclusive Functions for Event Input Module Clear All SOE module History: delete the history stored in all the SOEA modules. [Sequence] c. Select [Online] -> [Clear All SOE module History]. 18-25...
  • Page 757: Save As An Excel File

    Chapter 18. Exclusive Functions for Event Input Module 18.7 Save as an Excel File This section describes how to save an event file as an Excel file. 1) Save as an Excel file The event file is saved as an Excel file. [Sequence] 1.
  • Page 758 Chapter 18. Exclusive Functions for Event Input Module [Dialog] description; a. SOEA event history window: show the elements of the current project. b. Event monitor window: show the event data of the selected module of the project. c. This conversion to an Excel file is effective only for the currently active main screen (one window). 2) [File]-[Export to fille] 3) Enter a new file name in the Save As dialog.
  • Page 759 Chapter 18. Exclusive Functions for Event Input Module 4) Click on the Save button to create a new Excel file 5) Open file in the Excel application (to read the saved event file in Excel) 18-28...
  • Page 760: U Device Auto Registration

    Chapter 18. Exclusive Functions for Event Input Module 18.8 U Device Auto Registration Describes XG5000’s U device auto registration 18.8.1 U device auto registration Refers to the SOE module information set in I/O parameter and registers the variable on each module. User can modify the variable and comment.
  • Page 761 Chapter 18. Exclusive Functions for Event Input Module 2) Select [Register Special/Communication Module Variables] at [Edit]. 3) Click ‘Yes’. 4) Variables are registered as follows. 18-30...
  • Page 762: Saving Variable

    Chapter 18. Exclusive Functions for Event Input Module [SOE module U device] – Indicates On/Off status of input contact point of SOE module. (32 contact points) – You can edit Variable/Device name and those can be expressed in connection with U device at SOE monitor.
  • Page 763 Chapter 18. Exclusive Functions for Event Input Module 18-32...
  • Page 764: Chapter 19 User Function / Function Block

    Chapter 19. User Function / Function Block Chapter 19 User Function / Function Block A user can personally create and use a function/function block, which is not provided by XG5000. The User Function/Function Block can be created as follows. Create new project selecting auto-allocation Create the user function/function block program Create the user function/function block I/O variable User function/function block programming...
  • Page 765: Create User Function/Function Block

    Chapter 19. User Function / Function Block 19.1 Create User Function/Function Block 19.1.1 Create auto-allocation project For XGK series, to use user function/function block, when creating the project, you should check auto- allocation. If not, you can’t use user function/function block. 19.1.2 Create User Function/Function Block Program In order to create user function/function block, after selecting User Function/Function Block, select [Project] ...
  • Page 766 Chapter 19. User Function / Function Block [Dialog box] 19-3...
  • Page 767 Chapter 19. User Function / Function Block [Description of Dialog box] a.Program Name: used to input a User Function/Function Block. When the user-defined function/function is registered, the input name is registered. b. Language: used to select a programming language for the User Function/Function Block. A user-defined function is created only by the LD language while a user-defined function block can be created by either the LD or SFC language.
  • Page 768 Chapter 19. User Function / Function Block Note - For Width (Columns) item, you can specify the width of function/function block and it can be useful to make long I/O variable name not overlapped. Width =1 Width =2 - If clicking OK button, a new item is created under the item of User Function/Function Block. 19-5...
  • Page 769: Create User Function/Function Block I/O Variable

    Chapter 19. User Function / Function Block 19.1.3 Create User Function/Function Block I/O Variable [Steps] 1. If double-clicking [Local Variables] among the items under User Function/Function Block, the following local variable screen is created. [Local Variables window] [Description of Local Variable Window] a.
  • Page 770 Chapter 19. User Function / Function Block Notes - Input variable and output variable should be, at least, one or more, respectively but the number is limited to 64. 19-7...
  • Page 771: User Function/Function Block Programming

    Chapter 19. User Function / Function Block 19.1.4 User Function/Function Block Programming [Steps] 1. If double-clicking a program among the items under the User Function/Function Block, a program screen with the previously designated language appears. The following screen shows the screen created when selecting the LD.
  • Page 772 Chapter 19. User Function / Function Block Notes - You can’t user another user function/function block in the user function/function block programming - The variable whose name is same as that of user function should be used - Direct variable (device) can be used only in the user function block programming - In the user function block, you can set trigger on bit type input parameter (variable) Type of trigger is as follows.
  • Page 773 Chapter 19. User Function / Function Block 19-10...
  • Page 774: Use User Function/Function Block

    Chapter 19. User Function / Function Block 19.2 Use User Function/Function Block [Steps] 1.Open the program to use a User Function/Function Block and move the cursor to the position to input. 2. Click Extension Function Toolbar. . 3. Select a User Function/Function Block in the function/function block dialog box. 19-11...
  • Page 775 Chapter 19. User Function / Function Block 4. Input the variable to be used in the input/output of function/function block. 19-12...
  • Page 776 Chapter 19. User Function / Function Block Notes - Only one input line is available ahead of user function/function block and connects with EN. In case there is no EN, it can connect with first BIT type input variable. - Output line can come out from BIT type output variable and only one is available. - Online editing for user function/function block is not available.
  • Page 777: Protect User Function/Function Block Source

    Chapter 19. User Function / Function Block 19.3 Protect user Function/Function Block Source 19.3.1 Password 1) Setting individual password for user function/function block [Steps] 1. After user function/function block on the project window, select [Properties]. 19-14...
  • Page 778 Chapter 19. User Function / Function Block 2. Select password tap in the dialog box. 3. Input password. 4. Input password again at [Confirm password]. 5. Press OK 6. Since then, password is needed whenever you open the user function/function block. 19-15...
  • Page 779 Chapter 19. User Function / Function Block 2) Setting password for entire user function/function block [Steps] 1. After selecting [User Function/Function Block] on the project window, select [Properties]. 2. Input password in the dialog box. 19-16...
  • Page 780: Disable To Read Program From Plc

    Chapter 19. User Function / Function Block 3. Input password again at [Confirm password] 4. Press OK 5. Password is needed when you open any user function/function block. Notes - If you lost a password, you can’t open a user function/function block. But though you don’t know the password, you can use it in the program.
  • Page 781 Chapter 19. User Function / Function Block 1. After selecting [User Function/Function Block] at the project window, select [Properties]. 19-18...
  • Page 782 Chapter 19. User Function / Function Block 2. Select password tap at the dialog box. 3. Check the box next to [Disable to read program from PLC]. 4. Press OK 5. Since then, if you read program from PLC, you can’t open user function/function block program. 19-19...
  • Page 783 Chapter 19. User Function / Function Block 19-20...
  • Page 784: Start

    Chapter 20. LS Studio Chapter 20 LS Studio 20.1 Start 20.1.1 Features XG5000 provides an integrated development environment with software such as XP-Builder, DriveView7. In the integrated development environment, all project files are integrated and managed by the XG5000. By using the XP-Builder integration project, the list of variables used in the PLC can be used immediately without the inconvenience of exporting or importing as a CSV file.
  • Page 785: Install File

    Chapter 20. LS Studio 2) Using method in the tool integration environment To use XG5000’s variables and comments in XP-Builder, double-click HMI item in XG5000 project tree. In the tool integration environment, it is not necessary to save the variable / comment items used in the xg5000 as a separate file, and even if the variable / comment changes, exporting to the file is not necessary.
  • Page 786: Install

    Chapter 20. LS Studio 20.1.3 Install Run the installation file. The installation wizard prepares for installation. Press next button. Select the type of installation. Complete installation installs XG5000, XP-Builder, and DriveView 7. In a custom configuration, you can select and install the programs you want. 20-3...
  • Page 787 Chapter 20. LS Studio If you select the type of installation, start the installation as shown below. The installation files of the selected program will be executed sequentially. For detailed installation procedure of each program, refer to the instruction manual of each program. 20-4...
  • Page 788: Delete

    Chapter 20. LS Studio 20.1.4 Delete You can uninstall it all at once using the LS Studio installation package or you can uninstall them individually using the respective installation files. In Control Panel - [Programs and Features], right-click LS Studio and click "Uninstall" or double-click. The uninstall wizard will run as shown below.
  • Page 789 Chapter 20. LS Studio The deletion proceeds as shown below. Note 1) The method of deleting individual software installation through LS Studio is the same as the deletion method of each software. For details, refer to the instruction manual of each software. 20-6...
  • Page 790: Basic Usage

    Chapter 20. LS Studio 20.2 Basic usage This chapter describes basic usage for using the project integration function. Integrated XG5000 has added functions to run XP-Builder and Driveview7, and its basic usage is same as existing XG5000. 20.2.1 Add item To use added integration function, add an item to the XG5000 project.
  • Page 791 Chapter 20. LS Studio [Dialog box] [Dialog Box Description] a. Type: Select the type of item you want to add. When PLC is selected, the Add PLC dialog box is displayed. Items to be added are displayed as integrable items installed on your PC b.
  • Page 792 Chapter 20. LS Studio [Dialog Box Description] a. Name: Enter the name to be added in the XG5000 project. You cannot duplicate items in the current project. b. From Model: Select the detail model. Different items are displayed depending on the items added. c.
  • Page 793 Chapter 20. LS Studio Note Items and sub-items added to the project tree are displayed differently depending on the selected item. When you add an item from a file, the selected file is copied and saved with the XG5000. The selected file remains without being deleted. Items that are added can be activated or deactivated on an item-by-item basis.
  • Page 794: Run Item

    Chapter 20. LS Studio 20.2.2 Run item To run the program associated with the added item, double-click each item in the project tree. If the connected program is already running, it will be activated. Note Duplicated execution may not be possible depending on the characteristics of the application such as Driveview7.
  • Page 795: Save As Plc Project

    Chapter 20. LS Studio 20.2.3 Save as PLC Project Project files saved in the integrated project environment can only be used with the XG5000 individually installed version V4.10 or later. If you want to use with XG5000 V4.11 or earlier, you can save it as PLC project file by using [Save as PLC Project] function.
  • Page 796: Xg5000 Variables / Comments Share

    Chapter 20. LS Studio 20.3 XG5000 variables / comments share This chapter explains how to use variables / comments set in XG5000 with XP-Builder. [Steps] On the XG5000, select the variable / comment you want to share with the HMI. The XG5000 allows you to select global variables, flags, and local variable entries.
  • Page 797 Chapter 20. LS Studio 4.Select the [NewPLC] item in the tag group to see the list of variables selected on the XG5000. 5.It is used in drawing by using registered tag list in XP-Builder. 20-14...
  • Page 798: Communication Parameter Setting

    Chapter 20. LS Studio 20.4 Communication parameter setting This section explains how to set the communication parameters using the INV items registered in the project. For the procedure to add an INV item, see section 2.1 Add item. [Steps] Add communication module supporting LS bus to current project (Cnet only) 20-15...
  • Page 799 Chapter 20. LS Studio Select Use P2P in the communication module's default setting. Add P2P parameter for communication module and select LS BUS item in P2P channel. 20-16...
  • Page 800 Chapter 20. LS Studio Enter the default settings for P2P and click the [Set] button. In the Variable Setting dialog box, right-click "Read Area" and select "Inverter Setting". Select inverter, group and variable in the inverter variable selection dialog box and select the OK button.
  • Page 801 Chapter 20. LS Studio After setting the save area, select the OK button. 20-18...
  • Page 802 3. Since the above warranty is limited to PLC unit only, make sure to use the product considering the safety for system configuration or applications. Environmental Policy LS ELECTRIC Co., Ltd supports and observes the environmental policy as below. Environmental Management About Disposal LS ELECTRIC considers the environmental LS ELECTRIC’...
  • Page 803 Warranty and Environment Policy...
  • Page 804 ■ Overseas Subsidiaries ■ Headquarter • LS ELECTRIC Japan Co., Ltd. (Tokyo, Japan) LS-ro 127(Hogye-dong) Dongan-gu, Anyang-si, Gyeonggi-Do, 14119, Korea Tel: 81-3-6268-8241 E-Mail: jschuna@lselectric.biz • LS ELECTRIC (Dalian) Co., Ltd. (Dalian, China) ■ Seoul Office Tel: 86-411-8730-6495 E-Mail: jiheo@lselectric.com.cn •...

This manual is also suitable for:

Xgk seriesXgb seriesXg5000

Table of Contents