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
FP0H Positioning Unit RTEX User’s Manual
(FPWIN GR7)
WUME-FP0HSD
WUME-FP0HPOS
WUME-FP0HRTEXGR7
WUME-FP0HLOG-03iii
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
ItemLogging/trace functionSampling trace function
Applicable model
ivWUME-FP0HLOG-03
Type with Ethernet function only
AFP0HC32ET/AFP0HC32EP
All FP0H models
ItemLogging/trace functionSampling 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 devicesMax. 128 devices (Max. 256 words)16 contacts (for 1 word) + 3 words
Memory capacityMax. 64 K wordsFor 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-03v
(MEMO)
viWUME-FP0HLOG-03
Table of Contents
1 Overview of Logging/Trace Function.................................................. 1-1
1.1 For Using Logging/Trace Function......................................................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 typeNon-Ethernet type
C32ET/C32EPC32T/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.
(Note): An operation check has not been conducted for SD memory cards made by other
manufacturers.
1-2WUME-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 typeCapacity
SD memory card2GB
SDHC memory card4GB 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.
● 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-031-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 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
ItemSpecificationsRemarks
Max. number of records60000 records-
Number of file
generations
Number of logsMax. 128 devices (Max. 256 words) per record-
Buffer memory
Logging start-stop
Logging trigger condition
File determination
condition
(Logging stop trigger
condition)
File formatData 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-4WUME-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-031-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
ItemSpecificationsRemarks
Number of logsMax. 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
ItemSpecificationsRemarks
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 formatData 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-6WUME-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-031-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-8WUME-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
BITBit data1 words0 or 110 or 1
US
SS
UL
SL
SF
Hex1 words1 words
Hex2 words2 words
STRString data1 to 20 bytesCharacter data1 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
50 to 65536
6-32768 to 32767
100 to 4294967295
11
13-1.175494E-38
40 to FFFF
80 to FFFF FFFF
Range or sample
-2147483648
to 2147483647
WUME-FP0HLOG-031-9
1.4 Data Format
(Note 8)Double quotation marks “ “ are added before and after character string data.
1-10WUME-FP0HLOG-03
2 Configuration of Logging/
Trace Function
2.1 Definition of Buffer Memory ................................................................2-2
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
ItemDefaultSetting range
No. of divisions of buffer memory 41-4
LOG0-LOG3
Buffer memory capacity (unit: k
word)
2-2WUME-FP0HLOG-03
164-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-032-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
ItemSetting rangeSettings
File name
ApplicationLoggingSelect Logging.
AutostartYes / 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-4WUME-FP0HLOG-03
2.2 Logging Information Setting
ItemSetting rangeSettings
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 formatCSVSelect CSV.
Logging triggerSelect 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.
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 limit1 to 60000
Select this for setting the number of records as file
determination condition. Specify the upper limit.
No. of generations 1 to 2000Set 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".