Programmable Controller
FP0H Control Unit
User's Manual
Logging/Trace Function
WUME-FP0HLOG-03
2020.3 panasonic.net/id/pidsx/global
(MEMO)
2 |
WUME-FP0HLOG-03 |
Thank you for purchasing a Panasonic product. Before you use the product, please carefully read through the user’s manual, and understand it in detail to use the product properly.
●There are different types of user’s manual for the FP0H series. Please refer to a relevant manual for the unit and purpose of your use.
●The manuals can be downloaded on our download center: https:// industrial.panasonic.com/ac/j/dl_center/.
Unit name or purpose of |
Manual name |
Manual code |
||
use |
||||
|
|
|||
|
|
FP0H User‘s Manual (Basic) |
WUME-FP0HBAS |
|
|
|
|
|
|
|
FP0H Control Unit |
FP series Programming Manual |
ARCT1F313E |
|
|
|
|
||
|
|
FP0H Programming Manual (SD Card Access |
WUME-FP0HSD |
|
|
|
Instructions) |
||
|
|
|
||
|
|
|
|
|
|
Positioning Function/PWM |
FP0H User‘s Manual |
|
|
|
Output/High-speed |
WUME-FP0HPOS |
||
|
(Positioning/PWM Output/High-speed Counter) |
|||
|
Counter Function |
|
||
|
|
|
||
|
|
|
|
|
|
Serial Communication |
FP0H User‘s Manual (COM Communication) |
WUME-FP0HCOM |
|
|
Function |
|||
|
|
|
||
|
|
|
|
|
|
Ethernet Communication |
FP0H User‘s Manual (Ethernet Communication) |
WUME-FP0HET |
|
|
Function |
|||
|
|
|
||
|
|
|
|
|
|
EtherNet/IP |
FP0H User‘s Manual (EtherNet/IP) |
WUME-FP0HEIP |
|
|
Communication Function |
|||
|
|
|
||
|
|
|
|
|
|
Logging trace function |
FP0H User‘s Manual (Logging/Trace Function) |
WUME-FP0HLOG |
|
|
|
|
|
|
FP0H Extension |
FP0H User‘s Manual (COM Communication) |
WUME-FP0HCOM |
||
(Communication) Cassette |
||||
|
|
|||
|
|
|
||
FP0H Positioning Unit |
FPsigma Positioning Unit User’s Manual |
ARCT1F365E |
||
|
|
|
|
|
FP0H Positioning Unit RTEX |
FP0H Positioning Unit RTEX User’s Manual |
WUME-FP0HRTEXGR7 |
||
(FPWIN GR7) |
||||
|
|
|
||
|
|
|
|
WUME-FP0HLOG-03 |
iii |
●To prevent accidents or personal injuries, please be sure to comply with the following items.
●Prior to installation, operation, maintenance and check, please read this manual carefully for proper use.
●Before using, please fully understand the knowledge related to the equipment, safety precautions and all other precautions.
●Safety precautions are divided into two levels in this manual: Warning and Caution.
Incorrect operation may lead to death or serious injury.
●Take appropriate safety measures to the external circuit of the product to ensure the security of the whole system in case of abnormalities caused by product failure or external.
●Do not use this product in areas with inflammable gases.
Otherwise it may lead to an explosion.
●Do not put this product into a fire.
Otherwise it could cause damage to the battery or other electronic parts.
Incorrect operation may lead to injury or material loss.
●To prevent the excessive exothermic heat or smoke generation of the product, a certain margin is required for guaranteed characteristics and performance ratings of relative products.
●Do not decompose or transform it.
Otherwise it will lead to the excessive exothermic heat or smoke generation of the product.
●Do not touch terminal blocks during power-on. Otherwise it may result in an electric shock.
●Set an emergency stop and interlock circuit in the external devices.
●Connect wires and connectors reliably.
Otherwise it may lead to the excessive exothermic heat or smoke generation of the product.
●Do not undertake construction (such as connection and disconnection) while the power supply is on. It could lead to an electric shock.
●If the equipment is used in a manner not specified by the Panasonic, the protection provided by the equipment may be impaired.
●This product has been developed/produced for industrial use only.
●The copyright of this manual is owned by Panasonic Industrial Devices SUNX Co., Ltd
●Unauthorized reproduction of this manual is strictly prohibited.
●Windows is a registered trademark of Microsoft Corporation in the U.S. and other countries.
●Ethernet is a registered trademark of Fuji Xerox Co., Ltd. and Xerox Corporation.
●EtherNet/IP is a registered trademark of ODVA (Open DeviceNet Vendor Association).
●SDHC and SD logos are trademarks of LLC.
●Other company and product names are trademarks or registered trademarks of their respective companies.
This manual describes the "logging/trace function" and "sampling trace function" implemented in FP0H Control Unit.
■ Functional comparison
|
Item |
Logging/trace function |
Sampling trace function |
|
Applicable model |
Type with Ethernet function only |
All FP0H models |
|
AFP0HC32ET/AFP0HC32EP |
||
|
|
|
|
|
|
|
|
|
|
|
|
iv |
WUME-FP0HLOG-03 |
Item |
Logging/trace function |
Sampling trace function |
||
|
|
Operation information of arbitrary contacts |
|
|
|
|
and data is saved in the buffer memory in |
|
|
|
|
the control unit together with time stamp |
This function can be used by similar |
|
|
|
information. With the logging function, they |
||
|
|
operations to those of the sampling trance |
||
Description |
can also be recorded in an SD memory |
|||
function of existing models FP0R/ |
||||
|
|
card. In comparison with the sampling trace |
||
|
|
FPsigma/FP-X. |
||
|
|
function, the number of devices that can be |
||
|
|
|
||
|
|
registered and trigger condition has been |
|
|
|
|
extended. |
|
|
|
|
|
|
|
No. of devices |
Max. 128 devices (Max. 256 words) |
16 contacts (for 1 word) + 3 words |
||
|
|
|
|
|
Memory capacity |
Max. 64 K words |
For 1000 samples |
||
|
|
|
|
|
|
|
Bit device ON |
|
|
Trigger condition |
Cycle: Hour, minute, second |
Cycle (10 ms to 30 s) |
||
Time: Per minute, Per hour, Every day, |
||||
Instruction: F155 (SMPL) instruction |
||||
|
|
Every week, Every month, Every year |
||
|
|
|
||
|
|
Instruction: F420 (LOGST) instruction |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
●For details of the logging/trace function, refer to "1 Overview of Logging/Trace Function" to "6 Logging/Trace Troubleshooting".
●For details of the sampling trace function, refer to "7 Sampling Trace Function".
WUME-FP0HLOG-03 |
v |
(MEMO)
vi |
WUME-FP0HLOG-03 |
1 Overview of Logging/Trace Function.................................................. |
1-1 |
|
1.1 For Using Logging/Trace Function...................................................... |
1-2 |
|
1.1.1 |
Applicable model.............................................................................. |
1-2 |
1.1.2 |
Precautions on Using This Function ................................................ |
1-2 |
1.1.3 Selection of SD Memory Cards........................................................ |
1-2 |
|
1.2 Overview of Functions ........................................................................ |
1-4 |
|
1.2.1 |
Overview of Logging Function ......................................................... |
1-4 |
1.2.2 |
Overview of Trace Function ............................................................. |
1-5 |
1.3 Format of Saved Files......................................................................... |
1-7 |
|
1.3.1 |
File Format (For Logging Function) ................................................. |
1-7 |
1.3.2 |
File Name (For Logging Function) ................................................... |
1-7 |
1.3.3 |
File Format (For Trace Function) ..................................................... |
1-8 |
1.3.4 |
File Name (For Trace Function) ....................................................... |
1-8 |
1.4 Data Format ........................................................................................ |
1-9 |
2 Configuration of Logging/Trace Function .......................................... |
2-1 |
||
2.1 |
Definition of Buffer Memory ................................................................ |
2-2 |
|
2.1.1 |
Setting Method ................................................................................. |
2-2 |
|
2.2 |
Logging Information Setting ................................................................ |
2-3 |
|
2.2.1 |
Confirmation and Settings of File Information .................................. |
2-3 |
|
2.2.2 |
LOG File Setting Items (For Logging) .............................................. |
2-4 |
|
2.3 |
Trace Information Setting.................................................................... |
2-7 |
|
2.3.1 |
Confirmation and Settings of File Information .................................. |
2-7 |
|
2.3.2 |
LOG File Setting Items (For Trace).................................................. |
2-8 |
|
2.4 |
Registration of Device Information...................................................... |
2-11 |
|
2.5 |
Operation When Setting Cycle for Logging Trigger ............................ |
2-13 |
|
2.6 |
Downloading Setting Data to Control Unit .......................................... |
2-15 |
|
2.6.1 |
Downloading to Non-volatile Memory .............................................. |
2-15 |
3 Logging/Trace Start, Stop and Monitor............................................... |
3-1 |
|
3.1 Start and Stop of Logging/Trace Operation ........................................ |
3-2 |
|
3.1.1 |
Start and Stop by Tool Software ...................................................... |
3-2 |
3.1.2 |
Start and Stop by Instructions .......................................................... |
3-3 |
3.1.3 |
Automatic Start by Setting ............................................................... |
3-3 |
3.2 Operation Check Using Logging/Trace Monitor.................................. |
3-4 |
|
3.2.1 |
Logging/Trace Monitor ..................................................................... |
3-4 |
3.2.2 |
Special Internal Relays Relating to Logging/Trace Operation ......... |
3-5 |
3.2.3 |
Special Data Registers Relating to Logging/Trace Operation.......... |
3-6 |
3.2.4 Checking Logging Speed (When Selecting Logging For |
3-6 |
|
|
Application) ....................................................................................... |
4 Logging Operation ................................................................................ |
4-1 |
4.1 Flow of Logging Operation.................................................................. |
4-2 |
4.1.1 Operation Flow................................................................................. |
4-2 |
WUME-FP0HLOG-03 |
vii |
4.2 Operation When Logging is Selected for Application ......................... |
4-4 |
|
4.2.1 |
Operation When Logging Operation is Started ................................ |
4-4 |
4.2.2 |
Operation When Logging Operation Stops ...................................... |
4-4 |
4.2.3 Operation When Power Supply Turns Off ........................................ |
4-4 |
|
4.2.4 |
Operation When the Battery Cover of Control Unit is Open ............ |
4-4 |
4.2.5 |
Operation When the Number of Determination Files Reaches the |
4-5 |
|
Maximum Number of Generations .................................................... |
4.3 System Management Information Relating to Logging Function ........ |
4-7 |
|
4.3.1 |
System Management Information and Operation ............................ |
4-7 |
4.3.2 |
Clearing Management Information................................................... |
4-7 |
5 Trace Operation and Time Chart.......................................................... |
5-1 |
|
5.1 Flow of Trace Operation ..................................................................... |
5-2 |
|
5.1.1 |
Flow of Trace Operation................................................................... |
5-2 |
5.2 Operation When Trace is Selected for Application ............................. |
5-4 |
|
5.2.1 |
Operation When Trace Operation is Started.................................... |
5-4 |
5.2.2 |
Operation When Logging Operation Stops ...................................... |
5-4 |
5.2.3 Operation When Power Supply Turns Off ........................................ |
5-4 |
|
5.2.4 |
Operation When the Battery Cover of Control Unit is Open ............ |
5-4 |
5.3 Trace Monitor (Time Chart)................................................................. |
5-6 |
|
5.3.1 |
Display Method of Time Chart.......................................................... |
5-6 |
5.3.2 |
Explanation of Time Chart Monitor................................................... |
5-7 |
5.3.3 |
Settings for Time Chart Display Area............................................... |
5-9 |
5.3.4 |
Register Device................................................................................ |
5-12 |
5.3.5 |
Sampling Condition Setting.............................................................. |
5-13 |
6 Logging/Trace Troubleshooting .......................................................... |
6-1 |
6.1 Operations When Errors Occur........................................................... |
6-2 |
6.1.1 Operation When Power Supply Turns Off ........................................ |
6-2 |
6.1.2 Operation When Errors Occur (Only When Selecting Logging for |
6-2 |
Application) ....................................................................................... |
|
6.1.3 Operations When Inserting/Removing SD Memory Card During |
6-3 |
Logging/Trace ................................................................................... |
|
6.2 Troubleshooting .................................................................................. |
6-4 |
6.2.1 Errors When Start/Stop Operation was Executed Using FPWIN |
6-4 |
GR7................................................................................................... |
|
6.2.2 Errors When Operation was Executed Using LOGST, LOGED or |
6-4 |
LOGSMPL Instruction ....................................................................... |
|
6.2.3 Error of Logging/Trace ..................................................................... |
6-5 |
6.2.4 Error When Copying Data in SD Memory Card ............................... |
6-5 |
7 Sampling Trace Function ..................................................................... |
7-1 |
||
7.1 |
Operation of Sampling Trace Function ............................................... |
7-2 |
|
7.2 |
Details of Sampling Trace Function .................................................... |
7-3 |
|
7.3 |
How to Use Sampling Trace ............................................................... |
7-4 |
|
7.3.1 |
Sampling by free run ........................................................................ |
7-4 |
|
7.3.2 |
Sampling at regular time intervals.................................................... |
7-4 |
|
7.3.3 |
Sampling by instruction .................................................................... |
7-5 |
viii |
WUME-FP0HLOG-03 |
1.1 For Using Logging/Trace Function...................................................... |
1-2 |
|
1.1.1 |
Applicable model.............................................................................. |
1-2 |
1.1.2 |
Precautions on Using This Function ................................................ |
1-2 |
1.1.3 Selection of SD Memory Cards........................................................ |
1-2 |
1.2 |
Overview of Functions ........................................................................ |
1-4 |
|
1.2.1 |
Overview of Logging Function ......................................................... |
1-4 |
|
1.2.2 |
Overview of Trace Function ............................................................. |
1-5 |
|
1.3 |
Format of Saved Files......................................................................... |
1-7 |
|
1.3.1 |
File Format (For Logging Function) ................................................. |
1-7 |
|
1.3.2 |
File Name (For Logging Function) ................................................... |
1-7 |
|
1.3.3 |
File Format (For Trace Function) ..................................................... |
1-8 |
|
1.3.4 |
File Name (For Trace Function) ....................................................... |
1-8 |
|
1.4 |
Data Format ........................................................................................ |
1-9 |
WUME-FP0HLOG-03 |
1-1 |
1.1For Using Logging/Trace Function
The logging/trace function is available for the models of Ethernet type (SD card). However, this function and the sampling trace function cannot be used concurrently.
■ Applicable models (●: Available, Blank: Not available)
Item |
Ethernet type |
Non-Ethernet type |
|
C32ET/C32EP |
C32T/C32P |
||
|
|||
Logging/trace function |
● |
|
|
|
|
|
|
Sampling trace function |
● |
● |
|
|
|
|
As an SD memory card is used for the logging function, there are risks of loss of data or data damage depending on usage conditions. Consider possible risks, design a system and make an evaluation of the system before using the function.
■ Precautions when powering off the PLC
If the PLC is powered off during logging or accessing an SD memory card, the following problems may occur.
●Data accumulated in the buffer memory are lost.
●Files may be damaged.
●The SD memory card may be damaged.
Take necessary measures such as the use of an uninterruptible power system (UPS) as necessary.
■ Logging speed and writing speed into an SD memory card
When the speed accumulating data is faster than the writing speed into an SD memory card, data cannot be saved. Make an evaluation thoroughly before use.
For the Control Units with the Ethernet function (AFP0HC32ET/AFP0HC32EP), SD memory cards can be used for copying projects and logging/trace applications. Note the following points when selecting and using SD memory cards
■ Usable SD memory cards
Please use Panasonic SD memory cards for industrial use. https://panasonic.net/cns/sdcard/industrial_sd/index.html
(Note): An operation check has not been conducted for SD memory cards made by other manufacturers.
1-2 |
WUME-FP0HLOG-03 |
|
|
1.1 For Using Logging/Trace Function |
|
|
|
|
|
|
|
|
|
|
Control Unit |
Usable SD memory cards |
|
|
printed logo |
Card type |
Capacity |
|
|
SD memory card |
2GB |
|
|
|
|
|
|
SDHC memory card |
4GB to 32GB |
|
|
|
|
■ Cautions on handling an SD memory card
The data saved in the SD memory card may be lost in the following cases. We assume no responsibility whatsoever for the loss of saved data.
●The user or a third party has misused the SD memory card.
●When the SD memory card was affected by any static electricity or electrical noise.
●The SD memory card was taken out, or the PLC body was powered off, while the card was being accessed.
■ Formatting an SD memory card
In principle, SD memory cards have been formatted by the time of purchase, and no formatting by the user is required. If formatting becomes necessary, download formatting software for SD memory cards on the following website.
"Our website (Japanese only)" https://panasonic.jp/support/sd_w/download/index.html "SD Association’s website"
https://www.sdcard.org/
●A file system formatted by PC's standard formatting software does not satisfy the SD memory card specifications. Please use the dedicated formatting software.
●It is recommended to save important data in another media for backup.
● Never remove the card or power off the PLC while accessing the card. Data may be damaged.
●Do not use an SD memory card the memory capacity of which is more than the usable capacity. Data in the card may be damaged.
WUME-FP0HLOG-03 |
1-3 |
1.2Overview of Functions
■ Overview
●The logging function is used to record arbitrary contacts and data information together with time stamp information at any time, and save them in an SD memory card inserted in the control unit.
●Log data is saved as CSV format files.
●Use the Logging/Trace Settings menu of tool software to set the conditions.
●The settings are downloaded to the PLC as a part of project data, and stored in the nonvolatile memory.
●The logging operation is executed by any of those operations; (1) tool software, (2) dedicated instructions or (3) Autostart by the setting.
●To perform data logging at high speed, the buffer memory in the control unit is used.
■ Specifications
Item |
Specifications |
Remarks |
|
Max. number of records |
60000 records |
- |
|
|
|
|
|
Number of file |
Max. 2,000 generations per log |
- |
|
generations |
|||
|
|
||
|
|
|
|
Number of logs |
Max. 128 devices (Max. 256 words) per record |
- |
|
|
|
|
|
|
Max. 64 K words |
|
|
Buffer memory |
Can be divided into max. 4 (LOG0 to LOG3) areas for |
Shared with the trace |
|
use. |
function. |
||
|
|||
|
Capacity per division: 4K words to 64K words |
|
|
|
|
|
|
Logging start-stop |
Selectable from the tool software, instructions or |
- |
|
autostart. |
|||
|
|
||
|
|
|
|
|
Bit device ON (Note 1) |
|
|
|
Cycle: Hour, minute, second (Note 1) |
|
|
Logging trigger condition |
Time: Per minute, Per hour, Every day, Every week, |
- |
|
|
Every month, Every year (Note 1) |
|
|
|
Instruction: Executes F420 (LOGST) instruction with |
|
|
|
an arbitrary condition and starts logging. |
|
|
|
|
|
|
File determination |
Bit device ON (Note 2) |
|
|
condition |
Time: Per minute, Per hour, Every day, Every week, |
- |
|
(Logging stop trigger |
Every month, Every year |
||
|
|||
condition) |
Max. number of records |
|
|
|
|
|
|
|
|
Arbitrary comments can be |
|
File format |
Data is saved in CSV format. |
given. |
|
The upper limit of the |
|||
|
|
capacity on the file system is |
|
|
|
4 GB. |
|
|
|
|
|
(Note 1) Logging is executed when the condition is met at the end of scan. |
|
||
(Note 2) Use it together with the (DF) instruction to turn ON only for one scan. |
|
1-4 |
WUME-FP0HLOG-03 |
1.2 Overview of Functions
(Note 3) Data stored in the buffer memory will be cleared when the power turns off.
■ Image of logging function
When the set conditions (bit device ON, cycle, time, and instruction) are met, the values of operation devices will be saved in the logging buffer memory (RAM). The logging operation continues until the file determination condition is met. Writing data to an SD memory card from the logging buffer memory is automatically performed by PLC. It is not possible to perform this operation by users.
PLC |
|
|
|
|
Internal memory |
SD memory |
|
|
|
(RAM) |
card |
|
|
|
Logging buffer |
|
|
1 |
Sample (200724_120100).csv |
memory |
|
|
2 |
Sample (200724_120200).csv |
|
SD |
Log 0 |
3 |
Sample (200724_120300).csv |
|
|
|
X |
Sample (20xxxxx_xxxxxx).csv |
Log1
Operation
device
Log 3
■ Overview
●The trace function is used to record arbitrary contacts and data information together with time stamp information in the buffer memory in the control unit at any time.
●Logging data can be uploaded from the buffer memory to the tool software after the trace operation, and can be displayed as a time chart. Traced data can be saved in SD memory cards as CSV format files.
●When the trace stop condition is set to bit device, the operation can be stopped after logging data of the specified number of samplings after the stop condition has been met.
●Use the Logging/Trace Settings menu of tool software to set the conditions.
●The settings are downloaded to the PLC as part of project data, and stored in the nonvolatile memory.
●The trace operation is executed by any of those operations; (1) tool software, (2) dedicated instructions or (3) Autostart by the setting.
■ Specifications
|
Item |
Specifications |
Remarks |
|
Number of logs |
Max. 128 devices (Max. 256 words) per record |
- |
|
|
|
|
|
|
|
|
WUME-FP0HLOG-03 |
1-5 |
1.2 Overview of Functions
Item |
Specifications |
Remarks |
|
|
Max. 64 K words |
|
|
Buffer memory |
Can be divided into max. 4 (LOG0 to LOG3) areas for |
Shared with the logging |
|
use. |
function. |
||
|
|||
|
Capacity per division: 4K words to 64K words |
|
|
|
|
|
|
Trace start |
Selectable from the tool software, instructions or |
- |
|
autostart. |
|||
|
|
||
|
|
|
|
|
Bit device ON (Note 1) |
|
|
Trace trigger condition |
Cycle: In msec. (Note 1) |
- |
|
|
Instruction: Executes F420 (LOGST) instruction with |
|
|
|
an arbitrary condition and starts tracing. |
|
|
|
|
|
|
Trace stop condition |
Bit device ON (Note 2), (Note 3) |
- |
|
Buffer full |
|||
|
|
||
|
|
|
|
|
|
Arbitrary comments can be |
|
File format |
Data is saved in CSV format. |
given. |
|
The upper limit of the |
|||
|
|
capacity on the file system is |
|
|
|
4 GB. |
|
|
|
|
(Note 1) The trace operation is executed when the condition is met at the end of scan.
(Note 2) When selecting "Bit" for the trace stop condition, logging data of the specified number of samples is possible after the condition is met.
(Note 3) Unlike the file determination condition of the logging function, logging of data for the specified number of samples starts when the bit device changes from OFF to ON.
■ Image of trace function
●The trace function can also be activated only with the internal memory of the control unit.
●SD memory cards are used only for recording trace data in recording media.
PLC |
|
|
Internal memory |
SD memory |
|
(RAM) |
card |
|
Logging buffer |
|
1 Sample (200724_120100_TRACE).csv |
memory |
|
|
|
|
|
|
SD |
Log 0 |
Log1
Operation
device
Log 3
1-6 |
WUME-FP0HLOG-03 |
1.3 Format of Saved Files
●Files are saved in CSV format.
●For the details of setting methods, refer to "2.2 Logging Information Setting".
■ CSV format
●Time stamp information (year/month/day/hour/minute/second) and information of registered devices are saved.
●The data length varies depending on the types of specified devices.
●Comments can be given at the beginning of data.
(Note 1) The contents of comment part vary depending on the settings of configuration data.
(Note 2) The number of records varies depending on the settings of file determination condition. Max. 60000 records.
(Note 3) The number of data varies depending on the setting of the number of devices. Max. 128 devices
●A file name to be saved is an arbitrary file name (date_hour-minute-second data of the first record).
●Enter a desired file name in the “Logging/Trace Settings” dialog box for each LOG number.
Example) When the file name is "Sample", and the time stamp of the first record is 12:00:00 on July 24, 2020;
Sample(200724_120000).csv
WUME-FP0HLOG-03 |
1-7 |
1.3Format of Saved Files
●Files are saved in CSV format.
●For the details of setting methods, refer to "2.3 Trace Information Setting".
■ CSV format
●Time stamp information (year/month/day/hour/minute/second), obtaining interval and information of registered devices are saved.
●Comments can be given at the beginning of data.
●The unit for the obtaining interval is 10µs. The intervals of obtaining data are saved. The time from the previous obtainment of data is saved in the line of stop trigger (STOP TRG).
●The data length varies depending on the types of specified devices.
(Note 1) The contents of comment part vary depending on the settings of configuration data.
(Note 2) The number of records varies depending on the settings of file determination condition. Max. 60000 records.
(Note 3) The number of records after the stop trigger varies depending on the settings of configuration data.
(Note 4) The number of data varies depending on the setting of the number of devices. Max. 128 devices
●A file name to be saved is an arbitrary file name (date_hour-minute-second data of the stop trigger).
●Enter a desired file name in the “Logging/Trace Settings” dialog box for each LOG number.
Example) When the file name is "Sample", and the time stamp of the stop trigger is 12:00:00 on Friday, July 24, 2020;
Sample(200724_120000_TRACE).csv
1-8 |
WUME-FP0HLOG-03 |
1.4 Data Format
●The format of the data to be output as logging data and saved in a file varies according to the type of devices.
●For the details of setting methods, refer to "2.4 Registration of Device Information".
■ Device type and data format
|
|
Output type to files |
|
|
||
Data type |
No. of |
|
No. of |
|
||
|
|
occupied |
Data type |
Range or sample |
||
|
|
characters |
||||
|
|
words |
|
|
||
|
|
|
|
|
||
BIT |
Bit data |
1 words |
0 or 1 |
1 |
0 or 1 |
|
|
|
|
|
|
|
|
US |
Unsigned |
1 words |
Decimal integer |
5 |
0 to 65536 |
|
16-bit integer |
(unsigned) |
|||||
|
|
|
|
|||
|
|
|
|
|
|
|
SS |
Signed |
1 words |
Decimal integer |
6 |
-32768 to 32767 |
|
16-bit integer |
(signed) |
|||||
|
|
|
|
|||
|
|
|
|
|
|
|
UL |
Unsigned |
2 words |
Decimal integer |
10 |
0 to 4294967295 |
|
32-bit integer |
(unsigned) |
|||||
|
|
|
|
|||
|
|
|
|
|
|
|
SL |
Signed |
2 words |
Decimal integer |
11 |
-2147483648 |
|
32-bit integer |
(signed) |
to 2147483647 |
||||
|
|
|
||||
|
|
|
|
|
|
|
|
Single-precision |
|
Decimal or exponential |
|
|
|
|
floating |
|
|
|
||
SF |
2 words |
form |
13 |
-1.175494E-38 |
||
point real |
||||||
|
|
(auto) |
|
|
||
|
number |
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
|
|
Hex |
1 words |
1 words |
Hexadecimal integer |
4 |
0 to FFFF |
|
(unsigned) |
||||||
|
|
|
|
|
||
|
|
|
|
|
|
|
Hex |
2 words |
2 words |
Hexadecimal integer |
8 |
0 to FFFF FFFF |
|
(unsigned) |
||||||
|
|
|
|
|
||
|
|
|
|
|
|
|
STR |
String data |
1 to 20 bytes |
Character data |
1 to 20 + 2 |
"ABCD" |
|
|
|
|
|
|
|
(Note 1) Decimal integers (US, SS, UL, SL) and hexadecimal integers (Hex) are output in zero suppression format.
(Note 2) Decimal integers (US) are output in 5 digits when a specified decimal point output position value is 0, in 6 digits when it is 1-4, and in 7 digits when it is 5.
(Note 3) Decimal integers (SS) are output in 6 digits when a specified decimal point output position value is 0, in 7 digits when it is 1-4, and in 8 digits when it is 5.
(Note 4) Decimal integers (UL) are output in 10 digits when a specified decimal point output position value is 0, in 11 digits when it is 1-9, and in 12 digits when it is 10.
(Note 5) Decimal integers (SL) are output in 11 digits when a specified decimal point output position value is 0, in 12 digits when it is 1-9, and in 13 digits when it is 10.
(Note 6) For a signed integer (SS, SL), a sign is output at the beginning and “+” is replaced with a space.
(Note 7) Zero is added before and after decimal point by the settings of data value and decimal point output position, and the data is output.
When "Data type" is US and data value is "12345", the output value is "0.12345" when setting
"Decimal point" to 5.
When "Data type" is US and data value is "123", the output value is "0.00123" when setting "Decimal point" to 5.
WUME-FP0HLOG-03 |
1-9 |
1.4 Data Format
(Note 8) Double quotation marks “ “ are added before and after character string data.
1-10 |
WUME-FP0HLOG-03 |
2Configuration of Logging/ Trace Function
2.1 |
Definition of Buffer Memory ................................................................ |
2-2 |
|
2.1.1 |
Setting Method ................................................................................. |
2-2 |
|
2.2 |
Logging Information Setting ................................................................ |
2-3 |
|
2.2.1 |
Confirmation and Settings of File Information .................................. |
2-3 |
|
2.2.2 |
LOG File Setting Items (For Logging) .............................................. |
2-4 |
|
2.3 |
Trace Information Setting.................................................................... |
2-7 |
|
2.3.1 |
Confirmation and Settings of File Information .................................. |
2-7 |
|
2.3.2 |
LOG File Setting Items (For Trace).................................................. |
2-8 |
|
2.4 |
Registration of Device Information...................................................... |
2-11 |
|
2.5 |
Operation When Setting Cycle for Logging Trigger ............................ |
2-13 |
|
2.6 |
Downloading Setting Data to Control Unit .......................................... |
2-15 |
|
2.6.1 |
Downloading to Non-volatile Memory .............................................. |
2-15 |
WUME-FP0HLOG-03 |
2-1 |
2.1Definition of Buffer Memory
2.1.1Setting Method
●Define the buffer memory of the control unit used for the logging/trace function.
●The buffer memory is set with the tool software FPWIN GR7.
1.Select "Tool">"Logging/Trace Settings" in the menu bar. The “Logging/Trace Settings” dialog box appears.
2.Select "No. of divisions of buffer memory" from the range of 1 to 4.
3.Double-click on the field of Capacity, and input a desired capacity. Capacity is allocated to each buffer memory.
Setting range
Item |
Default |
Setting range |
No. of divisions of buffer memory |
4 |
1-4 |
|
|
|
LOG0-LOG3 |
16 |
4-64 |
Buffer memory capacity (unit: k |
||
word) |
|
|
|
|
|
2-2 |
WUME-FP0HLOG-03 |
2.2Logging Information Setting
Overview
●After completing the definition of buffer memory, set the data to be logged and the format of saved files.
●File formats and logged device data are set for each buffer memory (LOG0 to LOG3).
1.Select "Tool">"Logging/Trace Settings" in the menu bar. The “Logging/Trace Settings” dialog box appears.
2.Select "File settings" from the list on the left.
3.Double-click a desired buffer memory from the list on the right. The LOG0 to LOG3 file settings dialog box appears.
WUME-FP0HLOG-03 |
2-3 |
2.2 Logging Information Setting
LOG file settings dialog box
4.Set information in each field of File definition, Data logging condition and File determination condition.
For the details of setting methods, refer to "2.2.2 LOG File Setting Items (For Logging)".
5.Press the [OK] button.
This returns to the Logging/Trace Settings dialog box.
●More than one file determination condition can be set for logging application.
●Even when active logging stops, a file is determined.
●For the bit device of file determination condition, select a bit which turns on for only one scan at the end of scan.
The following items are set in the LOG file settings dialog box.
■ Setting item
<![endif]>File definition
Item |
Setting range |
Settings |
|
File name |
Within 32 one-byte |
Enter a file name to be saved in a selected LOG number. |
|
characters |
|||
|
|
||
|
|
|
|
Application |
Logging |
Select Logging. |
|
|
|
|
|
Autostart |
Yes / No |
Yes: Logging operation starts when changing to the RUN |
|
mode. |
|||
|
|
2-4 |
WUME-FP0HLOG-03 |
2.2 Logging Information Setting
|
Item |
Setting range |
Settings |
||
|
|
|
|
No: Logging operation is started or stopped by the operation |
|
|
|
|
|
of programming tool or the F420(LOGST) instruction/ |
|
|
|
|
|
F421(LOGED) instruction in user programs. |
|
|
|
|
|
|
|
|
File output format |
CSV |
Select CSV. |
||
|
|
|
|
|
|
|
|
Logging trigger |
|
Select a condition to start logging data. |
|
|
|
|
|
|
|
|
|
|
Specify an arbitrary |
Select this for setting bit conditions as logging trigger. Press |
|
|
|
Bit |
the [Set] button, and select a device type and a number. (Note |
||
|
|
bit device. |
|||
|
|
|
1) |
||
|
|
|
|
||
|
|
|
|
|
|
<![if ! IE]> <![endif]>condition |
|
|
|
Select this for setting time as logging trigger. Input a cycle for |
|
|
|
|
executing logging. (Note 2) |
||
|
|
|
|
||
|
|
|
|
1 second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, 6 |
|
<![if ! IE]> <![endif]>logging |
|
Cycle |
Time data |
seconds, 10 seconds, 15 seconds, 30 seconds, |
|
|
|
|
1 minute, 2 minutes, 3 minutes, 4 minutes 5 minutes, 6 |
||
|
|
|
|
minutes, 10 minutes, 15 minutes, 30 minutes, |
|
<![if ! IE]> <![endif]>Data |
|
|
|
1 hour, 2 hours, 3 hours, 4 hours, 6 hours, 12 hours, 24 hours |
|
|
|
|
|
||
|
|
|
Select this for setting clock time as logging trigger. Specify the |
||
|
|
|
|
||
|
|
Time |
Clock data |
time for starting logging. |
|
|
|
Per minute, Per hour, Every day, Every week, Every month, |
|||
|
|
|
|
||
|
|
|
|
Every year |
|
|
|
|
|
|
|
|
|
Instruction |
- |
Trigger conditions occur by executing the F422(LOGSMPL) |
|
|
|
instruction under arbitrary conditions in user programs. |
|||
|
|
|
|
||
|
|
|
|
|
|
|
|
|
Specify an arbitrary |
Select this for setting bit conditions as file determination |
|
|
Bit |
condition. Press the [Set] button, and select a device type and |
|||
|
bit device. |
||||
|
|
|
a number. |
||
|
|
|
|
||
|
|
|
|
|
|
|
|
|
Per minute, Per |
|
|
|
|
|
hour, Every day, |
Select this for setting a fixed time as file determination |
|
<![if ! IE]> <![endif]>condition |
Time |
Every week, Every |
|||
Clock data |
condition. Specify a time for determining files. |
||||
|
|
|
month, Every year |
||
<![if ! IE]> <![endif]>determination |
|
|
|
|
|
Record limit |
1 to 60000 |
Select this for setting the number of records as file |
|||
|
determination condition. Specify the upper limit. |
||||
|
|
|
|
||
|
|
|
|
||
|
No. of generations |
1 to 2000 |
Set the number of files (generations) to be saved in folder. |
||
|
|
|
|
|
|
<![if ! IE]> <![endif]>File |
When max. |
Stop, Continue |
Stop: Stops logging. |
||
Continue: Determines a file, and deletes the oldest file in the |
|||||
generation |
|||||
|
|
PLC. After that, creates a new file. |
|||
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
Automatic: Once a file is determined, executes writing it into |
|
|
File write |
Automatic, 1 record |
an SD memory card. |
||
|
unit |
1 record unit: Writes data to a file every time one record is |
|||
|
|
|
|||
|
|
|
|
written. |
|
|
|
|
|
|
(Note 1) For the bit device of file determination condition, select a bit which turns on for only one scan at the end of scan.
(Note 2) When the logging trigger is cycle and setting per second or per minute, adjust to occur a trigger at 0 min. 0 sec. of every hour. When the unit of cycle is time, adjust to occur a trigger at 00:00:00 of every day. For details, refer to "2.5 Operation When Setting Cycle for Logging Trigger".
■ "Logging trigger" - "Trigger device" setting dialog box
● Set this for using bit device for the condition to start logging.
WUME-FP0HLOG-03 |
2-5 |
2.2 Logging Information Setting
■ "Logging trigger" - "Periodic Trigger" setting dialog box
● Set this for performing logging periodically.
■ "Logging trigger" - "Time Trigger" setting dialog box
● Set this for performing logging at fixed intervals.
■ "Logging trigger" - Trigger condition setting with F422 (LOGSMPL) instruction
●Specify a logging number with the dedicated instruction, and execute with an arbitrary condition.
2-6 |
WUME-FP0HLOG-03 |