panasonic FP0H User Manual

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.

Types of Manual

● 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 use
FP0H Control Unit
Positioning Function/PWM Output/High-speed Counter Function
Serial Communication Function
Ethernet Communication Function
EtherNet/IP Communication Function
Logging trace function FP0H User‘s Manual (Logging/Trace Function) WUME-FP0HLOG
FP0H Extension (Communication) Cassette
FP0H Positioning Unit FPsigma Positioning Unit User’s Manual ARCT1F365E
FP0H Positioning Unit RTEX
Manual name Manual code
FP0H User‘s Manual (Basic) WUME-FP0HBAS
FP series Programming Manual ARCT1F313E
FP0H Programming Manual (SD Card Access Instructions)
FP0H User‘s Manual
(Positioning/PWM Output/High-speed Counter)
FP0H User‘s Manual (COM Communication) WUME-FP0HCOM
FP0H User‘s Manual (Ethernet Communication) WUME-FP0HET
FP0H User‘s Manual (EtherNet/IP) WUME-FP0HEIP
FP0H User‘s Manual (COM Communication) WUME-FP0HCOM
FP0H Positioning Unit RTEX User’s Manual (FPWIN GR7)
WUME-FP0HSD
WUME-FP0HPOS
WUME-FP0HRTEXGR7
WUME-FP0HLOG-03 iii

SAFETY PRECAUTIONS

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

Description on Copyright and Trademarks

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

Contents of This Manual

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
iv WUME-FP0HLOG-03
Type with Ethernet function only
AFP0HC32ET/AFP0HC32EP
All FP0H models
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
Description
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
Trigger condition
information. With the logging function, they can also be recorded in an SD memory card. In comparison with the sampling trace function, the number of devices that can be registered and trigger condition has been extended.
Bit device ON
Cycle: Hour, minute, second
Time: Per minute, Per hour, Every day, Every week, Every month, Every year
Instruction: F420 (LOGST) instruction
This function can be used by similar operations to those of the sampling trance function of existing models FP0R/ FPsigma/FP-X.
Cycle (10 ms to 30 s)
Instruction: F155 (SMPL) 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

Table of Contents

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
Application) ....................................................................................... 3-6
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
Maximum Number of Generations.................................................... 4-5
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
Application) ....................................................................................... 6-2
6.1.3 Operations When Inserting/Removing SD Memory Card During
Logging/Trace................................................................................... 6-3
6.2 Troubleshooting ..................................................................................6-4
6.2.1 Errors When Start/Stop Operation was Executed Using FPWIN
GR7................................................................................................... 6-4
6.2.2 Errors When Operation was Executed Using LOGST, LOGED or
LOGSMPL Instruction....................................................................... 6-4
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 Overview of Logging/Trace
Function
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.1 For Using Logging/Trace Function

1.1 For Using Logging/Trace Function

1.1.1 Applicable model

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
Logging/trace function
Sampling trace function
Ethernet type Non-Ethernet type
C32ET/C32EP C32T/C32P

1.1.2 Precautions on Using This 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.

1.1.3 Selection of SD Memory Cards

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
printed logo
Cautions on handling an SD memory card
Usable SD memory cards
Card type Capacity
SD memory card 2GB
SDHC memory card 4GB to 32GB
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.2 Overview of Functions

1.2 Overview of Functions

1.2.1 Overview of Logging Function

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 non­volatile 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 generations
Number of logs Max. 128 devices (Max. 256 words) per record -
Buffer memory
Logging start-stop
Logging trigger condition
File determination condition
(Logging stop trigger condition)
File format Data is saved in CSV format.
(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.
Max. 2,000 generations per log -
Max. 64 K words
Can be divided into max. 4 (LOG0 to LOG3) areas for use.
Capacity per division: 4K words to 64K words
Selectable from the tool software, instructions or autostart.
Bit device ON
Cycle: Hour, minute, second
Time: Per minute, Per hour, Every day, Every week, Every month, Every year
Instruction: Executes F420 (LOGST) instruction with an arbitrary condition and starts logging.
Bit device ON
Time: Per minute, Per hour, Every day, Every week, Every month, Every year
Max. number of records
(Note 1)
(Note 1)
(Note 1)
(Note 2)
Shared with the trace function.
-
-
-
Arbitrary comments can be given.
The upper limit of the capacity on the file system is 4 GB.
1-4 WUME-FP0HLOG-03
PLC
Internal memory
(RAM)
SD
Logging buffer
memory
Log 0
SD memory
card
Log1
Log 3
2
Sample (200724_120100).csv
3
1
X
Sample (200724_120200).csv
Sample (200724_120300).csv
Sample (20xxxxx_xxxxxx).csv
Operation
device
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.

1.2.2 Overview of Trace Function

● The trace function is used to record arbitrary contacts and data information together with
● Logging data can be uploaded from the buffer memory to the tool software after the trace
● When the trace stop condition is set to bit device, the operation can be stopped after logging
● 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 non-
● The trace operation is executed by any of those operations; (1) tool software, (2) dedicated
WUME-FP0HLOG-03 1-5
Overview
time stamp information in the buffer memory in the control unit at any time.
operation, and can be displayed as a time chart. Traced data can be saved in SD memory cards as CSV format files.
data of the specified number of samplings after the stop condition has been met.
volatile memory.
instructions or (3) Autostart by the setting.
Specifications
Item Specifications Remarks
Number of logs Max. 128 devices (Max. 256 words) per record -
PLC
Internal memory
(RAM)
SD
Logging buffer
memory
Log 0
SD memory
card
Log1
Log 3
Sample (200724_120100_TRACE).csv
1
Operation
device
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 use.
Capacity per division: 4K words to 64K words
Trace start
Trace trigger condition
Selectable from the tool software, instructions or autostart.
Bit device ON
Cycle: In msec.
(Note 1)
(Note 1)
Instruction: Executes F420 (LOGST) instruction with an arbitrary condition and starts tracing.
Trace stop condition
Bit device ON
Buffer full
(Note 2), (Note 3)
File format Data is saved in CSV format.
(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.
Shared with the logging function.
-
-
-
Arbitrary comments can be given.
The upper limit of the capacity on the file system is 4 GB.
● 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.
Image of trace function
1-6 WUME-FP0HLOG-03

1.3 Format of Saved Files

1.3 Format of Saved Files

1.3.1 File Format (For Logging Function)

● 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

1.3.2 File Name (For Logging Function)

● 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.3 Format of Saved Files

1.3.3 File Format (For Trace Function)

● 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

1.3.4 File Name (For Trace Function)

● 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

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
BIT Bit data 1 words 0 or 1 1 0 or 1
US
SS
UL
SL
SF
Hex 1 words 1 words
Hex 2 words 2 words
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
(Note 2) Decimal integers (US) are output in 5 digits when a specified decimal point output position value is 0,
(Note 3) Decimal integers (SS) are output in 6 digits when a specified decimal point output position value is 0,
(Note 4) Decimal integers (UL) are output in 10 digits when a specified decimal point output position value is 0,
(Note 5) Decimal integers (SL) are output in 11 digits when a specified decimal point output position value is 0,
(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
Unsigned
16-bit integer
Signed
16-bit integer
Unsigned
32-bit integer
Signed
32-bit integer
Single-precision floating
point real number
format.
in 6 digits when it is 1-4, and in 7 digits when it is 5.
in 7 digits when it is 1-4, and in 8 digits when it is 5.
in 11 digits when it is 1-9, and in 12 digits when it is 10.
in 12 digits when it is 1-9, and in 13 digits when it is 10.
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.
No. of occupied words
1 words
1 words
2 words
2 words
2 words
Data type
Decimal integer (unsigned)
Decimal integer (signed)
Decimal integer (unsigned)
Decimal integer (signed)
Decimal or exponential form
(auto)
Hexadecimal integer (unsigned)
Hexadecimal integer (unsigned)
No. of characters
5 0 to 65536
6 -32768 to 32767
10 0 to 4294967295
11
13 -1.175494E-38
4 0 to FFFF
8 0 to FFFF FFFF
Range or sample
-2147483648
to 2147483647
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
2 Configuration 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.1 Definition of Buffer Memory

2.1 Definition of Buffer Memory

2.1.1 Setting Method

Setting 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
Buffer memory capacity (unit: k word)
2-2 WUME-FP0HLOG-03
16 4-64

2.2 Logging Information Setting

2.2 Logging Information Setting

2.2.1 Confirmation and Settings of File Information

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.

2.2.2 LOG File Setting Items (For Logging)

The following items are set in the LOG file settings dialog box.
Setting item
Item Setting range Settings
File name
Application Logging Select Logging.
Autostart Yes / No
File definition
Within 32 one-byte characters
Enter a file name to be saved in a selected LOG number.
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.
Select this for setting bit conditions as logging trigger. Press the [Set] button, and select a device type and a number.
1)
Bit
Specify an arbitrary bit device.
(Note
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
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,
1 hour, 2 hours, 3 hours, 4 hours, 6 hours, 12 hours, 24 hours
Data logging condition
Time Clock data
Select this for setting clock time as logging trigger. Specify the time for starting logging.
Per minute, Per hour, Every day, Every week, Every month, Every year
Instruction -
Bit
Specify an arbitrary bit device.
Trigger conditions occur by executing the F422(LOGSMPL) instruction under arbitrary conditions in user programs.
Select this for setting bit conditions as file determination condition. Press the [Set] button, and select a device type and a number.
Per minute, Per
Time
hour, Every day, Every week, Every month, Every year
Select this for setting a fixed time as file determination condition. Specify a time for determining files.
Clock data
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.
When max.
File determination condition
generation
Stop, Continue
Stop: Stops logging.
Continue: Determines a file, and deletes the oldest file in the PLC. After that, creates a new file.
Automatic: Once a file is determined, executes writing it into
File write
Automatic, 1 record unit
an SD memory card.
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
Loading...
+ 56 hidden pages