LS ELECTRIC XGT Series User Manual Download Page 1

 

 

LS ELECTRIC strives to maximize your profits in gratitude for choosing us as your partner. 

Programmable Logic Control

 

XG5000 

 

 

XGT Series

 

  XGK/XGB

 

Summary of Contents for XGT Series

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

Page 2: ...the meaning of the terms is as follows This symbol indicates the possibility of serious injury or death if some applicable instruction is violated This symbol indicates the possibility of slight injury or damage to products if some applicable instruction is violated The marks displayed on the product and in the user s manual have the following meanings Be careful Danger may be expected Be careful ...

Page 3: ... be turned off and stopped for system safety However in case CPU error if caused on output device itself such as relay or TR can not be detected the output may be kept on which may cause serious problems Thus you are recommended to install an addition circuit to monitor the output status Never connect the overload than rated to the output module nor allow the output circuit to have a short circuit...

Page 4: ...e module be sure PLC power is off If not electric shock or damage on the product may be caused Be sure that each module of PLC is correctly secured If the product is installed loosely or incorrectly abnormal operation error or dropping may be caused Be sure that I O or extension connecter is correctly secured If not electric shock fire or abnormal operation may be caused If lots of vibration is ex...

Page 5: ...d of each product and the arrangement of terminals If not fire electric shock or abnormal operation may be caused Secure the screws of terminals tightly with specified torque when wiring If the screws of terminals get loose short circuit fire or abnormal operation may be caused Surely use the ground wire of Class 3 for FG terminals which is exclusively used for PLC If the terminals not grounded co...

Page 6: ...ted short or soldered Heat explosion or ignition may cause injuries or fire Warning Don t remove PCB from the module case nor remodel the module Fire electric shock or abnormal operation may occur Prior to installing or disassembling the module let all the external power off including PLC power If not electric shock or abnormal operation may occur Keep any wireless installations or cell phone at l...

Page 7: ...Safety Instruction 6 ...

Page 8: ...ic variable added 4 23 4 38 5 Editing tools modified 5 2 6 OR contact modified 5 4 5 5 7 LD screen properties modified 5 29 8 View variable comment modified 5 33 9 Program optimization modified 5 34 10 I O parameter modified 9 6 11 Device auto allocation parameter added 9 25 9 26 12 I O Skip modified 10 43 10 49 13 Fault mask modified 10 50 10 51 14 module changing wizard modified 10 52 15 Print s...

Page 9: ...ries added 3 Custom events information modified 4 SOE module s function added CH2 1 1 CH3 2 1 CH10 17 2 CH18 4 1 CH18 6 V1 9 14 08 1 Integrated Tool UI Updated V2 0 15 02 1 Product Table classified by PLC Series updated CH3 2 1 V2 1 17 01 1 Installation of LS Studio and Basic Usage 2 XG5000 variables comments share 3 Communication parameter setting CH20 1 CH20 2 CH20 3 CH20 4 V2 2 17 07 1 Add race...

Page 10: ...ging by using XGI XGR CPU XGK XGB Instructions Programming User s Manual User s manual for programming to explain how to use instructions that are used PLC system with XGK XGB CPU XGI XGR XEC Instructions Programming User s Manual User s manual for programming to explain how to use instructions that are used PLC system with XGI XGR XEC CPU XGK CPU User s Manual XGK CPUA E H S U XGK CPUA CPUE CPUH ...

Page 11: ...About User s Manual 2 ...

Page 12: ... 2 Tool Box 2 8 2 1 3 Status Display Line 2 9 2 1 4 Change View Window 2 10 2 1 5 Application of Dialog Box 2 12 2 2 Open Close Project 2 13 2 2 1 Open Project 2 13 2 2 2 Close Project 2 13 2 2 3 Save Project 2 13 2 3 Convenient Edit Functions 2 14 2 3 1 Cut Paste 2 14 2 3 2 Copy Paste 2 15 2 3 3 Drag and Drop 2 17 2 4 Shortcut Setting 2 20 2 5 Edit Window Zoom In Zoom Out 2 22 2 6 Options 2 24 2 ...

Page 13: ... 3 1 Open KGLWIN file 3 12 3 3 2 KGLWIN Project conversion rules 3 13 3 3 3 Confirm converted file 3 22 3 4 Project Item 3 24 3 4 1 Add item 3 22 3 4 2 Import item from file 3 34 3 4 3 Export to file 3 37 3 4 4 Item register information 3 39 3 4 5 Change program sequence 3 41 3 4 6 Data Memory 3 41 3 5 Compare Project 3 50 3 6 Project Password 3 53 3 6 1 Set password 3 53 3 6 2 Change password 3 5...

Page 14: ... 2 3 Insert line 4 11 4 2 4 Delete line 4 13 4 2 5 Automatic fill 4 14 4 2 6 Drag and drop 4 16 4 2 7 Undo Redo 4 17 4 2 8 Export to file 4 18 4 2 9 U Device automatic Register 4 18 4 2 10 Preview 4 20 4 2 11 Print 4 21 4 2 12 Convenient functions 4 21 4 3 Sharing Variable 4 23 4 3 1 Saving variable comment 4 23 4 3 2 CSV file structure 4 25 4 3 3 Import external variable in XG PD 4 27 4 4 XGK Aut...

Page 15: ... Insert Line 5 18 5 2 12 Delete Factor 5 19 5 2 13 Delete Cell 5 19 5 2 14 Delete Line 5 20 5 2 15 Copy Cut Paste 5 21 5 2 16 Drag and Drop 5 23 5 2 17 Undo and Redo 5 26 5 2 18 Change Columns 5 27 5 2 19 LD View Properties 5 29 5 3 Program View 5 30 5 3 1 IL Program View 5 30 5 3 2 Program Magnification Change 5 31 5 3 3 View Device 5 31 5 3 4 View Variable 5 32 5 3 5 View Device Variable 5 32 5 ...

Page 16: ... 2 9 Undo Redo 6 14 6 3 Program View 6 15 6 3 1 Change Program Magnification 6 15 6 3 2 View Device 6 15 6 3 3 View Variable 6 16 6 3 4 View Device Variable 6 16 6 3 5 View Device Comment 6 17 6 4 Additional Edit Function 6 18 6 4 1 Block Mask Instruction 6 18 6 4 2 Bookmark 6 20 6 5 Go To 6 22 6 5 1 Go To Step 6 22 6 5 2 Go To Label 6 24 6 5 3 Go To Rung Comment 6 25 6 5 4 Go To END Instruction 6...

Page 17: ...8 11 8 2 2 Find All Text 8 12 8 3 Replace Device 8 14 8 3 1 Replace Device 8 18 8 3 2 Replace All Device 8 21 8 4 Replace Text 8 27 8 4 1 Replace Text 8 29 8 4 2 Replace All Text 8 32 8 5 Find Again 8 36 Chapter 9 Parameters 9 1 9 26 9 1 Basic Parameters 9 1 9 2 I O Parameters 9 6 9 2 1 Base Module Information Setting 9 8 9 2 2 Module Information Setting Based on Slots 9 9 9 2 3 I O Parameter Edit...

Page 18: ...tion 10 23 10 9 1 CPU Information 10 23 10 9 2 CPU Performance 10 24 10 9 3 Password 10 26 10 9 4 PLC RTC Setting 10 28 10 10 PLC History 10 29 10 10 1 Error Log 10 29 10 10 2 Change Mode History 10 30 10 10 3 Shut down Log History 10 31 10 10 4 System Log 10 32 10 11 PLC Error Warning 10 33 10 12 Flash Memory Setting 10 34 10 13 Forced I O Setting 10 36 10 14 Skip I O 10 43 10 15 Fault Mask 10 50...

Page 19: ...s ON OFF 11 25 11 4 5 Selected I O modules ON OFF 11 25 11 4 6 Change Current Value 11 26 11 4 7 Information Display of Power Module 11 26 11 4 8 Information Display of CPU module 11 27 11 4 9 Information Display of Communication Module 11 28 11 4 10 Information of Special Module 11 29 11 4 11 Start Stop Monitoring 11 30 11 4 12 Special Module Monitoring 11 30 11 4 13 Save 11 31 11 4 14 Open 11 32...

Page 20: ... Setting Graph Window 11 78 11 7 5 Graph function 11 79 11 8 Data Traces 11 84 11 8 1 Connect 11 86 11 8 2 Setting Trace 11 86 11 8 3 Setting Graph 11 90 11 8 4 Trace 11 92 11 8 5 Simulation 11 92 11 8 6 Graph Function 11 94 11 8 7 File function 11 94 11 8 8 View Function 11 95 11 9 PID Monitor 11 97 11 9 1 Basic instructions 11 97 11 9 2 Save file 11 99 11 9 3 Open file 11 101 11 9 4 Setting adju...

Page 21: ...2 Go 12 3 12 2 3 Go to Cursor 12 4 12 2 4 Step into 12 5 12 3 IL Program Debugging 12 8 12 3 1 Set Remove Breakpoints 12 8 12 3 2 Go 12 9 12 3 3 Go to Cursor 12 10 12 3 4 Step Progressing 12 11 12 4 List of Breakpoints 12 14 12 5 Device Break 12 16 12 6 Scan Break 12 18 Chapter 13 Online Editing 13 1 13 3 13 1 Sequence of Online Editing 13 1 Chapter 14 Print 14 1 14 9 14 1 Print Project 14 1 14 1 ...

Page 22: ... 15 30 15 1 Getting Started 15 1 15 1 1 Feature of XG SIM 15 1 15 1 2 System Requirements for the Execution of XG SIM 15 2 15 1 3 XG SIM Execution 15 2 15 2 XG SIM 15 4 15 2 1 Program window Configuration 15 4 15 2 2 Channel List 15 5 15 2 3 I O Condition 15 6 15 2 4 Module Simulation 15 19 15 3 Restrictions 15 30 15 3 1 Watchdog Timer 15 30 15 3 2 COM module 15 30 15 3 3 Non rack type PLC 15 30 C...

Page 23: ...9 16 2 15 Priority to Selective Branch Setting 16 20 16 2 16 Selective Branch Priority Rest 16 21 16 2 17 Delete Element 16 22 16 2 18 Copy Cut Paste 16 22 16 2 19 Edit Cancel and Redo 16 26 16 2 20 Program Edit Mode 16 27 16 3 View Program 16 28 16 3 1 Program Zoom In Out Ratio Change 16 28 16 3 2 SFC Screen Attributes 16 28 16 3 3 View Block Action Transition List 16 33 16 3 4 Open Program 16 34...

Page 24: ...sive Functions for Event Input Module 18 1 18 31 18 1 Overview 18 1 18 1 1 Characteristics of SOE Monitor 18 1 18 1 2 Functions of the SOE Monitor 18 1 18 1 3 Files Created in the SOE Monitor 18 1 18 2 Screen Configuration 18 2 18 2 1 Menu Structure 18 3 18 2 2 Tools 18 5 18 2 3 SOE Event History Window 18 7 18 2 4 Status Bar 18 9 18 3 Basic Parameter Setting 18 10 18 3 1 Setting Items 18 10 18 4 ...

Page 25: ...Block Programming 19 8 19 2 Use User Function Function Block 19 11 19 3 Protect user Function Function Block Source 19 13 19 3 1 Password 19 13 19 3 2 Disable to Read Program from PLC 19 16 Chapte r 2 0 LS Studi o 20 1 2 0 18 20 1 Start 20 1 20 1 1 Features 20 1 20 1 2 Install file 20 2 20 1 3 Install 20 3 20 1 4 Delete 20 5 20 2 Basic Usage 20 7 20 2 1 Add Item 20 7 20 2 2 Run Item 20 11 20 2 3 S...

Page 26: ... Drop function on most of editors such as Project Variable Comment LD Edit Variable Monitor etc 3 Setting User s Shortcut Keys Shortcut Keys provided as default can be changed or added as specified as familiar to user 4 Various Message Windows Provides various message windows to edit and inspect program easily 5 Convenient Edit of Variable Comment Edit with MS Excel is available Various types of E...

Page 27: ...cific position with Bookmark function Memory of selected device can be referred when editing LD 7 Various Monitoring Functions Various monitoring functions are provided such as variable monitoring device monitoring system monitoring trend monitoring special module monitoring etc 8 Custom Events If user defined conditions are met for specific device logging and reading data is available 9 Module Ch...

Page 28: ...00 Item Requirement Personal computer and memory Computer with PENTIUM 256MB memory or more Communication port RS 232 serial port or USB port Hard disk at least 500MB area Mouse connectable to PC Monitor 1024 X 768 or more resolution Window Window XP VISTA 7 8 supported ...

Page 29: ...ly special package need to be installed If the installation screen appears press Install button 3 Select Yes in the following window Time to install the special package varies according to PC and may be 1 2 minutes or more Once it is installed though you install XG5000 again installing the special package is not needed ...

Page 30: ...count that is not having administrator right it may not be installed Second if installation path has special character Special character may include Korean character If user account has Korean character it may cause a trouble Solution When installing a XG5000 try with account that has administrator right Since special package is installed once if you have never installed a XG5000 you need a admini...

Page 31: ...Chapter 1 Introduction 1 6 4 Installation Wizard will prepare for installation as below 5 Enter your name and company name and then click Next button ...

Page 32: ...n 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 7 After a folder is selected click Next button ...

Page 33: ...er and click Next button 9 Installation will be started as shown below 10 In case PC is being connected with PLC through USB at the final stage of installation USB device driver installation window appears Press Continue to install the USB device driver ...

Page 34: ...Chapter 1 Introduction 1 9 11 Wait a second for the installation to be complete ...

Page 35: ...ile PC is being connected with PLC through USB USB device driver installation window appears automatically 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 2 Turn PLC Power on and connect USB connector with PC I...

Page 36: ...in Found New Hardware Wizard Dialog Box select Installation from a list or specific location Advanced and click Next to continue 4 Among driver searching options select Search for the best driver in these locations and check Include this location in the search ...

Page 37: ...er 1 Introduction 1 12 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 ...

Page 38: ...e driver operated stably based on Windows OS you may click Continue Anyway button 8 If the device driver has been installed completely the Installation Complete Dialog Box will be displayed as follows Click Finish button to end the installation of the driver Notes Generally you can install the USB device driver through Install the software automatically Recommended ...

Page 39: ...select Manage on the menu 2 Computer Management Dialog Box will be displayed as shown in the figure below On the left tree list of Dialog Box click Computer Management Local System Tools Device Manager in regular order The items displayed on the list may be different according to devices installed on the computer 1 Normal Case The USB device driver for XGT PLC has been installed successfully if th...

Page 40: ...Chapter 1 Introduction 1 15 2 Abnormal Case The device driver has not been installed successfully if the following figure is displayed ...

Page 41: ...iver for XGT PLC is not installed successfully reinstall the USB driver for XGT PLC in the following steps Steps 1 On the device driver with the icon with an exclamation mark click the right button of the mouse Select Update Driver on the menu ...

Page 42: ...xt 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 Steps 1 If the device driver has been installed incorrectly or in error execute H W Update Wizard Select the option Installation from a list or specific location Advanced and click Next ...

Page 43: ...Chapter 1 Introduction 1 18 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 ...

Page 44: ...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 45: ...item of manufacturer s file to copy a directory with the file of the device driver will be displayed Click OK button 7 On the compatible H W display list of the device driver Select Dialog Box select LSIS XGSeries driver and then click Next button ...

Page 46: ... 1 21 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 ...

Page 47: ...Chapter 1 Introduction 1 22 ...

Page 48: ...re b Tool bar used to execute the instruction which contained in the menu conveniently c Project window used to display the configuration items of the presently opened project d Message window used to display various messages generated while XG5000 is running e Status bar used to display the status of XG5000 the information of connected PLC etc f System catalog window used to display system catalo...

Page 49: ...d as the binary file that cannot show the details of the project Write Binary to PLC Writes the binary file with the PLC You cannot see the details of the project Open from Memory Opens the project from the memory module Write to Memory Writes the project in the memory module Add Item PLC Adds a new PLC to the project Task Adds a new task program to the project Program Adds a new scan program to t...

Page 50: ...dow to recovers its previous status Redo Recovers the edit cancelled above Cut Copies the selects block to clipboard and deletes the block Copy Copies the selects block to the clipboard Paste Copies from the clipboard onto Edit Window Delete Deletes the selected block or items Select All Displays all the details of presently active window in block Insert Line Adds a new line to the cursor position...

Page 51: ...All Auto allocation variables Changes the addresses of all automatically allocated global local variables 4 Find Replace Instruction Description Find Device Finds the desired device based on the type Find String Finds the desired String Replace Device Finds the desired device to replace with a new device Replace String Finds the desired String to replace with a new String Find Again Repeats Find o...

Page 52: ... on the message window s program inspect tap Variables Displays the variable name in the program Devices Displays the device name in the program Devices Variables View Displays the device and the variable in the program Devices Comments View Displays the device and the comment in the program Zoom In Displays the screen magnified Zoom Out Displays the screen reduced Resize Width Automatically adjus...

Page 53: ...iagnosis window Reset Clear Reset PLC Resets the PLC Reset individual module Resets the communication module individually Clear PLC Deletes the parameters programs comments from the PLC Clear all PLC Deletes all programs passwords data from the PLC SD memory Formats the SD memory card Delete parameter Deletes parameters of the communication module Diagnosis PLC information Shows up the PLC informa...

Page 54: ...ta Traces Specifies the device to monitor the change of the data 8 Debug Instruction Description Start Stop Debugging Converts to Debug mode to Start Stop Debugging Go Runs to the break point Step Over Runs step by step Step Into Debugs the subroutine Step Out Escapes from the subroutine Temporary Stop Stops Run Go to Cursor Runs to the cursor position Set Remove Breakpoints Sets or cancels the br...

Page 55: ...G5000 with the vertical tab Move to next tab group Moves to the next tab group Move to previous tab group Moves to the previous tab group Close All Closes all windows belonging to XG5000 Reset window layout Resets the default layout of the project 11 Help Instruction Description XG5000 Help Opens Help for XG5000 application XGK XGB Instruction Help Opens Help for XGK XGB PLC instructions XGI Instr...

Page 56: ...ly used tools Dialog Box Items Descriptions Toolbars a Can make the toolbar appear or disappear by ticking the checkbox in front of each toolbar name Reset b Initializes the selected toolbar Reset All c Initializes all toolbars New d Creates a new toolbar Rename e Changes the name of the toolbar made by a user Delete f Deletes the toolbar made by a user Show text labels g Displays the name of the ...

Page 57: ...og box for entering toolbar name shows up enter the toolbar name 4 Press OK button At this time the empty toolbox is created and the new toolbar TEST will be added to the toolbar list 2 Tool Box Fill It is the command tab of the customized dialog box It can compose new commands to create new toolbars Dialog Box ...

Page 58: ...e desired command on a user toolbar the toll will be added The following procedure is to explain how to fill the toolbar created from 1 with commands Steps 1 Select the command tab of Tool Customize 2 Drag the desired command and put it on the above toolbar 3 Repeat b until the desired commands are all added 4 After adding commands are completed press Close button a c b ...

Page 59: ...ut key in the category list Current b Displays the currently allocated key Press New Shortcut c Inputs new shortcut keys Assign d Allocates newly shortcut keys entered for the selected menu Remove e Deletes the current shortcut key Reset all f Deletes all user shortcut keys and set all shortcut keys as default Steps b d e f c a ...

Page 60: ...ys to be set For example if you want to use Ctrl H hold down Ctrl on your keyboard and press H Then the shortcut keys will be displayed in the editing window If the key combination is already applied the message Already Allocated will be displayed and the Shortcut Key Allocation button will not be activated b Press the shortcut key A or Allocation button c Press the Exit button a b c ...

Page 61: ...lays tool tips when the mouse pointer stays on the toolbar Show shortcut keys in ScreenTips b Displays the shortcut key when the mouse pointer stays on the toolbar Large icons c Displays the toolbar icons in a large size Example of showing ScreenTips in the tool bar If you put the mouse on the tool executing Simulation you can see the tool tip Simulation will pop up a b c ...

Page 62: ...tate with the activated PLC d Display cursor position Displays the cursor position when editing the program e Mode Displays the current editing mode f State of safe signature Displays the state of safe signature g Zoom In Zoom Out Zooms in and out the program s screen 2 3 2 Change View Window The windows that you can see in the View menu are all docking ones You can adjust the position and size of...

Page 63: ...cates the guide line of the docking position that is shown when moving the tool window If you move the tool window once as below the docking guide will be shown up in the screen You can easily dock it by putting the window to inside of the docking guide ...

Page 64: ...ouse button or press the lower arrow shaped button to select the Floating Window menu 3 Auto Hide Mode Click the targeted docking window title with the right mouse button to select the menu Auto Hide or if you press the tack shaped button in the docking window as below for Hide mode the window will automatically disappear ...

Page 65: ...put 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 Options used to select just one item in the same group Use the mouse to select the item desired d OK If OK is clicked the specified value will be input e Cancel If Cancel is clicked the specified value will not be input but th...

Page 66: ... xfgx If you select the project file in the opening dialog box you can see the project comment in the comment area 2 4 2 Close Project Steps 1 Select Project Close Project on the menu Default of the Shortcut Key is not specified 2 If the project is not saved after edited the following message will appear 3 Click Yes to save 2 4 3 Save Project Steps 1 Select Project Save Project on the menu Notes T...

Page 67: ... and Project Window Variable Comment and Excel can share the edited details with each other 2 5 1 Cut Paste It is used to select blocks to move to other places Steps 1 Cut Paste menu is used to move the data of the selected area to a new position to paste the data on The example of Cut Paste on the Variable Comment Window is as follows ...

Page 68: ... data identical to the data of the selected area At this time if the variable name should not be duplicated as described in Variable Comment an applicable warning message will appear Refer to the comment of each edit window for more details The example of Copy Paste in LD figure is as follows ...

Page 69: ...Chapter 2 Basic Application 2 22 ...

Page 70: ...the given conditions In other words if Drag and Drop is used on the identical area of LD or IL edit window it will work as Cut Paste And if Drag and Drop is used with 2 or more XG5000 program instances being open it will work as Copy Paste The figure above shows the Drag and Drop result of the line selected in an instance ...

Page 71: ...Chapter 2 Basic Application 2 24 The figure above shows the Drag and Drop result of the area selected between two instances Notes ...

Page 72: ...med by the user even if the program inspects its duplication If Cut Copy or Paste is executed where it is unavailable the program will not reply thereto Cut Copy or Paste between different areas may cause a serious program error No automatic conversion function is provided for Cut Copy or Paste executed onto the place with different data type Accordingly the user needs to check the area pasted ...

Page 73: ...ble magnification rate changes by minimum 5 within the range of 50 200 Steps 1 Select View Zoom In or View Zoom Out on the menu as necessary Or use the combo box to select or input a desired magnification rate Or together with Ctrl being pressed use the mouse wheel to adjust the rate The two figures below show the examples of 50 and 200 magnified screens ...

Page 74: ...Chapter 2 Basic Application 2 27 ...

Page 75: ...000 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 Common button Common button applied to all categories no matter which category is selected Reset category button is used to reset all options 2 7 2 XG5000 option a b c ...

Page 76: ...king new project b Select Folder Search folder c Specifies the number of backup file to restore project file Up to 20 is available d 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 displ...

Page 77: ...2 Basic Application 2 30 2 7 3 XG5000 Common Editor Steps 1 Select menu Tools Options 2 Select option after select Common Editor in XG5000 category Description of dialog box Description of dialog box a b c d e ...

Page 78: ... coil window during editing c Instant input mode When inputting contact point shows device input window for user to input device instantly When Instant input mode is not selected move cursor and double click or press Enter to input device d Show line number shows line number in editing window e Show grid shows grid in editing window 2 7 4 XG5000 Color Options Color to be displayed on the LD IL Edi...

Page 79: ...rea 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 Default for selected item restore default value e Preview displays the setting value of the selected item b c a d e ...

Page 80: ...ols Option on the menu 2 Select the Online tap on the Option Dialog Box Dialog Box Description of Dialog Box a Monitoring used to specify the display format of the data value Example If Hexadecimal is selected on the Monitor Display Format the variable values when monitored will be displayed in hexadecimal a b c ...

Page 81: ... 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 Show Message when changing the PLC mode When changing the PLC mode displays conversion message automatically When changing from Stop mode to Run mode the following message show...

Page 82: ...Chapter 2 Basic Application 2 35 When changing from Run mode to Stop mode the following message shows ...

Page 83: ...ox a Display above text When displaying text above diagram decides whether to display height of text as variable type according to the number of character or as fixed type according to setting b Display below text When displaying text below diagram decides whether to display height of text as variable type according to the number of character or as fixed type according to setting c Display specifi...

Page 84: ...ifies font color Dialog box Description of dialog box a Items Used to select the area to specify its font or color b Font activated when item is Variable Comment specifies font of Variable Comment c Color activated when item is not Variable Comment specifies color d Default for selected item restore default value e Preview displays the setting value of the selected item a b c d e ...

Page 85: ...Chapter 2 Basic Application 2 38 2 7 8 SFC option Options used when editing SFC program Steps 3 1 Select Tools Option 4 2 Select SFC category Dialog box Description of dialog box h c d e g f b a ...

Page 86: ...age number in print able area d Step column width specifies column width of step transition e Action column width specifies column width of action f Utilize SFC split window you can use SFC split window g Split window position decides split widow position h Split window contents decides which content to display Note Range of step column width is 20 200 Range of action column width is 70 400 ...

Page 87: ...ed font color Dialog box Description of dialog box a Items Used to select the area to specify its font or color b Font activated when item is Variable Comment specifies font of Variable Comment c Color activated when item is not Variable Comment specifies color d Default for selected item restore default value e Preview displays the setting value of the selected item a b c d e ...

Page 88: ...Chapter 2 Basic Application 2 41 2 7 10 ST option Options used in editing ST program Steps 1 Select Tools Option 2 Select ST category Dialog box a b c d e f g ...

Page 89: ...ontrol statement such as IF WHILE SWITCH and pressing Enter key complete the statement according to ST grammar d Tap size specifies space size when pressing Tap key e Show tip text When move cursor on the character string shows comment on character string f Auto indent When changing line with Enter key indented automatically as many as previous tap size g Enhance Shows character string with divers...

Page 90: ...es font color Dialog box Description of dialog box a Items Used to select the area to specify its font or color b Font activated when item is Variable Comment specifies font of Variable Comment c Color activated when item is not Variable Comment specifies color d Default for selected item restore default value e Preview displays the setting value of the selected item a b c d e ...

Page 91: ...Chapter 2 Basic Application 2 44 ...

Page 92: ...Chapter 3 Project 3 1 Chapter 3 Project 3 1 Project Configuration The items of the project configuration are follows Dialog Box a b c d j l g h f m o q e k n p i ...

Page 93: ...sic parameter Defines the basic operations j I O parameter Defines the configuration of I P modules k Scan program Defines the standing executive program in the subcategory l Program1 It is the standing executive program defined by a user m Program2 It is the standing executive program defined by a user n Task1 Indicates fixed cycle tasks defined by a user o Program1 It is the program that is exec...

Page 94: ...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 Select Project New Project on the menu Dialog Box a e b c h i d f g ...

Page 95: ...in project g Project description inputs project description h Auto allocation if you check this option you can use the following options Local variable accessible within one program Global variable accessible within all programs ST language SFC language Note If you select auto allocation when declaring variable you can t allocate device XG5000 allocates device automatically Auto allocation can be ...

Page 96: ... XGI CPUU XBC DN40SU XGI CPUU D XGI CPUU D XBC DP40SU XGI CPUUN XGI CPUUN XBC DR60SU XGR XGR CPUH XGR CPUH F XBC DN60SU XGR CPUH T XBC DP60SU XGR CPUH S XGB XBCE XBC DR10E XGR INC XGR INCT XBC DN10E XGR INCF XBC DP10E XGS XGS CPU XGS CPU01A XBC DR14E XGB XGB DR16C3 XGB DR16C3 XBC DN14E XGB DR32HL XGB DR32HL XBC DP14E XGB XBMS XBM DR16S XBC DR20E XBM DN16S XBC DN20E XBM DN32S XBC DP20E XGB XBCH XBC...

Page 97: ...40SU XEC DN60SU XEC DR20SU XEC DR30SU XEC DR40SU XEC DR60SU XGB XECE XEC DN10E XEC DN14E XEC DN20E XEC DN30E XEC DP10E XEC DP14E XEC DP20E XEC DP30E XEC DR10E XEC DR14E XEC DR20E XEC DR30E XGB XECU XEC DN32U XEC DN32UP XEC DN32UA XEC DR28A XEC DR28UP XEC DR28UA XGB XEMH2 XEM DN32H2 XGB XEMHP XEM DN32HP XMC XMC E32A XMC E32A XMC E32C XMC E32C ...

Page 98: ...omment will appear on the comment which will help the user to select the project If project file selected Click Open 3 2 3 Open from PLC It is used to read the project stored in PLC to make a new project If the project is already open in XG5000 this project will be closed to create a new project Steps 1 Select Project Open from PLC on the menu ...

Page 99: ...tails 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 3 2 4 Save Project It is used to save the changed project Steps 1 Select Project Save Project on the menu ...

Page 100: ...played 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 Select Project Save As on the menu 2 Input a new project file name and select a folder where project file will be saved and click OK button Dialog Box a b c ...

Page 101: ...ory 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 c Find used to specify the project file location after searching for the existing folders 3 2 6 Opening unread project Procedures 1 Open the integrated project from the PLC 2 Select the PLC items of offline state to be read 3 Select the menu Online ...

Page 102: ... must be matched with the connected PLC model In the event the information of the selected PLC items is not matched you can reconfigure the PLC in the following manner 1 Delete the unread PLC items 2 Add the same type of projects 3 Connect to the PLC and read by using the menu Online Connection Setting function 4 Press Apply button in IO parameter to configure the basic network ...

Page 103: ...ect is as follows I O Parameter High speed link parameter Inside the program NOP instruction I O Parameter is excluded from conversion since it has different PLC unit and different I O type HS link parameter is excluded from conversion since the process of the HS link in XGT is different from that of Master K series PLC And HS link related instruction is also excluded from conversion of project St...

Page 104: ...put Project name PLC type etc and then click OK Then XG5000 will convert KGLWIN file into XG5000 project If any error occurs while the file is converted it will be displayed on the result window Refer to the next chapter for details on errors 3 3 2 KGLWIN Project conversion rules ...

Page 105: ...n when the project converted carefully check if _ is included KGLWIN or XG5000 uses the Flag Variable respectively Flags F device area are somewhat different between KGLWIN and XG5000 Accordingly the variable name applicable to the flag will not convert but follow the XG5000 variable name XG5000 regards BIT WORD type of T C device area as a variable If the variables of both BIT and WORD type are r...

Page 106: ...lows Instructions with changed LD display Instruction CTUD MK series XGK series The display format of CTUD has been changed among counter instructions In front of UP DOWN counter instruction CTUD always ON flag F99 must be located Three output coils must be created with M area s remnant addresses which will be used Up Down trigger and counter reset signals respectively Information on M area memory...

Page 107: ...D NOT instructions are displayed in P N respectively and SET RESET instructions in S R respectively with the identical operation The changed details of the instructions above are displayed on the XG5000 s output window as Changed Information Instruction Name Changed Instructions D ROR P D ROL P D RCL P D RCR P MK series XGK series The number of operands of the instructions above has been changed t...

Page 108: ...s XGK series While a figure is used for the label for JMP JME instruction in KGLWIN XG5000 uses the String for label To specify this XG5000 converts KGLWIN factor of figure to String with LABEL_ attached in front for the figure The result window messages of the instructions converted are as follows JME Displayed as Label in XG5000 Since the instruction name is LABEL internally Changed Information ...

Page 109: ...ed Information Error displayed on the result window of SG5000 The Changed Information of the instructions above displays on the result window Error Error Information is included in KGLWIN File Bit Instructions BSET BLD BRST BLDN BAND BANDN BOR BORN BOUT MK series XGK series The instructions above are classified into application instruction with two operands in KGLWIN but bit instruction in XG5000 ...

Page 110: ...eger The message Changed Information Instruction Name Changed will be displayed on the result window Instructions with the name changed MK series XGK series DD ADDU ADDP ADDUP DADD DADDU DADDP DADDUP DDEC DDECU DDECP DDECUP DDIVS DDIV DDIVSP DDIVP DDIV DDIVU DDIVP DDIVUP DEC DECU DECP DECUP DI n DIN DINC DINCU DINCP DINCUP DIVS DIV DIVSP DIVP DIV DIVU DIVP DIVUP DMULS DMUL DMULSP DMULP DMUL DMULU ...

Page 111: ... listed in the table below will be deleted when KGLWIN project is converted to XG5000 project The message Error Instruction Deleted will be displayed on the result window of XG5000 Instructions unavailable in XGK series ECON CONN DFILR DFILRP DFILW DFILWP DRCV DSND FILR FILRP FILW FILWP HSCNT HSCST MEND MODBUS MODCOM PID8 PID8AT PLSOUT POSCTR POSDST POSIST POSJOG ...

Page 112: ...MK series and XGT series have been changed partially Accordingly the changed flags will be automatically converted to the flags identically operated Refer to CPU manual for details on the changed flags Notes It is necessary to confirm the flag used in the program The message Changed Information Flag Purpose Changed will be displayed on the result window if there is more than one changed flag in th...

Page 113: ...ge leaves its log of the String file extension txt name identical to the newly created project At this moment the following messages will be displayed Messages Description Instruction Name Changed The instruction name is changed even with the identical function Flag address changed The flag name is changed even with the identical function Instruction Properties Changed Operand to String The operan...

Page 114: ...ge Select Find Replace Go To Step on the menu to confirm the details Notes After the Project conversion surely confirm or change the following items If application instruction is on ERR in XG5000 If any error occurs on KGLWIN LD program If the flag is used Converted details of the basic parameter If any error occurs on KGLWIN project file or the file is incomplete surely correct it so to download ...

Page 115: ...ject Item PLC Task Program 3 4 1 Add item PLC Task Program PLC task and program can be inserted into the project additionally 1 Add PLC Steps 1 On the project window select the Project Item 2 Select Project Add Item PLC on the menu ...

Page 116: ... a shown below Notes PLC is kind of a project as in previous KGLWIN XG5000 allows the user to specify the project as a unit of PLC and include several projects PLC in one project to manage conveniently 2 Add Task Notes Refer to XGK CPU manual for more information on the operation and the details of the task ...

Page 117: ...Chapter 3 Project 3 26 Steps 1 On the project window select the PLC Item 2 Select Project Add Item Task on the menu ...

Page 118: ...Chapter 3 Project 3 27 Dialog Box a b c d f e h g ...

Page 119: ...an Program which belong to other task will not be executed Fixed Cycle The task will be executed at an interval of specified time The time shall be input in ms unit External contact point The task will be executed if specified external contact point is ON Applicable external device shall be input Example P00016 Internal device The task will be executed based on the status of internal device The se...

Page 120: ... name Priority Task Number and Execution Condition and then click OK to create a new Task as shown below 3 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 ...

Page 121: ...Chapter 3 Project 3 30 2 Select Project Add Item Program on the menu 3 Input Program name and Program Description and then click OK ...

Page 122: ...ct 3 31 4 Add Function Function can be added only if XGK series support auto allocation Steps 1 Select the position of the function blocks to be added in the project window 2 Select the menu Project Add Items Function ...

Page 123: ...of EN ENO return data type the number of width columns comment then press OK button 5 Add Function Block Function block can be added only if XGK series support auto allocation Steps 1 Select the position of the function blocks to be added in the project window ...

Page 124: ...Chapter 3 Project 3 33 2 Select the menu Project Add Items Function Block 3 After inputting name language use of EN ENO return data type the number of width columns comment then press OK button ...

Page 125: ...prg Import function is inserting project items such as PLC program and parameters from saved item files When import function for an item is executed the item of currently opened project will be replaced by imported item file Notes Since Variable Comment Basic Parameters and I O Parameters are overwritten on the existing items the content of the existing item will be erased 1 PLC Steps 1 On the pro...

Page 126: ...rom File PLC on the menu 3 Select the file and then click OK 2 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 3 I O Parameter Steps ...

Page 127: ... Select Project Import Item from File I O Parameter on the menu 3 Select the file and then click OK 4 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 ...

Page 128: ... added to Scan Program or Task Item 2 Select Project Import Item from File Program on the menu 3 Select the file and then click OK 3 4 3 Export to file The following items can be saved as separate item files 1 PLC Steps Item File Extension PLC cfg Variable Comment cmt I O Parameter iop Basic Parameter bsp Program prg ...

Page 129: ...Project Export to File Variable Comment on the menu 3 Input the file name and then click OK 3 I O Parameters Steps 1 On the project window select the I O Parameter Item 2 Select Project Export to File I O Parameter on the menu 3 Input the file name and then click OK 4 Basic Parameters Steps 1 On the project window select the Basic Parameter Item 2 Select Project Export to File Basic Parameter on t...

Page 130: ...hen 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 4 4 Item register information The name and comment of respective item can be viewed to change 1 Project properties Steps 1 On the project window select the Project Item ...

Page 131: ...ry 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 3 After the change click OK 2 PLC Properties Steps 1 On the project window select the PLC Item 2 Select View Properties on the menu 3 After the change click OK a b c ...

Page 132: ...change the order of execution 2 Click the right mouse button to select Upward Program or Downward Program on the menu 2 Order Change with Drag and Drop Steps 1 Move the cursor onto the program to change the order of execution 2 Click the left mouse button to drag to the location desired 3 Drop on the desired location 3 4 6 Data memory The data memory added to the project can be used for the follow...

Page 133: ...help of the selected PLC for the type and characteristics of the PLC memory 1 Adding memory The ability to add items to memory while offline There is no data area limitation for adding memory However some areas can not be written Steps 1 Select the PLC item in the XG5000 project tree 2 Press the right mouse button to select the menu Add item Data memory Dialog Box ...

Page 134: ...item Memory areas already added to the project are not displayed b OK Adds the selected memory area and closes the dialog box c Cancel closes the dialog box 2 Deletion of memory Deletes the memory area added to the project Steps 1 Select the memory item to delete 2 Select menu Delete item a b c ...

Page 135: ...mory editing function is the same as the device monitoring function of the XG5000 For the edit function refer to 11 5 Device monitor item 4 Offline Monitoring Offline monitoring is a function to monitor program or variable value using data memory without being connected with PLC Off line monitoring uses the registered data memory to display the value If the data memory is not added to the project ...

Page 136: ... is monitored However unlike actual PLC logic is not executed 5 Reading memory This function reads the PLC data memory When reading all data memory areas of the PLC can be read Steps 1 Select menu Online Read item 2 In the Read dialog box select the Data memory item and then click the Settting button ...

Page 137: ... the current PLC b Select All Selects all memory items c Reset All cancels the selection d OK Save your changes and close the dialog box e Cancel closes the dialog box 3 Select the memory area to read and press the OK button 4 Select the Data memory area and click the OK button a b c d e ...

Page 138: ...ted data memory is not stored in the PLC Therefore when opening from the PLC the data memory area that was previously written is not read When opening from PLC select item to read from XG5000 menu Tools Option Read from PLC Steps a Select Tools Options on the menu b Select the Online item in the dialog box c Select the Show selection dialog when executing Open from PLC item and click the OK button...

Page 139: ...e The data memory set in the project is written to the PLC The data memory is writable regardless of the run or stop mode Steps a Select the menu Online Write b In the Write dialog box select Data memory and then click the Setting button ...

Page 140: ...t All Selects all memory items c Reset All cancels the selection d OK Save your changes and close the dialog box e Cancel closes the dialog box Note Memory area write is applicable only memory that can set retain XGK latch If the selected memory is not set to retain XGK latch it is reset to 0 when entering PLC RUN a b c d e ...

Page 141: ...cts 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 Select the project files to compare with ...

Page 142: ...Chapter 3 Project 3 51 4 Select the items to compare with At this moment the selected items of both projects must be identical ...

Page 143: ...Chapter 3 Project 3 52 5 Click Compare 6 Compare result will be displayed on the Result window ...

Page 144: ... 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 Be careful If the password is forgotten the Project File can not be opened 3 6 1 Set password Steps 1 On the project window select the Project Items ...

Page 145: ...Properties on the menu 3 On the project dialog box select the Password tap 4 Input the password in New password 5 Input the password once again in Confirm password as identical as input in the 4 above 6 Click OK 3 6 2 Change password Steps ...

Page 146: ...Chapter 3 Project 3 55 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 ...

Page 147: ... 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 On the project window select the Project Item ...

Page 148: ...Chapter 3 Project 3 57 2 Select View Properties on the menu 3 On the project dialog box select the Password tap 4 Input the previous password in Old Password 5 Click Cancel ...

Page 149: ...ct status Password characters are Korean English and case sensitive Up to 8 characters can be used Special characters blank spaces are available After setting password connect to PLC and write program to PLC If you forget your password you will not be able to open the project file 3 7 1 Set password Steps 1 Select the program item in the project window 2 Select View Properties on the menu 3 In the...

Page 150: ...t 3 59 4 Enter your password in the new password 5 Re enter the password you entered in step 4 to confirm your password 6 Press the OK button 3 7 2 Change password Steps 1 Select the program item in the project window ...

Page 151: ...Chapter 3 Project 3 60 2 Select View Properties on the menu 3 In the program dialog select the Password tab ...

Page 152: ...new password in the New Password 6 Re enter the password you entered in step 5 to confirm your password 7 Press the OK button 3 7 3 Delete password Steps 1 Select the program item in the project window 2 Select View Properties on the menu 3 In the program dialog select the Password tab ...

Page 153: ...Chapter 3 Project 3 62 4 Enter the old password in the Previous Password 5 Click the Delete button ...

Page 154: ...Chapter 3 Project 3 63 ...

Page 155: ...ject network It is available for the integrated project only 3 8 1 Network configuration Steps 1 In the project window select Network Configuration and then select Add Item Network 2 In the screen to add networks enter the Name and select Network Type ...

Page 156: ...Chapter 3 Project 3 65 3 Specify the communication module in the I O parameters ...

Page 157: ...u click Apply button the set communication module will be added under Network configuration Basic Network of the project 5 Select Network Configuration Network Name in the project window and then select Add Item Communication Module ...

Page 158: ...d PLC d Delete module Deletes the communication module selected from the communication module list e OK Adds the communication module selected from the communication module list to the current network and closes the dialog box f Cancel Closes the dialog box without adding the communication module to the current network 6 If you select the communication module and press OK button you can see the fo...

Page 159: ...Chapter 3 Project 3 68 7 Double click the communication module in the project window and enter the basic setup items ...

Page 160: ... 69 3 8 2 Deletion of Network Steps 1 Select the network to be deleted 2 Click on the right mouse button and select the items to be deleted 3 If you want to delete the subcategory of the selected network press Yes button ...

Page 161: ... the sub network when deleting the selected network it will be changed into the basic one 3 8 3 Deletion of Communication Module Steps 1 Select the communication module to be deleted 2 Click on the right mouse button and select the items to be deleted ...

Page 162: ... link data you can see the details in high speed link P2P view In the event the communication module is deleted in the project tree the module names will be displayed as network names in high speed link P2P view In the event the communication module is added again in the network configuration and the relevant module type is matched the model name will be displayed instead of network name 3 8 4 Set...

Page 163: ...the communication module to set up P2P Notes In the event you doubly add other communication module P2Ps to the P2P number allocated to the existing communication module the existing communication module information will be deleted and the P2P items of the newly declared communication module will be allocated ...

Page 164: ...tion of P2P 1 Select the P2P item in the project window and press Delete button 2 In the dialog box to confirm deletion of P2P press OK button 3 Edition of P2P 1 Select the P2P items in the project window and then select Properties ...

Page 165: ...Chapter 3 Project 3 74 2 Select the index to be changed in the P2P selection dialog box 3 In the P2P selection dialog box press OK button ...

Page 166: ...d link 1 Adding high speed link 1 Select the communication module XGL EFMT in the project window and then select Add items High speed Link Communication 2 After numbering click OK button and the high speed link HSLink 01 items will be added as below ...

Page 167: ...e event you doubly add other communication modules high speed links to the high speed link number allocated to the existing communication module the existing communication module information will be deleted and the high speed link items of the newly declared communication module will be allocated ...

Page 168: ...ect the high speed link items in the project window and then select Delete 2 Press OK button in the dialog box to confirm deletion of the high speed link 3 Edition of High speed link 1 Select the high speed link in the project window and then select Properties ...

Page 169: ...Chapter 3 Project 3 78 2 Select the index to be changed in the dialog box to set up the high speed link communication module ...

Page 170: ...Chapter 3 Project 3 79 3 Press OK button in the dialog box to set up the high speed link communication module ...

Page 171: ...Chapter 3 Project 3 80 ...

Page 172: ...ariable comment can be used in all the programs 4 1 Variable Comment Variable Comment is composed of View Variable View Device and View Flag View Variable is used to declare the variable to be used in the program or to display the whole list of the declared variables based on the variables View Device is used to declare the variable to be used in the program or to display the whole list of the dec...

Page 173: ...nged Dialog Box Description of Dialog Box a Device used to display the list of the variables comments from the device input b Type used to display the list of the variables comments with the device type selected Note A portion of F L and K device is Read Only device The color of the background will be displayed in gray and the cell can not be edited a b ...

Page 174: ...Chapter 4 Variable Comment 4 3 4 1 3 View flag Dialog Box Description of Dialog Box a b c d ...

Page 175: ...r the system flag all the details only will be displayed on the screen If All is not checked only the flag applicable to Parameter number and Block index will be displayed c Parameter number This will be active only for High speed link P2P and PID flag Only the flag item of the input parameter number will be displayed Example If Parameter Number 1 is input it will be as shown below ...

Page 176: ...s will be active only for HighSpeed link and P2P flag Only the flag item of the input block index will be displayed Example If Block index 120 is input it will be as shown below Notes View Flag can not declared since the flags are Read Only variables ...

Page 177: ...be added to the list of the variables comments to use in the program 4 2 1 Variable Comment register This is used to register the variable comment to use in the program In order to register on the list of variables comments go through View Variable or View Device as well 1 View Variable Register A variable can be added on changed or deleted from the list of variables comments Dialog Box a b c d e ...

Page 178: ...declared the device format will be changed as applicable to the type c Device The declared device can not be duplicated with the identical name When all the lines are empty and a device is input type of the device will be displayed with BIT WORD or BIT WORD according to the device format If the device is changed on the list of variables comments declared the type will be changed to BIT WORD or BIT...

Page 179: ...vailable for the first character A special character is unavailable However _ is available Empty character is unavailable A name identical to the device is unavailable Example P0 PF Hexadecimal format is unavailable Example h23 hf b Comment All the characters are available to input Use Ctrl Enter key to apply the multi line input 4 2 2 Copy Cut Delete Paste Copy Cut Delete and Paste can be execute...

Page 180: ...der of the cell in order to select the whole columns Use the mouse to select the row header of the cell in order to select the whole rows Use the mouse to drag the part of the cell in order to select the area Use Shift Arrow keys on the keyboard in order to select the area 2 Delete It is used to delete the data of the selected area from the list of variables comments Steps 1 Select the area to del...

Page 181: ...elect Edit Paste on the menu 3 If the variable and the device are identical on the list of variables comments the dialog box will be called Dialog Box Comment of Dialog Box a Number used to display the duplicated number of the variables and devices to paste b Replace used to apply Paste c Gray Line used to display the existing list of variables comments which will not be edited d White Line used t...

Page 182: ...iables comments will not be applied accordingly g Select All used to check all the check boxes in the Replace column h Reset used to cancel all the selected check boxes in the Replace column If the data saved in the clipboard is of the partial columns Steps 1 Select the position to paste on 2 Select Edit Paste on the menu 3 If the variable and the device are identical on the list of variables comm...

Page 183: ...ll the selected check boxes in the Replace column Notes If all items are identical the cell can not be edited while if partially identical the cell can be edited If the number of the columns saved in the clipboard is greater than the number of the columns to paste it is not possible to paste If the data saved in the clipboard is greater than the number of the lines to paste it is not possible to p...

Page 184: ...insert the lines into 2 Select Edit Insert Line on the menu Notes If no cell is selected one cell will be added to the last line If Enter key or Tab key is selected at the last of the lines a new line will be created It is available only in View Variable ...

Page 185: ...s 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 It is available only in View Variable ...

Page 186: ...red as duplicated the Automatic Fill shall be always executed The case with figures will be found to increase the figures automatically If there is no figures in the variable 1 is added at the end of firstly copied variable and the number will be increased automatically b Type The cell will be filled with the value in copied type If the device and the type are not identical the device will change ...

Page 187: ...change to conform to the device d Comment If Automatic Fill is executed with Ctrl key being pressed the figures area will automatically increase and if with Ctrl key not pressed it will be copied Notes If Automatic Fill is executed with an empty cell it will be deleted Automatic Fill is available for many cells It is available only in View Variable and View Device ...

Page 188: ...py 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 With the left mouse button being pressed drag and drop the selected items onto a position to paste on ...

Page 189: ...ate 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 Undo Redo is available for All Change 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 View Variable 9 Undo Redo is...

Page 190: ...iable Comment 4 19 4 2 8 Export to file It is used to save the previously declared list of variables Comments on the file and to open and read in the external programs Steps 1 Select Edit Export to File on the menu ...

Page 191: ...ister 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 Select Edit Register Module Variable Comments on the menu ...

Page 192: ...Chapter 4 Variable Comment 4 21 ...

Page 193: ... presently specified I O parameter 4 2 10 Automatic registration of network variables It is the function to add the variables allocated from the XG CANOpen tool to XG5000 1 How to create network variables 1 Register the CANOpen module in the project window and press Apply button 2 Then the CANOpen module items will be created in the project window ...

Page 194: ...Chapter 4 Variable Comment 4 23 3 Click the CANOpen module items to execute the XG CANopen tool ...

Page 195: ...Click the master items to select the registration information 5 After setting up the device for diagnosis variable items in the PLC area press Apply button 6 The allocated variable list will be displayed in the diagnosis variable table ...

Page 196: ... Edit Automatic Registration of Network Variables 2 Then the message Do you want to add the variable allocated from XG CANopen to XG5000 will be displayed 3 Select Yes button 4 Select Variable Comment in the project window Then the network variables will be automatically registered and displayed ...

Page 197: ...Chapter 4 Variable Comment 4 26 ...

Page 198: ...iable Comment 4 27 4 2 11 Preview This function is used to previously show the screen which will be printed Steps 1 The window to previously show shall be displayed on the screen 2 Select Project Preview on the menu ...

Page 199: ... the window previously displayed on the screen can be adjusted In View Device all the areas of the specified type will be displayed on the Previous View screen In View Variable incomplete variables displayed on the present screen will be also displayed on the Preview screen ...

Page 200: ...nding sequence and in the ascending sequence Presently aligned positions are displayed with the arrow direction Notes It is available only in View Variable and View Flag If the View mode changes to View Variable types and devices will be aligned to display 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 ...

Page 201: ...up position selected Shift Page Down From the cell to the page down position selected Shift Tab Shift Enter Used to move to the next cell right left bottom top and to move to the last cell in the first cell Tab Enter Used to move to the next cell left right top bottom A new line will be created in the last call Ctrl Enter Multi line will be input in the comment column 4 2 14 EtherNet IP tag Export...

Page 202: ...Chapter 4 Variable Comment 4 31 3 You can see the variable is added to the window to set up EtherNet IP variable 4 Click Save button in the window to set up EtherNet IP variable ...

Page 203: ...Chapter 4 Variable Comment 4 32 5 Save the EtherNet IP variable as CSV file ...

Page 204: ...am 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 Flag and Variable Comments can be saved 4 3 1 Saving variable comment Steps 1 Select item to be saved in project window ...

Page 205: ...Chapter 4 Variable Comment 4 34 2 Select Project Save Variable Names to File Dialog box a b d e c ...

Page 206: ...path where CSV file is saved d Save if you click on this button the following dialog box shows Set the file path and file name Default file name is PLC name and you can change it If you press SAVE CSV file is created and saved If you press Cancel CSV file is not created and the window is closed e Cancel CSV file is not created and the window is closed 4 3 2 CSV file structure Remark Title CSV File...

Page 207: ...ment Button 6 P00005 BIT Lamp 6 Description of file structure 1 Remark shows information shows data for reference Title displays file format Date displays file created date Version displays file version PLC Name displays Configuration name CPU Type displays CPU type 2 Type displays data type Scope displays scope which tag is belonged to Variable displays variable name Address displays device of va...

Page 208: ...d device of PLC program in XG PD specifies as shown below Steps 1 Saves CSV file at XG5000 to be used in XG PD CPU type of XG5000 and XG PD should be same 2 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 ...

Page 209: ...Chapter 4 Variable Comment 4 38 3 Click File Open and select file created by step 1 Then click on Open ...

Page 210: ...4 Variable Comment 4 39 4 If you select item in data item the variable list shows Select variable in variable list and click OK 5 In High Speed Link window Read area variable variable comment is shown as below ...

Page 211: ...eady declared variable list In Device Comment you can declare comment of device and edit comment and see already declared comment In Local Variable you can declare variable used in one program and see already declared local variable You can register global variable as External variable to be used in relevant program 4 4 1 Global variable Declares variable and shows entire list of global variable ...

Page 212: ...comment list according to type WORD only BIT WORD are available For S device only BIT type is available For Z ZR N device only WORD type is available For T C device only BIT WORD type is available For other devices BIT WORD type is available c Show defined comments displays defined comments Note Device is different according to CPU type Background of read only device is gray and shell can t be edi...

Page 213: ...gistering Global Variable Registers global variable to be used in program You can register global variable in Global Variable tap 1 Registering in Global Variable You can add modify and delete global variable in Global Variable tap Dialog box ...

Page 214: ...ce is not allocated automatically Device AUTO When device is allocated automatically Example D0000 0 AUTO e Latch For automatic variable sets non latch latch1 latch2 When allocating device latch column is not activated You can edit latch area at device area setting window of basic parameter f Used displays whether it is used or not in program g Comment all kind of characters are allowed Use Ctrl E...

Page 215: ...0 automatic variable AA is allocated to D0 if you use D0 in program it changed variable AA automatically In case of changing area in device auto allocation area and latch area of basic parameter part duplicated with previous area is kept and not duplicated part is changed into new area In case area is not included sets N A Auto Program and variable window execute update EX 1 When device auto alloc...

Page 216: ...4 4 Registering Local Variable Registers local variable to be used in program You can register local variable in Local Variable tap 1 Registering at local variable You can add modify or delete variable at local variable list Dialog box ...

Page 217: ...lly Device AUTO When device is allocated automatically Example D0000 0 AUTO e Latch For automatic variable sets non latch latch1 latch2 When allocating device latch column is not activated You can edit latch area at device area setting window of basic parameter f Used displays whether it is used or not in program g Comment all kind of characters are allowed Use Ctrl Enter for multi line input h Ef...

Page 218: ...Chapter 4 Variable Comment 4 47 Dialog box ...

Page 219: ...Chapter 4 Variable Comment 4 48 ...

Page 220: ... high speed link and P2P windows e PLC Name PLC Type Displays the configuration name and CPU to which the high speed link and P2P windows belong f Range Displays the range of the declared variable GLOBAL Variables declared by the device or variables registered to Variable View tab of Variable Comment FLAG Declared by the flag variable or device sub items will be displayed depending on the flag typ...

Page 221: ...Chapter 4 Variable Comment 4 50 ...

Page 222: ...py lines available to copy at a time Up to 300 Maximum Paste lines Maximum Paste lines to paste at a time Up to 300 5 2 Program Edit 5 2 1 Edit Tools The input of LD Edit items shall be started after the input symbols are selected from the LD tool box and the mouse clicked on the specified position or with applicable Shortcut Key pressed Symbol Shortcut Key Description Esc Changes to selection mod...

Page 223: ...0 Shortcut Key Description Home Moves to the start of the column Ctrl Home Moves to the start of the program Back space Deletes the present data and moves to the left Moves the present cursor to the right by a blank Moves the present cursor to the left by a blank Moves the present cursor upward by a blank Moves the present cursor downward by a blank End Moves to the end of the column Ctrl End Move...

Page 224: ...on detection contact Steps 1 Move the cursor to the location to input the contact point on 2 On the tool box select the type of the contact to input and then click the edit area Or click the Shortcut Key applicable to the contact to input 3 After the device name is input on the Variable Input Dialog Box click OK Refer to 5 2 3 Variable Device Input for details on the Variable Input Dialog Box ...

Page 225: ...instruction used previous edit Example If a normally open contact is input and entered in the previous edit the normally open contact input dialog box will be displayed when enter key is pressed 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 contac...

Page 226: ... corresponding to OR contact point 3 Input device name at dialog box for variable input For detail on dialog box for variable input refer to 5 2 4 Note In duplicated mode in case contact point is in cursor OR connection does not operate In there is application instruction etc vertical line is not inserted ...

Page 227: ...Chapter 5 LD Edit 5 6 5 2 4 Input Variable Device It is used to input the Device or Variable Comment Dialog Box Description of Dialog Box a b c d e f g h i j k l m ...

Page 228: ...e types of the flags System High speed Link P2P PID Flags are available to select f All used to decide to display all the flags selected on the item or the flags only applicable to the input parameter number block index g Parameter number used to input the setting number for each selected flag item 0 12 is available for HS link 0 8 for P2P and 0 63 for PID h Block Index used to input the block num...

Page 229: ... two characters are F and A and converts the variable automatically It is unable to cancel or redo for edited Variable Comment 5 2 5 Input Line The horizontal line shall be input 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 Select the Shortcut Key of Horizon...

Page 230: ... 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 Steps 1 Move the cursor to the location to input the coil on 2 On the tool box select the type of the coil to input and then click the edit area Or click the Shortcut Key applicable to the coil to in...

Page 231: ...output to output module according to status of last coil 5 2 7 Input Application Instruction It is used to input the application instruction for calculation Steps 1 Move the cursor to the location to input the application instruction on 2 On the tool box select the application instruction to input and then click the edit area Or click the Shortcut Key applicable to the application instruction inpu...

Page 232: ...be displayed on the instructions list c Variable Ins used to display the classification of the input application instructions the application method and the available area for each operand d Instruction the list of the instructions which belong to the specified classification will be displayed If All is selected all the instructions will be displayed e Usage used to display the Variable Device Inp...

Page 233: ...ng steps lead you to edit application instructions easily Input application instruction Variable Device input dialog box will be displayed when Enter key is pressed Input the device on the Variable Device input dialog box The Variable Device name will be displayed when input is finished If the input operand is not the last operand for the instruction the cursor will move to the position to input n...

Page 234: ...able only if it is created through Device Auto allocation project Steps 1 Move your cursor to the position to input the command applying extended functions 2 Select the command applying extended functions and click the edition area Otherwise press the short key to input the command applying extended functions ...

Page 235: ...gnated function s information e Function list Displays the list of the extended functions f Max No of input Fixes the maximum input of the functions g No of input Determines the number of inputs for the functions h OK Applies the input details and close the dialog box i Cancel Closes the dialog box After inputting the applied command in the dialog box to input the applied command press OK button a...

Page 236: ...layed on the start position of Rung is called Rung Comment and the comment for the output factor is called Output Comment 1 Rung Comment Steps 1 Move the cursor to the location to input the rung comment on 2 Select Edit Comment Label Input Dialog Box Input the Comment and Label Comment of Dialog Box a b c d ...

Page 237: ...l closes the Dialog Box 3 If the Rung Comment Dialog Box is displayed input the comment and click OK Dialog Box Input or edit the Rung Comment or the Output Comment 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 a b c ...

Page 238: ...omment Dialog Box and then click OK Notes The output comment will be available to input only when the output factor exists 5 2 10 Input Label This is used to input the label to refer to from the application instruction of JMP Steps 1 Move the cursor to the location to input the label on 2 Select Edit Comment Label Input 3 On the Dialog Box select Label and then press Enter or click OK ...

Page 239: ...e label presently used in the same scan program Notes Up to 16 characters in English is available for the label Capital Small letters are sorted out for the label The first letter of the label can not be a figure or a special character Label Input rules shall conform to the Variable Comment Input rules Refer to 4 2 1 in Chapter 4 Variable Comment for details on the Variable Comment Input rules a b...

Page 240: ...it 5 19 5 2 11 Insert Cell It is used to insert a new cell in the present cursor position Steps 1 Move the cursor to the location to insert the cell in 2 Select Edit Cell Insert Notes Cell Insert operates in rung unit ...

Page 241: ... 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 If an area is selected for Line Insert new lines as many as the lines in the selected area will be inserted ...

Page 242: ...output comment and label Steps 1 Move the cursor to the location to delete the factor from 2 Select Edit Delete 5 2 14 Delete Cell It is used to delete the factors such as the input contact point and horizontal line to draw in the next cell Steps 1 Move the cursor to the location to delete the cell from 2 Select Edit Delete Cell ...

Page 243: ...mong the factors connected with OR any other factor than the horizontal line is included in the present cursor position Delete Cell is unavailable 5 2 15 Delete Line It is used to delete all the lines in the selected area Steps 1 Move the cursor onto the line to delete ...

Page 244: ... in the selected area or cut the data to copy on the specified position Differently from Copy Cut is used to delete the data in the presently selected area 1 Copy Steps 1 Select the area to copy 2 Select Edit Copy on the menu 3 Move the cursor to the area to paste on 4 Select Edit Paste on the menu ...

Page 245: ...Chapter 5 LD Edit 5 24 2 Cut Steps 1 Select the area to cut 2 Select Edit Cut on the menu 3 Move the cursor to the area to paste on ...

Page 246: ...art of Drag Drop Select items or area to drag and move the cursor to the selected area The shape of cursor will be changed when the mouse cursor is moved to selected item or area The change of mouse cursor shape means that drag drop is ready When Move Data When Copy Data When Move or Copy Data is impossible 2 Move Data It is used to move data included in selected area The original data will be del...

Page 247: ...tton after moving the cursor to the area where the data is moved to 3 Copy Data It is used to copy data included in the selected area Different from moving data the original data will be remained To copy data Ctrl key must be pressed while drag drop function is executed The steps to copy data are as follows Steps 1 Select the items or area where the data to be copied is located ...

Page 248: ...ent from Variable Comment window to instructions This function is available for contacts coils and application instructions but it is not available if data types of operand and copied data are mismatch The steps to paste variable comment with drag drop function are as follows Steps 1 Select an item to be copied in the Variable Comment window and move the mouse cursor to the boundary of the cell an...

Page 249: ...dow It is possible to copy the device information from trend monitor window 5 2 18 Undo and Redo It is used to Undo the details edited by Program Edit back to its previous state or execute again the details cancelled 1 Undo example of Delete Sequence 1 Move the cursor onto the position to delete 2 Select Edit Delete on the menu ...

Page 250: ...ecution is unlimited The shortcut key for Undo is Ctrl Z Redo is Ctrl Y 5 2 19 Change Columns It regulates the number of contacts can be inserted in a line 1 Change Columns Steps 1 Select View Change Columns on the menu 2 Select the number of contacts can be inserted in a line The choices are 9 12 16 20 24 28 32 2 Increase Contact Number Steps 1 Select Increase Contact number on the View tool bar ...

Page 251: ...contacts is 9 32 If the contact number inserted in a line is greater than assigned number mark will be displayed as below The connection to the next line will be displayed with connection number mark and connected line will be displayed with connection number mark Line number may be converted or duplicated when Change Columns function is used ...

Page 252: ...perties In properties you can specify setting about device view variable view comment view Magnification and number of contacts For entire LD screen you can specify same properties Steps 1 Select View LD View Properties 2 Change LD View Properties and press OK Dialog box ...

Page 253: ...options 5 3 1 IL Program View It is used to convert the LD program to the IL program in IL format so to display or edit the IL program as converted Sequence 1 Select the program 2 Select View IL Notes If any incomplete rung exists the LD program can not be converted to IL program ...

Page 254: ... Wheel if available perform Zoom Out step by step Ctrl Downward Wheel if available perform Zoom In step by step On the View Tool selection box the user can select or directly input the magnification Refer to 2 2 Tool Box in Chapter 2 Basic Application for more details 5 3 3 View Device It is used to display only the name of the applicable device for the device used as the operand of the contact po...

Page 255: ...e It is used to display the name of the device variable for the device used as the operand of the contact point coil and application instruction If no variable is declared for the applicable device the device name only will be displayed Sequence 1 Select View Devices Variables Item 5 3 6 View Device Comment It is used to display the device comment for the device used as the operand of the contact ...

Page 256: ...y the variable comment for the device used as the operand of the contact point coil and application instruction Steps 1 Select View Variable Comment Notes If View Options are changed it may take some time according to the number of the edited program steps Print function of the Device Variable Comment is available ...

Page 257: ...unctions will be described below for convenient edit 5 4 1 Optimize Program It is used to delete the horizontal and empty lines between the contact points so to optimize the position where LD diagram will be drawn Sequence 1 Select Edit Optimize Program on the menu ...

Page 258: ...s Optimize Program if once executed can not be back to its previous state through execution cancel It may take some time according to the size of the program In case LD logic is not complete optimization function doesn t operate ...

Page 259: ...struction This is used to specify or cancel the area Block Mask in PLC among the LD programs 1 Block Mask Instruction Setting Sequence 1 Move the cursor to the rung to specify the Block Mask instruction 2 Select Edit Set Block Mask Instruction ...

Page 260: ...k on the menu Notes The program capacity of block masked area is included not in the program capacity but comment capacity The program in the block masked area can be written to PLC and read from PLC just like comment Online edit is impossible for the block masked program To modify the block masked program when PLC is running write comment function is available ...

Page 261: ...ookmark It allows the user easily to move to an interesting area with the bookmark specified on the line 1 Set Bookmark Sequence 1 Move the cursor to the line to specify the bookmark on 2 Select Edit Bookmark Set Remove on the menu ...

Page 262: ...Edit 5 41 2 Bookmark Reset Sequence 1 Move the cursor to the line to cancel the bookmark from 2 Select Edit Bookmark Set Reset on the menu 3 Reset All Bookmark Sequence 1 Select Edit Bookmark Remove All on the menu ...

Page 263: ...Chapter 5 LD Edit 5 42 4 Previous Bookmark Sequence 1 Select Edit Bookmark Previous Bookmark on the menu ...

Page 264: ...mark Next Bookmark on the menu Notes Bookmark will be specified in line unit Move to Previous Bookmark and Move to Next Bookmark function is effective in the same program Bookmark is not an item to edit thus the Set Reset options will not be included in Undo and Redo ...

Page 265: ... To Step Sequence 1 Select Find Replace Go To Step Line Dialog Box Description of Dialog Box a Go to what used to input the step to go to b Program list used to display the list of the present PLC programs c Go to closes the Dialog Box to go to the selected program s step to find d Cancel closes the Dialog Box 2 Input the step to move to on the Dialog Box a b c d ...

Page 266: ...list of the present PLC programs If All Programs is selected the list of all the labels will be displayed b Labels list inside the program used to display the list of the labels used in the selected program c Go To closes the Dialog Box to go to the selected label d Close closes the Dialog Box 2 Select the label to go to on the Dialog Box a b c d ...

Page 267: ...list of the present PLC programs If All Programs is selected the list of all the rung comments will be displayed b Rung comment list used to display the list of the rung comments used in the selected program c Go to closes the Dialog Box to go to the selected rung comment d Close closes the Dialog Box 2 Select the rung comment to go to on the Dialog Box a b c d ...

Page 268: ...the present PLC programs If All Programs is selected the list of all the END instructions will be displayed b END instruction list inside the program used to display the list of the END instructions used in the selected program c Go to closes the Dialog Box to go to the selected END instruction d Close closes the Dialog Box 2 Select the END instruction to go to on the Dialog Box a b d c ...

Page 269: ...Chapter 5 LD Edit 5 48 ...

Page 270: ... 6 1 Chapter 6 IL Edit The programming method of IL language which is based on String will be described in this chapter 6 1 Screen Configuration 6 1 1 IL Window 1 Description of IL Window Dialog Box a b c f g d h i j e ...

Page 271: ...splay the rung comment g Block Mask Instruction used to display the Block Mask instruction specified h Error Rung Display used to display the rung incomplete If the rung complete this will be displayed i Bookmark used to display the bookmark specified j Selected line used to display the presently selected line Notes Color of the selected line background Block Mask instruction or error rung can be ...

Page 272: ...e existing details move to the next line 1 Overlap mode Sequence 1 Select Edit Overwrite Mode on the menu 2 Select the line to change 3 Press Enter key to create the Instruction Input Window on the selected line Input the details to change on the Instruction Input Window 4 After the input press Enter key to change the instruction and operand of the selected line and to create the Instruction Input...

Page 273: ...the instruction and operand in the selected line and move the details of the existing line to the next line then to create the Instruction Input Window Notes On the left bottom of the XG5000 program the present mode is displayed When the last line of the program is edited the operation is always in Insert mode Overwrite Insert mode is available only for Instruction Input 6 2 2 and Application Inst...

Page 274: ... Sequence 1 Select the line to input in 2 Press Enter key to create the Instruction Input Window on the selected line 3 Input the instruction and operand on the Instruction Input Window 4 Press Enter key to input the instruction and operand in the applicable line and to create the Instruction Input Window right on the next line ...

Page 275: ...struction Input Window Whenever the selected line is edited the rung in which the selected line is included will be checked if or not Only the complete rung will be saved in IL In other words any rung in error will not be saved when the program is saved or XG5000 is ended If any rung in error is included conversion to LD will not be allowed 6 2 3 Input Application Instruction This is used to input...

Page 276: ...uction and operand in the applicable line and to create the Instruction Input Window right on the next line Notes In order to input the String constant like MOV as an operand attach small quotation marks to the String as shown below Ex MOV Kanada m1 6 2 4 Input Rung Comment It is used to input the rung comment Sequence 1 Select the line to input in ...

Page 277: ... rung comment 3 Click OK to input the rung comment in the applicable line Notes The rung comment will be positioned always at the first of the rung Even if the rung comment is input in the middle of the lines of the rung it will be automatically positioned at the first line of the rung ...

Page 278: ... to change the instruction and operand prepared previously Sequence 1 Select the line to change 2 Press Enter key to create the Instruction Input Window on the selected line The existing instruction and operand will be displayed on the Instruction Input Window ...

Page 279: ...tion Input Window 4 Press Enter key to input the instruction and operand in the applicable line and to create the Instruction Input Window right on the next line 6 2 6 Insert Line It is used to insert an empty line in the selected line Sequence 1 Select the line to insert in ...

Page 280: ...6 IL Edit 6 11 2 Select Edit Insert Line 6 2 7 Delete Line This function is used to delete the instruction and operand previously input Sequence 1 Select the line to delete 2 Select Edit Delete Line on the menu ...

Page 281: ...ment or Block Mask instruction The remaining line of the Block Mask instruction after its partial line is deleted will be decided to exist or not based on the start line Block Mask or executable of the rung it belong to After the line is deleted 6 2 8 Paste Copy Cut These functions are used to select one or more lines to copy cut and paste on a desired position Cut is used to delete the presently ...

Page 282: ...Chapter 6 IL Edit 6 13 1 Cut Sequence 1 Select the lines to cut 2 Select Edit Cut on the menu 2 Copy Sequence 1 Select the lines to copy 2 Select Edit Copy on the menu 3 Paste Sequence ...

Page 283: ...sed to cancel the details edited previously or execute again the details cancelled 1 Undo 1 Select Edit Undo on the menu 2 Redo 1 Select Edit Redo on the menu Notes Undo Redo is available for Instruction Input Comment Input Delete Change Cut Paste Device Change String Change and Block Mask Instruction Set Reset ...

Page 284: ... Select View Zoom in on the menu 2 Zoom Out Sequence 1 Select View Zoom Out on the menu Notes Ctrl Downward wheel scroll if available performs Zoom In step by step and Ctrl Upward wheel scroll performs Zoom Out step by step On the View Tool selection box the user can select or directly input the magnification Refer to 2 2 Tool Box in Chapter 2 Basic Application for more details 6 3 2 View Device T...

Page 285: ...ared as the variable and the device if not declared as the variable in the IL editor Sequence Select View Variables on the menu 6 3 4 View Device Variable This function is used to display both the device and the declared variable of the operand in the IL editor Sequence Select View Devices Variables on the menu ...

Page 286: ...Chapter 6 IL Edit 6 17 6 3 5 View Device Comment This function is used to display both the device and the device comment of the operand in the IL editor Sequence Select View Devices Comments on the menu ...

Page 287: ...pecify or cancel the line which dose not need to be executed in PLC If it may be necessary later even though not right now let it specified as the Block Mask instruction for the sake of convenience 1 Block Mask Instruction Setting Sequence 1 Select the line rung to specify the Block Mask instruction ...

Page 288: ...Chapter 6 IL Edit 6 19 2 Select Edit Set Block Mask Instruction on the menu 2 Remove Block Mask Instruction Sequence 1 Select the line to cancel the Block Mask instruction ...

Page 289: ...ted line will be set or cancelled 6 4 2 Bookmark This function is identical to the Book Leaf function If a bookmark is specified in a specific line fast and easy movement will be available from other line to the location with the bookmark specified 1 Bookmark Set Reset Sequence 1 Select the line to specify Reset the bookmark 2 Select Edit Bookmark Set Reset on the menu ...

Page 290: ...kmark Sequence This function is used to go to the bookmark line specified in front of the present line based on the presently selected line 1 Select Edit Bookmark Previous Bookmark on the menu Next Bookmark Sequence This function is used to go to the bookmark line specified at the back of the present line based on the presently selected line 1 Select Edit Bookmark Next Bookmark on the menu ...

Page 291: ... To This function is used to go to the applicable location of step label or rung comment designated 6 5 1 Go To Step This function is used to go to the specific step designated Sequence 1 Select Find Replace Go To Step on the menu ...

Page 292: ...Chapter 6 IL Edit 6 23 2 Select the program where the step to find is included and then input the step to go to in Go to what 3 Click Go To ...

Page 293: ... IL Edit 6 24 6 5 2 Go To Label This function is used to go to the label prepared previously Sequence 1 Select Find Replace Go To Label 2 Select the program and then select the label to go to on the labels list ...

Page 294: ...Chapter 6 IL Edit 6 25 3 Click Go To 6 5 3 Go To Rung Comment This function is used to go to the rung comment Sequence 1 Select Find Replace Go To Rung Comment on the menu ...

Page 295: ...Chapter 6 IL Edit 6 26 2 Select the program and then select the rung comment to go to on the comments list 3 Click Go To ...

Page 296: ...o To END Instruction This function is used to go to the END instruction Sequence 1 Select Find Replace Go To END Instruction on the menu 2 Select the program and then select the END instruction to go to on the END instructions list ...

Page 297: ...Chapter 6 IL Edit 6 28 3 Click Go To ...

Page 298: ...sitive conversion detection coil and negative conversion detection coil and all the devices used as the operand of application instructions 7 1 1 View All Device It is used to display all the devices used in the present PLC Steps 1 Select View Cross Reference on the menu Cross Reference Window Description of Cross Reference Window Column Details Device Displays names of all the devices used in the...

Page 299: ...e is declared for the device Comment Displays the description if the description is input for the device 1 Data Alignment Click the column header to align the applicable column Whenever the column is clicked it will be aligned in the ascending and then descending sequence repeatedly A triangle will be displayed on the basic column of the present alignment The normal triangle means that the alignme...

Page 300: ...d when the cursor moves in the program If you don t want to update them specify the Fix function Click the right mouse button to select Lock Data 5 Delete Data It deletes all the details of the Cross Reference Window Notes It may take some time accordingly based on the number of devices used for aligning the data 7 1 2 Output Cross Reference Instantly If the device is selected in the program the u...

Page 301: ...Chapter 7 Programming Convenience 7 4 Steps 1 Select the Cross Reference tap to display the Cross Reference Result on 2 Move the cursor to the position of the device to display the purpose of ...

Page 302: ...er to 7 1 4 for details on the Cross Reference Window 7 1 3 Check Duplicated Coil Instantly It is used to inspect the applicable device if used as duplicated whenever the coil is edited 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 Steps 1 Add a coil 2 Select and copy the line the applicable coil is included in ...

Page 303: ... duplicated coil instantly is used the edit speed may get slow Select Tools Options Edit Ladder Mnemonic on the LD IL Edit page to apply Check duplicated coil instantly function Check duplicated coil instantly inspects the coil and the reverse coil only ...

Page 304: ...ive transition sensing contacts negative transition sensing contacts and coils coils reverse coils positive transition sensing coils negative transition sensing coils and devices that are used as operand of the applied command 7 2 1 Viewing the selected devices For the devices selected in the program it displays the device information that is currently used for the PLC 1 Select the menu View Cross...

Page 305: ...ed b Word Column used to display the number of the applicable words used in the program c Bit Column used to display the number of the applicable bit devices used in the program The devices of S area T area and C area are displayed d Bit Area used to display the bit area of the devices displayed in Word unit as divided into hexadecimal bit unit e I O classification used to display the number of th...

Page 306: ...on the screen b Display unused devices Displays the whole address of the devices selected by Select Device or used device list only Notes Select Update Used Device on the context menu to display the used devices After Used Device is executed the details of the program if edited will not be automatically updated ...

Page 307: ...er 7 Programming Convenience 7 10 7 3 2 View Device Uses Double click the mouse on the cell where the used I O figures are displayed or click View Device Uses on the context menu Dialog Box a b d c f i h e g ...

Page 308: ...device used e Step displays the step position where the applicable device is used f Instruction Type shows for which instruction type of operand the applicable device is used displayed as identical as the instruction tool bar of LD editor g Application Instruction shows the sequence of the operand and its application instruction if the applicable device is used as the operand of the application in...

Page 309: ... 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 7 4 1 Check Program Setting Sequence 1 Select View Check Program on the menu Dialog Box Description of Dialog Box a f g b e c d h ...

Page 310: ...ors such as LD connection errors and short circuit b Grammar Error used to check for errors in application instructions such as CALL SBRT MCS MCSCLR etc c Unreferenced label used to specify the processing range of the declared label which was not used Ignore Warning or Error can be selected ...

Page 311: ...il error f Duplicated coil Processing used to select Error or Warning for the Duplicated Coil g Current program New Program used to inspect the present program only h All programs used to inspect all the programs listed on the present PLC item Notes Refer to 7 3 3 and 7 3 4 for details on Logic Error and Grammar Error If the present program only is selected while one or more programs are listed on...

Page 312: ... to check for the Duplicated Coil c Bit type instruction used to inspect the operand of the bit type of application instructions d Word type instruction used to inspect the operand of the word type of application instructions e Word type of application instructions to process Warning or Error can be selected if the Duplicated Coil is checked in d above a b c d e ...

Page 313: ...f Check the word type of application instructions depends on the data type of the output operand of application instructions For example since LMOV M0100 P0000 is an instruction to move the 4 words of M0100 M0103 to P0000 P0003 as shown below the words of P0000 P0003 will be the range to check for the Duplicated Coil Double coil 4 words ...

Page 314: ...nience 7 17 7 4 2 Check Result Trace If any error occurs on the program its details will be displayed on the Program Inspect tap of the message window Double click the error details to move to the location where the error occurs ...

Page 315: ... to let input and output disconnected 2 L0100 It is a short circuit This error will occur if the area connected with OR is connected with the horizontal line without the contact point Action Delete OR if the OR connection is not necessary any more or input the contact point in the applicable location 3 L0200 Device or variable is not input This error will occur if the device or variable is not inp...

Page 316: ...nts exceeded This error will occur if the number of continuous LOAD instructions exceeds 32 Action Correct the LD program in order not to let the LOAD instructions exceed 32 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...

Page 317: ...MPOPs exceed 16 9 L0406 Application instruction in error This error will occur if the application instruction nonexistent in XGT series PLC is used Action Replace the instruction with the one provided by XGT series PLC Notes This error will occur if MK series PLC project file is converted to XGT project 7 4 4 Grammar Error This function is used to check for grammar related errors generated when a ...

Page 318: ...plicated MCS instruction or add the correspondent MCSCLR instruction 2 E0002 MCSCLR nonexistent or cancelled already MCS instruction is singly used Action Input the correspondent MCSCLR instruction 3 E0003 MCS instruction nonexistent MCSCLR instruction is singly used Action Input the correspondent MCS instruction or delete the MCSCLR instruction ...

Page 319: ...r if duplicated LABEL used Action Delete the duplicated label or change the name of the label 5 E1002 Label Label Name nonexistent This error will occur if JMP is used to refer to the nonexistent label Action Add the label where the error occurs or correct the JMP instruction which uses the label ...

Page 320: ...tent to use the label existent Action Delete the label or add the application JMP instruction 7 E1004 Label Label Name not used in the subroutine This error will occur if the JMP instruction is nonexistent to use the label existent in the subroutine Action Delete the label in the subroutine or add the application JMP instruction ...

Page 321: ...Label Name nonexistent in the subroutine This error will occur if the JMP instruction uses the label nonexistent in the subroutine Action Add the label in the subroutine or correct the JMP instruction 9 E2015 The maximum number of labels exceeded Based on the PLC type the maximum number of labels is exceeded Action Check the number of the labels used Notes The maximum number of labels usable depen...

Page 322: ...e subroutine Subroutine Name The subroutine shall be finished with the RET instruction Action Add the RET instruction in the subroutine block 11 E2010 Subroutine call nonexistent The call of nonexistent SBRT causes an error Action Add the SBRT RET blocks of the subroutine name to call ...

Page 323: ... the position after the End instruction 13 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 Refer to 7 3 1...

Page 324: ... not be used Action Change the duplicated name of the subroutine 15 E2014 The maximum number of subroutines exceeded Based on the PLC type the maximum number of subroutines is exceeded Action Check the number of the subroutines used Notes The maximum number of subroutines usable depends on the PLC type Refer to XGK CPU manual for details ...

Page 325: ...tions are not identical it will cause an error Action Let the number of FOR instructions and NEXT instructions identical 17 E3002 Identical FOR unavailable If the application times of FOR NEXT instructions are not identical it will cause an error Action Let the number of FOR instructions and NEXT instructions identical ...

Page 326: ...mber of the duplicated FOR NEXT blocks exceeds 16 it will cause an error Action Correct the number of the FOR NEXT blocks not to exceed 16 19 E3004 Between FOR NEXT RET or END is not available 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 ...

Page 327: ...m capacity exceeded The maximum programmable step is exceeded Action Correct the program not to exceed the specified program capacity Notes The program capacity depends on the PLC type Refer to XGK CPU manual for details 22 O0002 One or more scan programs necessary There is no scan program in the present PLC item which will cause an error Action Add an applicable program to the Project Scan Progra...

Page 328: ... Com ment Editor Steps Select Find Replace Find Device on the menu Dialog Box Description of dialog box a Find what Specifies the device you are looking for b Look in Specify the area you are looking for The current window can be found only in the active window Multiple windows are available for device discovery in the project If you select multiple windows Advanced Button is activated select the ...

Page 329: ...nly the bit device can be entered in the search contents and only the bit device is searched in the selected search area When Bit Word Bit is selected only bit devices can be entered in the search contents and word devices including bit devices and bits in the selected search area are searched For example if you enter bit device M0000A in the search result the device to be searched also ...

Page 330: ...the word device M0000 including the bit device M00001 and the bit device M00001 as in the bit word including bit Performs search from bit device M00010 to M0001F device belonging to word device M0001 and word device M0001 as word Bit Word d Output to Find 2 The XG5000 has two search result windows By default the Find 1 Results pane will be displayed in the Results pane but if you select this check...

Page 331: ...Chapter 8 Find Replace 8 4 Note Advanced Button is pressed ...

Page 332: ...nt window is a ladder editor and the following items are displayed when this button is pressed 8 1 2 Find Next Device It is commonly used in LD IL global direct variables local variables and so on The following is based on LD Steps 1 Select the cell that is the base of the direction ...

Page 333: ...2 Select Find Replace Find Device on the menu and enter the search contents and search conditions 3 Click the Find Next button If there is a device that matches what you set in the dialog box the cell moves to the matching device ...

Page 334: ...l direct variables local variables and so on The following is based on LD Steps 1 Select Find Replace Find Device on the menu 2 Set the device you want to find directions and selections 3 Click the Find All button Find All displays the results in the Find message window as shown below ...

Page 335: ... Find Replace 8 8 4 Select the line you want to find in the Find window and press the Enter key to move the cell to the line of the LD program Note Find All finds the device in the selected area in the Find area ...

Page 336: ...tches only the Text that exactly match the Text specified in the Find what will be found If you do not check it you will also find the Text that contains the find d Case sensitive If you check case sensitivity only the case sensitive Text is searched If unchecked it searches without case sensitivity e Output to Find 2 The XG5000 has two search result windows By default the Find 1 Results pane will...

Page 337: ...above setting just after the currently selected line position If a matching Text is found the selection moves to where the Text is located j Find all It searches all of the above settings and displays the result in the search result window k Advanced This button is used only in the ladder editor It is used to search only the specific contact specific coil extended function function function block ...

Page 338: ...ve searched all the results are displayed in Find 1 and 2 Find All is found in the document so choosing a direction is meaningless The item selection button is only visible in the LD editor The following dialog box appears when this button is selected ...

Page 339: ...1 Find Next Text It is commonly used in LD editor SFC editor ST editor and variable description editor The following is based on LD Steps 1 Select the cell that is the base of the direction 2 Select Find Replace Find Text on the menu ...

Page 340: ... to find 4 Click the Find Next button If there is a Text that matches what you set in the dialog box the cell moves to the matching Text 8 2 2 Find all Text It is commonly used in LD editor SFC editor ST editor and variable description editor The following is based on LD Steps ...

Page 341: ... Find Replace 8 14 1 Select Find Replace Find Text on the menu 2 Set the Text you want to find selection direction and so on 3 Click the Find All button Find All displays the results in the Find Messages window ...

Page 342: ...ll to the line of the LD program Note Find in the Current Window in the search area will find the currently active program In the Find in Multiple Window area click Find Window to run Find in all selected windows 8 3 Replace device LD editor IL editor SFC editor ST editor variable description editor and so on Dialog Box ...

Page 343: ...vice to be replaced c Look in Specify the area you are looking for The current window can be found only in the active window Multiple windows are available for device discovery in the project If you select multiple windows Advanced Button is activated select the item to find the device in the project window a b c d e f gh i j k l m ...

Page 344: ...Chapter 8 Find Replace 8 17 ...

Page 345: ...cted only the word device can be input to the search contents and the search is performed for all the bit devices belonging to the word device and word in the selected search area For example if a word device M0000 is input in the search result the device to be searched searches from the bit device M00000 belonging to the word device M0000 and the word device M0000 to the device M0000F If All is s...

Page 346: ...ce is located is selected j Find all It searches all the devices corresponding to the set contents and displays the result in the search result window k Replace Replaces the device with the previously set position based on the currently selected position line l Replace all Find the previous setting and replace it m Advanced This button is used only in the ladder editor It is used to search only th...

Page 347: ...Chapter 8 Find Replace 8 20 3 Set what to search content to replace type selection direction and so on ...

Page 348: ...4 Press the Replace button If the device of the currently selected cell is the same as the one found replace the current cell with the one set in the dialog box and move to the next cell This is where the previous replace was made ...

Page 349: ...e when the Replace Device dialog box is created it finds and replaces all the current programs based on the selected cell That is if the direction is set down the device that matches the end of the program from the selected cell is found and then the device that matches from the beginning of the program to the reference cell is found again 8 3 2 Replace all devices LD editor variable description e...

Page 350: ...Chapter 8 Find Replace 8 23 Select Find Replace Replace Device on the menu 1 Set what to search content to replace type selection direction and so on ...

Page 351: ...Chapter 8 Find Replace 8 24 2 Click the Find All button Find all the M0 bit devices in the Find 2 Results window ...

Page 352: ...Chapter 8 Find Replace 8 25 3 Press the Replace All button 4 When all the replaces are completed in the current program the following message box is created ...

Page 353: ... words devices from M0000 to M0009 can be replaced from P000 to P0009 Steps 1 Select Find Replace Replace Device on the menu 2 Set what you want to find what you want to replace type selection direction etc and check the Replace with range check box Set the number of devices to batch replace and the area to be included ...

Page 354: ...Chapter 8 Find Replace 8 27 ...

Page 355: ...8 28 3 Press the Replace All button Note Batch replaces are available only for devices Constants can not be replaced in bulk 8 4 Replace Text It is a function to search for explanation statements variables except for devices ...

Page 356: ...heck this part when replacing the Text including the variable is replaced If it is not checked replace it without including variable g Output to Find 2 The XG5000 has two search result windows By default the Find 1 Results pane displays the Find All and Replace All results but if you select this check box the results are displayed in the Find 2 Results pane h direction In each editor specify wheth...

Page 357: ...ditor Note The item selection buttons are only visible in the ladder editor The appearance of the dialog box displayed when this button is selected is the same as in Section 8 1 Device Search 8 4 1 Replace Text LD editor variable description editor etc It is a function to find the device that you have already created The following is based on LD Steps 1 Select the cell that is the base of the dire...

Page 358: ...the Text you are looking for 4 Press the Replace button If the Text of the currently selected cell matches the found one it replaces the current cell with the one you set in the dialog box and moves to the cell that matches the found one 5 If you want to replace the AA variable with the DD variable in the ladder program you must select the ...

Page 359: ...Chapter 8 Find Replace 8 32 variable inclusion option when changing and the DD variable must be declared in the variable explanation window ...

Page 360: ...atches the search contents of the dialog box When you click the Replace button you will be taken to the next cell that matches the find in the Replace dialog box regardless of whether the Replace is running In the case of Replace when the Replace Device dialog box is created it finds and replaces all the current programs based on the selected cell 8 4 2 Replace all Text LD editor variable descript...

Page 361: ...Chapter 8 Find Replace 8 34 1 Select Find Replace Replace Text on the menu 2 Set what to search what to replace and what to choose ...

Page 362: ...k the Find All button Find all found results 2 Display in the results window 4 Press the Replace All button All variables used in the variable description window and the LD program are replaced and displayed in the Find 2 Results window ...

Page 363: ...Chapter 8 Find Replace 8 36 ...

Page 364: ...Replace 8 37 8 5 Find Again Find Again is a feature th at you can use to find a device or find a text search previously If you have not done this before it is disabled Steps Select Find Replace Find Again on the menu ...

Page 365: ...Chapter 8 Find Replace 8 38 ...

Page 366: ...d to specify the basic parameters related with PLC operation Notes Please refer to the CPU or Instruction manual for details of basic parameter Steps 1 On the project tree double click Parameter Basic Parameters Dialog Box Description of Dialog Box b c g d e f a h i j k m n l ...

Page 367: ...even while being debugged h Keep Output when an error occurs used to decide to output the data to the module as usual or not even when an error or a specific input occurs i Keep Output when converting RUN STOP converted used to decide to output the data to the module as usual or not even when PLC operation mode is converted from RUN to STOP j Keep Output when STOP RUN converted used to decide to o...

Page 368: ... used to specify desired latch area for each device to decide to use the respective device and to select the area Area 1 and area 2 can not be used as overlapped and the maximum size of each latch area is the maximum size of the device area d Timer areas are divided into 100ms 10ms 1ms and 0 1ms This area can be selected as the latch area within the specified value of the left timer limit area Lik...

Page 369: ...e area of T100ms In order to use the timer with a cycle of 10ms in basic setting optional address among T1000 T1499 needs to be used The user can specify the timer area of each cycle to assign more memory areas to the cycle desired to apply more In timer limit setting different cycles can be set as overlapped In addition since Start and End of the area are always 0 and 2047 fixed their modificatio...

Page 370: ...a floating decimal point error occurs during PLC RUN d If this option is selected PLC will continuously run although an error occurs on the fuse connection status of the module during PLC RUN e If this option is selected PLC will continuously run although an error occurs on I O module during PLC RUN f If this option is selected PLC will continuously run although an error occurs on the special modu...

Page 371: ...Chapter 9 Parameters 9 6 4 MODBUS Setup The RS 232C port of CPU module can be operated as slave module of MODBUS communication Dialog Box Description of Dialog Box a b c d e f g h i j k ...

Page 372: ...device f It is used to specify the parity bit g It is used to specify the transference mode ASCII communication and RTU communication are available h Used to specify the start address of DI Digital Input memory area to read through MODBUS where the value should be specified in Word unit i Used to specify the start address of DO Digital Output memory area to read through MODBUS where the value shou...

Page 373: ...rmation and the module information by slot If the module for the slot is not specified it is displayed as default b Set base Displays the base selecting module only c Apply Applies the changed details and closes the dialog box d Module information window Displays the set module as images Notes ...

Page 374: ...int Input P00000 P0001F P00000 P0003F 1 64 point Output P00020 P0005F P00040 P0007F 2 A D Module P00060 P0006F P00080 P0011F 3 Communication Module P00070 P0007F P00120 P0015F 4 16 point Output P00080 P0008F P00160 P0019F Omitted below Refer to 9 1 Basic Parameter for details on the module assignment types Notes Refer to XG PD manual for details on the communication module information setting Refe...

Page 375: ...than the maximum number of slots the rest area is unavailable to edit 2 Base Module Delete Steps 1 Select the base module to delete from the device list 2 Click the right mouse button to select Delete Base 3 Delete or OK message box will be displayed Click OK button to delete the information of the applicable base module 9 2 2 Module Information Setting Based on Slots Module type and detailed modu...

Page 376: ... Or click the right mouse button to select Edit 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 ...

Page 377: ...umption for base modules It displays the total current consumption for the modules attached to the base module Procedures 1 Click on the right mouse button and select Current Consumption 2 Then the estimated current consumption will be displayed ...

Page 378: ... 4 I O Parameter Edit Function Data editing details of Copy Cut and Paste will be described below based on slots 1 Copy Paste Steps 1 Select the slot to copy 2 Click the right mouse button to select Copy 3 Select the slot to paste ...

Page 379: ...Chapter 9 Parameters 9 14 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 ...

Page 380: ...Chapter 9 Parameters 9 15 3 Select the slot to paste 4 Click the right mouse button to select Paste 3 Undo Steps 1 Select the slot to delete ...

Page 381: ...Chapter 9 Parameters 9 16 2 Click the right mouse button to select Delete 3 Click the right mouse button to select Undo ...

Page 382: ...ailable for Undo and Redo functions The shortcut keys used in I O Parameters Edit can not be used as the user defined shortcut key specified in XG5000 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 383: ...be described Double click the mouse or click details button for the detailed module information setting 1 Input module Dialog Box Description of Dialog Box a Filter used to specify the filter constant value for the input b OK applies the specified details and closes the Dialog Box c Cancel closes the Dialog Box a b c ...

Page 384: ...eters The input filter used to inspect the input signal will process the applicable signal as normal input if kept identical for the filtering time The figure below is with the input filter value of 3ms As the input signal is kept identical for 3ms from the moment detected by specific level it will be processed as normal input in 3ms 2 Output module Dialog Box Input Signal Input Signal Detect inpu...

Page 385: ...the emergent output mode can be specified per channel b OK applies the specified items and closes the Dialog Box c Cancel closes the Dialog Box Notes Emergent output value will be specified in emergency like the stopped CPU during RUN Default for the emergent output is Hold 3 I O module Dialog Box a b c ...

Page 386: ...ting used to specify detailed information for the output c OK applies the changed items and closes Dialog Box d Cancel closes Dialog Box Notes I O module is of mixed type of input module and output module The input part has the characteristics identical to the input module and the output part identical to the output module a b c d ...

Page 387: ...arameters 9 22 4 Interrupt Module Interrupt or Pulse Catch mode is available for each channel Rising Falling condition is also available to specify for the bit of each channel Dialog Box Description of Dialog Box ...

Page 388: ...K applies the changed items and closes the Dialog box f Cancel closes the Dialog box Notes If you want get more information about parameter setting see the SOE module user manual 5 Module Reservation It assigns the points of module only without any specific module specified 16 32 and 64 points are available for the assignment 6 A D Module On the I O Parameter Setting Dialog box select A D module a...

Page 389: ...ameter data can be setup by select in combo box or input data and refer to the table below for choices or range of each parameter Description of Parameter item Parameter Setting Items Default Channels Disable Enable Disable Input Range 1 5V 0 5V 0 10V 10 10V Voltage Type 4 20mA 0 20mA Current Type 1 5V 4 20mA Output Type 0 16000 8000 8000 1000 5000 0 10000 Input range changes based on items 0 1600...

Page 390: ... setup by select in combo box or input data and refer to the table below for choices or range of each parameter Description of Parameter item Parameter Setting Items Default Channels STOP RUN STOP Output Range 1 5V 0 5V 0 10V 10 10V Voltage Type 4 20mA 0 20mA Current Type 1 5V 4 20mA Input Type 0 16000 8000 8000 1000 5000 0 10000 changed based on output range 0 16000 Channel Output Type Previous m...

Page 391: ...tically c OK applies the changed items and closes the Dialog Box d Cancel closes the Dialog Box e Parameter Setup The parameter data can be setup by select in combo box or input data and refer to the table below for choices or range of each parameter Description of Parameter items Parameter Setting Items Default Counter Mode Linear Counter Ring Counter Linear Counter Pulse Input Mode 2 phase 1 mul...

Page 392: ... Value 2147483648 2147483647 0 Ring Counter Maximum Value 2147483648 2147483647 0 Compared Output 0 Minimum Setting Value 2147483648 2147483647 0 Compared Output 0 Maximum Setting Value 2147483648 2147483647 0 Compared Output 1 Minimum Setting Value 2147483648 2147483647 0 Compared Output 1 Maximum Setting Value 2147483648 2147483647 0 Number of Pulses per Rotation 0 60000 0 Frequency Display mode...

Page 393: ... 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 Information of Each Modules prints the detailed module information for specified slot module 2 Print Preview Sequence 1 Select Print Button Print on the I O Parameter Dialog Box 2 Click Preview on the Print Dialog Box 3 Copy to Clip...

Page 394: ... the print options are not available but always I O configuration table only available to print 9 3 Device Auto allocation Parameter To allocate device to automatic variable automatically sets device area You can change position of device Steps 1 Double click Parameter Device Auto allocation Parameter 1 Basic operation setting Dialog box ...

Page 395: ...ice applied to memory allocation h Up Changes the memory allocation order up i Down changes the memory allocation order down j Basic parameter shows basic parameter dialog box to change device area and latch status Note If one line is not effective it is shown as pink color D M T C area are available for device auto allocation area One device can be set with diverse parts Start device should be sm...

Page 396: ...pe used to specify communication media when PLC is connected RS 232C USB Ethernet and Modem are available to set b Depth used to specify the connection configuration with PLC Local Remote 1 and Remote 2 are available to set c Connect tries to connect to PLC as specified in Connect options d Settings allows detailed setting based on a Connection Type selected e Preview used to see all Connect Optio...

Page 397: ...me size Notes Default Timeout interval is 5 seconds In the following cases warning message may occur If warning message occurs set timeout interval more than 5 seconds 1 Set timeout interval less than 5 seconds 2 Timeout interval is less than 5 seconds when opening an existing project 3 Timeout interval is less than 5 seconds when reading from PLC 1 Connection of Local RS 232C Steps 1 Select the C...

Page 398: ...ber Connection in XG5000 and Connection in XG PD device monitor and system monitor are available with one PLC at the same time However it shall be of identical Connect Options 2 Connection of Local USB 1 Select the Connection Type of USB 2 USB has no detailed setting options Thus the setting button is inactive 3 Click OK to save the Connect Options Notes USB device driver has to be installed for U...

Page 399: ...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 Use Ping in Execute on Windows start menu previously to ensure normal connection is allowed with the specified IP ...

Page 400: ...net communication module has the exclusive modem functions b Port number specifies modem s communication port c Baud rate specifies modem s communication speed d Phone number used to input modem s number of phone if it s dial up modem e Station number used to input the station Number specified in the communication module of Remote Step 1 3 RS 232C or USB Remote Connect Steps 1 Select the Connectio...

Page 401: ...se c Slot number used to specify communication module s slot number of local PLC base d Station number used to input communication module s specified station Number of Remote 1 e Cnet channel Select the connection channel port if the communication module of Remote 1 connection is Cnet module f IP address used to input communication module s specified IP address of Remote 1 Notes Only if the networ...

Page 402: ...ber used to specify communication module s base number of local PLC base c Slot number used to specify communication module s slot number of local PLC base d Station number used to input communication module s specified station Number of Remote 1 e Cnet channel Select the connection channel port if the communication module of Remote 2 connection is Cnet module f IP address used to input communicat...

Page 403: ...ons 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 If password is setup in the PLC Password input dialog will be displayed 5 Connection will be established if the input password is match with the PLC password ...

Page 404: ...project name on the project window and on the status display line If any other application program is already connected while PLC connected its main Online functions are unavailable After PLC connected connecting its cable to other PLC with different type will make the former PLC disconnected automatically When Disconnect is executed Monitor and Debug functions will be also ended ...

Page 405: ...he status of PLC is normal 2 USB Check if USB cable connection between Computer and PLC is correct Check if the computer found the PLC as an USB device correctly a Connect the computer and PLC with USB cable b Click Control Panel System Hardware Tab Device Manager c Check if the computer found the PLC as an USB device correctly in the Device Manager dialog box d If there is yellow exclamation mark...

Page 406: ...are 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 a Click Execute which can be seen when Start button of Windows is clicked b Input command in the Execute dialog box c Execute ping test for Ethernet module in the Command Prompt Type ping IP address and press Ente...

Page 407: ...Chapter 10 Online 10 12 communication status as below And if the Ethernet module does not respond the screen will show Time out message Check if the status of PLC is normal ...

Page 408: ...Online Write 3 Select the data to transfer to PLC and then click OK to start to transfer the selected data to PLC Dialog Box Description of Dialog Box a Selection Tree selects the data to transfer to PLC b Setting If Comment is selected in a the type of the comment to transfer to PLC can be selected c OK starts to transfer the data to PLC if clicked d Cancel Cancels data writing ...

Page 409: ...PLC f Setting Added settings for writing are allowed 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 displays progressing time elapsed till present f Cancel Stops transferring the data Dialog Box a...

Page 410: ...ase cancels all items selected on b List of Select Items e Displays the rate of memory used in the comment memory inside PLC for the selected item Example selected comment 37 7KB PLC s comment memory 128KB Notes The special module parameter Write is available only when I O parameter Write is selected Modification Write time during Run will take much longer than during Stop If PLC is in Run mode Co...

Page 411: ...d 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 Notes Refer to 10 3 Write for comment of each Dialog ...

Page 412: ... Box will appear to inform that the program is being converted to an executable code inside PLC This Dialog Box may not be closed for up to 30 seconds according to the program size If converted to Run mode the following Dialog Box will appear while initialization task is executed After the initialization task is over or disconnected the Dialog Box will disappear If converted to Run or Debug mode R...

Page 413: ...h PLC 3 Select an object to compare and then click Compare Dialog Box Description of Dialog Box a Current project means the project open in XG5000 b Compare compares between the selected items c Project to compare means the project inside PLC Notes The result of Compare is identical to the menu Project Compare Project Refer to Compare Project for detailed result of Compare a b c ...

Page 414: ...Online 10 19 10 7 Setup of Communication Module It is the function to set up the communication module embedded to the PLC 10 7 1 Link Enable It sets up the operations of high speed link and P2P service Procedures ...

Page 415: ...Select the menu Online Connect for connecting to the PLC 2 Select the menu Online Communication module setting Link Enable 3 Check the items to be set and click Write 4 If you Write the below completion message will be displayed ...

Page 416: ...Chapter 10 Online 10 21 5 In case of failure failure message will be displayed 10 7 2 Download Upload It is used to download or upload files such as OS BBM etc for the communication module Procedures ...

Page 417: ...ne Communication module setting Download Upload 3 Select the communication modules to be downloaded uploaded 4 Select the File Type 5 Select the BBMBoot download upload button depending on the file types 10 7 3 EIP Tag Download It downloads the EIP tag for EtherNet IP module s tag communication Procedures ...

Page 418: ...rNet IP module to be downloaded 4 Select the download button 5 The tags set in the menu project EtherNet IP tag Export window will be downloaded 6 After download is finished the completion message will be displayed 10 7 4 Config Upload In case the communication module is Pnet or Dnet module it is used to upload the configuration information set for the module Procedures ...

Page 419: ...nication module setting Config upload 4 The information to be Config uploaded to the high speed link window will be displayed 10 7 5 System Diagnosis Procedures 1 Select the menu Online Connect for connecting to the PLC 2 Select the menu Online Communication module setting System Diagnosis Note For more details on system diagnosis refer to the communication module manual ...

Page 420: ...eset PLC Dialog Box Notes Reset and Overall reset are available for its type Reset when PLC powered back it will delete error warning information to allow power on error warning may occur continuously based on the situation Overall reset when PLC powered back it will delete error warning information latch 1 area data I O skip error mask and forced I O setting area to allow power on Be careful PLC ...

Page 421: ... menu Online connect for connecting to the PLC 2 Select the menu Online Reset Clear Reset individual module 3 Tick the communication module to be reset and press OK button Note For more details on reset of individual communication module refer to the communication module manual ...

Page 422: ...Select Online Connect to connect to PLC 2 Select Online Clear PLC 3 Select items to delete and then click Clear to start Clear PLC 10 10 1 Clear Item It deletes the contents of the project saved in PLC Dialog Box Description of Dialog Box a List of items to select shows the items saved in PLC b Clear deleted the selected items a b ...

Page 423: ...g 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 Clear deleted the selected items c Select All selects all the memory areas d Reset All cancels all the memory areas selected b a c d ...

Page 424: ...rs of PLC Edit is not allowed c Clear deletes the selected items Notes Delete is available only when PLC s remote dip switch is ON with operation mode dip switch in Stop mode and PLC operation in Stop mode If Start address is larger than End address Clear Memory is not available Be careful The data once deleted will not be recovered Clear Latch is used to delete the device value specified as a lat...

Page 425: ...ge will be displayed All programs parameters passwords data of the PLC are deleted 3 If you press Yes button the connect setup window will be displayed 4 If you press OK button in the connect setup window the process Delete all PLCs will be executed Note The function Clear all PLC is available in some XGB models only ...

Page 426: ... Connect for connecting to the PLC 2 Select the menu Online Reset Clear SD Format The message on matters that require attention is displayed 3 If you click Yes button the format window will be displayed and if you select Start button formatting will be executed Note The function SD Format is available in some XGB models only ...

Page 427: ...unication module Procedures 1 Select the menu Online Connect for connecting to the PLC 2 Select the menu Online Reset Clear Delete parameters 3 Select the parameters to be deleted and press the OK button 4 Execute the process Delete selected parameters Note For more details on deleting parameters refer to the communication module manual ...

Page 428: ...an be set 10 14 1 CPU Information Detailed information of PLC CPU can be checked Sequence 1 Select Online Connect to connect to PLC 2 Select Online PLC Information 3 Select the CPU tap Dialog Box Description of Dialog Box a Shows the specified details and status of the connected PLC CPU b Close Close the dialog box a b ...

Page 429: ...rformance tap Dialog Box Description of Dialog Box a Scan Time shows the Maximum Minimum Current scan time of PLC connected b Program Memory used shows the downloaded programs size all PLC program areas size c Details shows the list of programs downloaded on PLC d Comment Memory used shows the downloaded comment s size all PLC comment areas size e Details shows the list of comments saved in PLC a ...

Page 430: ...og Box Description of Dialog Box a List shows the list of the programs saved and the number of steps of each program Dialog Box Description of Dialog Box a List shows the list of the comments saved and the size of each comment a a ...

Page 431: ...ent Password used to input the password saved in PLC b New password used to input a new password c New password Confirmed used to input the New Password again d Delete deletes the password of PLC e Change changes the password of PLC Password Setting 1 Input a new password in Edit Box b for New Password Input 2 Input the new password again in Edit Box c for New Password Confirm as identical as in 1...

Page 432: ...pecial letters can be used for password If password is setup in the PLC the PLC asks the password when connection is tried and the PLC permit to connection when password is correct Notes In order to protect the program in the PLC and user intellectual property enhanced password function with new password process is supported at XG5000 V3 4 or above Enhanced password function is applied to the foll...

Page 433: ... 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 b c d e ...

Page 434: ...timer setting status If the timer is not specified PLC time will not be read b Date displays date c Time displays time d Synchronize with PC clock synchronizes date and time between PC and PLC e Send to PLC transfers user specified time to PLC ...

Page 435: ...s the history data of error warning Change Mode and Shut down Log saved in PLC 10 15 1 Error Log Sequence 1 Select Online Connect to connect to PLC 2 Select Online PLC History 3 Select the Error Log tap on PLC History Dialog Box Dialog Box a b c d e f g ...

Page 436: ...cted from the history along with action to take against the error c Read All reads and displays all PLC histories d Update reads PLC history again e Save saves PLC history on file f Delete deletes PLC history g Close closes the Dialog Box 10 15 2 Change Mode History It shows the Mode Change Log of PLC operation modes Dialog Box ...

Page 437: ...Chapter 10 Online 10 42 10 15 3 Shut down Log History It shows the Shut down Log history of PLC Dialog Box Notes Base number where the power is cut also will be displayed ...

Page 438: ... history will be saved on csv file This file can be open through Excel or other String editing programs Double click the first column of the list to change the arrangement method On each Dialog Box displayed 100 histories will be read respectively Press Read All button to read more PLC histories If the histories of PLC are less than 100 Read All button will be inactive ...

Page 439: ...ine 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 If a program error produced when PLC is converted from Stop to Run or execution program error produced when PLC is in Run double click the area of program nam...

Page 440: ...n Displays the base b Show Existing base only If you tick this the base where modules are embedded currently only will be displayed c Slot I O information Shows the modules that are embedded to the base currently d I O Sync Writes the parameters set up in the base e Details Displays the detailed information on the currently embedded module f OK Saves the changed I O information g Cancel Closes the...

Page 441: ...C history Procedures 1 Select the menu Online Connect for connecting to the PLC 2 Select the menu Online diagnosis Save PLC history 3 If you click diagnosis Save PLC history the window for saving will show up 4 Save the PLC s history so far ...

Page 442: ... it runs PLC through the program in the flash memory PLC operation in Run mode it means that the operation mode changes from Stop to Run and that the operation mode is Run when PLC is powered back on Steps 1 Select Online Connect to connect to PLC 2 Select Online Set Flash Memory Dialog Box Description of Dialog Box a Enable flash memory run mode specifies the flash memory s operation mode b Disab...

Page 443: ...h memory operation mode is specified the program can be copied to the flash memory after Program Write or Modification Write during Run The flash memory operation mode setting is prepared to recover the program when PLC status is not normal ...

Page 444: ... I O of the I O refresh area can be specified in PLC 1 Select Online Forced I O Setting Notes To obtain Forced I O information it will take about 5 sec at a speed of 115200bps with RS 232C connected or about 1 sec with USB Dialog Box i h k j l a b c d f e g ...

Page 445: ...flag and data for each bit Notes The flag displays the Forced I O application status for each bit If the flag is selected it means Enable and if not it means Disable The data displays the forced value If selected 1 will be the forced value and if not 0 will be the forced value However it is effective only when the flag is in Enable status Flag Data Forced Value 0 not selected 0 not selected X 0 no...

Page 446: ...ed for each module the flag and data can be specified for the other bits than the output module points if not identical to the points of the output module actually installed on PLC Ex If 16 poit output module is installed on the basic base the flag and data can be specified for the 48 points ...

Page 447: ...Chapter 10 Online 10 52 1 Forced I O Setting Steps Example P0004 word 4th bit s forced output 1 7th bit s forced output 0 1 Move to P0004 Use the button or directly input the area desired to move to ...

Page 448: ...ct the flag and data of the bit 3 3 Select the flag of the bit 7 As the forced output value of the bit 7 is 0 no data needs to be selected 4 Select the Forced Output Enable Flag and then click Apply button to apply the forced value ...

Page 449: ...ancel Steps Example P0004 word 4th 7th bit s forced value to cancel 1 Move to P0004 Use the button or directly input the area desired to move to 2 Cancel the bit 3 and 7 s flag selected to cancel the forced output value 3 Click Apply button ...

Page 450: ... the program In the case of the forced input monitoring will be with the forced value since the forced input value is updated in the monitor area In the case of the forced output monitoring will not be available since the forced value will be actually output regardless of the calculation result ...

Page 451: ...p 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 b Slot I O Skip used to decide to skip the slot I O or not c Show Existing Base Only shows existing base only d Details displays detailed information of the special module or the communication module only e OK applies the changed items and closes the dialog box f Cancel closes the d...

Page 452: ...Chapter 10 Online 10 57 1 Skip I O Setting for each slot Sequence 1 Select the base with the slot to specify Skip I O ...

Page 453: ...Chapter 10 Online 10 58 2 Select the slot to specify the Skip I O 3 Select the check box of the status column At this moment mark will be added to the base ...

Page 454: ...2 Skip I O Cancel for each slot Sequence 1 Select the base to cancel the Skip I O 2 Select the slot to cancel the Skip I O 3 Cancel the selected check box of the status column mark will be deleted if there is no slot any more where Skip I O is specified in the applicable base ...

Page 455: ...Chapter 10 Online 10 60 4 If you press OK the changed items are displayed ...

Page 456: ...Chapter 10 Online 10 61 3 Base Skip I O Setting Sequence 1 Select the base to specify the base Skip I O 2 Select the check box ...

Page 457: ...Chapter 10 Online 10 62 3 If you press OK the changed items are displayed 4 Base Skip I O cancel Sequence ...

Page 458: ...Chapter 10 Online 10 63 1 Select the base to cancel the base Skip I O 2 Cancel the check box selected As the base Skip I O is canceled the Skip I O for each slot can be specified or canceled ...

Page 459: ...Chapter 10 Online 10 64 3 If you press OK the changed items are displayed Notes Click OK button to apply the specified Skip I O ...

Page 460: ...10 Online 10 65 10 22 Fault Mask It is used to decide to keep running the module in Fault or not during PLC operation Sequence 1 Select Online Fault Mask Setting Dialog Box Description of Dialog Box a c f b d e ...

Page 461: ...ecide to apply the fault mask for each slot or not c Show Existing Base Only shows existing base only d Details displays detailed information of the special module or the communication module only e OK applies the changed items and closes the dialog box f Cancel closes the dialog box Notes Canceling the Fault Mask specified is identical as described in Skip I O setting Refer to Skip I O Setting fo...

Page 462: ...ialog box when Online I O Information is selected I O Sync Button will be activated when PLC is STOP Mode The I O Parameter of XG5000 project will be synchronized with the real module installation information when I O Sync button is clicked Please be careful since the previous I O parameter will be erased ...

Page 463: ... 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 Select Online Module Changing Wizard 2 Select the module to change at the module selection stage and then click Next button ...

Page 464: ... Slot Modules List displays the information of the slot installed on the base module d Back It will be inactive at the module selection stage e Next used to move to the module confirming stage It will be active only if the module to change is selected f Cancel Finishes the Module Changing Wizard 3 Check the module to change at the module confirming stage b c d e f a ...

Page 465: ... 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 Cancel closes the Module Changing Wizard a b c d e ...

Page 466: ...scription 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 If the module removed click Next button Or click Back button to move back to the previous stage Or click Cancel to cancel the Module Changing Wizard Notes If the module is not remove...

Page 467: ...o move to the confirming stage of the module installation d Cancel closes the Module Changing Wizard 8 If the module installed click Next button Or click Back button to move back to the previous stage Or click Cancel to cancel the Module Changing Wizard Notes If the module is not installed normally an error message will appear on the comment 9 Close the Module Changing Wizard a b c d ...

Page 468: ...he module change complete stage b Back It will be inactive since going back to previous stage is unavailable after the module changed c Finish finishes the Module Changing Wizard Notes If the Module Changing Wizard is cancelled Fault Mask and Skip I O may be set to protect the applicable module a b c ...

Page 469: ... for the module to change 3 Remove the module from PLC 4 Install a new module 5 Release the Skip I O for the applicable module 6 Select Online PLC Error Warning to check for any error on the applicable module 7 If no error found on the applicable module release the Fault Mask for the module Refer to Skip I O and Fault Mask for more details on Skip I O and Fault Mask specified for the module ...

Page 470: ...ed in PLC which will monitor the registered events and record the event history if generated The event history can be used to operate and debug the system 10 24 1 Example The event is defined as the data of M0000 whose data is increase by 1 every scan is greater than 100 and less than 110 and if the event is met PLC stores the data of M0000 Steps 1 Make a program as follow ...

Page 471: ...Chapter 10 Online 10 76 2 Write the program to the PLC and select Monitor Custom Event on the Online menu 3 Open Event Setup dialog box by clicking Add event and setup each items as figure below ...

Page 472: ...M0000 as figure below to store the data when event is met 5 Close the dialog box select Enable for Event allowance on the upper side of dialog box and click OK 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 Change the PLC mode RUN ...

Page 473: ... check event history and select event history tab on the Custom Event dialog box 8 An Event History dialog box will be displayed when an event item is selected and Properties button on the menu is clicked where the list of associated device and the details of event can be seen ...

Page 474: ...t 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 c Menu button displays the event setting menu d Apply PLC applies the changed items to PLC without closing the Dialog Box e OK applies the changed items and closes the Dialog Box...

Page 475: ...vice can be selected from Variable Comment declared in the Variable Comment Dialog Box c Event condition used to specify the condition to make the user event occur If rising condition selected the user event will occur when the event device value changes from 0 to 1 And if falling condition selected the user event will occur when the event device value changes from 1 to 0 If transition condition s...

Page 476: ...tems and closes the Dialog Box g Cancel closes the Dialog Box 3 Used to input event device Or click the Variable Comment button to select the device from the declared Variable Comment 4 Specifies event conditions 5 Specifies event type 6 Used to input an event message 7 Select the Associated devices setting tap to specify the Associated devices Dialog Box Description of Dialog Box a Available disp...

Page 477: ... type and its respective byte size are as shown below XGB Up to 4 related devices Type Size Type Size BIT 1 Byte REAL 4 Bytes BYTE 1 Byte LREAL 8 Bytes WORD 2 Bytes INT 2 Bytes DWORD 4 Bytes DINT 4 Bytes LWORD 8 Bytes LINT 8 Bytes 8 Click OK to save the input items or click Cancel to cancel it Notes Up to 10 custom events is available to register XGB Up to 5 custom events 2 Edit Event It is used t...

Page 478: ...pter 10 Online 10 83 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 ...

Page 479: ... the event or click Disable not to allow 5 Event Allowance Setting Each event will be decided to be enabled or not Steps 1 Select the event to make enabled 2 Select the Event Allowance column If the event is enabled will be displayed and if disenabled will be displayed 6 Custom Event Copy Paste Steps 1 Select the event to copy ...

Page 480: ...Chapter 10 Online 10 85 2 Move to the position to paste on 3 Select Paste 7 Custom Event Cut Paste Steps 1 Select the event to cut 2 Select Cut 3 Move to the position to paste on ...

Page 481: ...les Steps 1 Select Save Event 2 Input a file name to save with on File Save Dialog Box and click OK 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 More than 10 will not be added to the list ...

Page 482: ...Chapter 10 Online 10 87 ...

Page 483: ... 88 10 24 3 Event History It reads the user event history saved in PLC to display its applicable details Steps 1 Select Monitor Custom Event 2 Select the Event History tap on the user event dialog box Dialog Box a b c d e ...

Page 484: ... related menu c Apply PLC inactive on the event history page d OK applies the changed items and closes the Dialog Box e Cancel closes the Dialog Box Notes Refer to 1 Detailed Event History for the respective event history item 1 Detailed Event History View It displays the details of the event Steps 1 Select the item to display its Event History ...

Page 485: ... Custom Event Items Additional of 10 17 1 for details on the respective event setting item d Associated 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 Back displays the previous event history f Next displays the next event ...

Page 486: ...Refresh It updates the event history as recent details in PLC 1 Select Refresh 3 Event Filtering The history can be displayed on the event type 1 Select View All 2 Select View Informtion 3 Select View Warning 4 Select View Alarm ...

Page 487: ...Chapter 10 Online 10 92 ...

Page 488: ... 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 Select Monitor Start Stop Monitoring on the menu to stop monitoring Notes If already started monitoring will end If not started yet monitoring will start 11 1 2 Change Current Value Selected device s current value or Forced I ...

Page 489: ...e is changed b Type Type of the device where current value is changed c Range Available range of current value to input based on type d Current value On Off Device On Off specified if its type is bit e Value Device value specified if its type is not bit f Forced I O Forced I O setting available if device is P area and bit type Flag It is used for Forced I O setting Data Forced I O data value is sp...

Page 490: ...ce and bit type compulsory I O button will be active If compulsory I O button is active edit box of current value input and On Off setting button will be inactive Change Current Value and Compulsory I O Setting will not be executed at a time Refer to 10 13 Compulsory I O Setting for more details on Compulsory I O Setting 11 1 3 Pause Monitoring Monitoring can be momentarily stopped or restarted di...

Page 491: ... Monitoring If current value is changed with Pause Monitoring PLC value will be changed but monitoring value of program screen will not be renewed 3 Pausing Conditions If specified device meets the pausing conditions monitoring will stop momentarily Sequence 1 Select Monitor Pausing Conditions on the menu 2 Specify device on dialog box of Pausing Conditions 3 Click OK to save details Dialog Box De...

Page 492: ...iable used to display variables declared in device i Comment used to display description declared in device j Find used to find the device to stop monitoring momentarily on Variable Comment list k OK used to save changed details and close dialog box l Cancel used to close dialog box without saving changed details Notes Conditions for Pause Monitoring can be set up to 10 Items in error will not be ...

Page 493: ...the menu Monitor display of contact point Monitor Stop Sequence 1 Ordinarily open contact point If applicable contact point s value is On status device or variable value will be displayed in red and the power flow inside the contact point in blue Notes Monitor related color described in this manual is provided basically by XG5000 Applicable color may be changed on the menu Tools Options Refer to t...

Page 494: ...splayed in red and the power flow inside the coil will not be displayed 3 Set coil displayed as identically as coil 4 Reset coil displayed as identically as c oil 5 Positive converted detection coil displayed as identically as coil 6 Negative converted detection coil displayed as identically as coil Monitor Display of Application Instruction Applicable value is directly displayed on application in...

Page 495: ...Notes Displayed data of application instruction can be specified on Monitor Debugger page on the menu Tools Options Online Refer to the option item in Chapter 2 Basic Application for more details Monitor Stop 1 Select Monitor Start Stop Monitoring on the menu ...

Page 496: ... Run Mode when monitored Refer to the 1st clause of this chapter Monitor in Common for details on Pause Monitoring and Change Current Value When monitoring starts and stops LD diagram height will change to display application instruction s current value which will take some time according to the quantity of prepared program ...

Page 497: ...ation and Special Function Blocks 11 10 11 3 Variable Monitoring Monitoring is available through specific variable or device registered Variable Monitoring Window Description of Variable Monitoring Window h a d b f c e g ...

Page 498: ...ble column you can select the variables from the variable list f Comment Displays the device comment g Error Display Displayed as pink color Error In case even one of PLC name device type is not input In case the device address is wrong In case the device is out of the area depending on the type In case the device type is not supported or the PLC name does not exist Variable monitor tab The variab...

Page 499: ...ow click the right button of the mouse to select Register in Variable Comment 2 Select dialog box will appear if PLCs are 2 or more included in the project Select PLC to register 3 If Select dialog box appears select variables to register on the variable monitoring windows Dialog Box ...

Page 500: ...ags list c List L used to select Variable Comment or Flags list to show items registered thereon d OK used to register selected items on the variable monitoring windows Notes Several items can be selected at a time on Select Variable Device dialog box The selected item is added at the last line of the variable monitoring windows An item identical to previously registered item can be also registere...

Page 501: ...dentical variable type BIT WORD can be registered Sequence 1 On the variable monitoring window click the right button of the mouse to select Register All 2 Select dialog box will appear if PLCs are 2 or more included in the project Select PLC 3 Register All dialog box will appear Dialog Box a c b ...

Page 502: ...Example used to show an example of the start device input The example shows that input device is D with type of Bit and input device is U Input Example Start Device D0 0 Type Bit Number of registers 10 Notes Up to 100 can be registered all at a time The item to register is added at the last line of the variable monitoring windows An item identical to previously registered item can be also register...

Page 503: ... monitoring Area to register onto the variable monitoring from LD window Red Edge Area to register onto the variable monitoring from Variable Comment window Notes Copy Paste and Delete functions supported 1 Copy available in String format on the variable monitoring windows Paste is available onto Excel or other String editor 2 Paste Paste is available onto variable monitoring after Copy from Excel...

Page 504: ...ssed 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 3 Release the mouse s left button after positioned on the row of the variable monitoring window to insert the selected items into 4 The selected items will be registered on the variable monitoring window ...

Page 505: ...tration time may be The number of registers is unlimited If the items are inserted in the middle of rows they will be registered between rows With the mouse s left button still pressed move onto variable monitoring number taps Monitoring 1 Monitoring 2 Monitoring 3 and Monitoring 4 to register on the applicable variable monitoring taps ...

Page 506: ...iable as possible on the screen of the variable monitoring window Sequence 1 On the variable monitoring window select Briefly on the menu displayed by the right button of the mouse 2 It will be shown as below Only the columns for Device and Value are displayed 3 Select Detailed again to display the following figure containing many a row ...

Page 507: ... if in Brief View mode Register Delete and Edit functions are all available However Undo Redo functions are not supported In Brief View mode mouse tool tips are available Mouse tool tips can display PLC Type Device and Variable only However the variable if declared will be displayed 2 Show function The user can select the column as desired Sequence 1 On the variable monitoring window click the rig...

Page 508: ...riable monitoring window click the right button of the mouse to select Unsigned Decimal Signed Decimal Hexadecimal and String on the menu displayed 2 Display type of the device of the selected row will be changed Displays available based on type Display Type BIT NIBBLE BYTE WORD DWORD LWORD REAL LREAL STRING Unsigned Decimal O 0 0 O O O X X X Signed Decimal X X X O O O O O X Hexadecimal O 0 0 O O ...

Page 509: ...device value will not be displayed if not monitored Any item with error will not be monitored Edit Add and Delete are available even during monitoring 2 Change Current Value Current value of the device can be changed in monitoring mode Sequence 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 ...

Page 510: ...igure when Find function is executed in the value column 2 Find Again It is used to find again the string found before Execute Find on the program or Variable Comment and then execute Find Again on the variable monitoring to start to find 11 3 5 Print It prints the variable monitoring tap presently active Notes The variable monitoring tap if not active will not be printed Value even if being monit...

Page 511: ...oves from the presently selected cell to the first or the last cell to the left or right above or below Tab Moves the present cell from the left to the right Shift Tab Moves the present cell from the right to the left Enter Moves the present cell from above to below If the present cell is value column during monitoring it will change the current value as well If the present cell is variable column...

Page 512: ... to ascending or descending sequence Notes If aligned in descending sequence a downward arrow image will be displayed And if aligned in ascending an upward arrow image will be displayed It is not aligned yet when the project is opened If aligned once more in descending sequence it will be aligned in ascending sequence Align function in row unit horizontally is not available ...

Page 513: ...t 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 Select one of those specified below to view Base Select items on the module information window Ex Base 0 Base 1 Select Base items on the...

Page 514: ...ct PLC Disconnect on the menu to disconnect Notes System Monitoring when executed will start to connect with the saved Connect options If executed in XG5000 it will start to connect with XG5000 s Connect options Default of Base 0 will be displayed on the screen 11 4 3 System Synchronization It reads base information I O assignment method and slot information specified in PLC to display on the scre...

Page 515: ...n PLC be OFF Sequence 1 Confirm the connection status with PLC 2 Select PLC All I O modules OFF on the menu 11 4 5 Selected I O modules ON OFF It is used to check output value of the selected I O modules installed on PLC 1 Selected I O module ON It makes the data value be ON as many as the contact points of the selected I O modules on the base displayed on PLC screen Sequence 1 Confirm the connect...

Page 516: ...y input and output is specified the specified value will be always displayed 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 Sequence 1 Confirm the connection status with PLC 2 Select one method among those below to display the module information With Power Module selected ...

Page 517: ...on status with PLC 2 Select one method among those below to display the module information With CPU Module selected select PLC Module Info on the menu With CPU Module selected click the right button of the mouse to select Module Info on the menu With CPU Module selected on the Module Information window click the right button of the mouse to select Module Info on the menu If CPU Module is selected ...

Page 518: ...hod among those below to display the module information With Communication Module selected select PLC Module Info on the menu With Communication Module selected click the right button of the mouse to select Module Info on the menu With Communication Module selected on the Module Information window click the right button of the mouse to select Module Info on the menu If Communication Module is sele...

Page 519: ...mong those below to display the module information With Special Module selected select PLC Module Info on the menu With Special Module selected click the right button of the mouse to select Module Info on the menu With Special Module selected on the Module Information window click the right button of the mouse to select Module Info on the menu If Special Module is selected on the screen press Ente...

Page 520: ...odule status Provides special module s present status error code information 11 4 11 Start Stop Monitoring It reads PLC s I O data to display on the screen 1 Start Monitoring Sequence 1 Confirm the connection status with PLC 2 Select PLC Start Monitoring on the menu 2 Stop Monitoring Sequence 1 Confirm the connection status with PLC 2 Select PLC Stop Monitoring on the menu 11 4 12 Special Module M...

Page 521: ...ing for the details of special module monitoring Not Special Module Monitoring but Module Info function is only available for the positioning module Positioning module s monitoring function shall be applied along with its exclusive software package 11 4 13 Save It is used to save the system information and data presently displayed on the screen ...

Page 522: ...e previously saved Sequence 1 Select File Open on the menu Double click an applicable file name Drag drop the file onto the System Monitoring to open it 11 4 15 Move Base It selects a base to show its module information Sequence 1 Move to the first base Select Base First Base on the menu 2 Move to the previous base Select Base Previous Base on the menu 3 Move to the next base Select Base Next Base...

Page 523: ...ew window the user can modify the area to be printed Sequence 1 Click Preview Select File Preview on the menu 2 Modify the area of the image displayed 3 Move the mouse to the edge 4 Mouse cursor will be changed 5 Move the mouse while being clicked to modify the size Notes The specified area of Preview will be saved In monitoring mode Preview is not available ...

Page 524: ... Monitoring can display the data value variously when displayed or input on the screen according to bit format and display method 11 5 1 Basic Application Sequence There are 2 methods available to execute Device Monitoring function Select Monitor Device Monitoring on the XG5000 menu Select Program XG5000 Device Monitoring on the Start menu The device information window displays all the device area...

Page 525: ...essary for effective and correct control of various types of data PLC provides various device areas of data to manage such data effectively The user is requested to classify the data areas for applicable reference in the program Refer to PLC manual for respective detailed device area 11 5 3 Data Format and Display Items There are mainly 4 methods to display data on the screen Display Setting Descr...

Page 526: ...ion and Special Function Blocks 11 39 1 16 bits Data size of the device is displayed in 16 bits Sequence 1 Select View View Option 16 bit on the menu Notes Assigned device of the selected cell is displayed in the status bar ...

Page 527: ...the device is displayed in 32 bits Sequence 1 Select View View Option 32 bit on the menu Detailed Description 32 bit P0000 device is of memory format united with 16 bit device P0000 and P0001 16 bits P0000 P0001 P0002 P0003 1234 5678 0000 FFFF 32 bits P0000 P0001 5678 1234 0000 5678 ...

Page 528: ... Sequence 1 Select View View Option 64 bit on the menu Detailed Description 64 bit P0000 device is of memory format united with 16 bit P0000 P0001 P0002 and P0003 16 bits 64 bits P0000 P0001 P0002 P0003 P0004 P0005 P0006 P0007 1234 5678 0000 FFFF 1234 5678 0000 FFFF P0000 P0001 FFFF 0000 5678 1234 1234 FFFF 0000 5678 ...

Page 529: ...l Function Blocks 11 42 4 Binary Data is displayed in binary Sequence 1 Select View View Option Binary on the menu Detailed Description Data value is displayed by 1 0 blank Application Example Hexadecimal 1234 Binary 0001 0010 0011 0100 ...

Page 530: ...nd Special Function Blocks 11 43 5 BCD Data is displayed in BCD Sequence 1 Select View View Option BCD on the menu Detailed Description Data value is displayed by the figures of 0 9 Application Example Hexadecimal 1234 BCD 1234 ...

Page 531: ... 11 44 6 Unsigned decimal Data is displayed in unsigned decimal Sequence 1 Select View View Option Unsigned Decimal on the menu Detailed Description Data value is displayed by the figures of 0 9 Application Example Hexadecimal 1234 Unsigned decimal 4660 ...

Page 532: ...ocks 11 45 7 Signed Decimal Data is displayed in signed decimal Sequence 1 Select View View Option Signed Decimal on the menu Detailed Description Data value is displayed by the figures of 0 9 Application Example Hexadecimal 1234 Signed decimal 4660 ...

Page 533: ...Chapter 11 Communication and Special Function Blocks 11 46 8 Hexadecimal Data is displayed in hexadecimal Sequence 1 Select View View Option Hexadecimal on the menu ...

Page 534: ... 11 47 9 Real Data is displayed in real Sequence 1 Select View View Option Real on the menu Detailed Description Data value is displayed in real Real format is available in 32 bits and 64 bits Application Example Hexadecimal 5678 1234 Real 6 818927e 013 ...

Page 535: ... Special Function Blocks 11 48 10 Text Data is displayed in ASCII string Sequence 1 Select View View Option Text on the menu Detailed Description Data value is displayed in ASCII string Application Example Hexadecimal 1234 Text 4 ...

Page 536: ...ommunication and Special Function Blocks 11 49 11 Current Value This function is used to show or hide the row of the current value in the T and C devices Sequence 1 Select View View Option Current Value on the menu ...

Page 537: ...ommunication and Special Function Blocks 11 50 12 Setting Value This function is used to show or hide the row of the setting value in the T and C devices Sequence 1 Select View View Option Setting Value on the menu ...

Page 538: ...Chapter 11 Communication and Special Function Blocks 11 51 13 Bit Value This function is used to show or hide the row of the bit value in the T and C devices 1 Sequence Bit Value on the menu ...

Page 539: ...pter 11 Communication and Special Function Blocks 11 52 14 Text Bits This function is used to display the bit value data by ON OFF in T and C devices Sequence 1 Select View View Option Textbit on the menu ...

Page 540: ...iew Option Numberbit on the menu 11 5 4 Edit Data Data value shall be specified to write device data on PLC or to write the selected area only on PLC 1 Edit Cell It is used to edit data on the cell Sequence 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 Sequence ...

Page 541: ...nce 1 Select the area to delete 2 Select Edit Delete on the menu 5 Paste It is used to paste the data saved in the clipboard on a selected location Sequence 1 Select the area to paste 2 Select Edit Paste on the menu 6 Fill It is used to fill the selected data Sequence 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 ...

Page 542: ...vice 1 Save All Device Areas Sequence 1 Select File Save on the menu 2 Select File Save As on the menu to save the data as a different name File extension will be set as mem 2 Save Respective Device Area Sequence 1 Select File Device to File on the menu File extension will be set as device m Ex pm mm lm ...

Page 543: ...indows closed Sequence 1 Select File Save Device to File on the menu 2 Select the device to save from the combo box File extension will be set as device m Ex pm mm lm 11 5 6 Open Device There are 3 methods available to open the device 1 Open All Device Areas Sequence 1 Select File Open on the menu ...

Page 544: ...equence 1 Select File Import Device from File on the menu 3 Open Respective Device Area if all windows closed Sequence 1 Select File Import Device from File on the menu 2 Select the device to open from the combo box Notes If in monitoring mode Open and Open Device from File are inactive ...

Page 545: ...cks 11 58 11 5 7 Data Value Setting Data value of the device can be specified according to its display type and the number of bits In addition setting area of the data value can be selected Sequence 1 Select Edit Fill Data Area on the menu a b c d e f ...

Page 546: ...cide the size of data e Setup area used to decide the range the data value is applied to in the device f Display used to decide the input format of data and change the format of the data value according to changed value display if any data value is available Notes Device name is displayed on the title to call dialog box of Setting Data Value 11 5 8 Clear Data It is used to delete all data value of...

Page 547: ...t is used to transfer the device data saved in on line computer to PLC Sequence 1 Ensure PLC is connected and the monitoring mode is inactive 2 Select PLC Write to PLC on the menu 3 Select the device to write on Write dialog box of PLC 4 Click OK to write the selected device on PLC ...

Page 548: ...e the setting value of T C devices is available only for Read it can not be written on PLC F device s exclusive Read areas can not be written on PLC Exclusive Read areas are based on the type of CPU 11 5 10 Read from PLC It is used to read the device data saved in PLC to on line computer Sequence 1 Ensure PLC is connected and the monitoring mode is inactive 2 Select PLC Read from PLC on the menu 3...

Page 549: ... to read from PLC c Unselect All used to cancel all the devices selected to read from PLC 11 5 11 Write Selected Area on PLC It is used to write the device data in the selected area on PLC connected Sequence 1 Select the area to write on PLC 2 Select PLC Write Selected Area to PLC on the menu 3 A message will be called to ask if you want to write the selected area on PLC 4 Write the selected area ...

Page 550: ...display on the screen in the on line status Sequence 1 Confirm the connection status with PLC 2 Select PLC Start Monitoring on the menu 2 Stop Monitoring It stops reading the device data from PLC in the on line status Sequence 1 Confirm the connection status with PLC 2 Select PLC Stop Monitoring on the menu Notes If in monitoring mode the data can not be edited If in monitoring mode Write to PLC R...

Page 551: ...ce 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 16 32 or 64 bits as displayed on the screen Bit value of T and C devices is 1 bit String format is displayed in 32 8 bits c Display used to display the data display format to change the current value d Data value used to display the data value to change the current ...

Page 552: ...Description of Dialog Box a PLC Type used to display or change the PLC type presently set Notes 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 1 Screen Zoom In It zooms in the screen Sequence 1 Select View Zoom In on the menu 2 Screen Zoom Out It zooms out the screen Se...

Page 553: ... menu 2 Automatic Height Adjustment It adjusts the row height to the string height of the cell Sequence 1 Select View Height AutoFit on the menu 11 5 17 Properties It is used to change the font and font size of the data value displayed on the screen In addition the color of the data value can be changed if in monitoring mode Sequence 1 Select View View Properties on the menu 2 Select Font to chang...

Page 554: ... dialog box to change color of data value in monitoring mode 11 5 18 Page Setting It is used to specify the device page printed Page margins title and grid lines can be showed or hidden as necessary In addition the sequence of pages to print can be specified with priority of row or column Sequence 1 Select File Page Setup on the menu 2 Specify margins 3 Show or hide title and grid lines as necessa...

Page 555: ...isplays 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 dialog box as shown in Fig 2 Through the Monitoring Test screen the user can directly change the parameter value saved in the special module while checking the test operation and its status of the a...

Page 556: ...Chapter 11 Communication and Special Function Blocks 11 69 Fig 2 Monitoring Test Screen High speed Count Module Monitoring Screen b d c Parameter Setting Screen a ...

Page 557: ...Chapter 11 Communication and Special Function Blocks 11 70 Fig 2 Monitoring Instruction Screen of HS Counter Module FLAG e f Screen for Contact Point Input Signal Status Instruction Screen ...

Page 558: ... button once more to stop monitoring d Test After changing the parameter at the bottom of the Monitoring Test screen click Test Start button to start to test the operation of applicable special module which will directly transfer the parameter information to the module so to display its result on the monitoring screen for the user to confirm e Confirm Contact Point Input Signal Status The user can...

Page 559: ...atus is displayed in stair shaped graph And in the trend graph the variation trend of the data is displayed with the device value converted from word to data format specified 11 7 1 Example The current value of a counter C0000 whose data increase by 1 every seconds and limited to 10 will be displayed with trend graph Steps 1 Make a program as follows 2 Write the program to the PLC ans change the m...

Page 560: ...Settings 5 Select Graph Setup tab on the monitor setup dialog box and input C0000 for Device 6 Click OK button and close the dialog box The device C0000 is registered in the trend graph 7 Uncheck View Bit Graph on the View Bit Graph menu Since the trend graph only will be displayed ...

Page 561: ...he monitoring will be started The current value of counter C0000 will be displayed with trend graph Notes The data to display on the trend monitoring may be different from the actual data In order to monitor correct timing use the data trace function Refer to 11 8 for details on the data trace function ...

Page 562: ...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 Time displays the maximum number of samples available to keep for a second Notes a c e f b d g h ...

Page 563: ...on of 11 7 5 8 Text e Frequency used to specify the cycle to read data from PLC The shorter the cycle is the more correct the data is which may have an influence on PLC scan and PC performance though f Device Setting used to designate the device to monitor The device can be displayed in bit or in real as specified g OK applies the changed items and closes the dialog box h Cancel closes the dialog ...

Page 564: ... Input the device of word type Or double click the variable column to select the declared device on the Variable Comment dialog box 3 Click the type column to select the data type Notes Up to 12 trend devices are available to register Supported data types are as follows Type Size Type Size BIT 1 bit REAL 4 bytes NIBBLE 4 bits LREAL 8 bytes BYTE 1 byte INT 2 bytes WORD 2 bytes DINT 4 bytes DWORD 4 ...

Page 565: ...ox 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 Show X axis data used to specify the display method of X axis data d Minimum value Maximum value used to set the max min range of the graph Notes a b e f g h i d c ...

Page 566: ...x No Index Left Upper Right Upper Left Bottom and Right Bottom are available for the Bit Index Position f Trend graph legend used to specify the position of trend graph index No Index Left Upper Right Upper Left Bottom and Right Bottom are available for the Trend Index Position g Color used to specify device color of each graph Notes If View Check Box is cancelled in Setting Color its applicable d...

Page 567: ...graph color 2 Click the color column to display applicable dialog box On the dialog box select desired color and then click OK button 2 View Graph Option Settings Sequence 1 Select the device to change its Graph Option 1 Select or cancel the Check Box of View Column 11 7 4 Setting Graph Window ...

Page 568: ...as necessary Sequence 1 Select Graph Graph Settings on the menu Dialog Box Description of Dialog Box a View all displays all the bit and trend graphs b View bit graph displays only the bit graph c View bit graph value displays only the bit graph value d View trend graph value displays the trend graph value 11 7 5 Graph function a c d b ...

Page 569: ...e graph Whenever the mouse moves the data value the cursor is positioned on will be displayed Notes View cursor function is only active in the state of Stop Monitoring Pause Monitoring 2 Scroll Synchronization It is used to decide to synchronize the bit graph with the trend graph in time axis It is useful in monitoring the bit graph and the trend graph data with the identical time Sequence Select ...

Page 570: ... trend graph at the same time based on Scroll Synchronization specified 3 Adjust X axis magnification It is used to adjust X axis magnification Sequence 1 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 ...

Page 571: ...ut 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 If the automatic adjustment is set the horizontal scroll bar will disappear and all the data can be seen at a glance Sequence 1 Select Graph X axis Autofit on the menu ...

Page 572: ...ax 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 Sequence 1 Select Graph Save as Bitmap on the menu 2 Input a file name to save with and then click OK 8 Save as Text It is used to save the graph data on the file in text Samples as many as the max samples kept specified in setting the max graph wil...

Page 573: ...d to copy the graph presently displayed on the screen onto the window clipboard Sequence 1 Select Graph Copy to Clipboard on the menu Notes The data will not be displayed if Y axis auto scale is setup and the variant of data is less than 2 2e 016 The graph will be displayed as figure below ...

Page 574: ...nd the Run status of PLC Decide to allow trace or not And specify trigger condition sample properties and trace device Refer to 11 8 3 for more details Write trace setting items on PLC Refer to 1 Write Trace Setting Items in 11 8 5 for more details Start trace with specified trigger conditions automatically or with manual trace selected Refer to 11 8 3 Setting Trace for detailed trigger setting an...

Page 575: ...vice and graph color d Bit graph displays the data of bit device e Word graph Index displays word device and graph color f Word graph displays the data of word device g Status bar displays the status of data trace h Progress bar displays the progress status if data is read from PLC i PLC status displays off line status and the operation status of PLC j Trace status displays the trace status of PLC...

Page 576: ...ce 1 Select Online Connect on the menu Notes Refer to 10 1 Connect Options in XG5000 manual for details on Connect Options 11 8 2 Setting Trace It is used to specify trace conditions and trace device Sequence 1 Select on the menu Trace Setting Trace Dialog Box a b c d e f g h i j k ...

Page 577: ...ses the dialog box k Cancel closes the dialog box Notes Use the number of samples in total and the number of samples after triggered to apply various collection methods a Number of Samples in Total Number of Samples after triggered a method to collect data after triggered which will be used when the data before triggered is not necessary b Number of Samples in Total Number of Samples after trigger...

Page 578: ... settings It is used to select the bit device to collect data The selected device will be displayed in a bit graph Sequence 1 Select the Bit device settings tap on dialog box of Data Trace Settings 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...

Page 579: ...ce will be displayed in a word graph Sequence 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 c Device list displays the list of the word devices specified a c...

Page 580: ...otes Devices of word type can be input up to 8 XBMS Max 4 Supported data types are as follows Type Size Type Size BYTE 1 byte REAL 4 bytes WORD 2 bytes LREAL 8 bytes DWORD 4 bytes INT 2 bytes LWORD 8 bytes DINT 4 bytes LINT 8 bytes 11 8 3 Setting Graph Sequence Select Graph Graph Settings on the menu Dialog Box c a b d e f g ...

Page 581: ...ght Bottom are available for the Bit Index Position d Word graph legend used to specify the position of word graph index No Index Left Upper Right Upper Left Bottom and Right Bottom are available for the Word Index Position e Color setup used to specify device color of each graph f OK applies the changed items and closes the dialog box g Cancel closes the dialog box 1 Setting Graph Color Sequence ...

Page 582: ...t Trace Read Trace Settings on the menu 3 Read Data Traces It reads trace data from PLC Sequence 1 Select Trace Read Trace on the menu 4 Start Manual Trace It is used to start to trace data under the trace condition presently specified Sequence 1 Select Trace Start Manual Trace on the menu If data is presently traced the applicable menu will be inactive 11 8 5 Simulation Using the trace data read ...

Page 583: ...mulation It is used to start Simulation Simulation will be active only with trace data available Sequence 1 Select Simulation Start Simulation on the menu 3 Simulation Pause It is used to stop Simulation in progress momentarily Sequence 1 Select Simulation Simulation Pause Resume on the menu 4 Simulation Resume It is used to continue Simulation which was momentarily stopped Sequence 1 Select Simul...

Page 584: ...uence 1 Select File Open on the menu 2 Select a file name to open on File dialog box and then click OK 2 Save Sequence 1 Select File Save on the menu 2 Input a file name to save with on File Save Box and then click OK 3 Save as Sequence 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 pres...

Page 585: ... copy the graph presently displayed on the screen onto the window clipboard Sequence 1 Select File Send Out Copy Clipboard on the menu 11 8 8 View Function This function is used to display or hide the tool bar and the status display line on the screen 1 View Tool Bar Sequence 1 Select Cancel View Tool Name on the menu 2 View Status Display Line Sequence 1 Select Cancel View Status bar on the menu ...

Page 586: ... 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 d Minimum Maximum Average displays the Min Max and Average value per device e Close closes the dialog box a c d e ...

Page 587: ...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 11 9 1 Basic instructions Sequence Select Monitor PID monitor ...

Page 588: ...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 Monitor window monitors real data value of PID variable you can t edit value in the monitor window c Detail setting window indicates value of setting item adjusting monitor value The user can edit at online off line a b c ...

Page 589: ...11 9 2 Save file It saves PID data value into file 1 Save All Loops Sequence Select menu File Save All Loops After inputting file name press Save button 2 Save Block How to save at menu Sequence Select File Save Block After inputting file name press Save button ...

Page 590: ...s 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 After inputting file name press Save button How to save at loop monitor window Sequence Push Loop Save button at loop monitor window After inputting file name press Save button Note Extension per file type is as follows Save ...

Page 591: ...9 3 Open file Reads PID data setting value from file 1 Open All Loops Sequence Select File Open All Loops After inputting file name push Open button 2 Open Block How to open at menu Sequence Select File Open Block at menu After inputting file name push Open button ...

Page 592: ...elect 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 After inputting file name push Open button How to open at loop monitor window Sequence Press Open Loop button at loop monitor window After inputting file name push Open button ...

Page 593: ...adjustment of loop name It is used to name PID loop Sequence Press the right button at block information window and select Establish Loop Name Input name you want and press OK Check name of loop Note You can set adjust loop name at Selected Loop tap of block information window ...

Page 594: ...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 Sequence Push the right button and select Add Del Selected Loop at block information window Check if check box in front of loop number is canceled or not at block information window You can cancel at Selected Loop tap Check if selected loop is not delete...

Page 595: ...ct File Print Preview Print function Sequence Select File Print or Print at preview window Note Print Print Preview supports only one loop at one time 11 9 7 Connection to PLC 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 Sets connection method through PLC Connection Settings Select P...

Page 596: ... loop monitor window Push the PLC Write button or select PLC Write Loop 11 9 9 Write all data to PLC It writes all loop data to PLC You can check progress through progress bar at bottom of PID monitor Sequence Select PLC Write All 11 9 10 Read loop data from PLC It reads data value from PLC by loop unit You can check progress through progress bar at bottom of PID monitor Sequence Select loop at bl...

Page 597: ...Monitoring It reads PID data value in PLC connected and indicates at screen Sequence Check if PLC is connected Select PLC Start Monitoring 2 End Monitoring It stops monitoring PID data value of PLC Sequence Select PLC End Monitoring Note In case of monitor mode you can t edit detail setting You can change setting value only by Edit Change Current Value In case of monitor mode you can t execute PLC...

Page 598: ... at loop monitor window Push the right button and select Change Current Value or push the ENTER key Change value and press OK Dialog box Dialog box description a Information indicates PID information to set b Data Type indicates data type of PID information to set c Parenthesis information indicates detail meaning of setting information d Tolerance range indicates data value range of PID informati...

Page 599: ...m last run time The horizontal axis is renewed every 1 second 11 9 15 Graph related function 1 Horizontal scroll bar If 25 second passes after starting monitoring horizontal scroll is created automatically If you press both end arrow of scroll time line increases decreases by 1 And if you press both blank Time line increases decreases by 10 2 Vertical scroll bar It is used to adjust vertical inter...

Page 600: ...aph color setting It is used to change color of PV Present Value MV Manipulated Value SV Setting Value graph Sequence Select Graph Graph Color Setting Select graph color part you want to change Select color at color table and press OK Check the change of graph color ...

Page 601: ... among detail setting value of PID monitor Sequence Select cell to copy and after pressing the right button of mouse select Cell Copy Note Since copy of bit data is not possible Cell Copy menu is not activated 2 Cell Paste It is used to paste value with 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 Sel...

Page 602: ...s selected 4 Setting Paste It is used to paste all detail setting of PID monitor Sequence Select detail setting window grid to copy and select Setting Copy by pushing right button of mouse Select detail setting window grid to copy and select Setting Paste by pushing right button of mouse Note When you select cell more than one you can t execute Setting Copy Paste 5 Initialize setting It is used to...

Page 603: ...Chapter 11 Communication and Special Function Blocks 11 116 ...

Page 604: ...ne 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 Monitoring function is also available in Debug mode If any error occurs on PLC Debug instruction will not work normally Clear the error to execute the Debug instruction 12 1 2 Stop Debugging Sequenc...

Page 605: ...kpoints It is used to set or remove the Breakpoint per step 1 Set Breakpoint Sequence 1 Move the Breakpoint to the step to specify 2 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 ...

Page 606: ... Debug Set Remove Breakpoints on the menu 12 2 2 Go It starts program debugging using the specified Breakpoint With the Go function the program can be run up to the Breakpoint specified Sequence 1 Select Debug Go on the menu The program will be run till the breakpoint complying with the condition is reached ...

Page 607: ...ebug Go on the menu again to go to the next Breakpoint 12 2 3 Go to Cursor It is used to make the program run up to the cursor position Sequence 1 Move the cursor to the position desired to run 2 Select Debug Go to the Cursor on the menu ...

Page 608: ... step by step When debugging program Step Into Step Out and Step Out functions will be provided 1 Step Into It runs the program to the next step If the present step is a application instruction CALL with the running condition satisfied it will enter the subroutine block Sequence 1 Select Debug Step Into on the menu ...

Page 609: ...L instruction or if the CALL running condition unsatisfied the program will be run to the next step 2 Step Out It is used to step out of the subroutine block once entered with Step Into function executed Sequence 1 Select Debug Step Out on the menu ...

Page 610: ...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 Sequence 1 Select Debug Step Over on the menu ...

Page 611: ... 3 1 Set Remove Breakpoints It is used to set or remove the Breakpoint per step 1 Set Breakpoint Sequence 1 Move the Breakpoint to the step to specify 2 Select Debug Set Remove Breakpoints on the menu Notes The break can not be set on the area specified by a Block Mask instruction IL will set the Breakpoint in line unit ...

Page 612: ... Debug Set Remove Breakpoints on the menu 12 3 2 Go It starts program debugging using the specified Breakpoint With the Run function the program can be run up to the Breakpoint specified Sequence 1 Select Debug Go on the menu The program will be run till the Breakpoint complying with the condition is reached ...

Page 613: ...ugging 12 10 2 Select Debug Go on the menu again to go to the next Breakpoint 12 3 3 Go to Cursor It is used to make the program run up to the cursor position Sequence 1 Move the cursor to the position desired to run ...

Page 614: ...progress will be made step by step When debugging program Step Into Step Out and Step Over Instructions will be provided 1 Step Into It runs the program to the next step If the present step is an application instruction CALL with the running condition satisfied it will enter the subroutine block Sequence 1 Select Debug Step Into on the menu ...

Page 615: ... instruction or if the CALL running condition unsatisfied the program will be run to the next step 2 Step Out It is used to step out of the subroutine block once entered with Step Into Instruction executed Sequence 1 Select Debug Step Out on the menu ...

Page 616: ... 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 Sequence 1 Select Debug Step Over on the menu ...

Page 617: ... 4 List of Break Points The list shows all the Break Points being used in the program where the user can decide to use or delete the Break Point Sequence 1 Select Debug Breakpoints List on the menu Dialog Box a c j h b e i g d f k ...

Page 618: ...C will be then breaked Example If the breakpoint is set inside FOR 20 NEXT with the number of times 10 FOR 20 NEXT will be executed 10 times and then will be breaked e OK saves the changed details and closes the dialog box f Cancel just closes the dialog box without saving the changed details g Select All checks all the listed items to allow h Reset cancels all the checked items previously allowed...

Page 619: ... Device Break Applicable debugging is available based on the data value and the application of the device 1 Setting Device Break Sequence 1 Select Debug Breakpoint Conditions Device Break on the menu Dialog Box i c f d h j e a b k g ...

Page 620: ...st closes the dialog box without saving the changed details j Find finds a desired device on the Variable Comment list k Condition makes the break engaged when writing the value on or reading the value from device 2 Device Break Run Sequence 1 Specify the device break 2 Select Debug Go on the menu PLC runs debugging 3 If specified device break conditions are met a message will be displayed to info...

Page 621: ... the check in the box is cancelled the specified scan break times even if saved will not be executed while PLC runs debugging b Count used to input scan times to apply the break 1 2147483647 is available for the setting value Scan Break Run 1 Check Use Scan Break and specify the scan times to apply the break 2 If Debug Go is selected on the menu PLC runs debugging 3 PLC will inform that the scan b...

Page 622: ...nline Editing Select Project Open from PLC on the menu 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 a Open Project b Connect d Start Online Editing c Start Monitoring e Edit f Write Modified Program g End Online Edit...

Page 623: ... Online editing will be continue after comparing the projects If NO button is clicked Online editing will be stopped In this case Online editing is possible after reading project from PLC Online Editing will be available after its program window is active and the program is selected After Online Editing starts the program window will be changed to edit mode during Run 2 or more programs can not be...

Page 624: ...otes During Write Online Editing the Comment Rung Comment Output Comment Non Comment will not be written on PLC Write the Comment Directly through Online Write on the menu During Edit Online Editing the monitor value may not be correct In order to monitor the correct value Write Online Editing should be executed Simultaneous online editing more than 1 program block is prohibited Adding or deleting...

Page 625: ...Chapter 13 Online Editing 13 4 ...

Page 626: ...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 Steps 1 Select Project Print Project on the menu 2 Print Project dialog box will appear 3 Specify each item Dialog Box ...

Page 627: ...nt Page Setting Margin Setting etc Notes Details button in the Project Level Diagram will be active only with the right mouse button positioned on Cover Program I O parameter as selected presently Refer to each print option for setting each detailed item Program Print Setting Refer to Program Print Device and Memory Reference used in the Project Level Diagram are identical to those on the window d...

Page 628: ...ge 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 Select Page Setup on the menu Dialog Box a b d c e f g ...

Page 629: ...es margins of paper printed g Printer used to change the setting options of the printer Notes Be careful not to let the print contents overwritten with header or footer when printed with due regard to margins If there are no content in header footer no header footer will be printed 14 1 3 Header Footer Setting It is used to specify the content of Header Footer Dialog Box Description of Dialog Box ...

Page 630: ...ject name p PLC name c PLC type T Page number Total Page number n Page number Total Page number of the selected items Page number Item page number N Page number Item page number of one item Program name P displayed only in program print mode File Name f file name of the present project Path and file name F file name displayed with its directory route Project comment C Project comment will be print...

Page 631: ...cover where the content font and position can be changed d Edit used to edit the content of the presently selected Edit Box Double click the mouse on c Edit Box or press Enter key when the Edit Box is selected to execute Edit If the Field is inserted Edit is also available e Font changes font of the presently selected Edit Box f Add adds a new Edit Box to the print cover g Delete deletes the prese...

Page 632: ... 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 The edge of the Edit Box will not be printed Edit Box can be moved by Drag and Drop instruction of the mouse or with the arrow keys Undo and Redo are not ...

Page 633: ...selected LD program 14 2 1 Print Setting Steps 1 Select the program item to print 2 Select Project Print on the menu Dialog Box Description of Dialog Box a Select Program selects a program to print In LD program IL program print can not be selected a b c d e h i j k f l ...

Page 634: ... Color print or not If the check box is selected the print will be in color and if not it will be in black and white f Print Grid used to decide to apply Grid Print or not h Print starts to print with the presently specified options applied i OK applies the presently specified options and closes the Dialog Box j Cancel closes the Dialog Box k Printer Setting used to specify the printer setup optio...

Page 635: ...Chapter 14 Print 14 10 ...

Page 636: ... of step 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 3 Module simulation It also supports simple simulation function for modules mountable on XGK rack type PLC such as digital I O module A D conversion module D A conversion module high speed...

Page 637: ... such as SLEEP mode Notes If using fixed cycle fixed cycle error warning dialog box is not displayed 15 1 3 XG SIM Execution 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 3 By selecting Online Change Mode R...

Page 638: ...vice monitor PLC info CPU Special module monitor PLC info Performance User event PLC info password Data trace PLC info PLC clock Start end debug PLC history error log Debug run PLC history mode conversion log Debug step over PLC history power off log Debug step in PLC history system log Debug step out PLC error warning Debug move to cursor I O info Set cancel break point Forced I O setup Break poi...

Page 639: ...r 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 6 I O condition It displays single continuous I O conditions 7 Status display It displays the status of simulator Status Description Display Initial Shows initial status Not accessible by simulator ...

Page 640: ...ontinuous I O condition executed Shows continuous I O condition is executed during which yellow LED blinks 15 2 2 Channel List 1 Module Channel Double click an item to view its channel in the tree view To register a channel as a favorable channel check the checkbox of favorable channel 2 Channel monitor 1 Start monitor Steps a Select Tools Start channel monitoring in Menu 2 Change current value of...

Page 641: ...elect Tools End channel monitor in Menu 15 2 3 I O Condition I O condition means the function to forcibly record a user present value into a specific device when meeting conditions that are entered by a user For instance in a statement if Device IX0 0 0 is 1 set all the values of device MX0 MX100 as 1 if Device IX0 0 0 is 1 constitutes the condition and set all the values of device MX0 MX100 as 1 ...

Page 642: ...ler than 9 Smaller than Four operations 2 Add 3 Subtract 0 Multiply 1 Divide Bit operation 12 Bit multiply 13 Bit sum 14 Beta bit sum Logic operation 10 Logical multiply 11 Logical sum Others Where device or channel is to be compared For instance if expressing M0000 is larger than 100 and device M000010 is On as a conditional statement it may be expressed as follows M0000 100 M000010 TRUE In case ...

Page 643: ...interface 1 Input I O condition Steps a Move to a position to enter new I O condition b Select Edit Properties in Menu c Edit I O condition dialog box and click OK 2 Edit I O condition Steps a Select I O condition to edit b Select Edit Properties in Menu c Change an item in the I O condition dialog box and click OK ...

Page 644: ...ct the I O condition to cut b Select Edit Cut in Menu c Move to a position to paste and select Edit Paste in Menu 4 Copy Past I O Condition Steps a Select I O condition to copy b Select Edit Copy in Menu c Move to a position to paste and select Edit Paste in Menu ...

Page 645: ...Chapter 15 XG SIM 15 10 5 Delete I O Condition Steps a Select I O condition to delete b Select Edit Delete 6 Insert line Steps a Select a position to insert a line b Select Edit Insert Line in Menu ...

Page 646: ...1 7 Delete line Steps a Select a position to delete a line b Select Edit Delete Line in Menu 3 Single I O Condition Single I O condition copies the value entered into a selected device channel if meeting the operation option ...

Page 647: ... user designated condition e Execution by Button sets it to execute a preset condition only when a user presses buttons f Execution by condition expression sets it to execute a condition only when meeting a user present conditional statement g View Channel Browser displays a channel finder The related buttons are activated only when selecting the operation by its conditional statement Description ...

Page 648: ... of I O condition c Description enter a simple comment for I O condition d Always execute sets it to start operation as soon as it is executed irrespective of user designated condition e Execution by Button sets it to execute a preset condition only when a user presses buttons f Execution by conditional expression sets it to execute a condition only when meeting a user present conditional statemen...

Page 649: ...continuous I O setup XG SIM writes every value inserted in continuous value setup into the related device channel every time scan is executed At the moment it does not designate Always execute or it continues to write the only first value set in the continuous value of a scan unless selecting Ignore conditions while execution or using a true conditional statement In addition if setting Repeat Oper...

Page 650: ...tion while Execution not setting Repeated Execution 7 6 5 4 3 2 1 Not setting Ignore Condition while Execution setting Repeated Execution if button operation conditional statement is false 7 7 7 7 7 7 7 7 7 7 7 7 7 7 Not setting Ignore Condition while Execution setting Repeat Execution if Always execute Conditional statement is true 7 6 5 4 3 2 1 7 6 5 4 3 2 1 Setting Ignore Condition while Execut...

Page 651: ... number hexadecimal or True False may be entered c OK saves edited items and exits the dialog box d Cancel cancels values entered 2 Select Device Channel Select a device channel to enter its continuous value Steps a Double click a column to enter device channel b Then dialog box to enter device channel is displayed c Enter a device channel and click OK ...

Page 652: ...edited items and exists the dialog box 3 Input value Steps a Move a cursor to enter a value b Enter a value 4 Auto Filling Steps a Select an area b Cursor is changed if placing it on the right corner of a selected area c With the left button pressed drag it up or down Notes If using Ctrl key for Auto Filling it is possible to enter continuous value of monotonic increase monotonic decrease dependin...

Page 653: ...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 XG SIM also executes operations through scan and keeps the following procedure ...

Page 654: ...nitoring function for analogue value receiving from or sending to outside 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 For instance to simulate the PLC system with the following configuration it is necessary to ...

Page 655: ...es 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 2 Digital I O Module Digital I O module simulation may change the current value of contact or simulate whether the...

Page 656: ...ype 8ch XGF AC8A Current type 8ch XGF AD4S Insulation type 4ch Ⅹ XG SIM supports 4 types of input voltage ranges and digital data formats and 2 kinds of input current ranges as follows Input voltage range Input current range Digital output format 1 5V 4 20mA 0 16000 0 5V 0 20mA 8000 8000 0 10V 1000 5000 10 10V 0 10000 XG SIM supports the following analog input parameters Parameter Support Paramete...

Page 657: ...lated voltage output 4ch Ⅹ XGF DC4S insulated current output 4ch Ⅹ XG SIM supports the following voltage current range and input data type Input data type Output voltage range Output current range 0 16000 1 5V 4 20mA 8000 8000 0 5V 0 20mA 1000 5000 0 10V 0 10000 10 10V XG SIM supports the following analog output parameter Parameter Support Operation channel Output voltage current range Input data ...

Page 658: ...ameter as follows Parameter Support Parameter Support Counter mode Ⅹ Comparison output 0 max value Pulse input mode Ⅹ Comparison output 1 min value Preset Comparison output 1 max value Ring counter min value Ⅹ Output status setting Ring counter max value Ⅹ Additional function mode Ⅹ Comparison output 0 mode Section value ms Ⅹ Comparison output 1 mode No of pulse per rotation Ⅹ Comparison output 0 ...

Page 659: ...ure input parameter Parameter Support Parameter Support Operation channel Process warning very upper limit Ⅹ Sensor type Process warning upper limit Ⅹ Temperature unit Process warning lower limit Ⅹ Filter constant Ⅹ Process warning very lower limit Ⅹ Averaging process Ⅹ Process warning hysterisis Ⅹ Average Ⅹ Variance warning setup type Ⅹ Scaling data type Ⅹ Variance warning upper limit Ⅹ Scaling m...

Page 660: ...n XG SIM For the APM function block list supported by XG SIM refer to the followings For the positioning module supported by XG SIM refer to the following table Module name Support XGF PO1A open collector axis 1 XGF PO2A open collector axis 2 XGF PO3A open collector axis 3 XGF PD1A line driver axis 1 XGF PD2A line driver axis 2 XGF PD3A line driver axis 3 XG SIM supports the following step data pa...

Page 661: ...Origin manual parameter High speed JOG Low speed JOG Inching speed The list of exclusive APM function blocks supported by XG SIM is as follows Function block Command Support ORG Origin return start X FLT Floating origin setting DST Direct start IST Indirect start LIN Linear interpolation start X CIN Circular interpolation start X SST Synchronous start VTP Speed position conversion X PTV Position s...

Page 662: ... not be executed during operation 224 Direct start command may not be executed in an absolute coordinate of which origin is not determined 231 Indirect start command may not be executed during operation 234 Indirect start command may not be executed in an absolute coordinate of which origin is not determined 291 Synchronous start command may not be executed during operation 294 Synchronous start c...

Page 663: ...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 BxSyz apm x base number yz slot number not case sensitive Base Slot Proj...

Page 664: ... e based on X axis Channel name Meaning XCurrentPosH High 16 bits in the current position value of X axis XCurrentPosL Low 16 bits in the current position value of X axis XCurrentVelH High 16 bits of the current speed value of X axis XCurrentVelL Low 16 bits of the current speed value of X axis ...

Page 665: ...Function Station No setting P2PSN Designate the station no of communication counterpart Reading area designation WORD P2PWRD Designate the word data reading area Writing area designation WORD P2PWWR Designate the word data writing area Reading area designation BIT P2PBRD Designate the bit data reading area Writing area designation BIT P2PBWR Designate the bit data writing area 15 3 3 Non rack type...

Page 666: ...cluding the steps using step variables 512 steps Max No of Rows Maximum No of the rows which can be edited 65 535 rows Max No of Columns Maximum No of the columns which can be edited 65 535 columns 16 2 Program Edit 16 2 1 Edit Tool SFC edit elements can be entered by selecting the element from the SFC tool bar and mouse click or using shortcut key at the desired position Symbol Shortcut Key Descr...

Page 667: ...n the shortcut key definition s stands for the Shift key c stands for the Ctrl key and a stands for the Alt key The shortcut keys used in the Edit Tool are in accordance with the default keys provided in the XG5000 For user defined shortcut key refer Chapter 2 Basic Operation 2 4 Shortcut Key Setting For each SFC program added to the project program list at least 64 words of automatic variables mu...

Page 668: ...em at the selected position Step Transition Transition parallel branching start line label end line of selective branching Transition Step Step Block starting line of selective branching end line of selective branching Read Only variables cannot be used for Step Transition variable 16 2 3 Entering Action An Action executes linked program when the connected Step is activated Procedure 1 Move cursor...

Page 669: ...t side of Step if a Step is selected Below Beneath the Action if an Action is selected Unlimited number of Actions can be linked to a Step Actions cannot be linked to a Block Read Only variables cannot be used for Action variable 16 2 4 Entering Block Transition Enters a Block Transition Procedure 1 Move cursor to the desired position 2 Select Block from the toolbar and click edit area or press co...

Page 670: ...2 5 Entering Label Enters a Label Procedure 1 Move cursor to the desired position 2 Select Label from the toolbar and click edit area or press corresponding shortcut key 3 A new Label is entered Note A label can be entered after selecting a Step or Block Label will be entered before the selected Step or Block ...

Page 671: ...ar and click edit area or press corresponding shortcut key 3 A new Jump is entered Note A Jump can be entered only when the last Transition in the selected branch or the last Transition in the last line of the program has been selected The Jump will be entered after the selected Transition Jumping is allowed within the same program only ...

Page 672: ...anch is provided below 1 Creating a Branch Procedure 1 Move cursor to the desired position 2 Select Left Branch from the toolbar and click edit area or press corresponding shortcut key 3 Mark the starting point and linkable point of the Branch 4 Move cursor to the Branch end point Start Point Linkable Point ...

Page 673: ...or Parallel Branch will be created according to the position of the selected starting point Item at the branch starting point Line Shape Selective Branch Step Block Single horizontal line Parallel Branch Transition Two horizontal lines 2 Adding a Branch Procedure 1 Move cursor to the desired position ...

Page 674: ...h is added Note Although number of Branch is not limited it may be limited by the number of the horizontal rows Selective and Parallel Branches cannot be added to the other type 16 2 8 Entering Right Branch Enters a Right Branch with an example of a Parallel Branch 1 Creating a Branch Procedure 1 Move cursor to the desired position ...

Page 675: ...e toolbar and click edit area or press corresponding shortcut key 3 Mark the starting and linkable positions of Branch 4 Move the cursor to the end position of the Branch 5 Select the end point of the Branch 6 A Branch is created Start Point Linkable Point ...

Page 676: ...lel Branches are the same as that of the Left Branch See Chapter 16 2 7 Entering Left Branch 2 Adding a Branch Procedure 1 Move cursor to the desired position 2 Select Right Branch from the toolbar and click edit area or press corresponding shortcut key 3 A new Branch is entered ...

Page 677: ...esignate as the initial Step d Step Variable refer Step name from the local variable list e Local Variable designate a variable in the local variable list f Confirm save the changes and exit the dialog g Cancel exit the dialog without saving the changes Note The initial step is the starting step of the program thus can be designated only one in a program Error is inspected when inspecting the prog...

Page 678: ...er 16 SFC Edit 16 13 16 2 10 Transition Register Information Edit Edit the name or comment of Transition Procedure 1 Move cursor to the desired position 2 Press Enter or double click mouse left button Dialog ...

Page 679: ...he current program window e Local Variable designate a variable in the local variable list f Simple hide the list g Confirm save the changes and exit the dialog h Cancel exit the dialog without saving the changes Note Transition programming is available with LD or ST only 16 2 11 Action Register Information Edit Edit name comment or limiter of Action Procedure 1 Move cursor to the desired position...

Page 680: ...he coil in the Action e List show other transition being used in the current program window f Limiter other actions are available according to the action limiter g Time enter time according to the action limiter Time Constant Time Interval E g 120 10ms 1200ms h Local Variable designate a variable in the local variable list i Simple hide the list j Confirm save the changes and exit the dialog k Can...

Page 681: ...Step was activated SD Stored time Delay The Action will be executed from the set up time after the Step activation until R Limiter is executed If the R Limiter is executed before the set up time the Action will not be executed DS time Delayed Stored The Action will be executed from the set up time after the Step activation until R Limiter is executed If the Step is disabled or R Limiter is execute...

Page 682: ...left button Dialog Dialog box description a Name enter Block name b Comment enter comment of the Block c List show other Blocks being used in the current program window d Simple hide the list e Confirm save the changes and exit the dialog f Cancel exit the dialog without saving changes Note Block contents can be composed using SFC program only A Block is not linked with an Action ...

Page 683: ... cursor to the desired position 2 Press Enter or double click mouse left button Dialog Dialog box description a Label enter name of the label b List show other labels being used in the current program window c Confirm save the changes and exit the dialog d Cancel exit the dialog without saving changes ...

Page 684: ...Chapter 16 SFC Edit 16 19 16 2 14 Jump Register Information Edit name of a Jump Procedure 1 Move cursor to the desired position 2 Press Enter or double click mouse left button Dialog ...

Page 685: ...g changes Note Jump name must be the same as the label name Cannot jump to another SFC program 16 2 15 Priority to Selective Branch Setting The priority of the program execution of the entered Selective Branches can be set up Procedure 1 Move cursor to the beginning point of the Selective Branch 2 Select menu Edit Set up Priority of Selective Branch 3 Click the beginning points of the Selective Br...

Page 686: ...er has not been defined the program compiling proceeds from left to right That is the program is executed from left to right Double clicking a selective branch initializes the branch to the top priority branch 16 2 16 Selective Branch Priority Rest Rest the priority setting of the selective branches Procedure 1 Select the beginning point of the Selective Branch whose priority order has been set up...

Page 687: ...enu Edit Delete Note According to the selected position Step Transition or Block is deleted together with the element beneath it Deletion may be inapplicable In such case alarm message appears and edit is cancelled Deleting after selecting the beginning point of a Branch will delete all the contents beneath the Branch 16 2 18 Copy Cut Paste The data in a selected area can be copied or cut and past...

Page 688: ... 16 SFC Edit 16 23 1 Copy Paste Procedure 1 Select the area to be copied 2 Select menu Edit Copy 3 the area to be copied is indicated 4 Move cursor to the desired position for pasting 5 Select menu Edit Paste ...

Page 689: ...all the contents beneath the Branch To paste a branch select the beginning point of the branch Pasting is applicable only for the same type of branches Action can be pasted to a Step by selecting the Step The principle of paste is to make the same operation as element input Copying will copy the programs of the Action Transition and Block Afterwards pasting to another program will also paste the c...

Page 690: ...Chapter 16 SFC Edit 16 25 3 Move cursor to the area to paste to 4 Select menu Edit Paste ...

Page 691: ...16 26 16 2 19 Edit Cancel and Redo Cancel the changes made in program edit or redo the cancelled change 1 Edit Cancel with an example of deletion Procedure 1 Move cursor to the position to delete 2 Select menu Edit Delete ...

Page 692: ...ndicated and the change is cancelled 2 Redo with an example of deletion 1 Select menu Edit Redo Note For all the changes made in edit cancel or redo is applicable Number of cancel is not limited 16 2 20 Program Edit Mode The SFC program works in insertion mode only Insertion Mode ...

Page 693: ...rocedure 1 Select menu View Zoom Out Note With a wheeled mouse Ctrl Upward roll reduces magnification by one step With a wheeled mouse Ctrl Downward roll enlarges magnification by one step Magnification can be selected from the Magni View tool bar or entered directly For details see Chapter 2 Basic Operation 2 2 Toolbar 16 3 2 SFC Screen Attributes The contents position or other information displa...

Page 694: ...n can be set up f SFC Partitioned Window SFC window can be partitioned g Partitioned Window Content arrange the view contents in the partitioned windows h Partitioned Window Position SFC partition direction can be arranged i Confirm save the changes and exit the dialog j Cancel exit the dialog without saving changes k Apply apply the setting to the present SFC window l Rest Initial Value rest all ...

Page 695: ...Chapter 16 SFC Edit 16 30 1 View Comments Comments not displayed Comments displayed 2 View Print Area 3 View Page No ...

Page 696: ... Step Column Width Step column 68 pixel default screen Step column 100 pixel screen 5 Action Column Width Action column 100 pixel default screen Action column 150 pixel screen 6 Partitioned Window Screen with partitioned windows ...

Page 697: ...7 Partitioned Window Contents View selected Action Transition Action selected View the same SFC program View partitioned window with fixed contents view the contents previously fixed different from selected position Selected Position Selected Position ...

Page 698: ... window on the right side Partitioned window at the bottom 16 3 3 View Block Action Transition List Check other program list being used in the SFC program and can edit name comment etc Procedure 1 Select menu View Block Action Transition List 2 List window will appear ...

Page 699: ...rogram The Block Action or Transition program at the position selected by SFC program can be opened in new window Procedure 1 Select the position to open the program 2 Select menu View Open Program 3 Open the selected program in a new window ...

Page 700: ...This section described additional convenience functions for edit 16 4 1 Book Mark Book marks can be set up to go to desired position promptly 1 Book Mark Setting Procedure 1 Move cursor to the position to set a book mark 2 Select menu Edit Book Mark Set Rest ...

Page 701: ...Chapter 16 SFC Edit 16 36 2 Reset Book Mark Procedure 1 Move cursor to the position to reset a book mark 2 Select menu Edit Book Mark Set Rest ...

Page 702: ...Chapter 16 SFC Edit 16 37 Reset All Book Marks Procedure 3 Select menu Edit Bok Mark Rest All 3 Go to the Previous Book Mark Procedure 1 Select menu Edit Book Mark Previous Book Mark ...

Page 703: ...t 16 38 4 Go to the Next Book Mark Procedure 1 Select menu Edit Book Mark Next Book Mark Note Book marks are set up by cell unit Since a book mark is not an edit item cancel or redo is not applied to book mark set reset ...

Page 704: ...ption a Go To Line enter the line to go to b Program List show the program list of the present PLC c Go To exit the dialog and go to the destination Step of the selected program d Cancel exit the dialog 2 Enter the Step to go to in the dialog box Note Go To Line is available in LD or ST program only The LD used as the Action Transition of SFC is not available for Go To function a b c d ...

Page 705: ...ected the list for all the labels appears b Label list in the program show the list of the label being used in the selected program c Go To exit the dialog go to the selected label d Cancel exit the dialog 2 Select the label to go to in the dialog Note Go To Label function is available in the LD program only The LD used as the Action Transition of SFC is not available for Go To function a b c d ...

Page 706: ...list for all the Rung Comments appears b Rung Comment list in the program show the list of the Rung Comments in the selected program c Go To exit the dialog go to the selected Rung Comment d Cancel exit the dialog 2 Select the Rung Comment to go to from the dialog Note Go To Rung Comment function is available in the LD program only The LD used as the Action Transition of SFC is not available for G...

Page 707: ...ected all the END commands will appear b END list in the program show the list of the END commands in the selected program c Go To exit the dialog go to the selected END command d Cancel exit the dialog 2 Select the END command to go to from the dialog Note Go To END command function is available in the LD program only The LD used as the Action Transition of SFC is not available for Go To function...

Page 708: ...er based programming language in accordance with the IEC 61131 3 17 1 ST Programming For PLC scan program pr SFC can be programmed with ST 17 1 1 Adding Scan Program Sequence 1 Select Scan Program in the Project window 2 In the menu select Project Add Item Program ...

Page 709: ...7 1 2 Add SFC transition and action Adding Transition 1 In the SFC program move the cursor to the location to enter Transition 2 Select a transition and double click it or press Enter 3 Enter the name and description of the transition check the Program P radio button in the classification K as necessary press Confirm ...

Page 710: ...gram dialog select ST as the language Adding Action 1 In the Action Register dialog enter the name and description of the Action select Program P in the classification K and press Confirm 2 In the Add Program dialog select ST as the language ...

Page 711: ...e converted to another language 17 3 Program Edit 17 3 1 Shortcut Key For ST programming and edit input copy cut or paste can be performed using keyboard Following shortcut keys can be changed with the menu Tools Shortcut Key Setting Function Shortcut Key Description Copy Ctrl C Copy the selected character string Paste Ctrl V Paste the selected character string Delete Del Delete the selected chara...

Page 712: ...page Ctrl End Go to the last edit line Ctrl Go to the first character of the next word Ctrl Go to the first character of the previous word Ctrl Del Delete to the beginning position of the next word Ctrl BS Delete to the first character of the present word Shift Move Select the section from the present cursor position to the position to go to Note 1 In the shortcut key definition s stands for the S...

Page 713: ... the position to Paste the character string 4 Select menu Edit Paste Note 1 Clip board a memory area of computer system provided for temporary storage space 2 When performing the Paste function if a section has been selected the section will be overwritten with the character string stored in the clip board otherwise the character string in the clip board will be inserted 3 Paste function is availa...

Page 714: ...as been executed Procedure 1 After executing Paste function select menu Edit Undo The pasted character string is deleted 2 Select menu Edit Redo The Paste function will be executed again 17 3 4 Select Add Variable Enter a variable in the selected section or cursor position Procedure 1 Move the cursor to desired position and select menu Edit Select Add Variable ...

Page 715: ...Chapter 17 ST Edit 17 8 Dialog ...

Page 716: ...ether the whole flags for the selected item will be displayed or only the flags pertinent to the entered parameter No block index will be displayed f Parameter No enter the setting number of the selected flag item 0 12 for high speed link 0 8 for P2P and 0 63 for PID g Block Index enter the block number of the selected flag item 0 127 for high speed link and 0 63 for P2 h Global Variables show the...

Page 717: ...alue enter the initial value of the variable to be added f Latch enter the latch status of the variable to be added g Comment enter the description of the variable to be added 2 Enter the variable at the cursor position Note 1 Placing the cursor in a character string which is not in the variable list and execute Add Select Variable command to add a new variable 2 Selecting a character string as a ...

Page 718: ...dit 17 11 17 3 5 Insert Application Command Insert a character string of application command at the cursor position Procedure 1 Move the cursor to the desired position 2 Select menu Edit Function Function Block Dialog ...

Page 719: ... show the list of the application commands which fall under the selected class d Confirm enter the input and exit the dialog e Cancel exit the dialog 3 Function Function Block is inserted Note The input output parameters for application commands are not entered automatically but need to be edited according to the user s intention Automatic variable and application command may have the same names ...

Page 720: ... XGK CPU b Select list at key input when entering a character with the keyboard the names of the application command and variables which begin with the character are listed Select Repeated text automatic completion enter the F WHILE SWITCH etc which are the control statement of the ST software and press enter the statement will be automatically completed in compliance with the ST grammar c Tap Spa...

Page 721: ...oloring to variable reserved words comments and application commands 17 4 2 Font Color Coloring or font scheme can be applied by word unit 1 Font Procedure 1 Select menu Tool Option 2 Select ST Font Color 3 Change font Note 1 Character size cannot be changed 2 Default font is Fixedsys 3 For details of option setting see 2 6 Option 2 Color Procedure 1 Select menu Tool Option 2 Select ST Font Color ...

Page 722: ... Function Block Flag Constant and Background Color for Edit during Running 2 For details of option setting see 2 6 Option 17 4 3 Zoom ST programming does not support Zoom In Out function 17 4 4 Tap Set up the tap spacing for indent Procedure 1 Select menu Tool Option 2 Select ST Edit Setting 3 Change tab spacing ...

Page 723: ...ng 4 Screen with tap spacing 8 Note 1 The default tap spacing is 4 2 Tap size ranges from 1 to 100 17 4 5 View Line Number Show or hide line number in ST program Procedure 1 Select menu Tool Option 2 Select XG5000 Edit Common 3 Select View Line No ...

Page 724: ...This section describes the additional edit functions provided for convenience 17 5 1 Book Mark Insert book marks to go to interested pages promptly 1 Book Mark Setting Procedure 1 Move the cursor to the desired position 2 Select menu Edit Book Mark Set Reset ...

Page 725: ...ursor to the desired position 2 Select menu Edit Book Mark Set Reset 3 Reset All Book Marks Procedure 1 Select menu Edit Book Mark Reset All 4 Go to the previous book mark Procedure 1 Select menu Edit Book Mark Previous Book Mark 5 Go to the next book mark Procedure ...

Page 726: ... or reset are not influenced by the cancel or redo function of the edit 17 5 2 Select from Character String List When entering characters with keyboard the characters and character strings which begin with the character are listed for convenient selection Procedure 1 Enter character with keyboard 2 From the list of the words select desired character string ...

Page 727: ...nguage key words such as IF CASE WHILE etc 2 variable name 3 flag variable name 4 function name 17 5 3 Set Remove block mask Set or reset the area of the ST program which will not be executable by the PLC Set up block mask using the symbols and 1 Set up Block Mask Statement 1 Select the area to be set up to be the non executable statement ...

Page 728: ...sk 17 5 4 Set Remove Line Block mask Different from Set Reset Non executable Statement which is applicable for a selected area this command set reset non executable statement by line basis from the cursor position Line Non executable Statement can be set up using the symbol 1 Set up Line Non executable Statement 1 Select the line s to be set up as non executable statement ...

Page 729: ...er 17 ST Edit 17 22 2 Select menu Edit Set Remove Line Block Mask 2 Remove Line Block Mask 1 Select the lines to be reset from the line non executable statement 2 Select menu Edit Set Remove Line Block Mask ...

Page 730: ...apter 17 ST Edit 17 23 17 5 5 Indent Outdent Indent or outdent the selected area 1 Indent 1 Select the area to be indented 2 Press Tab key 2 Outdent 1 Select the area to be outdented 2 Press Shift Tab key ...

Page 731: ...Chapter 17 ST Edit 17 24 ...

Page 732: ... 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 18 1 2 Functions of the SOE Monitor The SOE monitor is an exclusive software package which runs on a PC platform and communicates with the CPU of XGK XGI or XGR series for e...

Page 733: ...inning shot of the SOE monitor Dialog 1 Select Monitor SOE Monitor in the menu Dialog description a Menu basic menu is provided for using the software program b Tools menu can be easily selected and executed with toolbar c SOE event history window shows the elements of the current project d Event monitor window shows the event information of the module selected in the project e Status bar shows th...

Page 734: ...pter 18 Exclusive Functions for Event Input Module 18 3 18 2 1 Menu Structure If you select a menu item commands appear The commands can be executed with mouse or keyboard Some menus provide shortcut keys ...

Page 735: ...st first Show the data in the order of old to recent in the monitor window Find event Search desired event Module Property Show parameter setting in online operation 3 Online Command Description Connect Disconnect Connect with or disconnect from the PLC Connection setting Set up access method Clear PLC event history Delete the event data saved in the PLC CPU memory Clear SOE module event history D...

Page 736: ...lose all Close all the windows of the XG5000 6 Help Command Description About SOE monitoring Provides the information on the SOE monitor 18 2 2 Tools Frequently used menu items are provided with respective shortcut keys icons You can execute the menu by mouse clicking on the icon Toolbar 1 Create a new toolbar You can edit the toolbar with frequently used tools Sequence 1 Select Tool Customize in ...

Page 737: ...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 Sequence 1 Select the Command tab in the user definition dialog 2 Create a toolbar and click on the Confirm button a b c ...

Page 738: ...e existing toolbar c Button select the desired tool User toolbar drag drop the desired tool with the button onto the user toolbar to add it 18 2 3 SOE Event History Window The SOE monitor displays the XGF SOEA module SOE event history window automatically when connected with PLC CPU Double click on the desired module to run the event monitor window a b c d ...

Page 739: ... 8 Dialog Dialog description a CPU event history select the event saved in the CPU module b Module event history select the event saved in the SOE module c Double click on the CPU event history or module event history to activate the event monitor window a b ...

Page 740: ...le 18 9 18 2 4 Status Bar Dialog Dialog description a Event No show the number of the events in the event monitor window b PLC name show the name of the PLC connected with the SOE monitor c Online show the PLC connection status of the SOE monitor a b c ...

Page 741: ... the XGF SOEA module in the CPU module Sequence 1 Click on the Parameter Basic Parameter in the project tree 2 Basic operation setting Dialog Dialog description a Overwrite with recent history used to save the most recent event If there are more than 3 000 events the oldest event is deleted and the new event is saved b Maintain the initial history used to maintain the first event If there are more...

Page 742: ...or toolbar of the XG5000 18 4 1 Setting Item Sets up the method of saving the external event history in the XGF SOEA module Sequence 1 Click on the Parameter I O Parameter in the project tree 2 In the I O Parameter Setting window click on the slot of the base where the module is mounted In the example below the XGF SOEA module is at 4 slot 0 base ...

Page 743: ...ctions for Event Input Module 18 12 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 ...

Page 744: ...ing Disturbed time Missing time are disabled IRIG B time format setup It is activated only when the external time is selected Set external time format Disturbed time It is activated only when the external time is selected Set the time value that changed from Disturbed state to Missing state due to unstable external time signal Missing time It is activated only when the external time is selected Se...

Page 745: ...r Event Input Module 18 14 18 5 View Module Information XG5000 supports viewing event input module information Sequence 1 Online Connect select I O Information 2 Clicking on the Detail Info will show XGF SOEA information as shown below ...

Page 746: ...odule 18 15 18 6 Event History Monitor The events entered into the CPU and event input modules can be monitored with the SOE monitor Sequence 1 Online Connect select Monitor SOE Monitoring Unless in Online state the SOE Monitor menu is not activated ...

Page 747: ...Chapter 18 Exclusive Functions for Event Input Module 18 16 a SOE Monitor will be executed b Select Online Connect The information of the event input module in the connected system will appear a b ...

Page 748: ... history stored in the CPU module b Module event history the event history stored in the SOEA module c Double clicking on the CPU event history or module event history will activate the event monitor window c Click on the CPU event history CPU Event History double click Online Refresh Event ...

Page 749: ...hour minute second millisecond microsecond occurrence time 2009 04 26 17 43 32 105 300 Description Year Month Day hour minute second Details of the event information Event No Year Mon th Day Time Base Slot Trigger type Contact s Variable name Input state All of 32 contacts Base time Inside Outside Time state valid disturbed missing invalid No sync Base No Slot No Input conditions Variable name inp...

Page 750: ...put Module 18 19 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 Select View All Event ...

Page 751: ... the bit at which the event has occurred b Designate event type designate the input condition at which the event has occurred c Show SOE installed position only used only for CPU event history filtering Only the base and slot of event input module will appear d Base Slot used only for CPU event history filtering Designates base and slot e Begin End designate the event filter with the time and the ...

Page 752: ...setting a Event occurrence point setting No 0 bit b Event type setting Rise event Select View Filtering Base and time designation filter setting a Base Slot designate all the bases and slots b Begin End setting 2009 4 26 3 42 12 2009 4 26 5 44 12 b a 0 bit Rise event Filtering result b a Filtering result Event time 2009 9 22 12 23 Base slot ...

Page 753: ... 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 Select View Newest first Dialog From recent to older events ...

Page 754: ...ns for Event Input Module 18 23 Sequence b Select View Oldest first 5 Event Comparison Compare the events stored in the CPU and event input modules and show the result Sequence a Select View Compare Event From old to recent events ...

Page 755: ...Delete Event History Delete CPU history the history stored in the CPU module is deleted Sequence a Select Online Clear PLC Event History Clear SOE module event history delete the history stored in the module Sequence b Select Online Clear SOE Module Event History ...

Page 756: ...Chapter 18 Exclusive Functions for Event Input Module 18 25 Clear All SOE module History delete the history stored in all the SOEA modules Sequence c Select Online Clear All SOE module History ...

Page 757: ...e as an Excel file 1 Save as an Excel file The event file is saved as an Excel file Sequence 1 Select the event history to be converted into an Excel file in the event monitor window 2 Select File Export to file from the menu 3 Enter a new file name in the Save As dialog 4 Click on the Save button to create a new Excel file Dialog b a ...

Page 758: ...y window show the elements of the current project b Event monitor window show the event data of the selected module of the project c This conversion to an Excel file is effective only for the currently active main screen one window 2 File Export to fille 3 Enter a new file name in the Save As dialog ...

Page 759: ...Chapter 18 Exclusive Functions for Event Input Module 18 28 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 ...

Page 760: ...scribes XG5000 s U device auto registration 18 8 1 U device auto registration Refers to the SOE module information set in I O parameter and registers the variable on each module User can modify the variable and comment Sequence 1 Set the SOE module at a slot of I O parameter in a project window ...

Page 761: ...Chapter 18 Exclusive Functions for Event Input Module 18 30 2 Select Register Special Communication Module Variables at Edit 3 Click Yes 4 Variables are registered as follows ...

Page 762: ... of SOE module 32 contact points You can edit Variable Device name and those can be expressed in connection with U device at SOE monitor 18 8 2 Saving Variable 1 You can save contents in Global Variables into the text file 2 Click Export Variables to File in Edit 3 Then contents in Global Variables are saved into the text file ...

Page 763: ...Chapter 18 Exclusive Functions for Event Input Module 18 32 ...

Page 764: ... not provided by XG5000 The User Function Function Block can be created as follows 알아두기 Available in XG5000 V3 3 or above XGK CPU OS V3 4 or above Create new project selecting auto allocation Create the user function function block program Create the user function function block I O variable User function function block programming Use it in a scan program ...

Page 765: ...uld check auto allocation If not you can t use user function function block 19 1 2 Create User Function Function Block Program In order to create user function function block after selecting User Function Function Block select Project Add item Function or Project Add item Function Block on the menu or select Add item Function Function Block on the context menu that appears if you click right butto...

Page 766: ...Chapter 19 User Function Function Block 19 3 h g a b c d e f Dialog box ...

Page 767: ...used under the operation condition of function function block If not selecting EN ENO a user should declare BOOL type variable in the first input and first output parameters of the function function block d Return Data Type designates a type of the results after a user defined function is executed It is activated only when a user defined function is created e Width Columns adjusts the width column...

Page 768: ... For Width Columns item you can specify the width of function function block and it can be useful to make long I O variable name not overlapped Width 1 Width 2 If clicking OK button a new item is created under the item of User Function Function Block ...

Page 769: ...nction Its data type is the return data type designated when creating user function block and name is same as that of user function b Function shape displays function function block shape according to input variable I O variable output variable inputted in the local variable window The shape is displayed when using the User Function Function Block in the scan program 2 Add input variable I O varia...

Page 770: ...Chapter 19 User Function Function Block 19 7 Notes Input variable and output variable should be at least one or more respectively but the number is limited to 64 ...

Page 771: ...s 1 If double clicking a program among the items under the User Function Function Block a program screen with the previously designated language appears The following screen shows the screen created when selecting the LD 2 Create a program based on the variable inputted in the local variable window ...

Page 772: ...unction block programming In the user function block you can set trigger on bit type input parameter variable Type of trigger is as follows 1 R_EDGE Rising Edge When variable changes from 0 to 1 derivers 1 into function block 2 F_EDGE Falling Edge When variable changes from 1 to 0 derivers 1 into function block If local variable edit and program edit are finished select extension function in the t...

Page 773: ...Chapter 19 User Function Function Block 19 10 ...

Page 774: ...e User Function Function Block Steps 1 Open the program to use a User Function Function Block and move the cursor to the position to input 2 Click Extension Function Toolbar 3 Select a User Function Function Block in the function function block dialog box ...

Page 775: ...Chapter 19 User Function Function Block 19 12 4 Input the variable to be used in the input output of function function block ...

Page 776: ...lock and connects with EN In case there is no EN it can connect with first BIT type input variable Output line can come out from BIT type output variable and only one is available Online editing for user function function block is not available But deleting user function function block in the scan program is available ...

Page 777: ...nction Block 19 14 19 3 Protect user Function Function Block Source 19 3 1 Password 1 Setting individual password for user function function block Steps 1 After user function function block on the project window select Properties ...

Page 778: ...ction Function Block 19 15 2 Select password tap in the dialog box 3 Input password 4 Input password again at Confirm password 5 Press OK 6 Since then password is needed whenever you open the user function function block ...

Page 779: ... Function Function Block 19 16 2 Setting password for entire user function function block Steps 1 After selecting User Function Function Block on the project window select Properties 2 Input password in the dialog box ...

Page 780: ...n any user function function block Notes If you lost a password you can t open a user function function block But though you don t know the password you can use it in the program 19 3 2 Disable to Read Program from PLC This function makes not to see program source of user function function block after reading a program from PLC Steps ...

Page 781: ...Chapter 19 User Function Function Block 19 18 1 After selecting User Function Function Block at the project window select Properties ...

Page 782: ...n Function Block 19 19 2 Select password tap at the dialog box 3 Check the box next to Disable to read program from PLC 4 Press OK 5 Since then if you read program from PLC you can t open user function function block program ...

Page 783: ...Chapter 19 User Function Function Block 19 20 ...

Page 784: ... be used immediately without the inconvenience of exporting or importing as a CSV file In addition Driveview7 makes it easier to configure communication settings by using the inverter list in the project 1 Previous using method To use XG5000 s variables and comments in XP Builder use CSV format file Variables and comments export function is used in XG5000 to save variable comment as CSV file In XP...

Page 785: ...separate file and even if the variable comment changes exporting to the file is not necessary This can reduce overall engineering time 20 1 2 Install file To use the integrated project environment you can use the LS Studio integrated installation package or you can install the XG5000 XP Builder and DriveView7 separately Note 1 The following software versions are integrated with the XG5000 XG5000 V...

Page 786: ...allation file 2 The installation wizard prepares for installation Press next button 3 Select the type of installation Complete installation installs XG5000 XP Builder and DriveView 7 In a custom configuration you can select and install the programs you want ...

Page 787: ... the type of installation start the installation as shown below 5 The installation files of the selected program will be executed sequentially For detailed installation procedure of each program refer to the instruction manual of each program ...

Page 788: ...once using the LS Studio installation package or you can uninstall them individually using the respective installation files 1 In Control Panel Programs and Features right click LS Studio and click Uninstall or double click 2 The uninstall wizard will run as shown below ...

Page 789: ...The deletion proceeds as shown below Note 1 The method of deleting individual software installation through LS Studio is the same as the deletion method of each software For details refer to the instruction manual of each software ...

Page 790: ...added functions to run XP Builder and Driveview7 and its basic usage is same as existing XG5000 20 2 1 Add item To use added integration function add an item to the XG5000 project Items are added at the same level as PLC Steps 1 Select Project Add Item PLC Add on on the menu 2 In the Add Configuration dialog box select the item you want to add ...

Page 791: ... displayed Items to be added are displayed as integrable items installed on your PC b Detail Displays the details of the item to be added c OK Closes the Add Configuration dialog box and displays the detail dialog box d Cancel Cancel adding configuration and close the dialog box 3 Select the name and product model to create Dialog box a b c d a b c d e ...

Page 792: ...the detail model Different items are displayed depending on the items added c From File Adds an item from the selected file The model information and name in the file are displayed If the name you add is duplicated in the project a number is appended to avoid duplication e OK Close the dialog box and add the entry as input f Cancel Cancels the input and closes the dialog box ...

Page 793: ...hen you add an item from a file the selected file is copied and saved with the XG5000 The selected file remains without being deleted 3 Items that are added can be activated or deactivated on an item by item basis The available additional functions can be set in the common functions related to the XG5000 in the menu Tools Options dialog box ...

Page 794: ...am associated with the added item double click each item in the project tree If the connected program is already running it will be activated Note 1 Duplicated execution may not be possible depending on the characteristics of the application such as Driveview7 ...

Page 795: ... or later If you want to use with XG5000 V4 11 or earlier you can save it as PLC project file by using Save as PLC Project function 1 Execute Project Save as PLC Project in the integrated environment project PLC HMI and inverter are added 2 In the dialog box below enter a file name and click Save 3 Open the saved file in an individually installed version of XG5000 V4 10 or earlier ...

Page 796: ...mment you want to share with the HMI The XG5000 allows you to select global variables flags and local variable entries 알아두기 1 In the XG5000 project variables sent and received by HMI or communication can be checked in the system variable list 2 Select the HMI item in the project tree and double click it 3 Double click the tag item in the project tree of XP Builder to display the tag window ...

Page 797: ...Chapter 20 LS Studio 20 14 4 Select the NewPLC item in the tag group to see the list of variables selected on the XG5000 5 It is used in drawing by using registered tag list in XP Builder ...

Page 798: ...setting This section explains how to set the communication parameters using the INV items registered in the project For the procedure to add an INV item see section 2 1 Add item Steps 1 Add communication module supporting LS bus to current project Cnet only ...

Page 799: ...Chapter 20 LS Studio 20 16 2 Select Use P2P in the communication module s default setting 3 Add P2P parameter for communication module and select LS BUS item in P2P channel ...

Page 800: ...fault settings for P2P and click the Set button 5 In the Variable Setting dialog box right click Read Area and select Inverter Setting 6 Select inverter group and variable in the inverter variable selection dialog box and select the OK button ...

Page 801: ...Chapter 20 LS Studio 20 18 7 After setting the save area select the OK button ...

Page 802: ...othereasons unexpected atthelevelof thecontemporaryscienceandtechnologywhen delivered 6 Not attributabletothecompany forinstance naturaldisasters orfire 3 Since the above warranty is limited to PLC unit only make sure to use the product considering the safety for system configuration orapplications Environmental Policy LS ELECTRIC Co Ltdsupports and observes theenvironmental policyas below Environ...

Page 803: ...Warranty and Environment Policy 2 ...

Page 804: ... Mail sjbaik lselectric biz Hochiminh LS ELECTRIC Middle East FZE Dubai U A E Tel 971 4 886 5360 E Mail salesme lselectric biz LS ELECTRIC Europe B V Hoofddorf Netherlands Tel 31 20 654 1424 E Mail europartner lselectric biz LS ELECTRIC America Inc Chicago USA Tel 1 800 891 2941 E Mail sales us lselectricamerica com Headquarter LS ro 127 Hogye dong Dongan gu Anyang si Gyeonggi Do 14119 Korea Seoul...

Reviews: