Mitsubishi Q04UDVCPU, Q03UDVCPU, QnUDVCPU, Q04UDPVCPU, Q06UDVCPU User Manual

...
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

SAFETY PRECAUTIONS

WARNING
CAUTION
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions, resulting in minor or moderate injury or property damage.
(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" and " CAUTION".
Under some circumstances, failure to observe the precautions given under " CAUTION" may lead to serious consequences. Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future reference.
[Design Precautions]
Overcurrent or overvoltage protection of the power supply module is activated.
The CPU module detects an error such as a watchdog timer error by the self-diagnostic function.
All outputs are turned off All outputs are turned off
All outputs are turned off
All outputs are held or turned off
according to the parameter setting.
Q/L series module AnS/A series module
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.
(2) Machine OPR (Original Point Return) of the positioning function is controlled by two kinds of data:
an OPR direction and an OPR speed. Deceleration starts when the near-point watchdog signal turns on. If an incorrect OPR direction is set, motion control may continue without deceleration. To prevent machine damage caused by this, configure an interlock circuit external to the programmable controller.
(3) When the CPU module detects an error during control by the positioning function, the motion slows
down and stops.
(4) The programmable controller stops its operation upon detection of the following status, and the
output status of the system will be as shown below.
Also, all outputs may be turned on if an error occurs in a part, such as an I/O control part, where the programmable controller CPU cannot detect any error. To ensure safety operation in such a case, provide a safety mechanism or a fail-safe circuit external to the programmable controller. For a fail-safe circuit example, refer to the User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used.
(5) Outputs may remain on or off due to a failure of a component such as a transistor in an output
circuit. Configure an external circuit for monitoring output signals that could cause a serious accident.
In an output circuit, when a load current exceeding the rated current or an overcurrent caused by a load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an external safety circuit, such as a fuse.
Configure a circuit so that the programmable controller is turned on first and then the external power supply. If the external power supply is turned on first, an accident may occur due to an incorrect output or malfunction.
Configure a circuit so that the external power supply is turned off first and then the programmable controller. If the programmable controller is turned off first, an accident may occur due to an incorrect output or malfunction.
For the operating status of each station after a communication failure, refer to relevant manuals for each network. Incorrect output or malfunction due to a communication failure may result in an accident.
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. Especially, in the case of a control from an external device to a remote programmable controller, immediate action cannot be taken for a problem on the programmable controller due to a communication failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions to be taken between the external device and CPU module in case of a communication failure.
An absolute position restoration by the positioning function may turn off the servo-on signal (servo off) for approximately 20ms, and the motor may run unexpectedly. If this causes a problem, provide an electromagnetic brake to lock the motor during absolute position restoration.
[Design Precautions]
CAUTION
Do not install the control lines or communication cables together with the main circuit lines or power cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise.
During control of an inductive load such as a lamp, heater, or solenoid valve, a large current (approximately ten times greater than normal) may flow when the output is turned from off to on. Therefore, use a module that has a sufficient current rating.
After the CPU module is powered on or is reset, the time taken to enter the RUN status varies depending on the system configuration, parameter settings, and/or program size. Design circuits so that the entire system will always operate safely, regardless of the time.
[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
Use the programmable controller in an environment that meets the general specifications in the User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product.
To mount the module, while pressing the module mounting lever in the lower part of the module, fully insert the module fixing projection(s) into the hole(s) in the base unit and press the module until it snaps into place. Incorrect interconnection may cause malfunction, failure, or drop of the module. When using the programmable controller in an environment of frequent vibrations, fix the module with a screw. Tighten the screws within the specified torque range. Undertightening can cause drop of the screw, short circuit, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
When using an extension cable, connect it to the extension cable connector of the base unit securely. Check the connection for looseness. Poor contact may cause incorrect input or output.
When using an SD memory card, fully insert it into the SD memory card slot. Check that it is inserted completely. Poor contact may cause malfunction.
Securely insert an extended SRAM cassette into the cassette connector of a CPU module. After insertion, close the cassette cover to prevent the cassette from coming off. Failure to do so may cause malfunction.
To interconnect modules, engage the respective connectors and securely lock the module joint levers until they click.
Do not directly touch any conductive parts and electronic components of the module. Doing so can cause malfunction or failure of the module.
Securely connect an extension cable to the connectors of a branch module and an extension module. After connections, check that the cable is inserted completely. Poor contact may cause malfunction.
[Wiring Precautions]
WARNING
Shut off the external power supply (all phases) used in the system before wiring. Failure to do so may result in electric shock or cause the module to fail or malfunction.
After installation and wiring, attach the included terminal cover to the module before turning it on for operation. Failure to do so may result in electric shock.
[Wiring Precautions]
CAUTION
Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction.
Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when a terminal block screw comes loose, resulting in failure.
Check the rated voltage and terminal layout before wiring to the module, and connect the cables correctly. Connecting a power supply with a different voltage rating or incorrect wiring may cause a fire or failure.
Connectors for external devices must be crimped or pressed with the tool specified by the manufacturer, or must be correctly soldered. Incomplete connections may cause short circuit, fire, or malfunction.
Securely connect the connector to the module. Poor contact may result in malfunction.
Do not install the control lines or communication cables together with the main circuit lines or power
cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise.
Place the cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled, resulting in damage to the module or cables or malfunction due to poor contact.
Check the interface type and correctly connect the cable. Incorrect wiring (connecting the cable to an incorrect interface) may cause failure of the module and external device.
Tighten the terminal block screws within the specified torque range. Undertightening can cause short circuit, fire, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
When disconnecting the cable from the module, do not pull the cable by the cable part. For the cable with connector, hold the connector part of the cable. For the cable connected to the terminal block, loosen the terminal screw. Pulling the cable connected to the module may result in malfunction or damage to the module or cable.
Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can cause a fire, failure, or malfunction.
A protective film is attached to the top of the module to prevent foreign matter, such as wire chips, from entering the module during wiring. Do not remove the film during wiring. Remove it for heat dissipation before system operation.
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. Wiring and replacement of a power supply module must be performed by qualified maintenance personnel with knowledge of protection against electric shock. For wiring methods, refer to the User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used.
[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.
Shut off the external power supply (all phases) used in the system before cleaning the module or retightening the terminal block screws, connector screws, or module fixing screws. Failure to do so may result in electric shock or cause the module to fail or malfunction.
[Startup and Maintenance Precautions]
CAUTION
Before performing online operations (especially, program modification, forced output, and operating status change) for the running CPU module from the peripheral device connected, read relevant manuals carefully and ensure the safety. Improper operation may damage machines or cause accidents.
Do not disassemble or modify the modules. Doing so may cause failure, malfunction, injury, or a fire.
Use any radio communication device such as a cellular phone or PHS (Personal Handy-phone
System) more than 25cm away in all directions from the programmable controller. Failure to do so may cause malfunction.
Shut off the external power supply (all phases) used in the system before mounting or removing a module. Failure to do so may cause the module to fail or malfunction.
Tighten the terminal block screws within the specified torque range. Undertightening can cause drop of the component or wire, short circuit, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
After the first use of the product (module, display unit, and terminal block), do not connect/disconnect the product, do not mount/remove the module to/from the base unit, and do not insert/remove the extended SRAM cassette to/from the CPU module more than 50 times (in accordance with IEC 61131-2). Exceeding the limit may result in malfunction.
After the first use of the product, do not insert/remove the SD memory card to/from the CPU module more than 500 times. Exceeding the limit may cause malfunction.
Do not drop or apply shock to the battery to be installed in the module. Doing so may damage the battery, causing the battery fluid to leak inside the battery. If the battery is dropped or any shock is applied to it, dispose of it without using.
Before handling the module, touch a conducting object such as a grounded metal to discharge the static electricity from the human body. Failure to do so may cause the module to fail or malfunction.
Before testing the operation by the positioning function, set a low speed value for the speed limit parameter so that the operation can be stopped immediately upon occurrence of a hazardous condition.
[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
When transporting lithium batteries, follow the transportation regulations. (For details on the regulated models, refer to the User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used.)

CONDITIONS OF USE FOR THE PRODUCT

(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; and ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general
industries. MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT. ("Prohibited Application") Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator, Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other applications where there is a significant risk of injury to the public or property.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the 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. For details, please contact the Mitsubishi representative in your region.

INTRODUCTION

Remark
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.
Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC-Q or -L series programmable controller to handle the product correctly.
When applying the program examples introduced in this manual to the actual system, ensure the applicability and confirm that it will not cause system control problems.
Relevant CPU modules
CPU module Typ e name
High-speed Universal model QCPU Q03UDVCPU, Q04UDVCPU, Q06UDVCPU, Q13UDVCPU, Q26UDVCPU
Universal model Process CPU Q04UDPVCPU, Q06UDPVCPU, Q13UDPVCPU, Q26UDPVCPU
LCPU
L02CPU, L02CPU-P, L06CPU, L06CPU-P, L26CPU, L26CPU-P, L26CPU-BT, L26CPU-PBT
This manual does not describe the details of the error codes, special relay (SM), and special register (SD). For details, refer to the user's manual for the CPU module used.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
The L02SCPU and L02SCPU-P do not support the data logging function.

RELEVANT MANUALS

(1) CPU module user's manual
Manual name
[manual number (model code)]
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
[SH-080483ENG, 13JR73]
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
[SH-080890ENG, 13JZ36]
QnUCPU User's Manual (Function Explanation, Program Fundamentals)
[SH-080807ENG, 13JZ27]
MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals)
[SH-080889ENG, 13JZ35]
QnUCPU User's Manual (Communication via Built-in Ethernet Port)
[SH-080811ENG, 13JZ29]
MELSEC-L CPU Module User's Manual (Built-In Ethernet Function)
[SH-080891ENG, 13JZ37]
Description
Specifications of the CPU modules, power supply modules, base units, extension cables, memory cards, SD memory cards, extended SRAM cassettes, and batteries, information on how to establish a system, maintenance and inspection, and troubleshooting
Specifications of the CPU modules, power supply modules, display unit, branch module, extension module, SD memory cards, and batteries, information on how to establish a system, maintenance and inspection, and troubleshooting
Functions and devices of the CPU module, and programming
Functions and devices of the CPU module, and programming
Detailed description of the Ethernet function of the CPU module
Detailed description of the Ethernet function of the CPU module
Available
form
Print book
PDF
Print book
e-Manual
PDF
Print book
PDF
Print book
e-Manual
PDF
Print book
PDF
Print book
e-Manual
PDF
(2) Programming manual
Manual name
[manual number (model code)]
MELSEC-Q/L Programming Manual (Common Instruction)
[SH-080809ENG, 13JW10]
(3) Operating manual
Manual name
[manual number (model code)]
GX Works2 Version 1 Operating Manual (Common)
[SH-080779ENG, 13JU63]
GX Developer Version 8 Operating Manual
[SH-080373E, 13JU41]
GX LogViewer Version 1 Operating Manual
[SH-080915ENG, 13JU68]
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.
• The hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
• Sample programs can be copied to an engineering tool.
Description
Detailed description and usage of instructions used in programs
Description
System configuration, parameter settings, and online operations (common to Simple project and Structured project) of GX Works2
Operating methods of GX Developer, such as programming, printing, monitoring, and debugging
System configuration, functions, and operating methods of GX LogViewer
Available
form
Print book
e-Manual
PDF
Available
form
Print book
PDF
Print book
PDF
Print book
e-Manual
PDF
10
Memo
11

CONTENTS

CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
MANUAL PAGE ORGANIZATION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
CHAPTER 1 DATA LOGGING 20
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.2 Processing Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
CHAPTER 2 SYSTEM CONFIGURATION 26
2.1 Overall System Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.1.1 Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
2.1.2 Connection from a USB or serial port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
2.1.3 Connection from an interface board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
2.2 Precautions for Ethernet Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.3 Operating Environment for the Configuration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
CHAPTER 3 SPECIFICATIONS 34
3.1 Function Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.2 Folder Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.3 CSV File Output Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.3.1 CSV format specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.3.2 Output details of lines and columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
3.3.3 Value ranges by output format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
3.4 Size of Data Logging Setting File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
CHAPTER 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION 44
CHAPTER 5 START-UP OF THE CONFIGURATION TOOL 46
5.1 Getting the Configuration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
5.2 Installing/Uninstalling the Configuration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
5.3 Starting the Configuration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
5.4 Switching a Display Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
CHAPTER 6 DATA LOGGING FUNCTION 48
12
6.1 Target Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.2 Sampling of Target Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.3 Logging Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
6.3.1 Continuous logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
6.3.2 Trigger logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
6.3.3 Specification period logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
6.4 Data Logging Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.5 Data Logging File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.5.1 Saving format of the data logging file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
6.5.2 How sampled data are saved. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
6.5.3 File switching setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
6.6 Buffer Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.7 Data Missing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
6.8 SD Memory Card Life When the Data Logging Function is Used. . . . . . . . . . . . . . . . . . . . . . . 71
6.9 Precautions to Take When Using the Data Logging Function . . . . . . . . . . . . . . . . . . . . . . . . . 73
CHAPTER 7 OTHER FUNCTIONS 77
7.1 Data Logging Operation at Transition to RUN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
7.2 Auto Logging by Inserting an SD Memory Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
7.3 File Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
7.4 Data Logging File Transfer Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
7.4.1 Procedure overview of the data logging file transfer function . . . . . . . . . . . . . . . . . . . . . . . . .83
7.4.2 Directory structure of the FTP server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
7.4.3 File transfer status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
7.4.4 File transfer test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
7.4.5 File transfer diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
7.4.6 Precautions for using the data logging file transfer function . . . . . . . . . . . . . . . . . . . . . . . . . .90
7.4.7 Stack logging file transfer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
7.4.8 Transfer completing/Non-completing file distinction indication. . . . . . . . . . . . . . . . . . . . . . . . .94
CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 95
8.1 Setting Flow Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
8.2 Window Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
8.2.1 Main window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96
8.2.2 Menu structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
8.2.3 Toolbar structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98
8.2.4 Edit item tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
8.2.5 Status bar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100
8.2.6 Common operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
8.2.7 Device batch replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
8.3 Project Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
8.3.1 Creating a new project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
8.3.2 Opening a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
8.3.3 Saving a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
8.3.4 Changing a programmable controller series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
8.3.5 Reading the data logging setting from the SD memory card . . . . . . . . . . . . . . . . . . . . . . . . .106
8.3.6 Writing the data logging setting to the SD memory card . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
8.4 Data Logging Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
8.4.1 Data logging setting list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110
8.4.2 Change of the data logging setting window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
8.4.3 Logging type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
13
8.4.4 Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
8.4.5 Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
8.4.6 Paste/Insert device copied in other application software . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
8.4.7 Batch data insertion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
8.4.8 Trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121
8.4.9 Specification period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
8.4.10 Number of logging lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
8.4.11 CSV output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
8.4.12 Save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127
8.4.13 File transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129
8.4.14 Movement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131
8.4.15 Finish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132
8.5 Common Setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
8.5.1 Auto logging setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
8.5.2 Buffer capacity setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
8.6 Transfer Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
8.6.1 Connection with a USB or Ethernet cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
8.6.2 Connection via a network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138
8.6.3 Connection test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
8.6.4 Connection channel list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140
8.6.5 Searching CPU modules on the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .141
8.7 Reading the Data Logging Setting from the CPU Module . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
8.8 Writing the Data Logging Setting to the CPU Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
8.9 Deleting the Data Logging Setting in the CPU Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
8.10 Logging Status and Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
8.11 Logging File Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
8.12 Data Logging File Transfer Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
8.13 Checking the Product Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
8.13.1 Opening the user's manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156
8.13.2 Checking the version information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156
8.14 Available Characters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
8.14.1 Available ASCII characters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .157
8.14.2 Characters available for file and folder (directory) names . . . . . . . . . . . . . . . . . . . . . . . . . . .158
8.14.3 Characters available for the data logging setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .158
CHAPTER 9 SD MEMORY CARD 159
9.1 Precautions for Using SD Memory Cards. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
CHAPTER 10 PROCESSING TIME 161
10.1 Data Logging Processing Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
10.1.1 Continuous logging, specification period logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .162
10.1.2 Trigger logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
10.2 Checking the Processing Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
10.2.1 Checking the data logging processing time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167
10.3 Impact on Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
14
10.4 Processing Time of Each Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
CHAPTER 11 DATA LOGGING INSTRUCTIONS 170
11.1 Trigger Logging Set (Reset) (LOGTRG(R)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
11.2 Data Logging Name Read (SP.LOGNAMER). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
11.3 Data Logging File Name Addition (SP.LOGFILES) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
CHAPTER 12 SPECIAL RELAY AND SPECIAL REGISTER 178
12.1 Special Relay List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
12.2 Special Register List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
CHAPTER 13 TROUBLESHOOTING 180
13.1 List of the Errors That May Occur in Data Logging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
13.2 Troubleshooting by Symptom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
13.2.1 Troubleshooting on CSV file output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183
13.2.2 Troubleshooting on SD memory cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183
13.2.3 Troubleshooting on the configuration tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183
13.2.4 Troubleshooting on the entire system during operation of the data logging function. . . . . . .184
13.2.5 Troubleshooting on the data logging status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .185
13.2.6 Troubleshooting on the data logging file transfer function . . . . . . . . . . . . . . . . . . . . . . . . . . .185
APPENDICES 187
Appendix 1 Installing a USB Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Appendix 2 Added and Changed Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
INDEX 192
INSTRUCTION INDEX 194
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
15

MANUAL PAGE ORGANIZATION

The section of the current page is shown.
The chapter of the current page is shown.
"" is used for screen names and items.
[ ] is used for items in the menu bar and the project window.
shows operating procedures.
shows reference manuals.
shows notes that requires attention.
shows mouse operations.
*1
shows reference pages.
shows setting or operating examples.
Ex.
shows useful information.
A window selected in the view selection area is displayed.
View selection area
[Online] [Write to PLC...]
Select [Online] on the menu bar, and then select [Write to PLC...].
Project window
[Parameter]
[PLC Parameter]
Select [Project] from the view selection area to open the Project window.
Menu bar
Ex.
Ex.
In the Project window, expand [Parameter] and select [PLC Parameter].
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.
*1 The mouse operation example (for GX Works2) is provided below.
16
Pages describing instructions are organized as shown below.
Descriptions of setting data and data type
Instruction name
Structure of the instruction in the ladder mode
shows the devices applicable to the instruction
Descriptions of control data (if any)
Execution condition of the instruction
Setting side User
: Device value is set by the user.
System: Device value is set by the CPU module.
Conditions for the error and error codes For the errors not described in this manual, refer to the following. User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used
Simple program example(s) and descriptions of the devices used
Detailed descriptions of the instruction
The following illustration is for explanation purpose only, and should not be referred to as an actual documentation.
17
Setting
data
Applicable
*1
device
• 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.
Internal device
(system, user)
Bit Word Bit Word
X, Y, M, L,
SM, F, B, SB,
FX, FY
*2
T, ST, C,
D, W, SD, SW
*2
, @
FD
File
register
*3
R, ZR
Link direct device
J\
J\X, J\Y, J\B,
J\SB
*4
J\W,
J\SW
*1 For details on each device, refer to the following.
User's Manual (Function Explanation, Program Fundamentals) for the CPU module used
*2 FX and FY can be used for bit data only, and FD for word data only. *3 When T, ST, and C are used in an instruction other than the following, they are used as word devices.
Instructions that T, ST, and C are used as bit devices: LD, LDI, AND, ANI, OR, ORI, LDP, LDF, ANDP, ANDF, ORP, ORF, OUT, and RST
*4 These devices can be used in the CC-Link IE Field Network, CC-Link IE Controller Network, MELSECNET/H, and
MELSECNET/10.
*5 In the "Constant" and "Others" columns, a device(s) that can be set for each instruction is shown.
Intelligent
function module
device
U\G
U\G Z K, H, E, $
Index
register
Zn
Constant*5Others
P, I, J, U,
DX, DY, N,
BL, TR, BL\S, V
*5
• The following data types can be used.
Data type Description
Bit Bit data or the start number of bit data
BIN 16-bit 16-bit binary data or the start number of word device
BIN 32-bit 32-bit binary data or the start number of double-word device
BCD 4-digit Four-digit binary-coded decimal data
BCD 8-digit Eight-digit binary-coded decimal data
Real number Floating-point data
String Character string data
Device name Device name data
18

TERMS

Unless otherwise specified, this manual uses the following terms.
Ter m 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 To ol
Display unit A liquid crystal display to be attached to the LCPU
GX Developer
GX Works2
GX LogViewer Software to display data collected by data logging
LCPU
Programming tool A generic term for GX Works2 and GX Developer
Universal model Process CPU
QnUDPVCPU
High-speed Universal model QCPU
QnUDVCPU
SD memory card
Software to configure data logging settings and to manage collected data
The product name of the software package for the MELSEC programmable controllers
A generic term for the L02CPU, L02CPU-P, L06CPU, L06CPU-P, L26CPU, L26CPU-P, L26CPU-BT, and L26CPU­PBT
A generic term for the Q04UDPVCPU, Q06UDPVCPU, Q13UDPVCPU, and Q26UDPVCPU
A generic term for the Q03UDVCPU, Q04UDVCPU, Q06UDVCPU, Q13UDVCPU, and Q26UDVCPU
Secure Digital Memory Card, which is a flash memory device. The NZ1MEM-2GBSD, NZ1MEM-4GBSD, NZ1MEM­8GBSD, NZ1MEM-16GBSD, L1MEM-2GBSD, and L1MEM-4GBSD are available.
19

CHAPTER 1 DATA LOGGING

Device data can be sampled with just a simple setting.
CSV format
Data can be stored on an SD memory card in CSV format.
Configurations
:
18:55:18 67,723,36,0 18:55:19 68,741,36,0 18:55:20 69,712,36,1 18:55:20 70,724,36,1 18:55:20 71,732,36,1 18:55:20 72,733,
18:55:16 65,725,36,1 18:55:17 66,756,36,0
QnUDVCPU
Configuration tool
LCPU
or
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.

1.1 Features

The following explains the features of the data logging function.
(1) Logging of device data is easy.
No program needs to be created for logging. Device data can be logged by only setting parameters. Logged data can be stored on an SD memory card in CSV format.
20
CHAPTER 1 DATA LOGGING
2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:34 2008/1/10 14:25:35
150 200 250 300 350 400 450 500 550 600 650 700 750 800 850 900 950
0
18 18 19 18 18 19 18 15 12 11
5
3 12 14 17 18 19 18
356 330 280 310 300 285 290 310 312 333 340 352 360 362 363 363 365 370
39 39 39 42 43 46 47 48 49 50 50 51 51 50 50 50 49 49
Data before trigger
Data after trigger
Trigger occurred
Range of the data stored in a file
(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.
When sampling data at intervals of 1ms
1ms
Slight changes in data are caught.
Data logging is the best-effort type*1 function. Logging may not be performed at a specified sampling interval because processing time may vary depending on the configuration or the other connected devices. After configuring the system, thoroughly examine the processing time before starting the system operation. ( Page 161, CHAPTER 10)
*1 The concept of obtaining the maximum performance from the condition at the time.
(3) Problem analysis can be speeded up. (Trigger logging)
The states and changes in data can be stored as the data before and after a trigger. Since only the data before and after occurrence of each problem can be stored, the cause of the problem can be identified quickly, and file space can be saved.
1.1 Features
21
(4) Only the specific data can be collected in each file (specification period
Remark
ON ON
OFF OFF OFF
ON
ON ON ON
00000001.CSV 00000002.CSV 00000003.CSV 00000004.CSV 00000005.CSV
ABC_00000001.CSV ABC_00000002.CSV ABC_00000003.CSV DEF_00000004.CSV GHI_00000005.CSV
"ABC"
"DEF"
"GHI"
QnUDVCPU
<Operation of the specification period logging>
Configuration tool
SD memory card
Logging start
Saved files
Period Ò Period Ó Period Ô
When the SP.LOGFILES instruction is simultaneously used
Only the data logging results collected under the specific conditions can be stored.
Any string can be added to saved file names for each specified period.
Data collection period: M0 Data collection timing: Each scanning cycle
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. Even when the conditions change, all data that meet the changed conditions can be collected. Furthermore, together with the data logging file name addition instruction (SP.LOGFILES) (Page 175, Section 11.3), the specification period logging allows any character to be added to the data logging results for each specified period, facilitating the control of data logging files.
The specification period logging is available only for the High-speed Universal model QCPU and the Universal model Process CPU. Before using the specification period logging, check the versions of the CPU module and configuration tool used. ( Page 190, Appendix 2)
22
CHAPTER 1 DATA LOGGING
QnUDVCPU
SD memory card
1) Sending a card
3) Returning the card
Office
Factory floor
2) Sampling data
Logging starts automatically by inserting the SD memory card into the slot of the CPU module.
4) Analyzing data
LCPU
or
(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.
Data required for troubleshooting can be collected by simply sending an SD memory card (where auto logging setting data are stored) to the factory floor and inserting it into the slot of the CPU module. (Auto logging function) Furthermore, the logged data can be analyzed if the SD memory card is returned to the office after termination of the logging.
1.1 Features
23
(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.
FTP server
QnUDVCPU
LOG01_ 00000026 .csv
Data logging
file
SD memory card
Ethernet
LOG01_ 00000001 .csv
QnUDVCPU
LOG02_ 00000026 .csv
Data logging
file
SD memory card
LOG02_ 00000001 .csv
LOG03_ 00000001 .csv
LCPU
LOG03_ 00000026 .csv
Data logging
file
SD memory card
The data logging file transfer function requires an FTP server. For details on the server, refer to the manual for the server used.
24
CHAPTER 1 DATA LOGGING
:
CSV format
Device
values
Data logging file
Samples device values of the CPU module.
CPU module
SD memory card
Data logging
LCPU
or
QnUDVCPU
1.2 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.

1.2 Processing Outline

25

CHAPTER 2 SYSTEM CONFIGURATION

Configuration tool
GX LogViewer
Personal
computer
SD memory card
(sold separately,
required)
QnUDVCPU
Settings displayed.
Settings configured.
Ethernet, CC-Link, or C24
QnUDVCPU LCPU LCPU
FTP server
*1
SD memory card (sold separately,
required)
Connection from a USB or serial port
*2
Connection from an interface board
*2
Connection via network modules
*2
SD memory card
(sold separately,
required)
SD memory card (sold separately,
required)
This chapter describes a system configuration for executing the data logging function.

2.1 Overall System Configuration

An overall system configuration for executing the data logging function is shown below.
*1 The data logging file transfer function requires an FTP server. For details on the server, refer to the manual for the server
used.
*2 For connection, refer to Page 28, Section 2.1.2 and Page 31, Section 2.1.3.
For connection to the CPU module, refer to Page 32, Section 2.2.
26
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
Some project files created or data logging settings configured by a new version of the configuration tool may not be read
by the older version. Use the latest version of the configuration tool. ( Page 46, Section 5.1)
GX LogViewer is not an indispensable tool for executing the data logging function. Use it for graphical display of logged data. This manual does not contain descriptions of GX LogViewer, unless otherwise required. For details on GX LogViewer, refer to the following. GX LogViewer Version 1 Operating Manual
2.1 Overall System Configuration

2.1.1 Software

27

2.1.2 Connection from a USB or serial port

Configuration tool
Personal computer
USB or
serial
port
USB communication
Direct connection to serial port
Via computer link
Via CC-Link (G4)
Via modem
Via GOT
Modem
Cable
Cable supplied with modem
Converter/cable
Cable supplied with modem
Converter/cable
RS-232 cable
QC30R2
USB cable
Converter/cable
GOT
C24
Modem
G4 module
G4-S3 module
C24
Serial communication link
CC-Link
Serial communication link
RS-232 adapter
LCPUQnUDVCPU
or
LCPUQnUDVCPU
or
LCPUQnUDVCPU
or
LCPUQnUDVCPU
or
LCPU
LCPUQnUDVCPU
or
The figure below shows configurations of the systems that are connectable through the USB or serial port of a personal computer.
28
Loading...
+ 174 hidden pages