Mitsubishi MELSEC Q series User Manual

Mitsubishi MELSEC Q series User Manual

Programmable controller
Hide thumbs Also See for MELSEC Q series:
Table of Contents

Advertisement

QnUDVCPU/LCPU User's Manual
(Data Logging Function)
-Q03UDVCPU
-Q04UDVCPU
-Q04UDPVCPU
-Q06UDVCPU
-Q06UDPVCPU
-Q13UDVCPU
-Q13UDPVCPU
-Q26UDVCPU
-Q26UDPVCPU
-L02CPU
-L02CPU-P
-L06CPU
-L06CPU-P
-L26CPU
-L26CPU-P
-L26CPU-BT
-L26CPU-PBT

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi MELSEC Q series

  • Page 1 QnUDVCPU/LCPU User's Manual (Data Logging Function) -Q03UDVCPU -Q04UDVCPU -Q04UDPVCPU -Q06UDVCPU -Q06UDPVCPU -Q13UDVCPU -Q13UDPVCPU -Q26UDVCPU -Q26UDPVCPU -L02CPU -L02CPU-P -L06CPU -L06CPU-P -L26CPU -L26CPU-P -L26CPU-BT -L26CPU-PBT...
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. In this manual, the safety precautions are classified into two levels: " WARNING"...
  • Page 4 [Design Precautions] WARNING ● Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller. Failure to do so may result in an accident due to an incorrect output or malfunction. (1) Emergency stop circuits, protection circuits, and protective interlock circuits for conflicting operations (such as forward/reverse rotations or upper/lower limit positioning) must be configured external to the programmable controller.
  • Page 5 WARNING ● When changing data from a peripheral device connected to the CPU module during operation, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other controls to a running programmable controller (such as program modification or operating status change), read relevant manuals carefully and ensure the safety before the operation.
  • Page 6 [Installation Precautions] WARNING ● Shut off the external power supply (all phases) used in the system before mounting or removing a module. Failure to do so may result in electric shock or cause the module to fail or malfunction. [Installation Precautions] CAUTION ●...
  • Page 7 ● To use the high-speed counter function, ground the shield cable on the encoder side (relay box). Failure to do so may cause malfunction. ● Mitsubishi Electric programmable controllers must be installed in control panels. Connect the main power supply to the power supply module in the control panel through a relay terminal block.
  • Page 8 [Startup and Maintenance Precautions] WARNING ● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction. ● Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or throw the battery into the fire. Also, do not expose it to liquid or strong shock. Doing so will cause the battery to produce heat, explode, ignite, or leak, resulting in injury and fire.
  • Page 9 [Disposal Precautions] CAUTION ● When disposing of this product, treat it as industrial waste. When disposing of batteries, separate them from other wastes according to the local regulations. (For details on battery regulations in EU member states, refer to the User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used.) [Transportation Precautions] CAUTION...
  • Page 10: Conditions Of Use For The Product

    PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required.
  • Page 11: Introduction

    INTRODUCTION Thank you for purchasing the Mitsubishi Electric MELSEC-Q or -L series programmable controllers. This manual describes the data logging function of the High-speed Universal model QCPU, Universal model Process CPU, and the LCPU. It also describes the configuration tool for data logging.
  • Page 12: Relevant Manuals

    [SH-080915ENG, 13JU68] LogViewer e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool. e-Manual has the following features: • Required information can be cross-searched in multiple manuals. • Other manuals can be accessed from the links in the manual.
  • Page 13 Memo...
  • Page 14: Table Of Contents

    CONTENTS CONTENTS SAFETY PRECAUTIONS ............. 1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 15 Data Logging Status ............63 Data Logging File .
  • Page 16 8.4.4 Sampling ..............115 8.4.5 Data .
  • Page 17 10.4 Processing Time of Each Instruction ......... . . 169 CHAPTER 11 DATA LOGGING INSTRUCTIONS 11.1 Trigger Logging Set (Reset) (LOGTRG(R)) .
  • Page 18: Manual Page Organization

    MANUAL PAGE ORGANIZATION In this manual, pages are organized and the symbols are used as shown below. The following illustration is for explanation purpose only, and should not be referred to as an actual documentation. "" is used for screen names and items. The chapter of the current page is shown.
  • Page 19 Pages describing instructions are organized as shown below. The following illustration is for explanation purpose only, and should not be referred to as an actual documentation. Instruction name Execution condition of the instruction Structure of the instruction in the ladder mode shows the devices applicable to the instruction Setting side...
  • Page 20 • Instructions can be executed under the following conditions. Execution condition Any time During on On the rising edge During off On the falling edge Symbol No symbol • The following devices can be used. Intelligent Internal device Link direct device Index Setting File...
  • Page 21: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description Configuration tool Another term for the CPU Module Logging Configuration Tool CPU module A generic term for the High-speed Universal model QCPU, Universal model Process CPU, and the LCPU CPU Module Logging Configuration Software to configure data logging settings and to manage collected data Tool...
  • Page 22: Chapter 1 Data Logging

    CHAPTER 1 DATA LOGGING The data logging function of the CPU module stores collected device data on an SD memory card in CSV format, with just a simple setting. Features The following explains the features of the data logging function. (1) Logging of device data is easy.
  • Page 23 CHAPTER 1 DATA LOGGING (2) Control data can be logged without missing a change (continuous logging). Data logging is available every scan or on the millisecond time scale. Since changes in the specified control data can be logged, the data logging function is effective to identify the cause of a problem. Also, logging is performed at a high speed so that equipment can be analyzed with high accuracy.
  • Page 24 (4) Only the specific data can be collected in each file (specification period logging). Using the specification period logging (Page 61, Section 6.3.3), data can be collected only while the specific conditions are met, and files can be saved for each specified period. Capacity increase resulting from collecting unnecessary data can thus be prevented, and time taken to analyze and organize data can also be shortened.
  • Page 25 CHAPTER 1 DATA LOGGING (5) Configuration for logging is simple. Logging settings can be configured easily by following the wizard. Settings configured. (6) A large volume of logging files can be stored. Use of an SD memory card of up to 16GB enables a long-term logging. (7) Data sampling for troubleshooting can be instructed easily.
  • Page 26 (8) Data logging files can be transferred from the CPU module to the FTP server By using the data logging file transfer function, the CPU module serves as an FTP client, and data logging files in SD memory cards can be transferred to the FTP server. ( Page 82, Section 7.4) Since data logging files can be managed by one FTP server, data management and maintenance work can be reduced.
  • Page 27: Processing Outline

    CHAPTER 1 DATA LOGGING Processing Outline Device values collected from the CPU module are stored in the data logging file in an SD memory card. All of the data collected over the specified period can be stored, and these data can be analyzed in detail. CPU module QnUDVCPU Samples device values of the CPU module.
  • Page 28: Chapter 2 System Configuration

    CHAPTER 2 SYSTEM CONFIGURATION This chapter describes a system configuration for executing the data logging function. Overall System Configuration An overall system configuration for executing the data logging function is shown below. FTP server Connection from a USB or serial port Connection from an interface board QnUDVCPU...
  • Page 29: Software

    CHAPTER 2 SYSTEM CONFIGURATION 2.1.1 Software The following software can be used for data logging. For information on how to get and start it, refer to  Page 46, CHAPTER 5. Name Description CPU Module Logging Configuration Tool Software to configure data logging settings and to manage collected data GX LogViewer Software to display data collected by data logging ●...
  • Page 30: Connection From A Usb Or Serial Port

    2.1.2 Connection from a USB or serial port The figure below shows configurations of the systems that are connectable through the USB or serial port of a personal computer. USB communication USB cable QnUDVCPU LCPU Direct connection to QC30R2 serial port Converter/cable RS-232 adapter LCPU...
  • Page 31 CHAPTER 2 SYSTEM CONFIGURATION (1) Using a USB cable The following USB cable and adapter can be used. • USB cable (USB A type  USB miniB type) • USB adapter (USB B type  USB miniB type) Install a USB driver when using a USB cable for the first time. ( Installing a USB Driver) Only one CPU module can be connected at the same time.
  • Page 32 The transparent function of a GOT allows an access to the CPU module through the GOT. For details, refer to the following. GOT1000 Series Connection Manual (Mitsubishi Products) for GT Works3  GOT2000 Series Connection Manual (Mitsubishi Products) For GT Works3 Version1...
  • Page 33: Connection From An Interface Board

    CHAPTER 2 SYSTEM CONFIGURATION 2.1.3 Connection from an interface board The following figure shows configurations of the systems, in each of which the personal computer is connected to a CPU module using an interface board installed in the personal computer. For the applicable interface boards and details of a USB driver, refer to the manual for the interface board used.
  • Page 34: Precautions For Ethernet Connection

    Precautions for Ethernet Connection This section describes precautions for connecting a personal computer to the CPU module over Ethernet. (1) When the Windows Firewall setting is enabled Disable the Windows Firewall setting. (2) When multiple IP addresses are valid at the same time Do not select direct connection setting when two or more IP addresses are valid at the same time as follows: •...
  • Page 35: Operating Environment For The Configuration Tool

    CHAPTER 2 SYSTEM CONFIGURATION Operating Environment for the Configuration Tool For the operating environment of the configuration tool, refer to the following files included in the installers:  CPU Module Logging Configuration Tool/GX LogViewer Installation Instructions (BCN-P5999-0506)
  • Page 36: Chapter 3 Specifications

    CHAPTER 3 SPECIFICATIONS This chapter describes the specifications of the data logging function. Function Specifications The following lists the specifications of the data logging function. Item Specifications Reference Number of data logging settings Page 48, CHAPTER 6 Standard ROM (configuration files only), SD memory Data storage location card •...
  • Page 37 CHAPTER 3 SPECIFICATIONS Item Specifications Reference Specify the operation at the time of status change, from Data logging operation at transition to RUN power on to RUN, from reset to RUN, or from STOP to Page 77, Section 7.1 RUN, after registration of the data logging setting. By inserting an SD memory card (to which data logging Auto logging by inserting an SD memory card settings have been written), data logging automatically...
  • Page 38: Folder Structure

    Folder Structure The following is the folder structure of an SD memory card that is installed in the CPU module. When an access is made by the FTP function, " / " denotes that it is the root folder (directory) of the SD memory card. 18:55:16 65,725,36,1 18:55:17 66,756,36,0 18:55:18 67,723,36,0...
  • Page 39: Csv File Output Format

    CHAPTER 3 SPECIFICATIONS CSV File Output Format This section describes the CSV format specifications and lines and columns output. 3.3.1 CSV format specifications The CSV file format is specified as shown below. Item Description Delimiter Comma (,) Line feed code CRLF (0x0D, 0x0A) Character code ASCII or Shift JIS...
  • Page 40 Output of the following information can be disabled. ( Page 125, Section 8.4.11) • Date and time column • Trigger information column (selectable only for trigger logging) • Index column • Data sampling interval column • Execution program name column •...
  • Page 41 CHAPTER 3 SPECIFICATIONS (3) Data type information line The data type of each column is displayed. Data are output in the format of (data type) [(additional information)]. Item "Data type" output "Additional information" output Size Size A format is output. 3 to 34 Date and time column DATETIME...
  • Page 42 (4) Data name line The data name of each column is displayed. Item Description Size Date and time column TIME is output. 4 bytes Data sampling interval INTERVAL [us] is output. 12 bytes column Execution step No. STEP NO. is output. 8 bytes Execution program name PROGRAM NAME is output.
  • Page 43 CHAPTER 3 SPECIFICATIONS (5) Data line Sampled data values are displayed. One line contains the data sampled at one time. Item Description Size Date and time column 1 to 32 bytes Date and time information is output. Data sampling interval A time interval between the previous and current sampling events is output.
  • Page 44: Value Ranges By Output Format

    3.3.3 Value ranges by output format This section describes the value ranges available for each output format. (1) Integer type The value range available for each integer type is shown below. Output format Lower limit Upper limit Word (unsigned) 65535 Word (signed) -32768 32767...
  • Page 45: Size Of Data Logging Setting File

    CHAPTER 3 SPECIFICATIONS Size of Data Logging Setting File The size of a data logging setting file is the total of the following: • Size of a common setting data file • Size of individual setting data files of setting No.1 to setting No.10 (1) Size of a common setting data file The size is the total of the following: Item...
  • Page 46: Chapter 4 Procedures And Settings Before System Operation

    CHAPTER 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION The following flowchart shows the steps to be performed before data logging operation. Start CPU module Personal computer Page 47, Section 5.2 Insert an SD memory card into the slot of the CPU module. Install the configuration tool.
  • Page 47 CHAPTER 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION Memo...
  • Page 48: Chapter 5 Start-Up Of The Configuration Tool

    CHAPTER 5 START-UP OF THE CONFIGURATION TOOL This chapter describes the procedure for starting the configuration tool. Getting the Configuration Tool The configuration tool is included in the programming tool. (1) Programming tools that include the configuration tool The configuration tool is included in the CD-ROM of the following programming tools. Applicable versions are as follows: configuration tool Relevant CPU module...
  • Page 49: Installing/Uninstalling The Configuration Tool

    CHAPTER 5 START-UP OF THE CONFIGURATION TOOL Installing/Uninstalling the Configuration Tool For the installation/uninstallation procedures, refer to the following manual included in the installer.  CPU Module Logging Configuration Tool/GX LogViewer Installation Instructions (BCN-P5999-0506) Starting the Configuration Tool There are three ways to start the configuration tool: •...
  • Page 50: Chapter 6 Data Logging Function

    CHAPTER 6 DATA LOGGING FUNCTION The data logging function allows logging of CPU module device values at the specified sampling intervals. The logged data are stored on an SD memory card. CPU module QnUDVCPU LCPU SD memory card Word device Data logging file Bit device...
  • Page 51: Target Data

    CHAPTER 6 DATA LOGGING FUNCTION Target Data The target data is device memory data in the CPU module, which is saved on an SD memory card with time stamp. (1) Data type The following data types can be specified for data logging of the device memory. Data type Number of device points Data type...
  • Page 52: Sampling Of Target Data

    Sampling of Target Data Select a sampling interval and timing from the following items. ( Page 115, Section 8.4.4) Setting item Description Each scanning cycle Data are collected in the END processing of each scan. Sample data at the first END processing after the specified time Specify the time of sampling interval.
  • Page 53 CHAPTER 6 DATA LOGGING FUNCTION (a) Sample data at the first END processing after the specified time has elapsed Select this when data are to be collected at relatively long intervals and at the timing of END processing, not during any other program execution. When 100 milliseconds are specified Time 100 ms...
  • Page 54 (3) Each multiple CPU high speed transmission cycle (High-speed Universal model QCPU and Universal model Process CPU only) After the I45 interrupt program is executed, data are collected at the specified interval. When the interval is set to 3 Each multiple CPU high-speed transmission cycle 0.88 ms...
  • Page 55 CHAPTER 6 DATA LOGGING FUNCTION <Data are collected only when the status is changed.> Device data are collected only in the END processing of the scan where the specified device condition is changed. Set the following. • When the bit of the bit device rises: When the specified device is turned on •...
  • Page 56 (b) Step No. specification Data are collected when the specified condition is met immediately before execution of the specified step. In addition to "Step No.", set "Program name" and "Execution condition". <Data are continuously collected while the condition is satisfied.> Select an execution condition from the following.
  • Page 57 CHAPTER 6 DATA LOGGING FUNCTION <Data are collected only when the status is changed.> Select an execution condition from the following. • When the specified condition rises: The operation status immediately before the execution of the specified step has changed from Not Executed to Executed. •...
  • Page 58: Logging Type

    Logging Type There are three logging types: • Continuous logging • Trigger logging • Specification period logging 6.3.1 Continuous logging When continuous logging is selected, device values of the CPU module are continuously logged at the specified intervals. The flow of the continuous logging is shown below. <Preparation for continuous logging>...
  • Page 59: Trigger Logging

    CHAPTER 6 DATA LOGGING FUNCTION 6.3.2 Trigger logging When trigger logging is selected, device values of the CPU module before and after a trigger (satisfaction of the specified condition) are logged for the specified number of records. The flow of the trigger logging is shown below. <Preparation for trigger logging>...
  • Page 60 Specify the numbers of records before and after trigger in the following setting. ( Page 124, Section 8.4.10) Setting item Description No. of records (before trigger) Specify the volume of the data sampled before trigger as the number of records. Specify the volume of the data sampled after trigger (including at the time of trigger) as the No.
  • Page 61 CHAPTER 6 DATA LOGGING FUNCTION (1) Trigger condition Specify a trigger condition by selecting appropriate items from the following. ( Page 121, Section 8.4.8) Setting item Description When the bit of the bit device A trigger occurs when the status of the specified device is changed rises from off to on.
  • Page 62 • Step No. specification A trigger occurs when the specified condition is met immediately before execution of the specified step. In addition to "Step No.", set "Program name" and "Execution condition". Select an execution condition from the following. Item Description Any time regardless of the operation status immediately before the execution of the Always specified step...
  • Page 63: Specification Period Logging

    CHAPTER 6 DATA LOGGING FUNCTION 6.3.3 Specification period logging When specification period logging is selected, specified devices are sampled while specified conditions are met. Specification period logging is used to check only the specified devices while the specific conditions are met. <Preparation for specification period logging>...
  • Page 64 (1) Specification period Select conditions treated as the specification period from the following items. Setting item Description When the bit device is on Data are sampled while the specified device is on. Condition When the bit device is off Data are sampled while the specified device is off. Device specification When the word device value meets the...
  • Page 65: Data Logging Status

    CHAPTER 6 DATA LOGGING FUNCTION Data Logging Status There are four data logging status levels: • Start • Pause • Stop • Completion (1) Start By a data logging start request, register a data logging and start it. Data logging start can be requested by the following: •...
  • Page 66: Data Logging File

    Data Logging File The target data of the data logging are saved in the data logging file. 6.5.1 Saving format of the data logging file Data logging files are saved in the CSV format (the extension is ".CSV"). The CSV file format is a format of the files that can be opened by general applications, such as Excel and Notepad.
  • Page 67: File Switching Setting

    CHAPTER 6 DATA LOGGING FUNCTION 6.5.3 File switching setting The sampled target data of data logging are temporarily saved in a stack file in the SD memory card. The stack file can be switched to the saved file so that the size of the stack file will not be too large. By renaming the stack file, it can be switched to a saved file.
  • Page 68 (2) File after switching In renaming a file, an eight-digit serial number (hexadecimal) is appended to the original file name. The following information can be also added if the number of characters is 48 or less (including an extension and periods). Type of information Information added Folder name...
  • Page 69 CHAPTER 6 DATA LOGGING FUNCTION (3) Storage location of saved files A folder is created under the destination folder, and saved files are stored in the folder. Up to 256 files can be stored in each folder. (When the maximum number of files has been reached, a new folder is created in the next file switching, and the file storage location after file switching is changed.) The number of files that can be stored in a destination folder is set within the range of 1 to 65535.
  • Page 70: Buffer Capacity

    Buffer Capacity Buffer capacity means the size of the buffer that is used to temporarily store collected data. CPU module SD memory card Buffer Specified <Setting 1> <Setting 1> device data Buffer capacity for setting 1 Device sampling 1st sampling data 1st sampling data area 2nd sampling data...
  • Page 71: Data Missing

    CHAPTER 6 DATA LOGGING FUNCTION Data Missing When some of the data to be sampled is not obtained and data are not successively collected, this state is called missing. (1) Cases of data missing Data missing occurs in the following cases. Item Description Processing overflow...
  • Page 72 (d) When other functions are used When the following functions are used, the data sampling performance of data logging is deteriorated. • Project data batch save/load function (applicable to the LCPU only) • iQ Sensor Solution data backup/restoration function Therefore, data missing may occur even with the data logging settings with which it did not occur previously. Also, with a setting with which data missing occurred previously, the frequency of data missing may increase.
  • Page 73: Sd Memory Card Life When The Data Logging Function Is Used

    CHAPTER 6 DATA LOGGING FUNCTION SD Memory Card Life When the Data Logging Function is Used Each SD memory card has its limit on writing data. This section describes how to calculate the life of an SD memory card when the data logging function is used. Use the calculated limit for reference since the actual life of the card varies depending on the use conditions and environment.
  • Page 74 (d) Number of data logging file switching times per year (DCNn) Calculate this number with an estimated number according to the save setting of the data logging and system operations. For example, when 1000 records are set in "Nnumber of records" of "File switching timing" in the save setting and "Each scanning cycle"...
  • Page 75: Precautions To Take When Using The Data Logging Function

    CHAPTER 6 DATA LOGGING FUNCTION Precautions to Take When Using the Data Logging Function This section describes precautions for using the data logging function. (1) Exclusive processing (a) Sampling trace during data logging execution Sampling trace is not executable during data logging execution. (b) Data logging during sampling trace execution Sampling trace continues normally, and an error is detected in data logging.
  • Page 76 (3) Holding and clearing the data logging setting The data logging setting registered to the CPU module is latched. Even if the CPU module is powered off and on or is reset, the data logging can be performed again with registered setting data. However, the data logging status is cleared when the storage destination is an SD memory card and any of the following conditions is met.
  • Page 77 CHAPTER 6 DATA LOGGING FUNCTION (11)When "Sampling" is set to "Step No. specification" With "Sampling" set to "Step No. specification", the processing time of data logging is added to the program running time. Accordingly, when "Step No. specification" is specified, design watchdog timer settings and interrupt programs with a consideration of the processing time of data logging (setting the fixed scan interval).
  • Page 78 (17)When the CPU module is locked with a security key No device comment can be output to the data logging file. (18)Disabling the addition of character string by the data logging file name addition instruction when the data logging is registered When the data logging is registered by writing of data logging setting of the target setting number after the data logging file name addition instruction (SP.LOGFILES instruction) is executed, addition of a character string executed by this instruction is disabled.
  • Page 79: Chapter 7 Other Functions

    CHAPTER 7 OTHER FUNCTIONS CHAPTER 7 OTHER FUNCTIONS This chapter describes the functions other than the data logging function. Data Logging Operation at Transition to RUN After registration of a data logging setting, logging operation for the following transition to RUN can be specified. Setting is available for each of setting No.1 to No.10.
  • Page 80: Auto Logging By Inserting An Sd Memory Card

    Auto Logging by Inserting an SD Memory Card Writing auto logging settings to an SD memory card and inserting it into a running CPU module will automatically start logging. All of continuous logging, trigger logging, and specification period logging are executable. Individual setting is not available for each of setting No.1 to No.10.
  • Page 81 CHAPTER 7 OTHER FUNCTIONS (3) Conditions for auto logging completion When one of the following conditions is met, the auto logging is terminated. The following conditions can be set in combination. In that case, the auto logging is terminated when either of the conditions is met first. Condition Setting Select one from the following.
  • Page 82 (4) Conditions for auto logging inactivation After completion of auto logging, the following operation does not start another auto logging. • Power off  on • Reset • STOP  RUN Also, auto logging does not start even if the following operation is performed with an SD memory card (with the auto logging setting) inserted.
  • Page 83: File Access

    CHAPTER 7 OTHER FUNCTIONS File Access The FTP server function allows saving and deletion of data logging files from the SD memory card installed in the CPU module to the personal computer. The following commands can be used for access. When a file is to be specified, use a command for which a folder name can be included.
  • Page 84: Data Logging File Transfer Function

    Data Logging File Transfer Function Remark Before using the function with the LCPU, check the versions of the CPU module and configuration tool used. ( Page 190, Appendix 2) This function supports the client function of the FTP (File Transfer Protocol), a protocol for file transfer with external devices.
  • Page 85: Procedure Overview Of The Data Logging File Transfer Function

    CHAPTER 7 OTHER FUNCTIONS 7.4.1 Procedure overview of the data logging file transfer function The following flowchart lists a procedure for performing the data logging file transfer function. <Preparation for data logging> Configure data logging settings and write them to the CPU module (standard ROM/SD memory card).
  • Page 86: Directory Structure Of The Ftp Server

    7.4.2 Directory structure of the FTP server When data logging files are transferred, a folder is automatically created in the specified directory path on the FTP server, and the data logging files are saved in the folder. 18:55:16 65,725,36,1 18:55:17 66,756,36,0 File storage 18:55:18 67,723,36,0 00000001...
  • Page 87: File Transfer Status

    CHAPTER 7 OTHER FUNCTIONS 7.4.3 File transfer status There are five file transfer status levels: • Transfer start • Standby • Transfer data overflow • Retry • Transfer completion (stop) (1) Transfer start Data logging files of each setting No. are transferred one by one. Data logging file transfer starts simultaneously with the data logging start operation, and the special relay (Data logging file transfer execution status flag) turns Data logging start request...
  • Page 88 (3) Transfer data overflow If a data logging file with the same setting No. as a standby file is saved, the standby file will not be transferred. When a data logging file of setting No.2 is saved while a data logging file of setting No.2 is on standby Standby Transfer completed...
  • Page 89 CHAPTER 7 OTHER FUNCTIONS (4) Retry If data logging file transfer failed due to network failure between the CPU module and the FTP server, the data logging file not yet transferred is repeatedly sent until the network returns to normal. Transfer Standby failed...
  • Page 90: File Transfer Test

    7.4.4 File transfer test Communication status and settings between the CPU module and the FTP server can be checked by transferring a test file from the CPU module to the FTP server. Since this function can be executed without starting or stopping data logging, file transfer operation can be checked before system operation.
  • Page 91: File Transfer Diagnostics

    CHAPTER 7 OTHER FUNCTIONS 7.4.5 File transfer diagnostics This function stores file transfer status of the data logging file transfer function. (1) File transfer status The transfer status can be checked in the "Data Logging File Transfer Status" window. ( Page 154, Section 8.12) [Online] ...
  • Page 92: Precautions For Using The Data Logging File Transfer Function

    7.4.6 Precautions for using the data logging file transfer function This section describes precautions for using the data logging file transfer function. (1) Concurrent execution of another function (a) Auto logging function The data logging file transfer function cannot be performed during auto logging. (b) Functions of a programming tool If either of the following functions is executed from a programming tool during data logging file transfer, an error may occur.
  • Page 93 CHAPTER 7 OTHER FUNCTIONS (6) Starting data logging during file transfer Another data logging cannot be started to the same file being transferred. If the start operation is performed, the following window appears. Select whether to start the data logging or not. Clicking "Yes"...
  • Page 94: Stack Logging File Transfer

    7.4.7 Stack logging file transfer Remark Check the versions of the CPU module and configuration tool used when using this function with the LCPU. ( Page 190, Appendix 2) This function cannot be used with the High-speed Universal model QCPU and Universal model Process CPU. Transfer the untransferred data logging file when switching file due to the network failure by using data logging file transfer function to the FIP server.
  • Page 95 CHAPTER 7 OTHER FUNCTIONS (1) Setting methods Settings for the stack logging file transfer is set by "File transfer" in data logging settings. ( Page 129, Section 8.4.13) (2) File transfer (a) Order Files are transferred in order from a small number of file names within the data logging setting number. (b) Timing of transfer If the next transfer file has already been stored when the file transfer is completed, the next file is transferred sequentially.
  • Page 96: Transfer Completing/Non-Completing File Distinction Indication

    7.4.8 Transfer completing/Non-completing file distinction indication Remark Check the versions of the CPU module and configuration tool used when using this function with the LCPU. ( Page 190, Appendix 2) This function cannot be used with the High-speed Universal model QCPU and Universal model Process CPU. For the data logging file in the SD memory card, character string "C_"...
  • Page 97: Chapter 8 How To Use The Configuration Tool

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL This chapter describes the setting procedure and operations for data logging. Setting Flow Chart Follow the flow chart below to configure the settings. Start Configure the settings required for data Configure the auto logging settings.
  • Page 98: Window Structure

    Window Structure This section describes the window structure of the configuration tool. 8.2.1 Main window The main window of the configuration tool is as shown below. (1) Displayed window (2) Displayed items Name Description Reference Menu Menu items used for executing respective functions are displayed. Page 97, Section 8.2.2 Toolbar Tool buttons used for executing respective functions are displayed.
  • Page 99: Menu Structure

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.2.2 Menu structure The menu structure of the configuration tool is as listed below. Project Reference Creates a new project, discarding the currently editing project. Page 103, Section 8.3.1 Open Opens a project file that is stored in the local disk. Page 103, Section 8.3.2 Save Saves the current project data to the current file.
  • Page 100: Toolbar Structure

    8.2.3 Toolbar structure The toolbar structure of the configuration tool is as listed below. Icon Equivalent menu item Reference [Project]  [New] Page 103, Section 8.3.1 [Project]  [Open] Page 103, Section 8.3.2 [Project]  [Save] Page 104, Section 8.3.3 [Edit] ...
  • Page 101: Edit Item Tree

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.2.4 Edit item tree The edit item tree is a tree that presents an overall view of the project setting. Programmable controller series Setting type Item detailed setting items The following operations can be performed with the edit item tree. (1) Editing a setting item Selecting an item will display detail items.
  • Page 102: Status Bar

    8.2.5 Status bar The following items are displayed on the status bar. (1) Displayed window The color of the left end of the status bar varies depending on the programmable controller series. • High-speed Universal model QCPU, Universal model Process CPU: Light blue •...
  • Page 103: Common Operations

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.2.6 Common operations (1) Adjusting a column width In a table in the advanced settings area of the configuration tool, drag the right boundary of the column as illustrated below. (2) Displaying a tooltip In a table in the advanced settings area of the configuration tool, when the mouse pointer is placed on a cell, a tooltip appears and displays the entire information in the cell.
  • Page 104: Device Batch Replacement

    8.2.7 Device batch replacement Devices can be replaced with others all at once in the entire project in the data logging setting. (1) Operating procedure Display the "Device Batch Replacement" window. [Edit]  [Device Batch Replacement] Enter data. Click the button.
  • Page 105: Project Management

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL Project Management This section describes the project management. 8.3.1 Creating a new project A new project can be created by the following operation. [Project]  [New] 8.3.2 Opening a project A saved project can be read. (1) Operating procedure Open the "Open"...
  • Page 106: Saving A Project

    8.3.3 Saving a project Save the currently editing settings to a project file. (1) When saving the file (a) Operating procedure Perform the following. [Project]  [Save] (2) When saving the file with a new name (a) Operating procedure Open the "Save as" window. [Project] ...
  • Page 107: Changing A Programmable Controller Series

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.3.4 Changing a programmable controller series Change the programmable controller series of the project being edited. (1) Operating procedure Open the "Change PLC series" window. [Project]  [Change PLC series] Select the programmable controller series, and click the button.
  • Page 108: Reading The Data Logging Setting From The Sd Memory Card

    8.3.5 Reading the data logging setting from the SD memory card Read the data logging setting written on the SD memory card in the personal computer. (1) Operating procedure Install the SD memory card in the personal computer. Open the "Read Logging Setting from Memory Card(SD)" window. [Project] ...
  • Page 109 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL (2) Setting window (3) Setting items Item Description Drive to read from A list of the drives recognized by the personal computer is displayed. A list of the data that have been written to the SD memory card is displayed. (Data Logging Setting and Common Target logging setting data Setting are listed.)
  • Page 110: Writing The Data Logging Setting To The Sd Memory Card

    8.3.6 Writing the data logging setting to the SD memory card Write the currently editing data in a form available for CPU module operation. Data are written directly to the SD memory card in the personal computer. When the SD memory card is installed into the CPU module, logging is started. (1) Operating procedure Install the SD memory card in the personal computer.
  • Page 111 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL (2) Setting window (3) Setting items Item Description Drive to write into A list of the drives in the personal computer is displayed. Target logging setting data A list of the data that are currently set is displayed. (Data Logging Setting and Common Setting are listed.)
  • Page 112: Data Logging Setting

    Data Logging Setting Configure the settings required for data logging. For the specifications of data logging, refer to  Page 34, CHAPTER 3. 8.4.1 Data logging setting list This section describes the items in the data logging setting list. (1) Operating procedure Perform the following.
  • Page 113 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL (3) Displayed items and button Item Description Setting Reference  The data logging setting No. is displayed. 01 to 10 Any name Data Logging Name The data logging name is displayed. (32 one-byte or 16 two-byte ...
  • Page 114: Change Of The Data Logging Setting Window

    8.4.2 Change of the data logging setting window The data logging setting can be performed by following the wizard. The title of each wizard window is displayed on the bar located on the top of the advanced settings area. Configure the settings, moving in order from the left tab to the right tab on the bar.
  • Page 115 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL (3) Display and operation of the wizard (a) Changing the window with the buttons The window can be switched as illustrated below. (b) Edit items in data logging setting : Setting required, : No setting item Setting item Continuous logging Trigger logging...
  • Page 116: Logging Type

    8.4.3 Logging type Select a logging type. ( Page 56, Section 6.3) (1) Setting window (2) Setting items Item Description Setting range  Continuous logging Select this when performing continuous logging.  Trigger logging Select this when performing trigger logging. Logging type Select this when performing specification period logging.
  • Page 117: Sampling

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.4.4 Sampling Select a sampling method and specify the sampling interval. ( Page 50, Section 6.2) (1) Setting window...
  • Page 118 (2) Setting items Item Description Setting range Each scanning cycle Select this when data are to be sampled at each scanning cycle.  • Millisecond: 1 to 32767 Time value Set a sampling interval value. • Second: 1 to 86400 Unit of time Select a unit of time.
  • Page 119: Data

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.4.5 Data Set sampled device data, such as data type. ( Page 49, Section 6.1) • To paste a device which is copied in other application (such as Watch window of GX Works3 or GX Works2, a spreadsheet, or a text editor), use "Paste device copied in other application software"...
  • Page 120 (2) Setting items Item Description Setting range Data setting numbers, 001 to 128 are displayed.   Head Specify the head device number. Device  Last The last device number calculated from the data type and size is displayed. • Bit •...
  • Page 121: Paste/Insert Device Copied In Other Application Software

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.4.6 Paste/Insert device copied in other application software A device which is copied in other application (such as Watch window of GX Works3 or GX Works2, a spreadsheet, or a text editor) can be paste to any line in the setting window of "Data". Remark Before using these functions, check the version of the configuration tool used.
  • Page 122: Batch Data Insertion

    8.4.7 Batch data insertion In the data list, a block of data can be inserted all at once. Data are entered in order from the highest numbered blank line on the "Data" setting window. (If there is a line where data has already been set, the line will be skipped.) (1) Operating procedure In the right-click menu on the "Data"...
  • Page 123: Trigger

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.4.8 Trigger If "Trigger logging" is selected for Logging type, specify the trigger condition. ( Page 59, Section 6.3.2 (1)) (1) Setting window...
  • Page 124 (2) Setting items Item Description Setting range  Device Any of the devices listed in Page 59, Section 6.3.2 (1) (a) can be set. • For bit device "PLS": When the bit of the bit device rises A trigger occurs when the status of the specified device is changed from off to on.
  • Page 125: Specification Period

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.4.9 Specification period When "Specification period logging" is selected for Logging type, specify the conditions of the data sampling period. ( Page 61, Section 6.3.3) (1) Setting window (2) Setting items Item Description Setting range ...
  • Page 126: Number Of Logging Lines

    8.4.10 Number of logging lines When "Trigger logging" is selected for Logging type, set the number of records to be output before and after occurrence of a trigger. ( Page 57, Section 6.3.2) (1) Setting window (2) Setting items Item Description Setting range No.
  • Page 127: Csv Output

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.4.11 CSV output Set the details of CSV file output. ( Page 37, Section 3.3) (1) Setting window...
  • Page 128 (2) Setting items Item Description Setting range The "Date Line Output Format" window is displayed. Set the Output date Up to 27 one-byte *4*6 Date data line output format. button column characters For available characters, refer to  Page 157, Section 8.14. Output The "String for Indicating Trigger Occurrence"...
  • Page 129: Save

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.4.12 Save Set where to save the data logging files and when saved files are to be switched. ( Page 64, Section 6.5.2) (1) Setting window...
  • Page 130 (2) Setting items Description Item Setting range 32 one-byte characters or Specify the folder to which the data logging file is saved (folder name). Save destination in the SD memory card less (no two-byte The file name must be unique. characters) Folder The folder name set in "Save destination in the SD memory card"...
  • Page 131: File Transfer

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.4.13 File transfer Configure settings that are required for performing the data logging file transfer function. ( Page 82, Section 7.4) (1) Setting window (2) Setting items Item Description Setting range Transferring files to the FTP server Set whether to enable or disable the data logging file transfer function.
  • Page 132 The data logging file transfer function cannot be used while the auto logging function is enabled. Check that the auto logging function is disabled in advance. (3) FTP setting Set a transfer destination server. (a) Setting window (b) Setting items Item Description Setting range...
  • Page 133: Movement

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.4.14 Movement Specify the operation after the status is switched to RUN in the following cases. ( Page 77, Section 7.1) • Power off  on • Reset  RUN • STOP  RUN (1) Setting window (2) Setting items Item...
  • Page 134: Finish

    8.4.15 Finish Name the data logging and finish the setting. (1) Setting window (2) Setting items Item Description Setting range 32 one-byte or 16 two-byte characters Specify a name for the current setting. Data logging name or less The total size of the logging files output for the setting is displayed. The total Total Size of Output Logging ...
  • Page 135: Common Setting

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL Common Setting Initial settings for using the data logging function are configured. Clicking "Common Setting" on the edit item tree will display the area for the common setting. Common setting consists of the following settings. Item Description Reference...
  • Page 136: Auto Logging Setting

    8.5.1 Auto logging setting Configure the settings to perform the auto logging ( Page 78, Section 7.2) by inserting an SD memory card. (1) Operating procedure Perform the following. [Common Setting] on the edit item tree  [Auto Logging Setting] (2) Setting window (3) Setting items Item...
  • Page 137: Buffer Capacity Setting

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.5.2 Buffer capacity setting Set buffer capacity that can be used for each setting number. ( Page 68, Section 6.6) (1) Operating procedure Perform the following. [Common Setting] on the edit item tree  [Buffer Capacity Setting] (2) Setting window (3) Setting items Item...
  • Page 138: Transfer Setup

    Transfer Setup After starting the configuration tool, set a communication route for the CPU module and personal computer. Open the "Transfer Setup" window. [Online]  [Transfer Setup] There are two connection methods: • Direct connection with a USB or Ethernet cable •...
  • Page 139 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL (b) "Transfer Setup" window (3) Operation buttons Item Description Reference Displays a list of routes. Since a route selected from the list is automatically set in the "Transfer Setup" window, the setting is easy Page 140, Section 8.6.4 button even in the case of a complex system.
  • Page 140: Connection Via A Network

    8.6.2 Connection via a network The following explains the window operation. (1) Operating procedure In the "PC side I/F" area, select and double-click an interface on the personal computer where the configuration tool is installed. In the "PLC side I/F" area, select and double-click an interface on the CPU module side. In the "Other Station Setting"...
  • Page 141 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL (3) Setting items and buttons Item Description Reference  PC side I/F Set the interface of the personal computer.  PLC side I/F Set the interface on the CPU module side. Select this when accessing the LCPU that is directly connected to the ...
  • Page 142: Connection Test

    8.6.3 Connection test Check whether connection is available or not on the route set in the "Transfer Setup" window. (1) Operating procedure Set a route in the "Transfer Setup" window, and click the button. When the connection is successfully established, the following message is displayed. 8.6.4 Connection channel list In the "Connection Channel List"...
  • Page 143: Searching Cpu Modules On The Network

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.6.5 Searching CPU modules on the network CPU modules on the Ethernet network can be searched and the search results are displayed as a list if they are connected to the hub to which the configuration tool is also connected. (1) Operating procedure In the "Transfer Setup"...
  • Page 144 (3) Setting items and buttons Item Description PLC Mode Select a mode of the CPU module that is connected to the personal computer. Select this when directly connecting a personal computer to the Ethernet port of the CPU Ethernet Port Direct Connection module with a cable.
  • Page 145: Reading The Data Logging Setting From The Cpu Module

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL Reading the Data Logging Setting from the CPU Module Data logging setting data can be read out from the target memory of the CPU module. (1) Operating procedure Display the "Online Operation (Read out Logging Setting)" window. [Online] ...
  • Page 146 (2) Setting window (3) Setting items (a) Data logging setting "Setting No. [data logging name] (logging type, file transfer setting status)" is displayed in Data Logging Setting. (b) Display of Common setting Display of Common setting differs depending on the target memory. •...
  • Page 147: Writing The Data Logging Setting To The Cpu Module

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL Writing the Data Logging Setting to the CPU Module Data logging setting data can be written to the target memory of the CPU module. Stop the target data logging before writing the data logging setting. Also, all of the data loggings must be stopped when writing the common settings.
  • Page 148 (2) Setting window (3) Setting items (a) Data logging setting "Setting No. [data logging name] (logging type, file transfer setting status)" is displayed in Data Logging Setting. (b) Display of Common setting Display of Common setting differs depending on the target memory. •...
  • Page 149: Deleting The Data Logging Setting In The Cpu Module

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL Deleting the Data Logging Setting in the CPU Module Data logging setting data in the target memory of the CPU module can be deleted. (1) Operating procedure Display the "Online Operation (Delete Logging Setting)" window. [Online] ...
  • Page 150 (3) Setting items (a) Data logging setting "Setting No. [data logging name] (logging type, file transfer setting status)" is displayed in Data Logging Setting. (b) Display of Common setting Display of Common setting differs depending on the target memory. • Standard ROM: "Buffer Capacity Setting" only is displayed. •...
  • Page 151: Logging Status And Operation

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.10 Logging Status and Operation Data logging is executed or stopped, and the status can be confirmed. (1) Operating procedure Open the "Logging Status and Operation" window. [Online]  [Logging Status and Operation] Select the target setting number(s).
  • Page 152 (2) Setting window (3) Setting items and buttons Item Description Start (Stop) Monitoring starts when it is stopped. Or, monitoring stops when monitoring is in execution. SD memory card data Free space in the SD memory card is displayed. Selects all of the setting data. button Clears all of the target settings.
  • Page 153 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL (4) Error window (a) Error details window The following is an example of the error details window, "Details", which appears when the button is clicked in the event of an error. Displays a value that will be stored in the special register or an error response No.
  • Page 154: Logging File Operation

    8.11 Logging File Operation Data logging files in the SD memory card can be saved in or deleted from the personal computer. (1) Operating procedure Configure the Transfer Setup settings. ( Page 136, Section 8.6) Open the "Logging File Operation" window. [Online] ...
  • Page 155 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL (2) Setting window (3) Setting item and buttons Item Description The path for the current folder (directory) is displayed. Or, the path for the destination folder (directory) is Directory specified. Moves to the specified folder (directory). button Moves to the parent folder (directory).
  • Page 156: Data Logging File Transfer Status

    8.12 Data Logging File Transfer Status Transfer status of data logging files can be checked. (1) Operating procedure Check transfer status in the "Data Logging File Transfer Status" window. [Online]  [Data Logging File Transfer Status] (2) Displayed window (3) Displayed items and buttons Item Description Start (Stop)
  • Page 157 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL (4) File Transfer Error Log window (a) Displayed window (b) Displayed items and buttons Item Description Transfer status of a file is displayed. Status • Error • Retry Date The time and date when a data logging file transfer function error occurred are displayed. Data Logging Setting No.
  • Page 158: Checking The Product Information

    8.13 Checking the Product Information There are two help functions in the configuration tool: • Opening the user's manual • Checking the version information 8.13.1 Opening the user's manual e-Manual Viewer starts, and the manual opens. (1) Operating procedure Perform the following. [Help] ...
  • Page 159: Available Characters

    CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8.14 Available Characters This section describes characters available for the setting items. 8.14.1 Available ASCII characters Characters in the shaded area can be used. Entry of an invalid character is not possible, or causes an error. The table below shows the other characters available for respective settings.
  • Page 160: Characters Available For File And Folder (Directory) Names

    8.14.2 Characters available for file and folder (directory) names Characters in the shaded area can be used. 8.14.3 Characters available for the data logging setting In the following cases, characters cannot be entered to the data logging setting window. • The input character is not supported as a character code of OS language. (Example: A single-byte katakana is entered to the data logging setting created with the configuration tool (English version).) •...
  • Page 161: Chapter 9 Sd Memory Card

    CHAPTER 9 SD MEMORY CARD CHAPTER 9 SD MEMORY CARD For the specifications and part names of SD memory cards, refer to the following. User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used Precautions for Using SD Memory Cards This section describes the precautions for using SD memory cards.
  • Page 162 Memo...
  • Page 163: Chapter 10 Processing Time

    CHAPTER 10 PROCESSING TIME CHAPTER 10 PROCESSING TIME This chapter describes the processing time required for data logging. 10.1 Data Logging Processing Time This section describes the data logging processing time, which was measured under the specified conditions. Note that the processing time may increase depending on any of the following factors. •...
  • Page 164: Continuous Logging, Specification Period Logging

    10.1.1 Continuous logging, specification period logging The value shown is measured with the minimum allowable sampling time specified and without missing any data during continuous logging or specification period logging. For specification period logging, the value shown is a period during which data are sampled while the conditions of the specification period are met.
  • Page 165 CHAPTER 10 PROCESSING TIME (b) When the data logging file transfer function is enabled Number of device points 1280 CPU module (8 points  1 (16 points  1 (64 points  1 (128 points  1 (128 points  2 (128 points ...
  • Page 166 (3) Measurement results (when the NZ1MEM-4GBSD, NZ1MEM-8GBSD, or NZ1MEM-16GBSD is used) The measurement results should be used for reference only since the processing time varies depending on the settings and the scan time of the CPU module. (a) When the data logging file transfer function is disabled Number of device points 1280 CPU module...
  • Page 167: Trigger Logging

    CHAPTER 10 PROCESSING TIME 10.1.2 Trigger logging The following shows values of the time required for outputting a total of 200 records before and after a trigger (100 records for each) to a file when trigger logging is performed. (1) Measurement condition Item Description Scan time...
  • Page 168 (b) When the data logging file transfer function is enabled Number of device points 1280 CPU module (8 points  1 (16 points  1 (64 points  1 (128 points  1 (128 points  2 (128 points  10 setting) setting) setting)
  • Page 169: Checking The Processing Time

    CHAPTER 10 PROCESSING TIME 10.2 Checking the Processing Time Data logging is the best-effort type function. The concept of obtaining the maximum performance from the condition at the time Logging may not be performed at the specified sampling intervals because processing time may vary depending on the configuration or other connected devices.
  • Page 170: Impact On Scan Time

    10.3 Impact on Scan Time (1) When data logging is performed Use the following formula to calculate the increase in scan time in data logging. [Increase in scan time] KM1 + (N1  KM2) + (N2  KM3) [s] N1: Number of settings N2: Number of points for internal user devices (total number of points of setting No.1 to No.10) CPU module Q03UDVCPU, Q04UDVCPU, Q04UDPVCPU, Q06UDVCPU, Q06UDPVCPU,...
  • Page 171: Processing Time Of Each Instruction

    CHAPTER 10 PROCESSING TIME 10.4 Processing Time of Each Instruction The following table lists the operation processing time of the instructions described in this manual. ( Page 170, CHAPTER 11) For details on the concept of processing time, refer to the following. MELSEC-Q/L Programming Manual (Common Instruction) Processing time Q03UDVCPU, Q04UDVCPU,...
  • Page 172: Chapter 11 Data Logging Instructions

    CHAPTER 11 DATA LOGGING INSTRUCTIONS The following instructions are used for data logging. Instruction Description Reference Causes a trigger to occur in trigger logging. Data sampled for the LOGTRG Trigger logging set number of records (specified in the "Number of logging lines" window Page 59, Section 6.3.2 (1), of the configuration tool) are stored in a data logging file.
  • Page 173: Trigger Logging Set (Reset) (Logtrg(R))

    CHAPTER 11 DATA LOGGING INSTRUCTIONS 11.1 Trigger Logging Set (Reset) (LOGTRG(R)) Command LOGTRG LOGTRG Command LOGTRGR LOGTRGR n: Data logging setting No. (BIN 16-bit) Internal device J\ Constant Setting data R, ZR U\G Others K, H Word Word   ...
  • Page 174 (2) Error In the following case, an operation error occurs. SM0 (error flag) turns on, and an error code is stored into SD0. • When n is other than 1 to 10 (Error code: 4100) (3) Program example In the program shown below, when X0 turns on, the LOGTRG instruction is executed to data logging setting No.1.
  • Page 175: Data Logging Name Read (Sp.lognamer)

    CHAPTER 11 DATA LOGGING INSTRUCTIONS 11.2 Data Logging Name Read (SP.LOGNAMER) Command SP.LOGNAMER SP.LOGNAMER n: Data logging setting No. (BIN 16-bit) D: Start number of a device in which the data logging name is stored (character string) Internal device J\ Constant Setting data R, ZR...
  • Page 176 When the data logging name: "LOG01" is read The data logging name read is stored. is stored in the remaining characters when the name length is less than 32 characters, 33rd, and 34th character. 17 words are used. D+10 D+11 D+12 D+13 D+14...
  • Page 177: Data Logging File Name Addition (Sp.logfiles)

    CHAPTER 11 DATA LOGGING INSTRUCTIONS 11.3 Data Logging File Name Addition (SP.LOGFILES) Command SP.LOGFILES SP.LOGFILES n: Data logging setting No. (BIN 16-bit) S: Character string (8 characters maximum) added to the data logging file name or start number of the device in which a character string is stored (character string) Internal device J\...
  • Page 178 Different data logging file names can be used for each specification period when this instruction is used with specification period logging (Page 61, Section 6.3.3). By executing the instruction before the conditions of the specification period are met, a character string specified as the data logging file name of the data sampled during the specification period can be added.
  • Page 179 CHAPTER 11 DATA LOGGING INSTRUCTIONS (2) Error In the following case, an operation error occurs. SM0 (error flag) turns on, and an error code is stored into SD0. • When n is other than 1 to 10 (Error code: 4100) •...
  • Page 180: Chapter 12 Special Relay And Special Register

    CHAPTER 12 SPECIAL RELAY AND SPECIAL REGISTER This chapter provides the lists of the special relay and special register that are used for data logging. 12.1 Special Relay List The special relay list for data logging is shown below. For details on each special relay area, refer to the following. User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used Number Name...
  • Page 181: Special Register List

    CHAPTER 12 SPECIAL RELAY AND SPECIAL REGISTER 12.2 Special Register List The special register list for data logging is shown below. For details on each special register area, refer to the following manual. User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used Number Name SD604...
  • Page 182: Chapter 13 Troubleshooting

    CHAPTER 13 TROUBLESHOOTING For data logging error codes, SM, SD, and troubleshooting by symptom, refer to the following. User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used This chapter provides only the list of the errors that may occur in data logging. 13.1 List of the Errors That May Occur in Data Logging If an error occurs in data logging, a diagnostic error will not be reported.
  • Page 183 CHAPTER 13 TROUBLESHOOTING Value in special register Timing of Error response Error cause (Data logging error cause occurrence information) 4021 Data logging registration was attempted to a failed memory. 4022 In registration of the data logging, a nonexistent program name was specified. A program name (which exists in the CPU module but is not registered to the 4083 program setting in PLC Parameter) was specified in registration of the data...
  • Page 184 Value in special register Timing of Error response Error cause (Data logging error cause occurrence information) While the saved file number has reached the maximum of FFFFFFFF 4278 Registration registration of a data logging was attempted. Or, the number reached the maximum of FFFFFFFF during execution.
  • Page 185: Troubleshooting By Symptom

    CHAPTER 13 TROUBLESHOOTING 13.2 Troubleshooting by Symptom 13.2.1 Troubleshooting on CSV file output The following are examples of incorrect display of CSV file outputs and how to troubleshoot the problems. Symptom Cause Action Do not change clock data of the CPU module during execution of the data Time data in the Date column are Clock data setting was changed logging function.
  • Page 186: Troubleshooting On The Entire System During Operation Of The Data Logging Function

    13.2.4 Troubleshooting on the entire system during operation of the data logging function The following are examples of the system problems that may occur during operation of the data logging function and corrective actions. Symptom Cause Action If the data logging is executed with the "short sampling interval" or "many sampling data"...
  • Page 187: Troubleshooting On The Data Logging Status

    CHAPTER 13 TROUBLESHOOTING Symptom Cause Action During execution of the data logging function, when monitoring the logging status is attempted through Starting multiple data loggings will temporarily increase the load on the service USB or Ethernet connection, the processing. This may slow down the communication response, causing a timeout communication is disconnected and The communication is performed error.
  • Page 188 Memo...
  • Page 189: Appendices

    APPX APPENDICES Appendix 1 Installing a USB Driver To communicate with the CPU module via USB, a USB driver needs to be installed. This section describes the installation procedure of a USB driver. If multiple MELSOFT products are installed, refer to their installed location. ...
  • Page 190  (3) Windows 7 and later (a) Installation procedure Connect a personal computer to the CPU module with a USB cable, and power on the programmable controller. Select [Start]  [Control Panel]  [System and Security]  [Administrative Tools]  [Computer Management] ...
  • Page 191 APPX Memo...
  • Page 192: Appendix 2 Added And Changed Functions

    Appendix 2 Added and Changed Functions Some functions are added to the CPU module and configuration tool. The following table lists the serial numbers of the CPU modules and software versions of the configuration tool that support those added functions. Serial number (first five digits) of the CPU module Version of Added function...
  • Page 193 APPX Memo...
  • Page 194: Index

    INDEX ..78 ......81 Auto logging by inserting an SD memory card File access .
  • Page 195 Reading the data logging setting ....106 from the SD memory card ........87 Retry .
  • Page 196: Instruction Index

    INSTRUCTION INDEX ......171 LOGTRG ......171 LOGTRGR .
  • Page 197 Memo...
  • Page 198: Revisions

    REVISIONS *The manual number is given on the bottom left of the back cover. Print date *Manual number Revision January 2010 SH(NA)-080893ENG-A First edition April 2010 SH(NA)-080893ENG-B Partial correction SAFETY PRECAUTIONS, Section 5.2.1, 6.3.3, 6.8, 8.4.4, 8.4.7, 8.4.12, 8.12.1, 13.1 August 2010 SH(NA)-080893ENG-C Partial correction...
  • Page 199 Print date *Manual number Revision February 2013 SH(NA)-080893ENG-K New models of the Universal model QCPU and the LCPU have been added.New models of the LCPU have been added. Added models Q03UDVCPU, Q04UDVCPU, Q06UDVCPU, Q13UDVCPU, Q26UDVCPU, L06CPU, L26CPU New models of the LCPU have been added. October 2013 SH(NA)-080893ENG-L Added models...
  • Page 200 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 201: Warranty

    6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi. 7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user. 2. Onerous repair term after discontinuation of production (1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
  • Page 202: Trademarks

    TRADEMARKS Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan. Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The SD and SDHC logos are trademarks of SD-3C, LLC. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.
  • Page 204 SH(NA)-080893ENG-U(1809)MEE MODEL: LCPU-U-DL-E MODEL CODE: 13JZ39 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.

Table of Contents