Page 3
Types of Manual There are different types of users manual for the FP7 series, as listed below. Please refer to a relevant manual for the unit and purpose of your use. The manuals can be downloaded on our website.
Table of Contents Table of Contents 1. Overview of Functions............1-1 For Using Logging and Trace Functions ..........1-2 1.1.1 Precautions on Using Logging Function ..........1-2 1.1.2 Selection of SD Memory Cards...............1-3 Overview of Functions................1-4 1.2.1 Overview of Logging Function..............1-4 1.2.2 Overview of Trace Function ..............1-6 Format of Saved Files ................
Page 5
Table of Contents Operation When Setting Cycle for Logging Trigger ......2-14 Downloading Setting Data to CPU Unit ..........2-15 2.6.1 Downloading to Execution Memory RAM/ROM1 ........2-15 2.6.2 Copying from SD Memory Card to Execution Memory RAM/ROM1 ..2-15 2.6.3 Saving to SD Memory Card (In SD Memory Card Operation) ....2-16 Precautions on Downloading Setting Data ...........
Page 6
Table of Contents 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 Card Cover of CPU Unit Opens......4-5 4.2.5 Operation When the Number of Determination Files Reaches the Maximum Number of Generations ............4-6 System Management Information Relating to Logging Function....
Page 7
Table of Contents 6.2.2 Errors When Operation was Executed Using LOGST, LOGED or SMPL Instruction....................6-4 6.2.3 Error of Logging/Trace ................6-5 6.2.4 Error When Copying SD Memory Card...........6-5 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
Overview of Functions 1.1 For Using Logging and Trace Functions 1.1.1 Precautions on Using Logging 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.
1.1 For Using Logging and Trace Functions 1.1.2 Selection of 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.
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 CPU unit.
Overview of Functions 1.2.2 Overview of Trace Function Overview The trace function is used to record arbitrary contacts and data information together with time stamp information in the buffer memory in the CPU 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.
Page 15
Image of trace function The trace function can also be activated only with the internal memory of the CPU unit. SD memory cards are used only for recording trace data in recording media. FP7 CPU Internal SD memory...
Overview of Functions 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.
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.
Page 18
Overview of Functions 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. ...
Configuration 2.1 Definition of Buffer Memory 2.1.1 Setting Method Setting method Define the buffer memory of the CPU unit to be used for logging/trace. The buffer memory is set with the tool software FPWIN GR7. PROCEDURE 1. Define the buffer memory of the CPU unit to be used for logging/trace. The "Logging/Trace Settings"...
Page 21
2.1 Definition of Buffer Memory Setting range Item Default Setting range No. of divisions of buffer memory 1-16 LOG0-LOG15 Buffer memory capacity (unit: k 8-1024 word) Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
Configuration 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 LOG15). PROCEDURE 1.
Page 23
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 setting method, refer to the section of 2.2.2 LOG FIle Setting Items (For Logging).
Configuration 2.2.2 LOG FIle Setting Items (For Logging) The following items are set in the LOG file settings dialog box. Setting items Item Setting range Description Within 32 one-byte File Enter a file name to be saved in a selected LOG number. characters Application Logging...
Page 25
2.2 Logging Information Setting Logging trigger - Trigger device settings dialog box Set this for using bit device for the condition to start logging. Logging trigger - Periodic trigger settings dialog box Set this for performing logging periodically. ...
Configuration 2.3 Trace Information Setting 2.3.1 Confirmation and Settings of File Information The following items are set in the LOG file settings dialog box. Overview After completing the definition of buffer memory, set the data to be traced and the format of saved files.
Page 27
2.3 Trace Information Setting 3. Double-click a desired buffer memory in the right pane. The LOG 0 - LOG 15 file settings dialog box is displayed. 4. Set information in each field of File definition, Data logging condition and Trace stop. For the setting method, refer to the section of 2.3.2 LOG FIle Setting Items (For Trace).
Configuration 2.3.2 LOG FIle Setting Items (For Trace) The following items are set in the LOG file settings dialog box. Setting items Item Setting range Description Within 32 one-byte File Enter a file name to be saved in a selected LOG number. characters Application Trace...
Page 29
2.3 Trace Information Setting Logging trigger - Trigger device settings dialog box Set this for using the leading edge of bit device for the condition to start trace. Logging trigger - Periodic Trigger settings dialog box Set this for performing trace periodically. When selecting Trace for Application, it can be specified in msec.
Configuration 2.4 Registration of Device Information Overview Devices on which logging/trace is performed are registered in "Register logging devices". PROCEDURE 1. Select a desired LOG number for a logging device in the left pane. 2. Double-click on the line of a desired number in the right pane. The "Register devices"...
Page 31
2.4 Registration of Device Information Setting items ("Register devices" dialog box) Item Setting range Description Global devices Device In case of local devices, specify a PB number. Local devices Specify a slot number when specifying IN, OT, WI, WO Slot No.
Configuration 2.5 Operation When Setting Cycle for Logging Trigger When setting Cycle for logging triggers, the time of the first trigger is adjusted to perform subsequent logging at good timing. When the unit of cycle is second or minute, adjust to occur a tirgger at 0 min. 0 sec. of every hour.
7. Set the mode switch of the CPU unit to the "COPY" (right-hand side) until the SD LED and COPY LED flashes. The logging/trace settings auto-run file "logtrc.fp7" is copied into the execution memory RAM/ROM1. Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
5. Save the created file in the "AUTO" folder in the SD memory card. 6. Insert the SD memory card, in which the logging/trace settings auto-run file "logtrc.fp7" is written together with the auto-run file "autoexec.fp7", into the CPU unit.
2.7 Precautions on Downloading Setting Data 2.7 Precautions on Downloading Setting Data 2.7.1 Storage of Setting Data Downloaded data is stored in the non-volatile memory in the PLC, and held until it is deleted or re-registered. 2.7.2 Project Data Consistency ...
Start-Stop and Monitor 3.1 Start and Stop of Logging/Trace Operation 3.1.1 Start and Stop with Tool Software Overview The logging/trace operation can be started and stopped with the tool software. PROCEDURE 1. Select "Tool" > "Logging/Trace Monitor" in the menu bar. The "Logging/Trace Monitor"...
3.1 Start and Stop of Logging/Trace Operation 3.1.2 Start and Stop with Instructions Overview The logging/trace operation can be started and stopped with user programs for each logging/trace number. Specify a logging/trace number (0 to 15) with the dedicated instruction, and execute with arbitrary conditions.
Start-Stop and Monitor 3.2 Operation Check Using Logging/Trace Monitor 3.2.1 Logging/Trace Monitor The progress situation can be confirmed with the logging/trace monitor. Example of monitoring in logging operation Example of monitoring on the completion of trace operation Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
3.2 Operation Check Using Logging/Trace Monitor 3.2.2 System Relays Relating to Logging/Trace Operation System relays Device Name Operation Turns on during the startup of logging/trace operation. Another system relay allocated to the same LOG number is reset during the start operation. Logging trace SR100 ...
Start-Stop and Monitor 3.2.3 System Data Registers Relating to Logging/Trace Operation System data registers (SD) Device Name Operation Stores free space of buffer memory during logging. This relay is always SD100 Buffer free space zero when selecting Trace for the application. Buffer overflow Increments the value (+1) when the buffer overflow occurs.
3.3 Operation Check Using System Monitor 3.3 Operation Check Using System Monitor 3.3.1 Monitoring Method of System Monitor Area (SM) By using the system monitor function, the number of written records in a current file, the number of files stored in a folder (number of generations) and the oldest clock data of files stored in the folder can be monitored.
Page 44
Start-Stop and Monitor SM No. Name Description For LOG0 For LOG1 For LOG2 For LOG3 For LOG4 For LOG5 For LOG6 No of files Stores the number of files stored in a For LOG7 (generations) folder (number of generations) as 16-bit For LOG8 stored in folder data.
Logging Operation 4.1 Flow of Logging Operation 4.1.1 Operation Flow Triggers of logging operation and file contents STEP Operation Trigger of File in LOG folder File contents operation Tool software operation Start Instruction Autostart setting Bit device ON Cycle Comment file part Sample(------current------).csv”...
Page 47
4.1 Flow of Logging Operation Flow of logging operation STEP 1: Startup of logging operation The logging operation is started by any of the following methods; Tool software operation, Instruction in a user program, and Autostart setting. STEP 2: Data logging ...
Logging Operation 4.2 Operation When Logging is Selected for Application 4.2.1 Operation When Logging Operation Starts The following operations are executed when the start operation is requested. Registered data is confirmed. Once the logging/trace becomes executable, the logging/trace active flags (SR100, SR110, SR122 ...) turn on.
4.2 Operation When Logging is Selected for Application 4.2.4 Operation When the Card Cover of CPU Unit Opens The following operations are performed when the card cover is open during the logging operation. Operation of system relays The logging/trace active flag and the SD card logging active flag stays on while the card cover is open.
Logging Operation 4.2.5 Operation When the Number of Determination Files Reaches the Maximum Number of Generations Operation when the number of determination files reaches the maximum number of generations The operation when the number of determination files reaches the maximum number of generations varies depending on the log file settings.
4.3 System Management Information Relating to Logging Function 4.3 System Management Information Relating to Logging Function 4.3.1 System Management Information and Operation The PLC manages files as follows. So, the PLC performs operations based on the stored management information even if an SD memory card is removed during logging, and another SD memory card in different conditions from the conditions managed in the PLC is inserted.
Trace Operation and Time Chart 5.1 Flow of Trace Operation 5.1.1 Operation Flow Triggers of trace operation and file contents Trigger of STEP Operation File in LOG folder File contents operation Tool software operation Start Instruction Autostart setting Bit device ON Cycle Instruction Logging...
Page 55
5.1 Flow of Trace Operation Flow of trace operation STEP 1: Startup of trace Operation The trace operation is started by any of the following methods; Tool software operation, Instruction in a user program, and Autostart setting. STEP 2: Data logging ...
Trace Operation and Time Chart 5.2 Operation When Trace is Selected for Application 5.2.1 Operation When Trace Operation Starts The following operations are executed when the start operation is requested. Registered data is confirmed. The logging/trace active flags (SR100, SR110, SR120 ...) turn on. ...
5.2 Operation When Trace is Selected for Application 5.2.4 Operation When the Card Cover of CPU Unit Opens The following operations are performed when the card cover is open during the trace operation. Operation of system relays The logging/trace active flag and the SD card logging active flag stays on while the card cover is open.
Trace Operation and Time Chart 5.3 Trace Monitor (Time Chart) 5.3.1 Display Method of Time Chart Overview Time chart is a function to read the data stored in the PLC using the trace function and display them in graph form. ...
Page 59
5.3 Trace Monitor (Time Chart) KEY POINTS The following conditions are required to display a time chart. Only one LOG number is selected. The target LOG is set to "Trace". The logging/trace done flag of the target LOG is "ON". When the stop tirgger is detected, the "Trace stop trigger monitor flag"...
Trace Operation and Time Chart 5.3.2 Explanation of Time Chart Monitor The time chart window is composed of the following parts. Names and functions of parts Mark Name Function Displays the devices registered in the target LOG for the time chart display.
Page 61
5.3 Trace Monitor (Time Chart) Mark Name Function Graph Option button ・Enlarges graphs by pressing the button. (The values of the time scale Magnify become small.) Desired parts can be confirmed closely. Reduces graphs by pressing the button. (The values of the time scale Reduce become large.) This is used to see the whole area.
Trace Operation and Time Chart 5.3.3 Restrictions on Time Chart Monitor The restrictions on the time chart are as follows. Although a maximum of 16 patterns of trace can be executed (in the case all LOGs are operated for trace application), only one LOG can be displayed on the time chart. ...
Troubleshooting 6.1 Operations When Errors Occur 6.1.1 Operation When Power Supply Turns Off Operation when power supply turns off When activating logging/trace, the power off flag during file access SR3F turns on. The data stored in the buffer of the CPU unit is discarded. NOTE ...
6.1 Operations When Errors Occur 6.1.3 Operations When Inserting/Removing SD Memory Card During Logging/Trace Oprations when inserting/removing an SD memory card If the cover is opened during the execution of logging/trace, all open files are closed and access stops after the completion of active file access. ...
Troubleshooting 6.2 Troubleshooting 6.2.1 Errors When Start/Stop Operation was Executed Using FPWIN GR7 This section describes the messages displayed when the start or stop operation is performed on the "Logging/Trace Monitor" dialog box, and countermeasures. List of error messages Error message Situation Countermeasures...
6.2 Troubleshooting 6.2.3 Error of Logging/Trace Other assumed situation and countermeasure are as follows. List of errors Situation or Situation Countermeasures Error messge Logging/trace starts or is Set Autostart to "No" in the loggign/trace complete right after the Autostart might be set. setting menu.
Page 69
Record of changes Manual No. Date Record of Changes WUME-FP7CPULOG-01 DEC.2013 First Edition Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...