Summary of Contents for LS Industrial Systems XG5000
Page 1
Right choice for ultimate yield LSIS strives to maximize customers' profit in gratitude of choosing us for your partner. Programmable Logic Controller XG5000 XGT Series User’s Manual For XGI/XGR/XEC Read this manual carefully before installing, wiring, operating, servicing or inspecting this equipment.
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
’08.3 XGR-CPUH added V 2.2 ’08.8 PID monitor added CH.11 V 2.3 ’09.10 1. XG5000 installation modified 1-4~1-8 2. Option modified 2-28, 2-34 3. Making new project modified 4. Direct variable comment modified 4-2~4-3 5. Export to file added 4-38, 4-56, 4-73, 4- 6.
Page 4
Modified 2. Contents on basic parameter added CH9.1 3. PLC information/Password function CH10.9.1, CH10.9.3 modified ※ The number of User’s manual is indicated right part of the back cover. ⓒ LS Industrial Systems Co., Ltd 2007 All Rights Reserved.
Page 5
About User’s Manual About User’s Manual Thank you for purchasing PLC of LS Industrial System Co., Ltd. Before use, make sure to carefully read and understand the User’s Manual about the functions, performances, installation and programming of the product you purchased in order for correct use and importantly, let the end user and maintenance administrator to be provided with the User’s Manual.
Table of Contents Chapter 1 Introduction......................1-1 ~ 1-20 1.1 Features of XG5000………………………………………………………………………………………………… ..1-1 1.2 System Requirements necessary for XG5000……………………………………………………………………....1-3 1.3 Installation of XG5000………………………………………………………………………………………………....1-4 1.4 Installation of USB Device Driver…………………………………………………………………………………… ..1-9 1.5 Confirmation of Installed USB Device Driver………………………………………………………………………..1-13 Chapter 2 Basic Application....................2-1 ~ 2-40 2.1 Screen Configuration................................2-1...
Page 7
Table of Contents 3.2.3 Open from PLC................................3-5 3.2.4 Save Project ...................................3-6 3.2.5 Save as...................................3-7 3.3 Open GMWIN File..................................3-9 3.3.1 Open GMWIN File.................................3-9 3.3.2 GMWIN Project Conversion Rules ..........................3-10 3.4 Project Item....................................3-18 3.4.1 Add item..................................3-18 3.4.2 Import item from file ..............................3-24 3.4.3 Export to file..................................3-27 3.4.4 Item register information..............................3-29 3.4.5 Change program sequence............................3-31...
Page 16
Table of Contents 19.2.1 Menu Structure................................19-3 19.2.2 Tools ..................................19-5 19.2.3 SOE Event History Window ............................19-7 19.2.4 Status Bar .................................19-9 19.3 Basic Parameter Setting ..............................19-10 19.3.1 Setting Items................................19-10 19.4 I/O Parameter Setting.................................19-11 19.4.1 Setting Item ................................19-11 19.5 View Module Information ..............................19-17 19.6 Event History Monitor .................................19-18 19.7 Save as an Excel File.................................19-29...
Chapter 1 Introduction 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 18
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 is allowed to a specific position with Bookmark function. - Memory of selected device can be referred when editing LD (7) Various Monitoring Functions - Various monitoring functions are provided such as variable monitoring, device monitoring, system...
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 200MB area Mouse connectable to PC...
[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 21
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 22
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 23
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 24
Chapter 1 Introduction 11.Wait a second for the installation to be complete.
(refer to CH1.3, 10) [Steps] 1. Ensure that Drivers folder is created in the folder where XG5000 is installed, and there are 2 driver files of GmUSBD.sys and GmUSBD.inf in the Drivers folder. If there is no folder or driver file, reinstall XG5000.
Page 26
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 27
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-11...
Page 28
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.
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 30
Chapter 1 Introduction 2) Abnormal Case The device driver has not been installed successfully, if the following figure is displayed. 1-14...
Page 31
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 32
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 33
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-17...
Page 34
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.
Page 35
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 36
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-20...
Project window: used to display the components of the presently opened project d. Variable Monitoring window: used to register and monitor the variable. e. Status bar: used to display the status of XG5000, the information of connected PLC, etc.. f. Edit window: The presently LD Edit window is displayed.
Page 39
Previously displays the screen to be printed. Print Project Selects the project item and print it. Print Setup Sets the printer options. Exit Ends XG5000. 2) Edit Instruction Description Undo Cancels the edit on Program Edit Window to recovers its previous status.
Page 40
Chapter 2 Basic Application Instruction Description Paste Copies from the clipboard onto Edit Window. Delete Deletes the selected block or items. Select All Selects all block of presently active window. Insert mode Converts overwrite mode to insert mode Overwrite mode Converts insert mode to overwrite mode.
Page 41
Chapter 2 Basic Application Instruction Description indicates. Next Message Moves from the message window to the place the next message indicates. 4) 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.
Page 42
Chapter 2 Basic Application Instruction Description Open Local Variable Converts from the program screen to the local variable screen. Open Program Converts from the local variable screen to the program screen. Open User Function/Open If selects the user function/FB and select the ‘Open User Function’, converts Function Block to User Function/FB Program screen 5) Online...
Page 43
Instruction Description Network Manager Shows the PLC network and specifies the parameter. Start/End Simulator Starts or ends the simulator. Customize User defines tools and instructions. Shortcut Settings User specifies the Shortcut Keys. Options Changeable applicably to XG5000 environment by user.
About XG5000 Displays XG5000 information. 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.
Page 45
Chapter 2 Basic Application [Dialog Box] [Description of Dialog Box] a. Tool Bar: used to show or hide the Tool Box by checking the check box in front of each tool box name on the list. b. New: used to create a new tool box. c.
Page 46
Chapter 2 Basic Application [Dialog Box] [Description of Dialog Box] a. Instruction: It is an instruction tap of the customized Dialog Box. b. Categories: used to select the existing tool box. c. Buttons: used to select a tool desired. d. User’s Tool Box: From the c. Button, drag a desired tool and drop it on the user’s tool box to add the tool. 2-10...
Chapter 2 Basic Application 2.1.3 Status Display Line [Dialog Box] [Description of Dialog Box] a. Comment of Instruction: used to display the comment of the selected menu, instruction or mouse- positioned tool box b. PLC name: used to display the selected PLC name. If several PLCs are in a project, online-related instructions will be applied to the PLC displayed here c.
Page 48
Chapter 2 Basic Application 1) Move Position with the left mouse button pressed, drag the mark “ ” to a desired position. The figure below shows the project window moved downward. 2-12...
Page 49
Chapter 2 Basic Application 2) Change to Open Window Click the right mouse button positioned on the desired window and select [Float in Main Window] on the menu. 3) Hide Click the right mouse button positioned on the desired window and select [Hide] on the menu. 2-13...
Chapter 2 Basic Application 2.1.5 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] 2-14...
Page 51
Chapter 2 Basic Application [Description of Dialog Box] a. Input: used to input desired string by means of keys. b. List Box: used to select an item on the list. Press the list box arrow to display the list with the item to click and select as desired c.
1. Select [Project]-[Open Project] on the menu 2. Select [Project File] and then click [Open] Note - The extension of XG5000 project file is “.xgp”. On the Open Dialog Box, select Project File to check the project comment in the comment area 2.2.2 Close Project [Steps] 1.
Chapter 2 Basic Application 2.3 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.3.1 Cut-Paste It is used to select blocks to move to other places [Steps] 1.
Chapter 2 Basic Application 2.3.2 Copy - Paste [Copy] - [Paste] menu is used to create one more data identical to the data of the selected area. At this time, in case that the variable name should not be duplicate as described in Variable/Comment, an applicable warning message will appear.
When dragging and dropping in a same area such as same LD or IL window, it applies [Cut]-[Paste]; if dragging and dropping with two and more XG5000 Program instances opened, it applies [Copy]-[Paste]. The above figure shows the results of Drag & Drop when selecting a line in an instance.
Page 57
Chapter 2 Basic Application The above figure shows the results when dragging and dropping a selected area in two instances. 2-21...
Page 58
Chapter 2 Basic Application Notes - Cut, Copy and Paste can be also controlled by the mouse context menu in Edit window. - Copy/Paste in Variable/Comment or LD/IL Edit is verified for the duplication by the program. However, it should be also checked manually by a user. - Program does not respond if Cut, Copy or Paste is operated in an unavailable area.
Chapter 2 Basic Application 2.4 Shortcut Setting Shortcut Keys can be specified for all the instructions. At this moment, the Shortcut Keys already specified will be deleted. [Steps] 1. Select [Tools]-[Shortcut Settings] on the menu. [Dialog Box] [Description of Dialog Box] Select a macro: used to select the menu to specify its shortcut key on the list.
Page 60
Chapter 2 Basic Application 2. Select the menu to specify its shortcut key on the Menu Select list. 3. Click [Create Shortcut] button. 4. Click the shortcut key to set. For example, if Shift + F8 is desired to apply, press F8 together with Shift being pressed on the keyboard.
Chapter 2 Basic Application 2.5 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.1.
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. Setting contents: If you select category, applicable contents are displayed c.
Specifies the number of recently opened project displayed at menu [Project] – Recent Project]. Up to 20 is available e. When starting XG5000, opens the recent project automatically f. When executing XG-PD through XG5000 menu, make connection option of XG5000 and PLC name displayed at XG-PD identically. 2-28...
Page 65
2.6.3 XG5000 Common Editor [Steps] Select menu [Tools]-[Options] Select option after select [Common Editor] in XG5000 category [Description of dialog box] [Description of dialog box] a. Output cross reference instantly: for device used in LD, displays memory reference contents automatically.
Page 66
Chapter 2 Basic Application 2.6.4 XG5000 Color Options Color to be displayed on the LD/IL Edit Window can be specified by the user. [Steps] 1. Select [Tools]-[Option] on the menu. 2. Select the Color tap on the Option Dialog Box.
Page 67
Chapter 2 Basic Application 2.6.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. Type: 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-31...
Page 68
Chapter 2 Basic Application Monitor Display Format Example) Application Instruction ADD Unsigned Decimal Signed Decimal Hexadecimal As instruction 2-32...
Page 69
Chapter 2 Basic Application 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. c.
Chapter 2 Basic Application 2.6.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.
Chapter 2 Basic Application 2.6.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.
Chapter 2 Basic Application 2.6.8 SFC option Options used when editing SFC program [Steps] 1. Select [Tools]-[Option] 2. Select SFC category [Dialog box] [Description of dialog box] 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.
Chapter 2 Basic Application Note - Range of step column width is 20~200. - Range of action column width is 70~400. 2.6.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] 2-37...
Chapter 2 Basic Application [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 75
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.
Chapter 2 Basic Application 2.6.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.
Chapter 3 Project Chapter 3 Project 3.1 Project Configuration The items of the project configuration are follows. [Dialog Box]...
Page 78
- Several PLCs can be included in one project. In this way, with several PLC included in one project its management will be convenient, and monitoring several PLCs will be also available through simultaneous connection to several PLCs with one running XG5000.
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 80
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 “.xgp”. 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.
If project file is selected, Click [Open]. 3.2.3 Open from PLC It is used to read the project stored in PLC to make a new project. If the project is already open in XG5000, this project will be closed to create a new 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.
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 84
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.
Chapter 3 Project 3.3 Open GMWIN File 3.3.1 Open GMWIN File It is used to read GMWIN project file in XG5000 to convert to XG5000 project. The list of the convertible items is as follows - Program (LD) - Direct variable comment - Global variable The list of items excluded from conversion of the GMWIN project file is as follows.
Chapter 3 Project 3. Click Open to display the New Project Dialog Box. 4. Enter project name and PLC type and click [OK]. Then, it converts GMWIN file and creates XG5000 project. 3.3.2 GMWIN Project Conversion Rules It converts a program created by GMWIN. The items converted to XG5000 are contact (type), coil (type), horizontal line, vertical line, rung comment, function/function block, extended functions such as JMP and SCAL.
Page 87
Chapter 3 Project Changed Item GMWIN XG5000 item SCAL CALL Label Label Subroutine label SBRT main program INIT_DONE INIT_DONE output Notes - The label referred to subroutine in GMWIN file is changed to the extended function SBRT. c. Conversion of Function/Function Block In case of function/function block, it converts the only standard function/function block and APP library of GMWIN.
Page 88
- Function/Function block There are functions of which type is changed although they are contained in the standard function/function block and APP library. For the function type changed, refer to the following table. Function (GMWIN) Changed function(XG5000) ACOS ACOS ADD_TIME...
Page 93
I/O type IN2 Output OUT Notes - In case of system flag and COM flag It may not exist in XG5000 or its type may be changed. For the items of flag, refer to the User’s Manual of PLC. 3-17...
Chapter 3 Project 3.4 Project Item 3.4.1 Add item 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-18...
Page 95
3. Input PLC name, PLC type and PLC Description, and then click [OK] to create a new PLC as 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 96
Chapter 3 Project [Steps] 1. On the project window, select the PLC Item 2. Select [Project]-[Add Item]-[Task] on the menu. [Dialog Box] 3-20...
Page 97
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 98
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-22...
Page 99
Chapter 3 Project 2. Select [Project]-[Add Item]-[Program] on the menu. 3. Input Program name, language and Program Description, and then click [OK]. 3-23...
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 Global/direct variables I/O parameter Basic parameter Program User function/function block Imports item from saved item files. The contents from PLC, program is inserted into project. Variable/comment, basic parameter, I/O parameter, etc.
Page 101
Chapter 3 Project 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. Select the file, and then click [OK]. I/O Parameter [Steps] 1. On the project window, select the PLC Item. 2.Select [Project]-[Import Item from File]-[I/O Parameter] on the menu.
Page 102
Chapter 3 Project Basic Parameter [Steps] 1. On the project window, select the PLC Item. 2. Select [Project]-[Import Item from File]-[Basic Parameter] on the menu. 3. Select the file, and then click [OK]. Program [Steps] 1. On the project window, select the Program Location to add. The program can be added to Scan Program or Task Item.
Chapter 3 Project 3.4.3 Export to file The following items can be saved as separate item files. Item File Extension Global/direct variables I/O parameter Basic parameter Program Use function/function block [Steps] 1. On the project window, select the PLC Item. 2.Select [Project] –...
Page 104
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. 3-28...
Chapter 3 Project 3.4.4 Item register information The name and comment of respective item can be viewed to change. Project properties [Steps] 1. On the project window, select the Project Item. 2. Select [View] - [Properties] on the menu. [Dialog Box] 3-29...
Page 106
Chapter 3 Project [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. File Name: displays the file name where the project is saved. Select [Project] - [Save As] to save as a different file.
Chapter 3 Project 3.4.5 Change program sequence Scan and Task program will be executed from the upper in regular sequence. Thus, the program location shall be changed to change the execution sequence. Order Change with the menu [Steps] 1. Move the cursor onto the program to change the order of execution. 2.
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 109
Chapter 3 Project 4. Select the items to compare with. At this moment, the selected items of both projects must be identical. 5. Click [Compare]. 6. Compare result will be displayed on the Result window. 3-33...
Chapter 3 Project 3.6 Project Password Password for project file can be specified. 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 111
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 above. 6.
Chapter 3 Project 3.6.2 Change password [Steps] 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-36...
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 114
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 Password. 5. Click [Delete]. 3-38...
Chapter 4 Variable Chapter 4 Variable A user uses variables depending on a program. In general, global variable is available in every program. To use global variable as local variable, it is necessary to declare it as EXTERNAL before use. Local variable is available only in a designated program.
Chapter 4 Variable 4.1.2 Direct Variable Comment It displays the comment of direct variable entered or declared from the variables. [Dialog Box]...
Page 117
Chapter 4 Variable [Description of Dialog Box] a. Direct variable: if entering a variable, it displays the data of the direct variable comment. b. Show defined comments: displays list of defined comment Notes - Direct variable varies depending on CPU type. - Bit View is activated when ‘Show defined comments’...
Chapter 4 Variable 4.1.3 Flag [Dialog Box] [Description of Dialog Box] 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]. In case of the system flag, all the details only will be displayed on the screen.
Page 119
Chapter 4 Variable 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 inputted, it will be as shown below.) Example, Notes - Flag can not declare a flag exclusively for Read.
Chapter 4 Variable 4.2 Global/Direct Variable Edit On the list of the presently declared global/direct variables, variable kind, variable name, memory address, initial value, retain, use or not and comment items can be edited. In addition, a new global variable can be added to the list of the global/direct variables.
Page 121
Chapter 4 Variable [Description of Dialog Box] a. Variable kind: VAR_GLOBAL and VAR_GLOBAL_CONSTANT are available. b. Variable name: 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.) - Space is not available as a character.
Chapter 4 Variable 4.2.2 Copy, Cut, Delete and Paste Copy, cut, delete or paste can be executed to edit the list of global/direct variables used in the program. 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.
Page 123
Chapter 4 Variable 3) Cut It is used to save the selected data in the clipboard in order to add to the present project or other projects. Besides, it will delete the selected data. [Steps] 1. Select the area to cut. 2.
Page 124
Chapter 4 Variable [Description of Dialog Box] Number: used to display the duplicated number of the variables and direct variables to paste Replace: used to apply Paste. Gray Line: used to display the existing list of variables/comments, which will not be edited. White Line: used to display the list of variables/comments obtained from the clipboard, which will not be edited.
Chapter 4 Variable [Comment of Dialog Box] a. Number: used to display the duplicated number of the variables and direct variables 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 126
Chapter 4 Variable Notes - If no cell is selected, one line will be added to the first 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 Global Variable.
Chapter 4 Variable 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. 4-13...
Chapter 4 Variable Notes - If no cell is selected, [Delete Line] will not be executed. - It is available only in Global Variable. 4.2.5 Automatic fill It is used to increase or decrease variables and direct variables to add on the list of variables/comments. [Steps] 1.
Chapter 4 Variable [Details] a. Variable kind: the value is filled in a cell as copied. b. Variable Name: it always executes Automatic Fill because a variable can not be declared in duplicate. If it contains a number, it automatically increases. If not, it adds a number at the end and counts it automatically.
Drag and drop is available onto Data Traces window. e. Drag and drop is available onto Global Variable of other XG5000 programs. f. Drag and drop is available onto Direct Variable Comment of other XG5000 programs. Notes - Data is not moved but just copied always when dragged and dropped - Paste is not available in Flag 4.2.7 Undo/Redo...
Chapter 4 Variable 7. Undo/Redo is available for Automatic Fill. 8. Undo/Redo is available for Insert Line. (Only in Global Variable) 9. Undo/Redo is available for Delete Line. (Only in Global Variable) 10. Undo/Redo is available for drag and drop. 11.
Chapter 4 Variable 4.2.9 Register Special Module Variables 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. Set the special module on the slot in I/O parameter. 2.
Page 135
Chapter 4 Variable 4. Select [Edit]-[Register Special Module Variables] on the menu. Notes - Deletes all the existing information of the Global variable to add on the list of variables/comments referring to the presently specified I/O parameter. 4-21...
Chapter 4 Variable 4.2.10 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-22...
Chapter 4 Variable 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 Direct Variable Comment. - In Global Variable, incomplete variables displayed on the present screen will be also displayed on the Preview screen 4.2.11 Print...
Page 138
Chapter 4 Variable 2) View - Screen Zoom-In: shows the screen magnified. - Select [View]-[Zoom-In] on the menu. - Screen Zoom-Out: shows the screen reduced. - Select [View]-[Zoom-Out] on the menu. - Use Combo Box for screen Zoom-In/Zoom-Out. - Select the magnification rate of in the combo box of the toolbar.
Chapter 4 Variable 4.3 Local Variable Local Variable declares the variables used in the program or displays the list of declared variables, based on variables. 4.3.1 Local Variable It declares variables and displays the list of declared local variables. 4-25...
Chapter 4 Variable 4.4 Local Variable Edit On the list of the presently declared local variables, variable kind, variable name, type, memory address, initial value, retain, use or not and comment can be edited. In addition, it adds the local variables used in the program to the list of local variables.
Page 141
Chapter 4 Variable [Description of Dialog Box] a. Variable kind: VAR, VAR_CONSTANT and VAR_EXTERNAL, VAR_EXTERNAL_CONSTANT are available. - If variable type is CONSTANT, it sets the initial value as the default. - If the variable type is VAR_EXTERNAL or VAR_EXTERNAL_CONSTANT, the columns of the initial value and retain value are displayed as the defaults.
Chapter 4 Variable 4.4.2 Copy, Cut, Delete and Paste Copy, cut, delete or paste can be executed to edit the list of local variables used in the program 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.
Page 143
Chapter 4 Variable 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 144
Chapter 4 Variable [Comment of Dialog Box] a. Number: used to display the duplicated number of the variables and direct variables to paste b. Replace: used to apply Paste. c. Gray Line: used to display the existing list of variables/comments, which will not be edited. d.
Chapter 4 Variable [Description of Dialog Box] a. Number: used to display the duplicated number of the variables and direct variables to paste. b. Application: used to apply Paste. c. Gray Line: used to display the data in the existing cell, which will not be edited. d.
Page 146
Chapter 4 Variable 1.Select the area to insert the lines into. 2. Select [Edit] - [Insert Line] on the menu. Notes - If no cell is selected, one line will be added to the first line. - If Enter key or Tab key is selected at the last of the lines, a new line will be created. 4-32...
Chapter 4 Variable 4.4.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.
Chapter 4 Variable 4.4.5 Automatic fill It is used to increase or decrease variables and direct variables 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 149
Chapter 4 Variable [Description of dialog box] Variable kind: the value is filled in a cell as copied. Variable name: it always executes Automatic Fill because a variable can not be declared in duplicate. If it contains a number, it automatically increases. If not, it adds a number at the end and counts it automatically.
Chapter 4 Variable 4.4.6 Drag & 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.
Copy is available when drag and drop is executed onto Excel program. d. Drag and drop is available onto Data Traces window. e. Drag and drop is available onto Global Variable of other XG5000 programs. Notes Data is not moved but just copied always when dragged and dropped.
Chapter 4 Variable 7. Undo/Redo is available for Automatic Fill. 8. Undo/Redo is available for Insert Line. (Only in Global Variable) 9. Undo/Redo is available for Delete Line. (Only in Global Variable) 10. Undo/Redo is available for drag and drop. 11.
Chapter 4 Variable 4.4.9 Add EXTERNAL Variable The list created by Global Variable can be loaded by Add External Variable. [Steps] 1. Select [Edit]-[Add EXTERNAL Variable] on the menu. 2. Global Variable Selection Dialog Box will be called. [Dialog box] [Description of dialog box] a.
Chapter 4 Variable 4.5 FB Variable FB variable memorizes operation results in a command such as timer and counter and declares the variable of operation unit using the results of operation memorized by several scans or displays the list of declared variables, based on the variables.
Chapter 4 Variable 4.6 FB Variable Edit On the list of the presently declared FB variables, variable kind, variable name, type, trigger, memory address, initial value, retain, use or not and comment items can be edited. In addition, a new FB variable can be added to the list of the FB variables.
Page 158
Chapter 4 Variable [Description of Dialog Box] a. Variable kind: VAR, VAR_CONSTANT, VAR_INPUT, VAR_OUTPUT, VAR_IN_OUT, VAR_EXTERNAL and VAR_EXTERNAL_CONSTANT are available. - If a variable type is CONSTANT, the initial value is set as the default. - VAR_INPUT, VAR_OUTPUT and VAR_IN_OUT can not set the initial value. b.
Chapter 4 Variable 4.6.2 Copy, Cut, Delete and Paste Copy, cut, delete or paste can be executed to edit the list of local variables used in the program. 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.
Page 160
Chapter 4 Variable 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 161
Chapter 4 Variable [Comment of Dialog Box] a. Number: used to display the duplicated number of the variables and direct variables to paste b. Replace: used to apply Paste. c. Gray Line: used to display the existing list of variables/comments, which will not be edited. d.
Chapter 4 Variable [Comment of Dialog Box] a. Number: used to display the duplicated number of the variables and direct variables 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 163
Chapter 4 Variable Notes - If no cell is selected, one line will be added to the first line - If Enter key or Tab key is selected at the last of the lines, a new line will be created. 4-49...
Chapter 4 Variable 4.6.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 4-50...
Chapter 4 Variable Notes - If no cell is selected, [Delete Line] will not be executed. 4.6.5 Automatic fill It is used to increase or decrease variables and direct variables 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.
Chapter 4 Variable [Details] a. Variable Kind: the value is filled in a cell as copied. b. Variable Name: it always executes Automatic Fill because a variable can not be declared in duplicate. If it contains a number, it automatically increases. If not, it adds a number at the end and counts it automatically.
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 local variable of other XG5000 programs. Notes - Data is not moved but just copied always when dragged and dropped.
Chapter 4 Variable 4. Undo/Redo is available for Delete. 5. Undo/Redo is available for Cut. 6. Undo/Redo is available for Paste. 7. Undo/Redo is available for Automatic Fill. 8. Undo/Redo is available for Insert Line. (Only in Global Variable) 9. Undo/Redo is available for Delete Line. (Only in Global Variable) 10.
Chapter 4 Variable 4.6.9 Add EXTERNAL Variable The list created by Global Variable can be loaded by Add External Variable. [Steps] 1. Select [Edit]-[Add EXTERNAL Variable] on the menu 2. Global Variable Selection Dialog Box will be called. [Dialog box] [Description of dialog box] a.
Chapter 4 Variable 4.7 FUN Variable FUN Variable does not memorize the operation results such as 4 arithmetic operations and comparative operations and declares the variable of operation unit using the operation results or displays the list of declared variables, based on the variable. 4.7.1 FUN Variable It declares the variable and displays the list of declared FUN variables 4-60...
Chapter 4 Variable 4.8 FUN Variable Edit On the list of the presently declared FUN variables, variable kind, variable name, type, trigger, memory address, initial value, retain, used and comment items can be edited. In addition, a new FUN variable can be added to the list of the FUN variables.
Page 176
Chapter 4 Variable a. Variable Kind: VAR, VAR_INPUT, VAR_OUTPUT, VAR_IN_OUT and VAR_RETURN are available. b. Variable name: 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.) - Space is not available as a character.
Chapter 4 Variable 4.8.2 Copy, Cut, Delete and Paste Copy, cut, delete or paste can be executed to edit the list of local variables used in the program. 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.
Page 178
Chapter 4 Variable 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 179
Chapter 4 Variable [Comment of Dialog Box] a. Number: used to display the duplicated number of the variables and direct variables to paste. b. Replace: used to apply Paste. c. Gray Line: used to display the existing list of variables/comments, which will not be edited. d.
Chapter 4 Variable [Description of Dialog Box] a. Number: used to display the duplicated number of the variables and direct variables to paste. b. Application: used to apply Paste. c. Gray Line: used to display the data in the existing cell, which will not be edited. d.
Chapter 4 Variable Notes - If no cell is selected, one line will be added to the first line. - If Enter key or Tab key is selected at the last of the lines, a new line will be created. 4.8.4 Delete line It is used to delete the lines as many as the lines of the selected area, [Steps]...
Page 182
Chapter 4 Variable Notes - If no cell is selected, [Delete Line] will not be executed. 4-68...
Chapter 4 Variable 4.8.5 Automatic fill It is used to increase or decrease variables and direct variables 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 184
Chapter 4 Variable [Details] b. Variable Kind: the value is filled in a cell as copied. c. Variable Name: it always executes Automatic Fill because a variable can not be declared in duplicate. If it contains a number, it automatically increases. If not, it adds a number at the end and counts it automatically.
Chapter 4 Variable 4.8.6 Drag & 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 186
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 FB Variable of other XG5000 programs. Notes - Data is not moved but just copied always when dragged and dropped.
Chapter 4 Variable 4.8.7 Undo/Redo Undo is used to cancel the edited detail in order to return to its previous state. Redo cancels again the operation of Edit Cancel. [Details] 1. Undo/Redo is available for Cell Edit. 2. Undo/Redo is available for Change. 3.
Page 188
Chapter 4 Variable 1. Select [Edit] - [Export to File] on the menu. If you press ‘Save’, file is saved as inputted file name at selected folder location. If you press ‘Cancel’, file is not created and dialog box is closed File is classified by tap.
Chapter 4 Variable 4.9 Data type edit On the list of the presently declared data types, variable, type, memory allocation, initial value, retain and comment can be edited. In addition, it adds the data type used in the program to the list of data types. 4.9.1 Data Type Registration Register a data type to use in the program, In order to register on the list of data types, go through Data Type.
Page 190
Chapter 4 Variable [Description of Dialog Box] a. Variable Name: 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.) - Space is not available as a character. - A name same with direct variable can not be used as a name(i.e.
Chapter 4 Variable 4.9.2 Copy, Cut, Delete and Paste Copy, cut, delete or paste can be executed to edit the list of local variables used in the program. 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.
Page 192
Chapter 4 Variable 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 193
Chapter 4 Variable [Comment of Dialog Box] a. Number: used to display the duplicated number of the variables and direct variables to paste. b. Replace: used to apply Paste. c. Gray Line: used to display the existing list of variables/comments, which will not be edited. d.
Chapter 4 Variable [Comment of Dialog Box] a. Number: used to display the duplicated number of the variables and direct variables 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 195
Chapter 4 Variable Notes - If no cell is selected, one line will be added to the first line. - If Enter key or Tab key is selected at the last of the lines, a new line will be created. 4-81...
Chapter 4 Variable 4.9.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. 4-82...
Chapter 4 Variable Notes - If no cell is selected, [Delete Line] will not be executed. 4.9.5 Automatic fill It is used to increase or decrease variables and direct variables 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.
Chapter 4 Variable [Details] a. Variable Name: it always executes Automatic Fill because a variable can not be declared in duplicate. If it contains a number, it automatically increases. If not, it adds a number at the end and counts it automatically b.
[Details] a. Copy is available when drag and drop is executed onto Excel program. b. Drag and drop is available onto Global Variable of other XG5000 programs. Notes Data is not moved but just copied always when dragged and dropped.
Chapter 4 Variable 9. Undo/Redo is available for Delete Line. (Only in Global Variable) 10. Undo/Redo is available for drag and drop. 11. Undo/Redo is available for Align. 12. Undo/Redo is executed above the item. 13. Undo/Redo is executed below the item. 4.9.8 Export to file It is used to save the previously declared list of global variables on the file and to open and read in the external programs.
Chapter 4 Variable 4.10 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 [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.
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. 4-93...
Page 208
Chapter 4 Variable 2. Select area to use external variable in High-speed Link Block and click on right button of mouse. Select [Import variable name] in the created context menu 4-94...
Page 209
Chapter 4 Variable 3. Click “File Open” and select file created by step 1. Then click on ‘Open’. 4. If you select item in data item, the variable list shows. Select variable in variable list and click ‘OK’ 4-95...
Page 210
Chapter 4 Variable 5. In High-Speed Link window, Read area, variable, variable comment is shown as below 4-96...
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 Limit There are functional limits in LD Program Edit as described below. Item Description Limit...
Page 212
) Positive-conversion detection contact point: Shift + F1 → s + F1 → sF1 Example - The Shortcut Keys described in Edit Tool are based on the Shortcut Keys basically provided in XG5000. - For setting details on the user defined Shortcut Keys, Refer to 2.4 Shortcut Setting in Chapter 2 Basic...
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.
Chapter 5 LD Edit 5.2.3 Input OR contact point Inputs OR contact point (Normally opened OR contact point, Normally closed OR contact point, Positive- conversion detection OR contact point, Negative-conversion detection OR contact point) [Steps] 1. Move the cursor where you want connect OR 2.
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 216
Chapter 5 LD Edit a. Variable: used to input a variable 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 217
Chapter 5 LD Edit e. Delete Variable: deletes the selected variable from local variable list f. OK: applies the inputted or selected items and closes the dialog box g. Cancel: closes dialog box [Dialog box]...
Page 218
Chapter 5 LD Edit [Description of dialog box] a. Global variable: displays the declared global variable list. Can be registered as EXTERNAL variable b. Global variable list: classify the entire list into all, general variable, special module related variable c. New Variable: recalls the dialog box to add variable into global variable list...
Page 219
Chapter 5 LD Edit d. Edit variable: this item is not provided e. Delete variable: this item is not provided f. OK: registers the inputted or selected variable as External variable at local variable list and closes the dialog box. g.
Page 220
Chapter 5 LD Edit [Dialog box] [Description of dialog box] a. Direct variable: displays direct variable list b. Bit View: for bit type direct variable, displays direct variable in diverse type. Displayed in Bit (X0), byte (B0.0), word (W0.0), double word (D0.0), long word (L0.0). c.
Page 221
Chapter 5 LD Edit d. Edit variable: recalls the dialog box to edit the direct variable comment e. Delete Variable: deletes the selected direct variable from direct variable list f. OK: applies the inputted or selected item and closes the dialog box g.
Page 222
Chapter 5 LD Edit [Description of dialog box] a. Flag: displays flag at list. You can select detail type at flag view item b. List: as selection box displaying flag type, you can select System/High speed link/P2P/PID flag c. All: select whether to display all flag list of the select flag or flag list based on parameter number/block index.
Page 223
Chapter 5 LD Edit [Dialog box] [Description of dialog box] a. Add to direct variable comment: In case the inputted variable is direct variable and there is no comment, recalls the dialog box to add the direct variable comment b. Direct Variable: displays the inputted direct variable c.
Page 224
Chapter 5 LD Edit [Dialog box] [Description of dialog box] a. Variable: inputs variable name. b. Data type: select data type for variable c. Variable kind: select variable kind for variable d. Address: allocates the direct address for variable. In case data type is STRUCTURE, Settings button is activated.
Chapter 5 LD Edit 5.2.5 Input Line The horizontal line shall be inputted for horizontal connection between LD Edit factors, and the vertical line shall be for vertical connection. 1) Horizontal Line Input [Steps] 1. Move the cursor onto the location to connect to. 2.
Chapter 5 LD Edit Notes - The vertical line will be inputted 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).
Chapter 5 LD Edit 5.2.7 Input Function (block) Input a function(block) for operation. [Steps] 1. Move the cursor to the location to input the function(block). 2. On the tool box, select the function(block) to input and then click the edit area. Or click the Shortcut Key applicable to the function(block) input [Dialog Box] Select a function.
Chapter 5 LD Edit [Description of Dialog Box] a. Name: input a name of function(block) to use. b. Search: search a name of the input function(block) c. List: select whether to display a function, function block or both on the dialog box. d.
Page 229
Chapter 5 LD Edit 2) Register Function(block) When using a function(block), it is automatically registered. If the list is ‘latest’, it is registered on the top of the list. If a function is already added to the list, the item (function) is displayed on the top. If the present list is ‘Most Use’, the top item is determined by the frequency of function (block) used.
Page 230
Chapter 5 LD Edit 3) Register Favorite Function It provides a method that a user registers a function(block) to frequently use in the project. [Steps] 1. Select a ‘Favorite Function’ in the Selection box. 2. Edit the list of function by [Edit] button and close the dialog box. [Dialog Box] Edit the Favorite Function List.
Page 231
Chapter 5 LD Edit [Description of Dialog Box] a. Favorite Function: displays the presently selected function. The content displayed on the Favorite Function List is the content to be displayed in Command window. b. Function List: displays the list of function(block) available on the present project. c.
Chapter 5 LD Edit Notes - It is also possible to drag an item to insert in the Command Window and insert it to the LD program. 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].
Page 233
Chapter 5 LD Edit 2. Select [Edit]-[Comment/Label Input]. [Dialog Box] Input the Comment and Label. [Description of Dialog Box] 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.
Page 234
Chapter 5 LD Edit [Description of Dialog Box] a. Comment: used to input the details of the rung comment or the output comment. b. OK: applies the input details and closes the Dialog Box. c. Cancel: closes the Dialog Box. 2) Output Comment [Steps] 1.
Chapter 5 LD Edit 5.2.10 Input Label This is used to input the label to refer to from the extended function of JMP. [Steps] 1. Move the cursor to the location to input the label on. 2. Select [Edit] – [Comment/Label Input]. 3.
Page 236
Chapter 5 LD Edit [Dialog Box] [Description 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. If selecting an item on the Label being used, the selected item is input. Notes - Up to 16 characters in English(8 in Korean) is available for the label.
Chapter 5 LD Edit 5.2.11 Insert Extended Function It is used to insert the extended function such as insert/call subroutine and program end. [Steps] 1. Move the cursor to the position to insert an extended function. 2. Select [Edit]-[Tools]-[Extended Function] on the menu. 3.
Chapter 5 LD Edit 5.2.12 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 - If inserting a cell in Function(Block), a variable is also moved together.
Chapter 5 LD Edit 5.2.13 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.
Chapter 5 LD Edit Notes - If deleting Function(block), the variable used as input/output is also deleted. 5.2.15 Delete Cell It is used to delete the factors such as the input contact point and horizontal line to draw in the next cell. [Steps] 1.
Chapter 5 LD Edit 5.2.16 Delete Line It is used to delete all the lines in the selected area. [Steps] 1. Move the cursor onto the line to delete. 2. Select [Edit] - [Delete Line]. 5.2.17 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.
Page 242
Chapter 5 LD Edit 2. Select [Edit] - [Copy] on the menu. 3. Move the cursor to the area to paste on. 4. Select [Edit] - [Paste] on the menu. 2) Cut [Steps] 1. Select the area to cut. 2. Select [Edit] - [Cut] on the menu. 5-32...
Chapter 5 LD Edit 3. Move the cursor to the area to paste on. 4. Select [Edit]-[Paste] on the menu. 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.
Chapter 5 LD Edit 2. Select [Edit] - [Delete] on the menu. 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.
Page 245
Chapter 5 LD Edit Insert mode: always inserts a new contact point to a designated position, regardless of contact point type. Insertion operation is as same as Insert Cell. 2) If inserting a function (block) Overwrite mode: inserts a function (block) into the present position. Insert mode: it inserts a space as high as a function (block) if there is not enough space to insert the function.
Chapter 5 LD Edit 5.3 View Program It is used to specify the Program View options. 5.3.1 View IL Program It is used to convert the LD program to the IL program and displays with the IL program. [Steps] 1. Select the program. 5-36...
Chapter 5 LD Edit 2. Select [View] - [IL]. Notes - If any incomplete rung exists, the LD program can not be converted to IL program. - Edit is not possible in IL View 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.
Chapter 5 LD Edit 5.3.3 View Device It is used to display only the name of the device for the variable or device used as the contact point, coil and function(block). If there is no device, it displays a name of variable. [Steps] 1.
Chapter 5 LD Edit 1. Select [View]-[Devices/Variables] Item. 5.3.6 View Device/Comment It is used to display the device/comment for the variable or device used in the contact point, coil and function(block). If there is no device in the variable, the variable name only will be displayed. [Steps] 1.
Chapter 5 LD Edit Notes - If View Options are changed, it may take some time according to the edited program amount. - Print function of the Device/Variable/Comment is available. For more detail, refer to CH14. 5.3.8 Adjust No. of Contact Point It is used to adjust the number of contact points displayed in the screen.
Chapter 5 LD Edit Notes - It may increase or decrease one by one in [View]-[Toolbox] - The number of contact to set is 9 ~ 32. - The number of contact points minimally set in LD program used for SFC action and transition is 5. 5.3.9 LD Screen Properties It is used to designate the properties of View LD Screen.
Page 252
Chapter 5 LD Edit a. View Option: designates the view options for variable and device. b. Magnification: designates the magnification displayed in the screen. It is allowed from 40 to 200%. c. No. of contacts: designates the number of contact points displayed in the screen. d.
Chapter 5 LD Edit 5.4 Edit Function Additional Additional functions will be described below for convenient edit. 5.4.1 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 [Steps] 1.
Page 254
Chapter 5 LD Edit 2. Select [Edit] - [Set Block Mask]. 2) Block Mask Instruction Cancel [Steps] 1. Move the cursor to the rung to cancel the Block Mask instruction. 5-44...
Chapter 5 LD Edit 2. Select [Edit] - [Remove Block Mask] on the menu. 5.4.2 Bookmark It allows the user easily to move to an interesting area with the bookmark specified on the line. 1) Set Bookmark [Steps] 1. Move the cursor to the line to specify the bookmark on. 5-45...
Page 256
Chapter 5 LD Edit 2. Select [Edit] - [Bookmark] - [Set/Remove] on the menu. 2) Bookmark Reset [Steps] 1. Move the cursor to the line to cancel the bookmark from. 2. Select [Edit] - [Bookmark] - [Set/Reset] on the menu. 5-46...
Page 260
Chapter 5 LD Edit 5) Next Bookmark [Steps] 1. Select [Edit] - [Bookmark] - [Next Bookmark] on the menu. Notes - Bookmark will be specified in line unit. - Bookmark is not an item to edit, thus the Set/Reset options will not be included in Undo and Redo. 5-50...
Chapter 5 LD Edit 5.4.3 Go To It is used to move to the specified line position, or go to the position of the edited label and rung comment. 1) Go to Line [Steps] 1. Select [Find/Replace]-[Go To]-[Step] on the menu. [Dialog Box] [Description of Dialog Box] a.
Page 262
Chapter 5 LD Edit 2) Go To Label [Steps] 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 263
Chapter 5 LD Edit 3) Go To Rung Comment [Steps] 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 264
Chapter 5 LD Edit 4) Go To END Instruction [Steps] 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.
Chapter 6 SFC Edit Chapter 6 SFC Edit SFC is used to control the execution sequence of other program (LD, IL) by using graphic symbols (step, transition, Branch). 6.1 Limit SFC program has the following limit when editing the program. Item Description Limit...
- Among Shortcut Keys in Edit Toolbox, ‘s’ stands for Shift key, ‘c’ for Ctrl key, ‘a’ for Alt key.. - The Shortcut Keys described in Edit Tool are based on the Shortcut Keys basically provided in XG5000. For more details on the user defined Shortcut Keys, Refer to 2.4 Shortcut Key Setting in Chapter 2 Basic Application.
Chapter 6 SFC Edit 3. New Step/Transition is inputted. Notes - Step name is allocated automatically. You can change it if you want. - According to input location, Step + Transition or Transtion + Step is inputted. Item of location selected Step + Transition, start line of parallel branch, label, selection branch termination line Transition...
Chapter 6 SFC Edit 2.Select symbol on the tool box and click the edit area. Or press shortcut key applicable to symbol. Notes - Action’s location is different according to selected edit area. Location item Right Action’s location is the right of step when selecting step Bottom Action’s location is the bottom of action when selecting action - The no.
Chapter 6 SFC Edit 2. Select block on the tool box and click the edit area or click the shortcut key applicable to symbol. 3. New block/Transition is inputted. Notes - Block input location standard is same with step input. 6.2.5 Input label Inputs label.
Chapter 6 SFC Edit Notes - Label can be inputted when selecting step or block. - Label is inputted ahead of the selected step or block. 6.2.6 Input Jump Inputs Jump. [Steps] 1. Move the cursor to the location you want edit 2.
Chapter 6 SFC Edit Notes - The jump can be inputted when selecting last transition within selection branch or transition of program in the last row. - The jump is inputted ahead of the selected transition. - The Jump is available within same program. 6.2.7 Input left branch Input left branch.
Page 272
Chapter 6 SFC Edit 4. Move cursor to the branch termination location. 5. Select the branch termination location. 6. The branch is made. Notes - When selecting the branch start location, the selection branch or parallel branch is made according to branch start location.
Page 273
Chapter 6 SFC Edit 2) Increase branch [Steps] 1. Move the cursor to the branch to increase. 2. On the tool box, select the left branch and click the edit area or press shortcut key. 3. New branch is inputted. Notes -Branch’s increase no.
Chapter 6 SFC Edit 6.2.8 Input right branch Input right branch. Example is parallel branch. 1)Make branch [Steps] 1. Move the cursor to the location to start the branch. 2. On the tool box, select the right branch and click the edit area. Or press shortcut key. 3.
Page 275
Chapter 6 SFC Edit 5. Select the branch termination location. 6. The branch is made. Notes - The principle to make the selection or parallel branch is same with left branch. So refer to the 6 2.7 ‘input left branch’ 2) Increase branch [Steps] 1.
Chapter 6 SFC Edit 2. On the tool box, select the right branch and click the edit area. Or press shortcut key. 3. New branch is inputted. 6.2.9 Edit Step Property Edit step name, comment and etc. [Steps] 1. Move the cursor to the location you want to edit. 2.
Chapter 6 SFC Edit [Dialog description] a. Name: inputs step name. b. Comment: inputs step comment. c. Initial step: designates it as initial step. d. Step variable: refers to step name from local variable list. e. Find: you can designate variable in the local variable list. f.
Chapter 6 SFC Edit [Dialog box] [Dialog box description] a. Name: input transition’s name. b. Comment: input transition’s comment. c. Type: You can designate transition as variable or program. d. List: displays the other transition used in the current program. e.
Page 279
Chapter 6 SFC Edit [Steps] 1. Move the cursor to the location you want edit. 2. Press Enter key or double-click the mouse left button. [Dialog box] 6-15...
Page 280
Chapter 6 SFC Edit [Dialog box description] a. Name: inputs action’s name. b. Comment: inputs action’s comment. c. Type: it can designate action as variable or program. d. Post scan: after executing the action, deactivates the coil in the action. e.
Page 281
Chapter 6 SFC Edit Notes - Action can operate differently according to action qualifier.. Qualifier. Functions Action characteristic activated status step N (Non-stored) Action is executed when step is activated. Action operating R (overriding Reset) When step is activated, the action whose qualifier is S, SD, DS, SL stops.
Chapter 6 SFC Edit 6.2.12 Edit Block Property Edit block’s name, comment and etc. [Step] 1. Move the cursor to the location you want to edit. 2. Press Enter key or double-click the left mouse button. [Dialog box] [Dialog box description] a.
Chapter 6 SFC Edit 6.2.13 Edit label property Edit label’s name. [Steps] 1. Move the cursor to the location you want to edit. 2. Press Enter key or double-click the left mouse button. [Dialog box] 6-19...
Chapter 6 SFC Edit [Dialog box description] a. Label: inputs label’s name. b. List: displays other label used in the current program. c. OK: saves the contents and close window. d. Cancel: closes the dialog box. 6.2.14 Jump property Edit jump’s name. [Steps] 1.
Page 285
Chapter 6 SFC Edit 2.Press Enter key or double-click the left mouse button.. [Dialog box] [Dialog description] a. Jump: inputs jump’s name. b. List: displays other label used in the current program. c. OK: saves the contents and close window. d.
Chapter 6 SFC Edit 6.2.15 Set Branch Priority You can set branch priority. [Steps] 1. Move the cursor to the select branch’s start location. 2. Select [Edit] – [Set Branch Priority] on the menu 3. Click the select branch’s start location in order and set branch priority. 4.
Chapter 6 SFC Edit Notes - You can set selection branch priority as many as branch number. - When not setting branch priority, compile is done from let to right. Program is executed from left to right. 6.2.16 Erase Branch Priority Erase branch priority.
Chapter 6 SFC Edit 6.2.17 Delete Factor Here describes how to delete step, transition, action, block, label, jump, and branch. [Steps] 1. Move the cursor to the location where factor you want to delete exists. 2. Select [Edit]-[Delete] on the menu. Notes - The factor under step, transition and block can be deleted with step, transition and block according to selected location.
Page 289
Chapter 6 SFC Edit 4. Move the cursor to the location you want to paste. 5. Select menu [Edit]-[Paste]. 6-25...
Page 290
Chapter 6 SFC Edit Notes - The factor under step, transition and block can be copied with step, transition and block according to selected location. - Sometimes pasting is not available according to the location to paste. At this time, editing is canceled automatically.
Page 291
Chapter 6 SFC Edit 3. Move the cursor to the location to paste. 4. Select [edit]-[paste] on the menu. 6-27...
Chapter 6 SFC Edit 6.2.19 Undo and Redo Here describes how to undo and redo contents. 1) Undo (example) [Steps] 1. Move the cursor to the location you want to delete. 2. Select [Edit]-[Delete] on the menu. 6-28...
Chapter 6 SFC Edit 3. Select [Edit]-[Undo] the menu. 4. Editing is canceled. 2) Redo (Example) 1. Select [Edit]-[Redo] the menu. Notes - Undo and Redo is available about all factor edited. - It doesn’t matter how many times you undo. 6.2.20 Program Edit Mode SFC program supports only insert mode.
Chapter 6 SFC Edit 6.3 View Program Here describes how to zoom in or out 6.3.1 Program zoom In/Out Here describes how to zoom in or out. 1) Zoom In [Steps] 1. Select [View]-[Zoom In] on the menu. 2) Zoom Out [Steps] 1.
Split window contents: You may decide which contents the program displays in the split window. OK: Saved the setting and close the window. Cancel: Cancel the setting. Apply: Apply the setting. Reset category: Reset to default value of XG5000. 6-31...
Page 296
Chapter 6 SFC Edit Notes - Step column width’s range is 20~200. - Action column width’s range is 70~400. 1) Show comment <Not Showing comment> <Showing comment> 2)Show print area 3) Show page number 6-32...
Chapter 6 SFC Edit <Bottom> 6.3.3 View Block/Action/Transition List You can check other program list used in the SFC program and edit name and comment. [Steps] 1. Select menu [View]-[Block/Action/Transition List]. 2. Displays list. 6-37...
Chapter 6 SFC Edit 6.3.4 Open Action/Transition In the SFC program, open the selected action, transition with the new window [Steps] 1. Move the cursor to the location you want to open program. 2. Select [View]-[Open Action/Transition] on the menu. 3.
Chapter 6 SFC Edit 6.3.6 Devices/Comments Displays variables or devices used in the contact, coil, function (block) as Devices/Comment. If variable doesn’t have device, it displays variable name. [Steps] 1. Select menu [View]-[Device/Comments]. Notes - When changing the above option, it will take time according to program amount. - When printing, Devices/Variables/Comments is supported.
Chapter 6 SFC Edit Notes - It may increase or decrease one by one in [View]-[Toolbox]. - The number of contact to set is 9 ~ 31. - The number of contact points minimally set in LD program used for SFC action and transition is 5 6.3.8 LD Properties In here, you can edit [View Options] about device, variable, comment, [Magnification] and [No.
Page 305
Chapter 6 SFC Edit [Dialog box] [Dialog box description] a. View Options: designates View Option about variable and device. b. Magnification: designates magnification. Range is 40~200%. c. No. of Contact: designates no. of contact. d. OK: saves the content and closes window. e.
Chapter 6 SFC Edit 6.4 Edit additional Function For convenience of edit, here describes additional function. 6.4.1 Bookmark If you set Bookmark, you can go there easily. 1) Bookmark setting [Steps] 1. Move the cursor to the location you want to set bookmark. 2.
Page 307
Chapter 6 SFC Edit 2) Remove Bookmark [Step] 1. Move the cursor to the location you want to remove bookmark. 2. Select [Edit]-[Bookmark]-[Set/Remove] on the menu. 6-43...
Page 308
Chapter 6 SFC Edit 3) Remove all bookmark [Steps] 1. Select [Edit]-[Bookmark]-[Remove all] on the menu. 4) Previous Bookmark [Steps] 1. Select [Edit]-[Bookmark]-[Previous Bookmark] on the menu. 6-44...
Page 309
Chapter 6 SFC Edit 5) Next Bookmark [Steps] 1. Select [Edit]-[Bookmark]-[Next Bookmark] on the menu. Notes - Bookmark will be specified in cell unit. - Bookmark is not an item to edit, thus the Set/Reset options will not be included in Undo and Redo. 6-45...
Chapter 6 SFC Edit 6.4.2 Go To You can go to designated line, edited label, rung comment. 1) Go to Step/Line [Steps] 1. Select [Find/Replace]-[Go To]-[Step/Line] on the menu. [Dialog box] [Dialog box description] a. Go to line: inputs line you want to go. b.
Page 311
Chapter 6 SFC Edit 2) Go To Label [Steps] 1. Select [Find/Replace]-[Go To]-[Label] on the menu. [Dialog box] [Dialog box description] a. Program: displays current PLC program list. If you select ‘All program’, it displays list of all label. b. Label list: displays list of label used in the selected program. c.
Page 312
Chapter 6 SFC Edit 3) Go To rung comment [Steps] 1. Select [Find/Replace]-[Go To]-[Rung comment] on the menu. [Dialog box] [Dialog description] a. Program: displays current PLC program list. If you select ‘All program’, it displays list of all rung comment. b.
Page 313
Chapter 6 SFC Edit 4) Go To END Command [Steps] 1. Select [Find/Replace]-[Go To]-[END Command] on the menu. [Dialog box] [Dialog box description] a. Program: displays current PLC program list. If you select ‘All program’, it displays list of all END command. b.
Chapter 7 Programming Convenience Chapter 7 Programming Convenience 7.1 Cross Reference It is used to display the application details of all the devices and variables used in the program. It includes 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), I/O parameter of function(block) and all the devices and variables used as the operand of extended function.
Page 315
Chapter 7 Programming Convenience Column Details -( )-: Coil -(/)-: Reverse coil -(S)-: Set coil -(R)-: Reset coil -(P)-: Positive-conversion detection coil -(N)-: Negative-conversion detection coil -| |-: Normally open contact point -|/|-: Normally closed contact point -|P|-: Positive-conversion detection contact point -|N|-: Negative-conversion detection contact point -[F]-: Extended function parameter -VAR-: Function(block) I/O parameter...
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.
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 Edit page to apply ‘Output cross reference instantly’ function. 7.1.3 Check Duplicated Coil Instantly It is used to inspect the applicable device or variable if used as duplicated whenever the coil is edited. If the device is used as a coil in a different location inside PLC, the list for the program name, location and step will be displayed.
Page 319
Chapter 7 Programming Convenience 2. Select and copy the line the applicable coil is included in to move to the next line to paste on. Notes - ‘If ‘Check duplicated coil instantly’ is used, the edit speed may get slow. - Select [Tools]-[Options]-[Edit Ladder/Mnemonic], on the Edit page to apply ‘Check duplicated coil instantly’...
Chapter 7 Programming Convenience 7.2 Used Device It shows all the devices and the number used in the program (LD, SFC). The devices used in each device area according to the designated types will be displayed as classified into input and output. [Description of Window] a.
Chapter 7 Programming Convenience [Dialog Box] [Description of Dialog Box] a.Device Area Selection: selects a device area. The available areas are All, I area, Q area, M area, R area and W area. b. Device Type Selection: selects a device type. Bit, Byte, Word, Double word and Long word can be selected.
Page 322
Chapter 7 Programming Convenience [Dialog Box] [Description of Dialog Box] a. PLC: used to display the PLC name with the applicable device used. b. Device: It is the device that the Device Uses View dialog box shows. c. Program: displays the program name with the applicable device used d.
Chapter 7 Programming Convenience 7.3 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 324
Chapter 7 Programming Convenience [Description of Dialog Box] 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.
Page 325
Chapter 7 Programming Convenience Notes - In XGI series PLC, many programs can be added to the PLC item and the SBRT call is available between programs. [Dialog Box] 7-12...
Page 326
Chapter 7 Programming Convenience [Description of Dialog Box] a. Checking Device Specification: sets the device and variable area to check. b. Checking Option: designates whether to check duplicated coil for a function(block) output. c. OK: applies the setting and closes the dialog box. d.
Chapter 7 Programming Convenience Notes - Set coil (-(S)-) and Reset coil (-(R)-) are not the object to check for the Duplicated Coil. - In the Function(block) output check, the range is determined by the parameter type. 7.3.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.
Chapter 7 Programming Convenience 7.3.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 329
Chapter 7 Programming Convenience Action: Input a proper device in the contact point or coil where the error occurs. 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 is exceeded.
Page 330
Chapter 7 Programming Convenience 6) L0401: Incorrect input. This error will occur if the input necessary is nonexistent. Action: Add the necessary input to the input terminal. 7) L0402: Incorrect input. This error will occur if the input unnecessary is existent Action: Delete the input unnecessary from the input terminal.
Page 331
Chapter 7 Programming Convenience 9) L0406: Application instruction in error. This error will occur if the application instruction nonexistent in XGI series PLC is used. Action: Replace the instruction with the one provided by XGI series PLC. Notes - This error will occur if GMWIN series PLC project file is converted to XGI project 7-18...
Chapter 7 Programming Convenience 7.3.4 Grammar Error This function is used to check for grammar-related errors generated when a application instruction is used. 1) 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. 2) E1002: Label ‘Label Name‘...
Page 333
Chapter 7 Programming Convenience 4) 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. Action: Delete the label in the subroutine, or add the application JMP instruction. 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.
Page 334
Chapter 7 Programming Convenience 6) 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. 7) 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 335
Chapter 7 Programming Convenience 8) 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. 7-22...
Page 336
Chapter 7 Programming Convenience 9) E2011: Subroutine not used. Although SBRT~RET blocks exist, no CALL instruction is available to use the applicable subroutine. Action: Delete the subroutine not to be used, or add the CALL instruction. Notes - The error number E2011 will occur only when [Warning] or [Error] is selected for the subroutine not referred to in the Grammar Error Inspect item.
Page 337
Chapter 7 Programming Convenience 11) E2014: The maximum number of subroutines exceeded. Based on the PLC type, the maximum number of subroutines is exceeded. Action: Check the number of the subroutines used. Notes - The maximum number of subroutines usable depends on the PLC type. Refer to XGI CPU manual for details.
Page 338
Chapter 7 Programming Convenience 13) E3002: Identical FOR 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. 14) E3003: FOR-NEXT can not be duplicated more than 16 times. FOR/NEXT can be duplicated up to 16 blocks.
Page 339
Chapter 7 Programming Convenience 15) E3004: Between FOR-NEXT, RET or END is not available. If RET or END is included between FOR and NEXT, it will cause an error. Action: Change the location of END and RET instruction positioned between FOR/NEXT blocks. 16) E3005: BREAK singly used.
Page 340
Chapter 7 Programming Convenience 17) 00002: needs one and more scan program. – There is no scan program in the present PLC item, which will cause an error. Action: add an applicable program item to the Project[Scan Program]. 18) 00003: There is no program to check – There is no program in the present PLC item. Action: add a scan program and try again.
Page 341
Chapter 7 Programming Convenience Notes -The elements can not be inserted in UDF Edit but they can be inserted by using Paste and other functions in other programs. 20) E1310: The return value needs, at least, one and more outputs. Action: The VAR_RETURN type variable is not designated in UDF, which causes an error.
Page 342
Chapter 7 Programming Convenience 26) L0703: Function(block) can not have input line more than 1. Action: Function(block) can not have input line more than 1. Check the line connection. 27) L0704: Invalid output connection Action: the line connection of function(block) is only available for BOOL type. Since line can not be connected to other type but BOOL, check the line output.
Page 343
Chapter 7 Programming Convenience Action: in case of the function (block) having ANY type as the IO parameter, the data type of IO parameter indicated as ANY type should coincide. Check the data type of the input IO parameter. Notes - If the strict data type check is not set in the program check options, it checks the only IO parameter size of function(block).
%IB0.1.0, %IW0.1.0, %IL0.1.0 and others containing %IX0.1.1. c. Output to pane 2: XG5000 has two Find result windows. Basically the result is yielded to Find 1 result window, but if this check box is selected, the result will be yielded to Find 2 result windows.
Page 345
Chapter 8 Find/Replace Notes - The result will be displayed on the find window only with Find All executed. - Since Find All finds all details in the applicable documents, it is insignificant to select the direction. - Advanced>> is displayed only in Ladder editor. - Advanced>>...
Chapter 8 Find/Replace 8.1.1 Find Next Device It is used for LD, SFC, IL, Global/Direct Variable, Variable and Local Variable in common. Details of this function will be described below based on LD. [Steps] 1. Select the basic cell of the direction. 2.
Page 347
Chapter 8 Find/Replace 3. Specify the device to find, the direction and the options. 4. Click [Find Next]. If on the Dialog Box any device is found identical to the detail as specified, move to the device whose cell is identical.
Chapter 8 Find/Replace Notes - If on the dialog box no device is found identical to the detail as specified, the following message will appear. - [Find Next] will find all the present programs based on the selected cell when the device find dialog box is displayed.
Page 349
Chapter 8 Find/Replace 4. On the find window, select the line to find and then click [Enter] to move the cell to the line of the applicable LD program. Notes - Find All finds the device in all the programs included in the present PLC.
If not checked, it will find the string in characters not sorted out. d. Output to pane 2: XG5000 has two Find result windows. Basically the result is yielded to Find 1 result window, but if this check box is selected, the result will be yielded to Find 2 result windows.
Page 351
Chapter 8 Find/Replace Notes - The result will be displayed on the Find windows 1 and 2 only with Find All executed. - Since Find All finds all details in the applicable documents, the direction is not significant to select. - Advanced>>...
Page 352
Chapter 8 Find/Replace 8.2.1 Find Text It is used for LD, SFC, IL, Global/Direct Variable, Variable and Local Variable in common. Details of this function will be described below based on LD. [Steps] Select the basic cell of the direction. 1.
Page 353
Chapter 8 Find/Replace 2. Specify the String to find, the selection options and the direction. 3. Click [Find Next]. If on the dialog box any string is found identical to the detail as specified, it moves to the string whose cell is identical. 8-10...
Chapter 8 Find/Replace Notes - If on the dialog box no String is found identical to the detail as specified, the following message will appear. - [Find Next] will find all the present programs based on the selected cell when the String Find Dialog Box is displayed.
Page 355
Chapter 8 Find/Replace 2. Specify the string to find, the selection options and the direction. 3. Click [Find All]. Find All will yield its result on the find message window as below. 8-12...
Page 356
Chapter 8 Find/Replace 4. On the find window, select the line to find and then click [Enter] to move the cell to the line of the applicable LD program. Notes - Find All finds the String in all the programs included in the present PLC. 8-13...
Chapter 8 Find/Replace 8.3 Replace Device This function is used to change the device previously made in LD Editor, IL Editor, or Variable/Comment Editor. [Dialog Box] [Description of Dialog Box] 8-14...
Page 358
Chapter 8 Find/Replace a. Find what: used to specify the device to find. b. Replace with: used to specify the device to replace. c. Find including lower type: If selecting the checkbox when finding the device containing the device input in Find With, it finds %IB0.1.0, %ID0.1.0, %IL0.1.0 and others including %IX0.1.1.
Page 359
Chapter 8 Find/Replace 8.3.1 Replace Device It is used for LD editor, SFC editor and Variable/Comment in common. This is the function to fine the previously created device. Details of this function will be described below based on LD. [Steps] 1.
Page 360
Chapter 8 Find/Replace 3. Specify the details to find and replace the type and the direction. 4. Click [Replace]. If the device of the cell presently selected is identical to the detail to find, replace the present cell to the detail as specified on the dialog box to move to the next cell identical to the detail to find.
Page 361
Chapter 8 Find/Replace Below screen is the previously executed [Replace]. Notes - [Replace] will be available only when the device and the type of the cell presently selected are identical to the detail to find and to the type as specified on the dialog box. - Click [Replace] to move to the next cell identical to the detail to find as specified on the dialog box regardless of the execution of [Replace].
Chapter 8 Find/Replace 8.3.2 Replace All Device It is used for LD editor, SFC editor and Variable/Comment editor in common. This is used to find the previously created device. Details of this function will be described below based on LD. 1) All Change [Steps] 1.
Page 363
Chapter 8 Find/Replace 2. Specify the details to find and Replace the type and the direction. 3. Click [Replace All]. 4. If [Replace All] is complete in the present program, the following message box will appear. 2) Replace with range It is used to change the consecutive devices in bulk.
Page 364
Chapter 8 Find/Replace 3. Click [Replace All]. Notes - ‘Replace with range’ is available only for the devices, not for the constants. 8-21...
Chapter 8 Find/Replace 8.4 Replace String This function is used to find the String of Comment, Variable, etc. except the device. [Dialog Box] [Description of Dialog Box] a.Replace With: used to specify the string to find. b. Find What: used to specify the string to replace. c.
Chapter 8 Find/Replace Notes - Advanced>> is displayed only in Ladder editor Massage box is same as chapter 8.2 Find Device when ‘Advanced’ button is used. 8.4.1 Replace String It is used for LD editor, SFC editor and Variable/Comment editor in common. It is used to find the previously created device.
Page 367
Chapter 8 Find/Replace 3. Specify the String to find and replace the selection options and the direction. 4. Click [Replace]. If the string of the cell presently selected is identical to the detail to find, replace the present cell to the detail as specified on the dialog box to move to the cell identical to the detail to find. 8-24...
Chapter 8 Find/Replace Notes - [Replace] will be available only when the string of the cell presently selected is identical to the detail to find as specified on the dialog box. - Click [Replace] to move to the next cell identical to the detail to find as specified on the dialog box regardless of the execution of [Replace].
Page 369
Chapter 8 Find/Replace 2. Specify the details to Find and Replace the selection options and the direction. 3. Click [Replace All]. 4. If [Replace All] is complete in the present program, the following message box will appear for you to decide to Replace in the other program or not.
Chapter 8 Find/Replace 8.5 Find Again [Find Again] is used to find the details of [Find Device] or [Find String] again if once executed previously. If [Find] was not executed previously, it will be inactive. [Steps] Select [Find/Replace]-[Find Again] on the menu. 8-27...
Chapter 9 Parameter Chapter 9 Parameter 9.1 Basic Parameter It is used to specify the basic parameters related with PLC operation. [Steps] 1. On the project tree, double-click [Parameter]-[Basic Parameters]. 1) Basic Operation Setting [Dialog Box] [Description of Dialog Box] a.
Page 372
Chapter 9 Parameter b. Fixed period operation: used to decide to run the PLC program based on the fixed period operation or based on the scan time. c. Fixed period operation time setting: if Fixed period operation above is checked, input the operation time in ms unit.
Page 373
Chapter 9 Parameter 2. Compile Option Setup [Dialog Box] [Description of Dialog Box] a. Retain Area Setup: sets the options necessary for Retain Area in the [Basic Parameter] information. b. M area Retain setting: sets the M area (retain area) to preserve the data when turning on PLC. c.
Page 374
Chapter 9 Parameter 3. Error Operation Setup [Dialog Box] [Description of Dialog Box] a. Error Operation Setup: specifies the operation method when an error occurs on PLC among [Basic Parameters] information. b. If this option is selected, PLC will continuously run although an error occurs on the fuse connection status of the module during PLC RUN.
Page 375
Chapter 9 Parameter 4. MODBUS Setup [Dialog Box] [Description of Dialog Box] a. MODBUS Setup: specifies MODBUS basic information among [Basic Parameters] information b. Station number: specifies the station Number used for MODBUS communication. 0~63 is available for the range. c.
Page 376
Chapter 9 Parameter i. Used to specify the start address of DO (Digital Output) memory area to read through MODBUS, where the value should be specified in Word unit. j. Used to specify the start address of AI (Analog Input) memory area to read through MODBUS, where the value should be specified in Word unit.
Chapter 9 Parameter 9.2 I/O Parameters It is used to specify the I/O type to be applied to PLC slot and the applicable parameters for each slot. [Steps] 1. On the project tree, select [Parameter]-[I/O Parameters]. [Dialog Box] [Description of Dialog Box] a.
Chapter 9 Parameter Notes - The XGI project type supports the fixed allocation type only. Therefore, the allocation information column is always displayed as deactivated. d. Delete Slot: deletes all information of the presently selected slot. e. Delete Base: deletes all information of the presently selected base. f.
Chapter 9 Parameter [Description of Dialog Box] a. Slot: 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 380
Chapter 9 Parameter 3. Press the selection box to select the module. 4. Select the description column and then click the right mouse button to select [Edit]. And input the description String for the applicable slot. Notes - Up to 128 characters in English (up to 64 characters in Korean) is available to input for the module description. 9-10...
Chapter 9 Parameter 9.2.3 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 382
Chapter 9 Parameter 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-12...
Page 383
Chapter 9 Parameter 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-13...
Page 384
Chapter 9 Parameter 2. Click the right mouse button to select [Delete]. 3. Click the right mouse button to select [Undo]. 4) Redo [Steps] 1. Click the right mouse button to select [Redo]. 9-14...
- The shortcut keys used in I/O Parameters Edit can not be used as the user defined shortcut key specified in XG5000. - One click of the mouse will select a single slot. In order to select lots of slots, drag the slot columns where the slot number is displayed as many as desired.
Page 386
Chapter 9 Parameter 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 387
Chapter 9 Parameter 2) Output module [Dialog Box] [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.
Page 388
Chapter 9 Parameter 3) I/O module [Dialog Box] [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 389
Chapter 9 Parameter 5) A/D Module On the I/O Parameter Setting Dialog box select A/D module and then click [Details] to display the Parameter Setting Dialog box as shown below. [Dialog Box] [Description of Dialog Box] a. All Parameters Settings: after the white check box selected on the left of the parameter names, if you change the parameter item value, all channels’...
Page 390
Chapter 9 Parameter 6) D/A Module On the I/O Parameters Setting Dialog box, select D/A module and then click [Details] to display the Parameters Setting dialog box as shown below. [Dialog Box] [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’...
Page 391
Chapter 9 Parameter 7) High-speed Counter Module On the I/O Parameters Setting Dialog box, select High Speed counter module and then click [Details] to display the Parameters Setting Dialog Box as shown below. [Dialog Box] 9-21...
Page 392
Chapter 9 Parameter [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.
Chapter 9 Parameter Notes - “Pulse/Rev value” item among High-speed counter parameter items will be active when the Auxiliary Mode is set to “Revolution/Unit time”. Notes - Refer to APM manual for details on the positioning module. - Refer to XG-PD manual for details on the communication module. 9.2.5 I/O Parameter Print Function This function is used to print the specified I/O parameter and detailed module information specified.
Page 394
Chapter 9 Parameter [Description of Dialog Box] a. Print All: prints all I/O configuration table and detailed module information. b. I/O Configuration Table: prints I/O parameter's module setting details based on slots, description and I/O information assigned. c. Detailed Info. of Each Modules: prints the detailed module information for specified slot module. 2) Print Preview [Steps] 1.
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. [Step] 1.
Page 396
Chapter 10 Online Depth: used to specify the connection configuration with PLC. Local, Remote 1 and Remote 2 are available to set. Connect: tries to connect to PLC as specified in Connect options. Settings: allows detailed setting based on a. Connection Type selected. Preview: used to see all Connect Options at a glance.
Page 397
- 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 LSIS Home Page to install.
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 399
Chapter 10 Online [Dialog box] [Dialog Box] [Description of Dialog Box] Modem Type: specifies the modem type available to connect. Cnet communication module has the exclusive modem functions. Port number: specifies modem’s communication port. Baud rate: specifies modem’s communication speed. Phone number: used to input modem’s number of phone if it’s dial-up modem.
Page 400
Chapter 10 Online [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.
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.
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 403
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.
Page 404
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 405
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. Check if the Ethernet module responds correctly, if the IP and Gateway of Ethernet module is correct.
Page 406
Chapter 10 Online Check if the status of PLC is normal. 10-12...
Chapter 10 Online 10.3 Write It is used to transfer user programs, respective parameter and comment to PLC. [Steps] Select [Online]-[Connect] to connect to PLC via Online. Select [Online]-[Write]. 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] a.
Page 408
Chapter 10 Online [Dialog Box] [Description of Dialog Box] a. Displays the present Write/Read item in progress. b. Displays the data size of the item (present item’s size/ all items’ size) c. Displays progressing rate of the present item. d. Displays progressing rate of all items. e.
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.
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.
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].
Chapter 10 Online 10.7 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.
Chapter 10 Online 10.8 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.8.1 Clear Item It deletes the contents of the project saved in PLC.
Chapter 10 Online 10.8.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.
Chapter 10 Online 10.9 PLC Information It shows the information of PLC connected, where password and PLC timer can be set. 10.9.1 CPU Information Detailed information of PLC CPU can be checked. [Steps] 1. Select [Online]-[Connect] to connect to PLC. 2.
Chapter 10 Online 10.9.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 417
Chapter 10 Online [Dialog Box] [Description of Dialog Box] a. List: shows the list and size of the programs saved 10-23...
Chapter 10 Online 10.9.3 Password User password can be specified, changed or deleted to protect PLC information. [Steps] 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 419
“E” type V3.51 V3.2 V1.8 V2.6 V1.3 V1.9 V1.0 V1.0 version In case of using the latest XG5000 (V3.4 or above) and CPU OS lower than above table, previous password process is applied and enhanced password function is not applied 10-25...
Chapter 10 Online 10.9.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] a.
Chapter 10 Online 10.10 PLC History It displays the history data of error/warning, Change Mode and Shut down Log saved in PLC. 10.10.1 Error Log [Steps] 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-27...
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.
Chapter 10 Online 10.10.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-29...
Chapter 10 Online 10.10.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.
Chapter 10 Online 10.11 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.
Chapter 10 Online 10.12 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 427
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. 10-33...
Chapter 10 Online 10.13 Forced I/O Setting Forced I/O of the I/O refresh area can be specified in PLC. [Steps] 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 430
Chapter 10 Online [Description of Dialog Box] a. Move address: Moves to an address by using base, slot selection box. b. Forced Input: used to decide to allow Forced Input or not. Forced input value per bit will be applicable only when the Forced Input is allowed.
Page 431
Chapter 10 Online Notes - In case of an output module, if the output module installed on the actual PLC is 64-bit and less, the flag and data can be specified for the other bits than the output module points. Ex) If 32-poit output module is installed on the main base 1 slot the flag and data can be specified for the 32 points (%QW0.1.2, %QW0.1.3).
Page 432
Chapter 10 Online 1) Forced I/O Setting [Steps] (Example: the 4 bit of Base 0, Slot 0 forced output 1, 7 bit forced output 0) 1. Select base 0 and slot 0. 10-38...
Page 433
Chapter 10 Online 2. Select the flag and data of the bit 3. %QW0.0.0 is registered to the established device. 10-39...
Page 434
Chapter 10 Online 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. Since %QW0.0.0 is already registered to the pre-set device, it is not added again. 4.
Page 435
Chapter 10 Online 2) Forced I/O Cancel [Steps] (Example: the 4 and 7 bit of Base0, Slot 0 forced value to cancel) 1. Move to %QW0.0.0. Use the button or directly input the area desired to move to. 10-41...
Page 436
Chapter 10 Online 2. Cancel the bit 3 and 7’s flag selected to cancel the forced output value 3. Click Apply button. 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.
Chapter 10 Online 10.14 Skip I/O It is used to decide to check or refresh the specific module during PLC operation. [Steps] 1. Select [Online] - [Skip I/O]. [Dialog Box] [Description of Dialog Box] a. Base Skip I/O: 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 438
Chapter 10 Online 1) Skip I/O Setting for each slot [Steps] 1. Select the base with the slot to specify Skip I/O. 2. Select the slot to specify the Skip I/O. 10-44...
Page 439
Chapter 10 Online 3. Select the check box of the status column. At this moment ‘*’mark will be added to the base. 4.If you press OK, the changed items are displayed. 10-45...
Page 440
Chapter 10 Online 2) Skip I/O Cancel for each slot [Steps] 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 441
Chapter 10 Online 3) Base Skip I/O Setting [Steps] 1. Select the base to specify the base Skip I/O. 2. Select the check box. 10-47...
Page 442
Chapter 10 Online 3.If you press OK, the changed items are displayed. 4) Base Skip I/O cancel [Steps] 1. Select the base to cancel the base Skip I/O. 10-48...
Page 443
Chapter 10 Online 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 3.If you press OK, the changed items are displayed. Notes - Click [OK] button to apply the specified Skip I/O. 10-49...
Chapter 10 Online 10.15 Fault Mask It is used to decide to keep running the module in Fault or not during PLC operation. [Steps] 1. Select [Online]-[Fault Mask Setting]. [Dialog Box] [Description of Dialog Box] 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.
Page 445
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. button is clicked. Please be careful since the previous I/O parameter will be erased.
Chapter 10 Online 10.16 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 447
Chapter 10 Online [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 448
Chapter 10 Online [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 449
Chapter 10 Online [Description of Dialog Box] a. Comment: displays the comment of the Removing Module. b. Back: used to move to the confirming stage of the module removal. c. Next: used to move to the module installation stage. d. Cancel: closes the Module Changing Wizard. 6.
Page 450
Chapter 10 Online [Dialog Box] [Description of Dialog Box] a. Comment: 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 451
Chapter 10 Online 9. Close the Module Changing Wizard. [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.
Page 452
Chapter 10 Online Notes - If the Module Changing Wizard is cancelled, Fault Mask and Skip I/O may be set to protect the applicable module. Notes - If you want to change the module without the Wizard, follow the sequence described below. [Steps] 1.
Chapter 10 Online 10.17 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 454
Chapter 10 Online [Steps] 1. Make a program as follow. 2. Write the program to the PLC and select [Monitor]-[Custom Event] on the Online menu. 10-60...
Page 455
Chapter 10 Online 3. Open Event Setup dialog box by clicking [Add event] and setup each items as figure below. In Event setting window, input %M100 in Device area and Select Transition on Event condition and Information in Type. 4. Open ‘Associated Device Setup’ dialog box and setup the bit device %MX100 and word device %MW0 as figure below to store the data when event is met.
Page 456
Chapter 10 Online 5. Close the dialog box, select ‘Enable’ for ‘Event allowance’ on the upper side of dialog box and click ‘OK’ button. A message box will be displayed as figured below since the event setup has been changed. Click ‘Yes’ button on the message box. 6.
Page 457
Chapter 10 Online 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. 10-63...
Chapter 10 Online 10.17.2 Event Setting [Steps] 1. Select [Monitor] - [Custom Events]. 2. Click the event setting tab on the user event dialog box. [Dialog Box] 10-64...
Page 459
Chapter 10 Online [Description of Dialog Box] a. Custom Event capture: used to decide to allow the user event or not. If the event disenabled, PLC does not collect the Custom Events. b. Events History: displays the list of the Custom Events presently specified. Notes - Refer to 1) User Event Item Add for details on each item of the events list.
Page 460
Chapter 10 Online [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. Notes - Refer to Chapter 4 Variable/Comment for details on device type and display format. b.
Page 461
Chapter 10 Online [Dialog Box] [Description of Dialog Box] a. Available: displays the sum of the size of the each Associated device type input, which is available up to 16 bytes. b. Associated devices list: used to input the Associated devices. Up to 8 Associated devices can be input. 10-67...
Page 462
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.
Page 463
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-69...
Page 464
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 465
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]. 10-71...
Page 466
Chapter 10 Online 3. Move to the position to paste on. 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.
Page 467
Chapter 10 Online 10) Open Event It read user defined event setting from the file. [Steps] 1. Select [Open Event]. 2. Select a file to read and then click [OK] button. Notes - The event if opened will be added to the list of the present events.. - Up to 10 events is available.
Chapter 10 Online 10.17.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 tab on the user event dialog box. [Dialog Box] 10-74...
Page 469
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 470
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.2 for details on the respective event setting item.
Page 471
Chapter 10 Online d. Related devices list: displays the Associated devices list and the value when the event happened. The display format of the device value can be changed with the right mouse button clicked on [View in hexadecimal] or [View as specified]. e.
2. Select [Monitor]-[Start/Stop Monitoring] on the menu to start monitoring. 3. If LD or IL program is active, it will be now in monitoring mode changed. Notes When monitoring starts, correct value may not be monitored if PLC program and XG5000 program are discordant. [Stop Monitoring] 1.
Chapter 11 Monitoring 11.1.2 Change Current Value Selected device’s current value or Forced I/O setting can be changed during monitoring [Steps] 1. Select [Online]-[Connect] on the menu for on-line connection to PLC. 2. Select [Monitor]-[Start Monitoring] on the menu to start monitoring. 3.
Page 475
Chapter 11 Monitoring [Description of Dialog Box] Device: Name of the variable where current value is changed. Type: Type of the variable where current value is changed. Range: Available range of current value to input based on type. Value On/Off: Device On/Off specified if its type is BOOL. Value: Variable value specified if its type is not BOOL.
Chapter 11 Monitoring 11.1.3 Pause Monitoring Monitoring can be momentarily stopped or restarted directly by user during monitoring. 1) Pause Monitoring The user can directly stop monitoring momentarily. [Steps] 1. Select [Online]-[Connect] on the menu for on-line connection to PLC. 2.
Page 477
Chapter 11 Monitoring [Dialog Box] [Description of Dialog Box] Select All: used to check all items with no error to allow on the list. Use: used to check setting status of Pause Monitoring. Program: selects a program name Reset All: used to cancel all the selected items allowed. Variable: used to input variable name to stop monitoring momentarily Condition: used to select conditions to stop monitoring momentarily.
Page 478
Chapter 11 Monitoring Notes a. Conditions for Pause Monitoring can be set up to 10 b. Items in error will not be saved even if OK button pressed. c. Error is displayed in pink. d. String type does not support the function of Pause Monitoring. e.
Chapter 11 Monitoring 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 function(block) I/O parameter’s current value.
Page 480
Chapter 11 Monitoring 3. Positive-converted detection contact point: displayed as identically as ordinarily open contact point. 4. Negative-converted detection contact point: displayed as identically as ordinarily closed contact point. [Coil Monitor Display] a. 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.
Page 481
Chapter 11 Monitoring Notes a. Displayed data of application instruction can be specified 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. Notes a.
[Variable Monitoring Window] [Description of Variable Monitoring Window] PLC: used to show available PLC names to register. XG5000 can be composed of multi-PLC. Accordingly, it can be identified on the variable monitoring window. Program: used to select a program name with a variable to register.
Chapter 11 Monitoring Notes a. The areas of value, type, device/variable and comment column can not be edited by user. b. 4 variable monitoring taps can not be monitored at the same time. c. The number of devices available to register in variable monitoring is unlimited. d.
Page 484
Chapter 11 Monitoring 2. [Select] dialog box will appear if PLCs are 2 or more included in the project or if 2 or more programs are included in a PLC. Select the PLC and program to register. [Select Device] 3. If [Select] dialog box appears, select variables to register on the variable monitoring windows. 11-12...
Page 485
Chapter 11 Monitoring [Dialog Box] [Description of Dialog Box] a. Variable: inputs variable names to find. b. Local variable: selects local variable list c. List: shows local variable list d. OK: closes dialog box and registers at variable monitoring window e.
Page 486
Chapter 11 Monitoring [Dialog box] [Description of dialog box] a. Variable: inputs variable name to find b. Global variable: selects global variable list c. Global variable list: classifies global variable list into All, general variable, special module related variable. d. List: displays global variable list e.
Page 487
Chapter 11 Monitoring [Dialog box] [Description of dialog box] a. Variable: inputs variable name to find b. Direct variable: selects the direct variable list c. Bit View: for bit type direct variable, displays direct variable in diverse type. Displayed in Bit (X0), byte (B0.0), word (W0.0), double word (D0.0), long word (L0.0).
Page 488
Chapter 11 Monitoring [Dialog box] [Description of dialog box] a. Variable: inputs variable name to find b. Flag: selects flag list. c. List: as selection box for flag type, you can select system/High speed link/P2P/PID. Those can be different according to PLC type. d.
Page 489
Chapter 11 Monitoring Notes a. Several items can be selected at a time on Select Variable/Device dialog box. b. The selected item is added at the last line of the variable monitoring windows. c. An item identical to previously registered item can be also registered. 2) Register All Many direct variables can be registered.
Page 490
Chapter 11 Monitoring 2. [Select] dialog box will appear if PLCs are 2 or more included in the project. Select a PLC and program to register. 3. [Register All] dialog box will appear. [Dialog Box] [Description of dialog box] a. Start Device: used to input start address of the device to register. (Device Ex: IX0.0.0, QB1.2.0.
Page 491
Chapter 11 Monitoring Notes a. Up to 100 can be registered all at a time. b. The item to register is added at the last line of the variable monitoring windows. c. An item identical to previously registered item can be also registered. 3) Register by user The user can directly input items to register on the variable monitoring windows.
Page 492
Chapter 11 Monitoring Area to register variable monitor in the SFC window. Area to register onto the variable monitoring from Variable/Comment window 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.
Chapter 11 Monitoring 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. [Steps] 1. On the variable monitoring window, select [Briefly] on the menu displayed by the right button of the mouse. 2.
Page 494
Chapter 11 Monitoring 2) Show function The user can select the column as desired. [Steps] 1. On the variable monitoring window, click the right button of the mouse to select [View Option]-[Column Name (PLC, Program, Variable/Device, Value, Device/Variable, Comment)] on the menu displayed. 2.
Chapter 11 Monitoring 2. Display type of the device of the selected row will be changed. Notes a. BOOL type if viewed in unsigned decimal will be displayed “On/Off”. b. Hexadecimal is displayed with small letter ‘16#’ as shown in “16#h10AC”. c.
Chapter 11 Monitoring [Steps] 1. Select [Monitor]-[Start/Stop Monitoring] on the menu. 2. Select [Device]. 3. Select [Monitor]-[Change Current Value] on the menu. Or double-click the value cell of the device selected on the variable monitoring window, or press Enter. 4. Dialog box of Change Current Value will appear, where user can directly input the current value. 5.
Chapter 11 Monitoring 11.3.6 Shortcut Keys All the operations are available with shortcut keys on the menu. Notes a. 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 498
Chapter 11 Monitoring 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 a. If aligned in descending sequence, a downward arrow image will be displayed. And if aligned in ascending, an upward arrow image will be displayed.
11.4.1 Basic Application There are two methods available to execute System Monitoring. a. Select [Monitor]-[System Monitoring] on the XG5000 menu. b. Select [Start]-[Program]-[XG5000]-[System Monitoring] on the Start menu. Module Information Window displays the information of the slot installed on PLC. After reading the module information saved in PLC, it displays it on the data display screen of the module information window.
Use the direction key on the keyboard to position the module’s cursor on the base to select. Notes a. 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.
Chapter 11 Monitoring Notes a. If the system synchronization executed, the module information only will be updated. b. Refer to Basic Parameter Information for details on I/0 assignment method. 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.
Chapter 11 Monitoring 2) Selected I/O module OFF It makes the data value be Off as many as the contact points of the selected I/O modules on the base displayed on PLC screen. [Steps] 1. Confirm the connection status with PLC. 2.
Chapter 11 Monitoring 11.4.7 Information Display of Power Module Information of Power Module displays base power-cut history including date, time and details in which power-cut bases are displayed. [Steps] 1. Confirm the connection status with PLC. 2. Select one method among those below to display the module information. a.
Chapter 11 Monitoring Notes a. If the number of power-cuts exceeds 100, only up to 100 can be displayed on the screen. b. No module information is available for empty slot and I/O module. 11.4.8 Information Display of CPU module Information of CPU Module displays CPU version, type, operation mode, key status, CPU status, connection status, mode conversion source, forced I/O setting status, I/O skip and Fault Mask status.
Chapter 11 Monitoring 11.4.9 Information Display of Communication Module Information of Communication Module displays module type, operation mode, H/W error & error version, O/S version and its installed date. [Steps] 1. Confirm the connection status with PLC. 2. Select one method among those below to display the COM module information a.
Chapter 11 Monitoring 11.4.10 Information of Special Module Information of Special Module displays module name, O/S version & date and module status. [Steps] 1. Confirm the connection status with PLC. 2. Select one method among those below to display the special module information. a.
Chapter 11 Monitoring [Detailed Description] Classification Description Module name 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 date Provides special module’s latest O/S updated date information. Module status Provides special module’s present status (error code) information.
Page 508
Chapter 11 Monitoring Notes Special Module Monitor can not be used in Positioning Module and the only module info can be used. Positioning module’s monitoring function shall be applied along with its exclusive software package. 11-36...
Chapter 11 Monitoring 11.4.13 Save It is used to save the system information and data presently displayed on the screen. [Steps] 1. Select [File]-[Save] on the menu. 2. Select [File]-[Save As] on the menu to save the data as a different name. Notes a.
Chapter 11 Monitoring 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. [Steps] 1. Click [Preview]. a. Select [File]-[Preview] on the menu. 2.
Chapter 11 Monitoring 11.4.17 Hide/Show Frame Hides or shows frame at screen [Steps] Select the module of system area and click the right button of mouse. Then select [Hide Frame] Select the module of system area and click the right button of mouse. Then select [Show Frame] 11-39...
11.5.1 Basic Application [Steps] There are 2 methods available to execute Device Monitoring function. a. Select [Monitor]-[Device Monitoring] on the XG5000 menu. b. Select [Program]-[XG5000]-[Device Monitoring] on the Start menu. 11-40...
[Open Device] on the menu. Notes a. Device monitoring if executed on the XG5000 menu will be in Connect, Monitor status. b. If not in Monitoring mode, the device if open will display the previous data value.
Chapter 11 Monitoring 11.5.3 Data Format and Display Items There are mainly 4 methods to display data on the screen. Display Setting Description Data Size 1 bit, 8 bits, 16 bits, 32 bits and 64 bits Display Format Binary, BCD, Unsigned decimal, Signed decimal, Hexadecimal, Real, String 1) 1 bit Data size of the device is displayed in 1 bit.
Page 515
Chapter 11 Monitoring Notes a. The device of a selected cell is displayed in the progression bar. 2) 8 bits Data size of the device is displayed in 8 bits. [Steps] 1. Select [View]-[View Options]-[8 bits] on the menu. 11-43...
Page 516
Chapter 11 Monitoring 3) 16 bits Data size of the device is displayed in 16 bits. [Steps] 1. Select [View]-[View Options]-[16 bits] on the menu. 11-44...
Page 517
Chapter 11 Monitoring 4) 32 bits Data size of the device is displayed in 32 bits. [Steps] 1. Select [View]-[View Options]-[32 bit] on the menu 11-45...
Page 518
Chapter 11 Monitoring 5) 64 bits Data size of the device is displayed in 64 bits. [Steps] 1. Select [View]-[View Options]-[64 bit] on the menu. 11-46...
Page 519
Chapter 11 Monitoring 6) Binary Data is displayed in binary. [Steps] 1. Select [View]-[View Options]-[Binary] on the menu. [Detailed Description] a. Data value is displayed by 1 and 0. Application Example) Hexadecimal 1234 Binary 0001 0010 0011 0100 11-47...
Page 520
Chapter 11 Monitoring 7) BCD Data is displayed in BCD. [Steps] 1. Select [View]-[View Options]-[BCD] on the menu. [Detailed Description] a. Data value is displayed by the figures of 0 ~ 9. Application Example) Hexadecimal 1234 1234 11-48...
Page 521
Chapter 11 Monitoring 8) Unsigned decimal Data is displayed in unsigned decimal. [Steps] 1. Select [View]-[View Options]-[Unsigned Decimal] on the menu. [Detailed Description] - Data value is displayed by the figures of 0 ~ 9. Application Example) Hexadecimal 1234 Unsigned decimal 4660 11-49...
Page 522
Chapter 11 Monitoring 9) Signed Decimal Data is displayed in signed decimal. [Steps] 1. Select [View]-[View Options]-[Signed Decimal] on the menu. [Detailed Description] a. Data value is displayed by the figures of 0 ~ 9. Application Example) Hexadecimal 1234 Signed decimal 4660 10) Hexadecimal Data is displayed in hexadecimal.
Page 523
Chapter 11 Monitoring [Steps] Select [View]-[View Options]-[Hexadecimal] on the menu. 11) Real Data is displayed in real. [Steps] Select [View]-[View Options]-[Real] on the menu. 11-51...
Page 524
Chapter 11 Monitoring [Detailed Description] a. Data value is displayed in real. b. Real format is available in 32 bits and 64 bits. Application Example) Hexadecimal 5678 1234 Real 6.818927e+013 12) Text Data is displayed in ASCII string. [Steps] 1. Select [View]-[View Options]-[Text] on the menu. 11-52...
Chapter 11 Monitoring [Detailed Description] a. Data value is displayed in ASCII string. Application Example) Hexadecimal 1234 Text 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. 1) Edit Cell It is used to edit data on the cell.
Page 526
Chapter 11 Monitoring [Steps] 1. Use the mouse or keyboard to select an optional cell. 2. Input data into the selected cell. 2) Cut It is used to delete the data of the selected area to save it in the clipboard. [Steps] 1.
Chapter 11 Monitoring [Steps] 1. Use the mouse to select the cell area to fill automatically. 2. Position the mouse at the end of the cell to make the mouse cursor shaped “+” . 3. Move the mouse with its left button pressed up/down and right/left. 4.
Page 528
Chapter 11 Monitoring 3) Save Respective Device Area if all windows closed [Steps] 1. Select [File]-[ Export Device to File] on the menu. 2. Select the device to save from the combo box. a. File extension will be set as (i+device+m). (Ex. iim, iqm, imm,…) 11-56...
Chapter 11 Monitoring 11.5.6 Open Device There are 3 methods available to open the device. 1) Open All Device Areas [Steps] 1. Select [File]-[Open] on the menu. 2) Import Device from File [Steps] 1. Select [File]-[Import Device from File] on the menu. 11-57...
Chapter 11 Monitoring 3) Open Respective Device Area if all windows closed [Steps] 1. Select [File]-[Import Device from File] on the menu. 2. Select the device to open from the combo box. Notes a. If in monitoring mode, Open and Open Device from File are inactive. 11.5.7 Data Value Setting Data value of the device can be specified according to its display type and the number of bits.
Page 533
Chapter 11 Monitoring [Dialog Box] [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.
Chapter 11 Monitoring 11.5.8 Clear Data It is used to delete all data value of the device. [Steps] 1. Select [Edit]-[Clear Data] on the menu. 2. A message will be called to ask if you want to delete the whole device areas. 11-62...
Chapter 11 Monitoring 11.5.9 Write to PLC It is used to transfer the device data saved in on-line computer to PLC. [Steps] 1. Ensure PLC is connected and the monitoring mode is inactive. 2. Select [PLC]-[Write to PLC] on the menu. 3.
Chapter 11 Monitoring [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 in the device area. c. Unselect All: used to cancel all the devices selected in the device area. Notes a.
Chapter 11 Monitoring [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 in the device area. c. Unselect All: used to cancel all the devices selected in the device area. 11.5.11 Write Selected Area on PLC It is used to write the device data in the selected area on PLC connected.
Chapter 11 Monitoring 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. [Steps] 1.
Chapter 11 Monitoring [Dialog Box] [Description of Dialog Box] a. Device: used to display the start device to change the current value. b. Bit number: used to display the number of bits to change the current value. - Usually it is identical to 1, 8, 16, 32 or 64 bits as displayed on the screen. - String format is displayed in 32*8 bits.
Chapter 11 Monitoring [Dialog Box] [Description of Dialog Box] a. PLC Type: used to display or change the PLC type presently set. b. CPU type: displays the presently set CPU type or changes the CPU type. Notes a. While connected with PLC, the present PLC type can be displayed only, not changeable. 11.5.15 Screen Zoom-In/Zoom-Out It is used to zoom in or out the size of the screen displayed.
Chapter 11 Monitoring 2) Screen Zoom-Out It zooms out the screen. [Steps] 1. Select [View]-[Zoom-Out] on the menu. 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.
Chapter 11 Monitoring [Dialog Box] [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. Data value color: displays color of data value presently specified in monitoring mode. d.
Chapter 11 Monitoring 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 546
Chapter 11 Monitoring Screen for Contact Point Input Signal Status Instruction Screen Fig. 3 Monitoring & Instruction Screen of HS Counter Module FLAG 11-74...
Page 547
Chapter 11 Monitoring [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.
Chapter 11 Monitoring 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.
Chapter 11 Monitoring Notes a. The data displayed in the trend monitor may be different with the actual data. In order to monitor accurate timing, please use the data trace function. b. For the details of data trace function, refer to 11.8. 11.7.2 Setting Trend Monitoring [Steps] 1.
Page 550
Chapter 11 Monitoring [Description of Dialog Box] a. Max. sample to display: displays the maximum number of samples available to scroll in the graph. b. Time: displays the maximum number of samples available for a second. c. Max. sample to keep: displays the maximum number of samples available to save on the file. d.
Page 551
Chapter 11 Monitoring 1) Setting Bit Device It is used to input the bit device to monitor [Steps] 1. Select the bit graph tap on the Setting Monitoring dialog box. 2. Input the device of bit type. Or double-click the variable column to select the declared device on the Variable/Comment dialog box.
Chapter 11 Monitoring 11.7.3 Setting graph [Steps] 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 553
Chapter 11 Monitoring Notes a. 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. b. The min. value input can not be greater than the max. value. c.
Page 554
Chapter 11 Monitoring 1) Graph Color Settings [Steps] 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. 11-82...
Chapter 11 Monitoring 2) View Graph Option Settings [Steps] 1. Select the device to change its Graph Option. 2. Select or cancel the Check Box of View Column. 11.7.4 Setting Graph Window It is used to decide to change View Graph Option and display the data value as necessary. [Steps] 1.
Chapter 11 Monitoring [Description of Dialog Box] a. View all: displays all the bit and trend graphs. b. View bit graph: displays only the bit graph. c. View graph value: displays only the bit graph value. d. View trend graph value: displays the trend graph value. 11.7.5 Graph function 1) View Cursor It is used to display the data value the mouse is positioned on.
Page 557
Chapter 11 Monitoring Select [Graph]-[Scroll Sync.] on the menu. 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. 11-85...
Page 558
Chapter 11 Monitoring [Steps] 1. Select [Graph]-[Zoom In X axis], [Zoom Out X axis], [Reset X-axis] on the menu. Based on the selected item, X-axis’s time interval will be increased, decreased or back to basic value. 4) Adjust Y-axis magnification It is used to adjust Y-axis magnification.
Page 559
Chapter 11 Monitoring [Steps] 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 560
Chapter 11 Monitoring Notes a. If the function of Auto-fit Y axis is not selected, the display will be based on the max./min. value specified in Graph Settings. 7) Save as Bitmap It is used to save the graph presently displayed on the screen on the file in window bit map. [Steps] 1.
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 562
Chapter 11 Monitoring [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. Bit graph: displays the data of bit device. e.
11.8.1 Connect [Steps] 1. Select [Online]-[Connect] on the menu. Notes a. Refer to 10.1 Connect Options in XG5000 manual for details on Connect Options. 11.8.2 Trace Setting It is used to specify trace conditions and trace device.. [Steps] 1. Select on the menu [Trace]-[Trace settings].
Page 564
Chapter 11 Monitoring [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. Bit condition: decides to use bit trigger condition or not. As for bit trigger setting, refer to 1) Setting Bit Trigger item.
Page 565
Chapter 11 Monitoring 1) Setting Bit Trigger It uses the variation of the bit device value as a trigger condition. [Steps] 1. Select the check box of bit condition. 2. Input the device to use as a bit condition. Bit device format only is available. 3.
Page 566
Chapter 11 Monitoring [Dialog Box] [Description of Dialog Box] a. Number of devices: displays the number of bit devices specified. b. Size of data: displays the size of the data specified. More than 1 bit device will be displayed in 2 bytes. c.
Page 567
Chapter 11 Monitoring [Steps] 1. Select the word device setting tap on dialog box of Data Trace Settings. [Dialog Box] [Description of Dialog Box] a. Number of device: displays the number of word devices specified. b. Size of data: displays the size of the data specified. The size will be decided based on the specified data type.
Chapter 11 Monitoring Notes a. Devices of word type can be input up to 8. b. Supported data types are as follows. Type Size Type Size SINT 1 byte REAL 4 bytes 2 bytes LREAL 8 bytes DINT 4 bytes 2 bytes LINT 8 bytes...
Page 569
Chapter 11 Monitoring [Description of Dialog Box] a. Show grid: used to decide to show XY grid or not on the screen. b. Show trigger: used to decide to display the trigger position on the graph, and to specify color. c.
Chapter 11 Monitoring 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. [Steps] 1. Select [Trace]-[Write Trace Settings] on the menu. 2) Read Trace Settings It is used to read trace setting from PLC.
Chapter 11 Monitoring 11.8.5 Animation Using the trace data read from PLC, it displays the data in the sequence of time. 1) Animation Settings [Steps] 1. Select [Animation]-[Animation Setting] on the menu. [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.
Chapter 11 Monitoring [Steps] 1. Select [Animation]-[Animation Pause/Resume] on the menu. 5) Stop It is used to stop Animation. [Steps] 1. Select [Animation]-[Stop Animation] on the menu. 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.
Chapter 11 Monitoring 1. Select [File]-[Save As] on the menu. 2. Input a different file name to save with on File Save Box and then click [OK]. 4) Save as Bit Map It is used to save the graph presently displayed on the screen on the file in window bit map. [Steps] 1.
Page 574
Chapter 11 Monitoring 3) Data It displays trace data in value. View Data will be active only with trace data available. [Steps] 1. Select [View]-[Trace Data] on the menu. 11-102...
Page 576
Chapter 11 Monitoring [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.
Chapter 11 Monitoring 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 4) PID trend view...
Page 578
Chapter 11 Monitoring 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.
Chapter 11 Monitoring 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] Select block number to save and press OK After inputting file name, press ‘Save’...
Page 580
Chapter 11 Monitoring 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] Select loop to save at block information window Push the right button of mouse and select [Save Loop]...
Chapter 11 Monitoring 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 Select Block number to open and press OK After inputting file name, push ‘Open’...
Page 582
Chapter 11 Monitoring 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] Select loop to open at block information window Press the right button of mouse and select [Open Loop]...
Chapter 11 Monitoring 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 11-111...
Chapter 11 Monitoring 11.9.5 Add/Delete selected loop It is function to monitor easily selected loop the user uses frequently among maximum 256 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...
Print/Print Preview supports only one loop at one time 11.9.7 Connection to PLC Connects PID monitor to PLC After connecting PLC at XG5000, if you execute PID monitor at XG5000, PID monitor connect to PLC and it converts monitor mode [Sequence]...
Chapter 11 Monitoring 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] 11.9.9 Write all data to PLC...
Chapter 11 Monitoring 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 Select [PLC]-[Start Monitoring]...
Chapter 11 Monitoring 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...
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. In case of stopping monitoring, graph also stops. And in case of restarting monitoring, it draws again from last run time.
Page 590
Chapter 11 Monitoring 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 11-118...
Chapter 11 Monitoring Check the change of graph color 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...
Chapter 11 Monitoring 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]...
- This function is available only with PLC connected in online - Debug is unavailable if PLC operation is in Run mode. - Debug function is available with XG5000 program and PLC program identical to each other. If they are not identical, download the applicable program.
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 [Step] 1. Move the Breakpoint to the step to specify. 12-2...
Page 595
Chapter 12 Debugging 2. Select [Debug]-[Set/Remove Breakpoints] on the menu. Notes - The break can not be set on the area specified by a Block Mask instruction. - Application instruction will set the breakpoint on the instruction String area. 12-3...
Page 596
Chapter 12 Debugging 2) Remove Breakpoint [Steps] 1. Move the Breakpoint to the step to remove. 2.Select [Debug]-[Set/Remove Breakpoints] on the menu. 12-4...
Page 597
Chapter 12 Debugging 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. [Sequence] 1. Select [Debug]-[Go] on the menu. The program will be run till the breakpoint complying with the condition is reached.
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. 12-6...
Chapter 12 Debugging 2.Select [Debug]-[Go to the Cursor] on the menu. 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.
Page 600
Chapter 12 Debugging 1. Select [Debug]-[Step Into] on the menu. 12-8...
Page 601
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. 12-9...
Page 602
Chapter 12 Debugging [Sequence] 1. Select [Debug]-[Step Out] on the menu. 12-10...
Page 603
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.
Chapter 12 Debugging 12.3 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] [Description of Dialog Box] a.
Page 606
Chapter 12 Debugging g. Select All: checks all the listed items to allow. h. Reset: cancels all the checked items previously allowed. i. Go to: used to move to the position where the selected breakpoint is used. j. Remove: deletes the selected breakpoints from the list. k.
Chapter 12 Debugging 12.4 Variable Break Applicable debugging is available based on the data value and the application of the variable. 1) Setting Variable Break [Sequence] 1. Select [Debug] - [Breakpoint Conditions] - [Variable Break point] on the menu. [Dialog Box] 12-15...
Page 608
Chapter 12 Debugging [Description of Dialog Box] a. Use the device as a variable break point: If the check in the box is cancelled, the variable break even if saved, will not be used. b. Variable: shows the variable name used for variable break. c.
Page 609
Chapter 12 Debugging Notes a. Among variable types, BYTE, NIBBLE and STRING do not support the variable break instruction. b. While PLC runs debugging, just one condition if only satisfied among breakpoint, variable break, scan break, etc., will apply the break. c.
Chapter 12 Debugging 12.5 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 point] tap. [Dialog Box] [Description of Dialog Box] a.
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 13.1.1 Sequence of Online Editing a. Open Project b. Connect c. Start Monitoring * 프로그램...
Page 613
Chapter 13 Online Editing b. Connect - Select [Online]-[Connect] on the menu to connect with PLC. c. Start Monitoring - Select [Monitor]-[Start Monitoring] on the menu. - Online Editing is available while monitoring. - Start/Stop Monitoring is available during Online Editing. d.
Page 614
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. - In case of the LD, the edited rung is indicated with (‘*’). f.
Page 615
Chapter 13 Online Editing Notes - Project can not be closed during Run Modify - One or more programs can be modified during Run. - While editing during Run, the monitoring value is not correct. The correct value can be monitored as long as modifying during Run.
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.
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.
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.
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. Back to Default: details of Margins, Header and Footer are changed back to default, the basic value specified when the program installed e.
Page 620
Chapter 14 Print [Description of Dialog Box] a. Content Setting: used to input the content in the left/center/right of the Header/Footer. b. Insert Field: used to insert the field into the position of the cursor presently placed on the Edit Box (left, center, right) Notes - If the content of the header/footer is long, the header/footer in the left, center or right may be printed as...
Chapter 14 Print 14.1.4 Cover Setup It is used to specify the print cover. [Steps] 1. Select [Cover] in the Project Level Diagram on Print Dialog Box. 2. Click Details button, or press Enter key. [Dialog Box] 14-6...
Page 622
Chapter 14 Print [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 623
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 624
Chapter 14 Print Notes - Edit Box can be aligned in the paper and the Edit Box. It will be available through the menu displayed by the right mouse button pressed on the paper. - [Edit Box]-[Center]: aligns the selected Edit Box on the center of paper. - [String]-[Left Align]: aligns the content of the selected Edit Box on the left in the Edit Box.
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] 14-10...
Chapter 14 Print [Description of Dialog Box] a. Select Program: selects a program to print. In LD program, IL program print can not be selected. Notes - When printing the project, click Details button after selecting the program name to set print setup. b.
Chapter 15 User Function/Function Block Chapter 15 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 the user function/function block program...
Chapter 15 User Function/Function Block 15.1 Create User Function/Function Block 15.1.1 Create User Function/Function Block Program In order to create a User Function/Function Block, select [Project]-[Add Item]-[Function] or [Project]-[Add Item]-[Function Block]. [Dialog Box] 15-2...
Page 629
Chapter 15 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.
Chapter 15 User Function/Function Block 15.1.2 Create User Function/Function Block I/O Variable [Steps] 1. If double-clicking a local variable among the items created with the name of User Function/Function Block, the following local variable screen is created. [Local Variable screen] [Description of Local Variable] a.
Chapter 15 User Function/Function Block 2. Add input variable, I/O variable and output value in the local variable screen. Depending on the added I/O variables, the function/function block type is automatically changed on the bottom of the local variable screen. Notes - Input variable and output variable should be, at least, one or more, respectively but the number is limited to 64.
Page 632
Chapter 15 User Function/Function Block 2. Create a program, based on the variable input in the local variable screen. 15-6...
Page 633
Chapter 15 User Function/Function Block Notes - If local variable edit and program edit are finished, select function/function block toolbar instruction to check whether the edited User Function/Function Block is registered. 15-7...
Chapter 15 User Function/Function Block 15.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 Function/Function Block Toolbar. 15-8...
Page 635
Chapter 15 User Function/Function Block 3. Select a User Function/Function Block in the function/function block dialog box. 4. Input the variable to be used in the input/output of function/function block. 15-9...
2) PLC Online function Besides program monitoring function provided by XG5000, an operator may user online diagnosis functions such as system monitor, device monitor, trend monitor, data trace and user event.
1. By executing XG5000, create a program to run on XG-SIM. 2. Select [Tools] – [Start Simulator] in XG5000 Menu. If XG-SIM is started, a created program is automatically downloaded onto XG- SIM. After XG-SIM is executed, it goes to Online, Access and Stop.
Page 638
Chapter 16 XG-SIM 3. By selecting [Online] – [Change Mode] – [Run] in XG5000 Menu, execute the downloaded program. For available online menus of XG5000 when XG-SIM is executed, refer to the following table. Menu Support Menu Support Ⅹ Open from PLC ○...
Chapter 16 XG-SIM 16.2 XG-SIM 16.2.1 Program Window Configuration XG-SIM program is configured as follows. 1) 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.’...
Chapter 16 XG-SIM Status Description Display Shows the status of access ready. Red LED Accessible lights up. Single I/O condition Shows single I/O condition is executed, during executed which green LED blinks. Continuous Shows continuous I/O condition is executed, condition executed during which yellow LED blinks 16.2.2 Channel List 1) Module Channel...
XG-SIM provides I/O condition function to eliminate discomfort that to test a user-created PLC program, a user should periodically change device value by changing the monitor current value of XG5000 or should create another PLC program to test PLC program. In addition, with I/O condition, it may advantageously reflect the data sending to a module or receiving from a module to a program.
Page 642
Chapter 16 XG-SIM more conditions while a conditional statement may be used as one or more statements through the combination of conditions Type Operator Priority Description Equal to Not equal to > Larger than Single >= Equal to or larger than comparison <= Equal to or smaller than...
Page 643
Chapter 16 XG-SIM 2) Basic functions Both single I/O condition and continuous I/O condition keep the following interface. 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. Edit I/O condition [Steps] a.
Page 644
Chapter 16 XG-SIM 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. Copy/Past I/O Condition [Steps] a. Select I/O condition to copy. b.
Page 645
Chapter 16 XG-SIM Delete I/O Condition [Steps] a. Select I/O condition to delete. b. Select [Edit] – [Delete]. Insert line [Steps] a. Select a position to insert a line b. Select [Edit] – [Insert Line] in Menu. 16-10...
Page 646
Chapter 16 XG-SIM 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. 16-11...
Page 647
Chapter 16 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 16 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 16 XG-SIM Notes Condition Check Condition Check Condition Check Condition Check Setting ‘Ignore Conditions while execution’ / Setting ‘repeated execution’ Not setting ‘Ignore Conditions while execution’ / Setting ‘repeated execution’ Setting ‘Ignore Conditions while execution’ / Not setting ‘repeated execution’ Not setting ‘Ignore Conditions while execution’...
Page 650
Chapter 16 XG-SIM 5) Dialog Box to input continuous value Input value Input a value to set as output in Continuous I/O condition [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.
Page 651
Chapter 16 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. Input value [Steps] a.
Page 652
Chapter 16 XG-SIM 6) Monitor I/O Condition Start Monitor [Steps] a. Select [Tools] – [Use Single I/O Condition] or [Tools] – [Use Continuous I/O Condition] in Menu. 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.
1) Module setting The module simulation function provided by XG-SIM uses the information set in the I/O parameter of XG5000. Therefore, it is necessary to set a module in the I/O parameter to simulate the module and reflect to a program.
Page 654
For details of I/O parameter editing and the parameter setting by modules, refer to XG5000 Manual. To apply the details of I/O parameter set in XG5000, it is necessary to download I/O parameter to XG-SIM again. If the type of a selected module is changed, XG-SIM should be executed again.
Page 655
Chapter 16 XG-SIM 3) Analog Input Module (A/D conversion module) For the analog input module supported by XG-SIM, refer to the following table. Module name Support XGF-AV8A (Voltage type 8ch) ○ XGF-AC8A (Current type 8ch) ○ XGF-AD4S (Insulation type 4ch) Ⅹ...
Page 656
Chapter 16 XG-SIM 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. Module name Support XGF-DV4A (voltage type 4ch) ○...
Page 657
Chapter 16 XG-SIM An operator may check the analog output that is converted in ‘Channel’ item of XG-SIM. 5) High speed counter module (HSC module) For the high speed module supported by XG-SIM, refer to the following table. Module name Support XGF-HO2A (open collector 2ch) ○...
Page 658
Chapter 16 XG-SIM 6) Temperature input module (RTD module) For the temperature input module supported by XG-SIM, refer to the following table. Module name Support XGF-RD4A (4ch) ○ XGF-RD4S (Insulation type 4ch) Ⅹ XGF-TC4S (Insulation type 4ch) Ⅹ XG-SIM supports the following temperature input parameter. Parameter Support Parameter...
Page 659
Chapter 16 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.
Page 660
Chapter 16 XG-SIM Parameter type Item Support conversion Origin address Origin/manual parameter High speed origin return Low speed origin return High speed JOG ○ Origin/manual parameter Low speed JOG ○ Inching speed ○ The list of exclusive APM function blocks supported by XG-SIM is as follows. Function block Command Support...
Page 661
Chapter 16 XG-SIM Function block Command Support Teaching function block APM_EMG Emergency stop ○ APM_CLR Error reset ○ APM_PST Point operation APM_PWR Point operation step data setting APM_SRD Read current status ○ APM_CRD Read operation status code info ○ APM_ENCRD Read encoder value APM_JOG Jog start...
Page 662
Notes Detail parameter of positioning module is set in a separate APM package, not in XG5000. To set the parameters used in the positioning module, it is necessary to set APM package operation data and save the project file as follows. In addition, APM project file should be located in a same folder in which XG5000 project file is saved.
Chapter 16 XG-SIM 16.3 Restrictions Comparing to actual PLC, XG-SIM have the following restrictions. 16.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. 16.3.2 Communication module XG-SIM does not provide any COM functions.
Chapter 17 ST Edition Chapter 17 ST Edition ST based on character is program language and conforms to IEC 61131-3. 17.1 Writing ST program Scan program, user function/FB, SFC can be written by ST language. 17.1.1 Adding Scan Program [Step] 1.
Chapter 17 ST Edition 3. Input program name and description. Select ST in Language. 17.1.2 Adding User Function/Function Block [Step] 1. Select User Function/Function Block in the project window. 17-2...
Page 666
Chapter 17 ST Edition 2. Select [Project] - [Add Item] – [Function] or [Function Block]. 3. Input name and description. Select ST in Language. In case of Function, select Return data type. 17-3...
Chapter 17 ST Edition 17.1.3 Adding SFC transition, action [Step for adding transition] 1. Select transition in which the user wants to input program in SFC program. 2. After selecting transition, double-click it or press ‘Enter’. 3. Input name and comment. Select Program in Type. 4.
Page 668
Chapter 17 ST Edition 2. Select ST as Language in the Add Program window. 17-5...
Chapter 17 ST Edition 17.2 Limit When editing ST language, there is the limit as described below. Item Content Limit Max. no. of character in Max. no. of character in one line is 2,048 for English and 1,024 for Korean. 2,048 one line Note...
Shift + Move Selects from current cursor location to location to move. Note 1. The described shortcut key is based on default of XG5000 2. For user defined- shortcut key, refer to chapter 2.4 17.3.2 Copy/Paste Copies selected character string into clipboard and pastes it.
Chapter 17 ST Edition 4. Select [Edit] – [Paste]. Note 1. Clipboard: memory area of PC to save temporary information. 2. When parting, if the user selects the area, the character string is overwritten and if the user doesn’t select the area, it is inserted. 3.
Page 672
Chapter 17 ST Edition [Dialog box] [Description of dialog box] a. Variable: inputs name of direct variable or declared variable. If the inputted character string is variable type and isn’t registered as variable, Variable Addition/Edit dialog box shows. b. Local variable: displays the declared local variable list. c.
Page 673
Chapter 17 ST Edition [Dialog box] [Description of dialog box] a. Variable: inputs variable name.. b. Data Type: selects data type of variable. c. Variable Kind: selects Variable Kind of variable. d. Address: assigns direct address about variable. e. Initial Value: inputs initial value of variable. f.
Chapter 17 ST Edition 17.3.5 Inserting Function/Function Block Inserts Function/Function Block at the cursor location. [Step] 1. Move the cursor to insert. 2. Select [Edit] – [Function/Function Block]. [Dialog box] [Description of dialog box] a. Name: inputs name of Function (Block) to use. b.
Page 675
Chapter 17 ST Edition 3. Function/Function Block is inserted. Note -I/O parameters of function/function block are not inserted automatically. The user should edit them additionally. 17-12...
Chapter 17 ST Edition 17.4 Viewing Program Describes about display properties in the ST program. 17.4.1 ST option Description about dialog box of option in the ST program. [Step] 1. Select [Tools]-[Options]. 2. Select ST. [Dialog box] [Description of dialog box] a.
Chapter 17 ST Edition 17.4.2 Font/Color Available to designate font or color in the ST program. 1) Font [Step] 1. Select [Tools]-[Options]. 2. Select ST Font/Color. 3. Change Font. Note 1. The user can’t change the character size 2. Default font is “Fixedsys”. 3.
Chapter 17 ST Edition 17.4.3 Zoom ST program doesn’t support Zoom function. 17.4.4 Tap When using Tap, Tap size is designated. [Step] 1. Select [Tools] – [Options]. 2. Select ST. 3. Change Tap size. [Tap size 4 screen] [Tap size 8 screen] Note 1.
Chapter 17 ST Edition 17.4.5 Showing line numbers Shows/hides line numbers in the ST program [Step] 1. Select [Tools] – [Options]. 2. Select XG5000 Common Editor. 3. Check ‘Show line numbers’ . 17-16...
Chapter 17 ST Edition 17.5 Additional Edition Function Describes additional edition function for convenient. 17.5.1 Book mark The user can set bookmark and go there easily. 1) Setting book mark [Step] 1. Move the cursor to set bookmark. 2. Select [Edit] – [Bookmark] – [Set/Remove]. 17-17...
Page 681
Chapter 17 ST Edition 2) Removing bookmark [Step] 1. Move the cursor to remove bookmark. 2. Select [Edit] – [Bookmark] – [Set/Remove] 3) Removing all bookmark [Step] 1. Select [Edit] – [Bookmark] – [Remove All]. 17-18...
Chapter 17 ST Edition 4) Going to previous bookmark [Step] 1. Select [Edit] – [Bookmark] – [Previous Bookmark]. 5) Going to next bookmark [Step] 1. Select [Edit] – [Bookmark] – [Next Bookmark]. Note 1. Bookmark is set by line unit 2.
Chapter 17 ST Edition 3. Press ‘Enter’ or double-click. Note Description of character string list bit map : ST language key word (IF, CASE WHILE etc.) : Variable name : Flag variable name : Function name : Function block instance name : User defined-function name : User defined-function block instance name 17.5.3 Selecting member variable from character string list...
Chapter 17 ST Edition 2. Select member variable to input. 3. Press ‘Enter’ or double –click. 17.5.4 Setting/Removing Block Mask Sets or removes the Block Mask area. The Block Mask area is not executed. Block Mask area is indicated by symbol “(*” and “*)”. 1) Setting Block Mask 1.
Page 685
Chapter 17 ST Edition 2. Select [Edit] – [Set/Remove Block Mask]. 2) Removing Block Mask 1. Select area in which Block Mask is already set. 17-22...
Chapter 17 ST Edition 2. Select [Edit] – [Set/Remove Block Mask]. 17.5.5 Setting/Removing Line Block Mask Selected line is not executed. Symbol“//” Is used to set Line Block Mask. 1) Setting line block mask 1. Select area to set line block mask. 17-23...
Page 687
Chapter 17 ST Edition 2. Select [Edit] – [Set/Remove Line Block Mask]. 2) Removing line block mask 1. Select area to remove line block mask. 17-24...
Chapter 17 ST Edition 2. Select [Edit] – [Set/Remove Line Block Mask]. 17.5.6 Indent/Outdent Makes indent/outdent at the selected area. 1) Indent 1. Select area to make indent. 17-25...
Page 689
Chapter 17 ST Edition 2. Press TAB. 2) Outdent 1. Select area to make outdent. 17-26...
Chapter 18 Dedicated XGR Function Chapter 18 Dedicated XGR Function This function is for XGR series. 18.1 Redundancy Parameter Double-click [Redundancy Parameter] on Project Window to set redundancy parameter. Redundancy parameter is consisting of ‘Run Mode’ and ‘Redundancy synchronization area’. 18-1...
Page 692
Chapter 18 Dedicated XGR Function [Dialog box] [Description of dialog box] a. Disable the warning message about Single CPU Mode: If Master CPU is operated without standby CPU, the warning message of redundancy system will be appeared. If it is checked, the warning message will not be appeared. The default value is appearing warning message.
Redundancy PLC state window appear automatically when XG5000 connects with XGR PLC. [Description of dialog box] a. Project name or program name: Project name of XG5000 or Program name of XG-PD/System Monitor b. A-side PLC Run mode c. A-side PLC Warning: No-display if warning is not existed.
Chapter 18 Dedicated XGR Function 18.3 Control Redundancy Selects [Online] – [Control Redundancy]. 18.3.1 Change of master CPU [Description of dialog box] a. Master CPU: Display of Master CPU, A-side or B-side b. You can switchover the Master CPU: It displays state of redundancy changeable state. If it is disable, it displays the possible case to make redundancy change.
Chapter 18 Dedicated XGR Function 18.3.2 Standby CPU control [Description of dialog box] a. Standby CPU: Available Standby CPU state b. Standby CPU mode: Standby CPU Run/Stop mode change c. Standby CPU reset: Only Standby CPU Reset or Overall reset 18-5...
Chapter 18 Dedicated XGR Function 18.4 System Monitoring System configuration and base information is displayed by System Monitoring. 18.4.1 System Configuration Selects [PLC] – [System Configuration]. 18-6...
Chapter 18 Dedicated XGR Function System configuration contains below information. 1. Connection state between base 2. Connection cable type between base 3. In case of electric cable, it displays measured time and distance. 4. It displays data synchronization cable between Master and Standby CPU. 5.
Chapter 18 Dedicated XGR Function 2. [View] - [Node Count] - [4] 18.4.3 Base information It displays base information installed in base. 1. Master/Standby base (1) It displays information and base number of CPU module. (2) State indicator: It indicates state of CPU. (3) RING: If it is consisted of Ring topology, LED indicates On.
Page 699
Chapter 18 Dedicated XGR Function 2. Expansion base (1) It displays base number of expansion module. 3. Base information (1) Base information contains the information of base connection and cable. (2) By selecting expansion drive module/expansion manager and [PLC] – [Module Information], Base information will be appeared. (3) By Double-clicking expansion drive module/expansion manager, Base information will be appeared.
Page 700
Chapter 18 Dedicated XGR Function j. Base Changing Wizard Base can be changed easily by Base Changing Wizard while PLC is operating. Base Changing Wizard has 4 steps Selecting Base, Removing Base, Installing New Base, and Changing Base Finished. Notes In XGR system, a part of expansion base can be exchanged according to configuration of expansion base.
Page 701
Chapter 18 Dedicated XGR Function 3. Follow the information of Removing Base step, click Next button. [Dialog box] [Description of dialog box] a. Information: Information of Removing Base step. b. Back: Cancel Removing Base step, go to previous step. c. Next: Move to Installing Base step. d.
Page 702
Chapter 18 Dedicated XGR Function 4. Follow the information of Installing New Base step, click Next button. [Dialog box] [Description of dialog box] Information: Information of Installing New Base Back: It is inactive mode after base is removed. Next: Move to Changing Base Finished step. Cancel: Cancel the Base Changing Wizard.
Page 703
Chapter 18 Dedicated XGR Function 5. Click [Finished], when Changing Base is finished. [Dialog box] [Description of dialog box] Information: Information of Changing Base Finished Back: It is inactive mode after base is removed. Finish: Finish Base Changing Wizard Notes Please follow below step when base changing without Base Changing Wizard.
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. 3. This enables data monitoring and saving.
19.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.
Chapter 19 Exclusive Functions for Event Input Module 19.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. 19-3...
Page 707
Chapter 19 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.
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 709
Chapter 19 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 710
Chapter 19 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. 19-7...
Chapter 19 Exclusive Functions for Event Input Module 19.2.3 SOE Event History Window The SOE monitor displays the XGF-SOEA module SOE event history window automatically when connected with PLC CPU. Double-click on the desired module to run the event monitor window. [Dialog] [Dialog] description;...
Chapter 19 Exclusive Functions for Event Input Module 19.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.
Chapter 19 Exclusive Functions for Event Input Module 19.3 Basic Parameter Setting Basic parameters of the XGF-SOEA can be set up using the menu or toolbar of the XG5000. 19.3.1 Setting Items Sets up the method of saving the history occurred in the XGF-SOEA module in the CPU module.
Chapter 19 Exclusive Functions for Event Input Module 19.4 I/O Parameter Setting I/O parameters of the XGF-SOEA can be set up using the menu or toolbar of the XG5000. 19.4.1 Setting Item Sets up the method of saving the external event history in the XGF-SOEA module.
Page 715
Chapter 19 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. 19-12...
Page 716
Chapter 19 Exclusive Functions for Event Input Module 5) With the module selected, click on the [Detail] button. [Dialog] [Dialog] description; Input filter setting: set up the time which enables an event to be identified as an effective input data. (Setting range: 1ms ~ 100ms) a.
Page 717
Chapter 19 Exclusive Functions for Event Input Module 6) An example of input filter setting Condition: A) Input filter: 1ms B) Detail event setting: ‘Rise/Fall’ events simultaneously Sequence diagram of event occurrence; 1.5㎳ 0.5㎳ 1.0㎳ 1.5㎳ 0.75㎳ 1.25㎳ 1.25㎳ 0.75㎳ 0.75㎳ 1.25㎳...
Page 718
Chapter 19 Exclusive Functions for Event Input Module Chatter Setting Chatter setting enables the module to identify an event repeated many times during a short period of time as chattering, and not an effective event. Some sensors using mechanical contacts may cause chattering, which can be eliminated with this function.
Page 719
Chapter 19 Exclusive Functions for Event Input Module 2. An example of chatter setting Condition: A) Input filter: 1ms B) Detail event setting: ‘Rise’ event C) Chatter event: 4 D) Chatter time: 8ms Sequence diagram of event occurrence; 2.5㎳ 0.75㎳ 1.25㎳...
Chapter 19 Exclusive Functions for Event Input Module 19.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;...
Chapter 19 Exclusive Functions for Event Input Module 19.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. 19-18...
Page 722
Chapter 19 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. 19-19...
Page 723
Chapter 19 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. Double clicking on the CPU event history or module event history will activate the event monitor window. c.
Page 724
Chapter 19 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 Time of occurrence Input contact state Base No. Event occurred Slot No.
Page 725
Chapter 19 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 726
Chapter 19 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 727
Chapter 19 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 728
Chapter 19 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 729
Chapter 19 Exclusive Functions for Event Input Module [Sequence] a. 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]. 19-26...
Page 730
Chapter 19 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] a.
Page 731
Chapter 19 Exclusive Functions for Event Input Module Clear All SOE module History: delete the history stored in all the SOEA modules. [Sequence] a. Select [Online] -> [Clear All SOE module History]. 19-28...
Chapter 19 Exclusive Functions for Event Input Module 19.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 733
Chapter 19 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. 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 734
Chapter 19 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) 19-31...
Page 735
Warranty 1. Terms of warranty LSIS provides an 18-month warranty starting from the date of production. 2. Range of warranty For problems within the terms of the warranty, LSIS will replace the entire PLC or repair the defective parts free of charge except for the following cases.
Page 736
2 Zhongshan Liu Road.Guangzhou.P.R China Tel : 86-20-8328-6754/Fax : 86-20-8326-6287 e-mail : chenxs@lsis.com.cn ※ LS Industrial Systems constantly endeavors to improve its product so that 2010. 3 information in this manual is subject to change without notice. ⓒ LS Industrial Systems Co., Ltd 2010 All Rights Reserved.
Need help?
Do you have a question about the XG5000 and is the answer not in the manual?
Questions and answers