Panasonic FP0H User Manual

Programmable controller control unit
Hide thumbs Also See for FP0H:
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for Panasonic FP0H

  • Page 2 ● 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.
  • Page 3 FPΣ Positioning Unit User’s Manual (Note) (Note): For information on FP0H Positioning Unit, refer to the conventional FPΣ Positioning Unit Manual. The color of the main unit case is different (FP0H is black, and FPΣ is gray), however, the other specifications are the same.
  • Page 4 Contents of This Manual 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 Type with Ethernet function only Applicable model All FP0H models...
  • Page 5: Table Of Contents

    Table of Contents 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-3 Overview of Functions ................1-4 1.2.1 Overview of Logging Function ..............
  • Page 6 Table of Contents Registration of Device Information ............2-12 Operation When Setting Cycle for Logging Trigger ......2-14 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 Start and Stop of Logging/Trace Operation ...........
  • Page 7 Table of Contents 5. Trace Operation and Time Chart ........5-1 Flow of Trace Operation ................ 5-2 5.1.1 Flow of Trace Operation ................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 ..........
  • Page 8 Table of Contents 7. Sampling Trace Function ..........7-1 Sampling Trace Function ............... 7-2 7.1.1 Operation of Sampling Trace Function ........... 7-2 7.1.2 Details of Sampling Trace Function ............7-2 7.1.3 How to Use Sampling Trace..............7-3...
  • Page 9: Overview Of Logging/Trace Function

    Overview of Logging/Trace Function...
  • Page 10: For Using Logging/Trace Function

    Overview of 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 (A: Available, Blank: Not available) Ethernet type Non-Ethernet type Item...
  • Page 11: Selection Of Sd Memory Cards

    1.1 For Using Logging/Trace Function 1.1.3 Selection of 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.
  • Page 12: Overview Of Functions

    Overview of Logging/Trace Function 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.
  • Page 13 1.2 Overview of Functions  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.
  • Page 14: Overview Of Trace Function

    Overview of Logging/Trace Function 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 control unit at any time. •...
  • Page 15 1.2 Overview of Functions  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. Internal memory SD memory (RAM)
  • Page 16: Format Of Saved Files

    Overview of Logging/Trace Function 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.
  • Page 17: File Format (For Trace Function)

    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: Data Format

    Overview of Logging/Trace Function 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”. ...
  • Page 19: Configuration Of Logging/Trace Function

    Configuration of Logging/Trace Function...
  • Page 20: Definition Of Buffer Memory

    Configuration of Logging/Trace Function 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. PROCEDURE 1.
  • Page 21 2.1 Definition of Buffer Memory  Setting range Item Default Setting range No. of divisions of buffer memory LOG0-LOG3 4-64 Buffer memory capacity (unit: k word)
  • Page 22: Logging Information Setting

    Configuration of Logging/Trace Function 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). 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 details of setting methods, refer to “2.2.2 LOG File Setting Items (For Logging)”. 5.
  • Page 24: Log File Setting Items (For Logging)

    Configuration of Logging/Trace Function 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 Within 32 one-byte File name 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" setting dialog box • Set this for using bit device for the condition to start logging.  "Logging trigger" - "Periodic Trigger" setting dialog box • Set this for performing logging periodically. ...
  • Page 26: Trace Information Setting

    Configuration of Logging/Trace Function 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 from the list on the right. The LOG0 to LOG3 file settings dialog box appears. 4. Set information in each field of File definition, Data logging condition and Trace stop. For the details of setting methods, refer to “2.3.2 LOG File Setting Items (For Trace)”.
  • Page 28: Log File Setting Items (For Trace)

    Configuration of Logging/Trace Function 2.3.2 LOG File Setting Items (For Trace) • The following items are set in the LOG file settings dialog box.  Setting item Item Setting range Settings Within 32 File name 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" setting dialog box Set this for using bit device for the condition to start tracing.  "Logging trigger" - "Periodic Trigger" setting dialog box Set this for performing tracing periodically. When selecting Trace for Application, it can be specified in msec.
  • Page 30: Registration Of Device Information

    Configuration of Logging/Trace Function 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 of Register logging devices from the list on the left side.
  • Page 31 2.4 Registration of Device Information  Setting items (”Register devices” dialog box) Item Setting range Settings X, Y, R, L, T, C Device type Specify a device type to be logged. WX, WY, WR, WL, DT, LD, I, SV, EV Device no.
  • Page 32: Operation When Setting Cycle For Logging Trigger

    Configuration of Logging/Trace Function 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 trigger at 0 min. 0 sec. of every hour.
  • Page 33: Downloading Setting Data To Control Unit

    2.6 Downloading Setting Data to Control Unit 2.6 Downloading Setting Data to Control Unit 2.6.1 Downloading to Non-volatile Memory  Overview Parameters set in the logging/trace settings menu are downloaded together with programs and configuration data as project data. 2-15...
  • Page 34 Configuration of Logging/Trace Function 2-16...
  • Page 35: Logging/Trace Start, Stop And Monitor

    Logging/Trace Start, Stop and Monitor...
  • Page 36: Start And Stop Of Logging/Trace Operation

    Logging/Trace Start, Stop and Monitor 3.1 Start and Stop of Logging/Trace Operation 3.1.1 Start and Stop by Tool Software  Overview The logging/trace operation can be started and stopped by the tool software. PROCEDURE 1. Select “Tool” > “Logging/Trace Monitor” in the menu bar. The “Logging/Trace Monitor”...
  • Page 37: Start And Stop By Instructions

    3.1 Start and Stop of Logging/Trace Operation 3.1.2 Start and Stop by Instructions  Overview • The logging/trace operation can be started and stopped by user programs for each logging/trace number. • Specify a logging/trace number (0 to 3) using the dedicated instruction, and execute with arbitrary conditions.
  • Page 38: Operation Check Using Logging/Trace Monitor

    Logging/Trace 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...
  • Page 39: Special Internal Relays Relating To Logging/Trace Operation

    3.2 Operation Check Using Logging/Trace Monitor 3.2.2 Special Internal Relays Relating to Logging/Trace Operation  Special Internal Relay Device Name Operation Turns on while the logging/trace function is activated. Another system relay allocated to the same LOG number is reset during the start operation.
  • Page 40: Special Data Registers Relating To Logging/Trace Operation

    Logging/Trace Start, Stop and Monitor 3.2.3 Special Data Registers Relating to Logging/Trace Operation  Special data registers Device Name Operation Stores free space of buffer memory during logging. This is always Buffer free space DT90600 zero when selecting Trace for the application. Increments the value by one when the buffer overflow occurs.
  • Page 41: Checking Logging Speed (When Selecting Logging For Application)

    3.2 Operation Check Using Logging/Trace Monitor 3.2.4 Checking Logging Speed (When Selecting Logging For Application) • When the logging speed to the buffer memory of the control unit is faster than the writing speed into an SD memory card, the logging over-speed relay turns on. The logging over- speed relay turns on at the timing of logging trigger, and turns off if the speed does not exceed at the end of scan.
  • Page 42 Logging/Trace Start, Stop and Monitor...
  • Page 43: Logging Operation

    Logging Operation...
  • Page 44: Flow Of Logging Operation

    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 Auto start by setting Bit device ON Cycle Comment file part Sample(------current------).csv”...
  • Page 45 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)-a: Data logging into logging buffer memory (RAM) •...
  • Page 46 Logging Operation KEY POINTS • When the logging trigger setting is "Bit", "Cycle" or "Time", data is stored in the buffer memory at the end of the scan time. In the case of Instruction, it is stored when the F422 LOGSMPL instruction is executed.
  • Page 47: Operation When Logging Is Selected For Application

    4.2 Operation When Logging is Selected for Application 4.2 Operation When Logging is Selected for Application 4.2.1 Operation When Logging Operation is Started The following operations are executed when the start operation is requested. • Registered data is confirmed. • Once the logging/trace becomes executable, the logging/trace execution active flag (R9180/R9190/R9200/R9210) turns on.
  • Page 48: Operation When The Battery Cover Of Control Unit Is Open

    Logging Operation 4.2.4 Operation When the Battery Cover of Control Unit is Open The following operations are performed when the battery cover is open during the logging operation.  Operation of system relays • The logging/trace execution active flag and the SD card logging execution active flag (R9180/R9190/R9200/R9210) stays on while the battery cover is open.
  • Page 49: Operation When The Number Of Determination Files Reaches The Maximum Number Of Generations

    4.2 Operation When Logging is Selected for Application 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.
  • Page 50: System Management Information Relating To Logging Function

    Logging Operation 4.3 System Management Information Relating to Logging Function 4.3.1 System Management Information and Operation • Files are managed in the PLC as follows. 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.
  • Page 51: Trace Operation And Time Chart

    Trace Operation and Time Chart...
  • Page 52: Flow Of Trace Operation

    Trace Operation and Time Chart 5.1 Flow of Trace Operation 5.1.1 Flow of Trace Operation  Triggers of trace operation and file contents Step Opera Trigger of File in LOG folder File contents tion operation Tool software operation  - -...
  • Page 53 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 •...
  • Page 54: Operation When Trace Is Selected For Application

    Trace Operation and Time Chart 5.2 Operation When Trace is Selected for Application 5.2.1 Operation When Trace Operation is Started The following operations are executed when the start operation is requested. • Registered data is confirmed. • The logging/trace execution active flag (R9180/R9190/R9200/R9210) turns on. •...
  • Page 55: Operation When The Battery Cover Of Control Unit Is Open

    5.2 Operation When Trace is Selected for Application 5.2.4 Operation When the Battery Cover of Control Unit is Open The following operations are performed when the battery cover is open during the trace operation.  Operation of system relays • The logging/trace execution active flag (R9180/R9190/R9200/R9210) stays on while the battery cover is open.
  • Page 56: Trace Monitor (Time Chart)

    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 57 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"...
  • Page 58: Explanation Of Time Chart Monitor

    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 Code Name Function Displays all the devices registered in the target LOG for the time chart display.
  • Page 59 5.3 Trace Monitor (Time Chart) Code Name Function ① Menus for operating time chart configuration files are collected here. ② Menus for searching devices specified on the time chart are collected here. ③ Menus for registering devices and setting sampling conditions. Menu bar ④...
  • Page 60: Settings For Time Chart Display Area

    Trace Operation and Time Chart 5.3.3 Settings for Time Chart Display Area  Display setting (Common tabs) Set the graph display area. Select "View" > "View Setting" in the menu bar to display the setting screen. Item Range Description No. of Displayed Set the number of displayed grids in the X-axis 10 to 1000 Grids...
  • Page 61 5.3 Trace Monitor (Time Chart)  Display Setting (Device tab) Make the display setting of devices used for the time chart. Item Range Description Registered devices are listed. Check the check box of Device List a device for which the setting is made. Set the Set the maximum and minimum values of the data maximum/minimum of...
  • Page 62: Register Device

    Trace Operation and Time Chart 5.3.4 Register Device  Register Device Register a device displayed on the chart. Select "Set" > "Register Device" in the menu bar to display the setting screen. It can also be displayed by double-clicking a line of the device list. Item Setting range Settings...
  • Page 63: Sampling Condition Setting

    5.3 Trace Monitor (Time Chart) 5.3.5 Sampling Condition Setting  Sampling condition setting Set the sampling condition. Select "Set" > "Sampling Configurations" in the menu bar to display the setting screen. Item Setting range Settings Mode Trace/Free run Set a sampling mode. Auto (Starts when PLC The trace start condition is automatically set.
  • Page 64 Trace Operation and Time Chart  Restrictions on Time Chart Monitor The restrictions on the time chart are as follows. • Although a maximum of 4 patterns of trace operation can be executed (in the case all LOGs are operated for trace application), only one LOG can be displayed on the time chart. •...
  • Page 65: Logging/Trace Troubleshooting

    Logging/Trace Troubleshooting...
  • Page 66: Operations When Errors Occur

    Logging/Trace Troubleshooting 6.1 Operations When Errors Occur 6.1.1 Operation When Power Supply Turns Off  Operation When Power Supply Turns Off • While the logging/trace buffer logging/file writing is performed (R9179 is on), the power off flag during SD memory card access flag (R917F) turns on. •...
  • Page 67: Operations When Inserting/Removing Sd Memory Card During Logging/Trace

    6.1 Operations When Errors Occur 6.1.3 Operations When Inserting/Removing SD Memory Card During Logging/Trace  Operations 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. •...
  • Page 68: Troubleshooting

    Logging/Trace 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...
  • Page 69: Errors When Operation Was Executed Using Logst, Loged Or Logsmpl Instruction

    6.2 Troubleshooting 6.2.2 Errors When Operation was Executed Using LOGST, LOGED or LOGSMPL Instruction This section describes the situations and countermeasures when logging operation starts or stops, or logging trigger operation is performed with instructions in user programs.  List of errors Situation or Situation Countermeasures...
  • Page 70 Logging/Trace Troubleshooting...
  • Page 71: Sampling Trace Function

    Sampling Trace Function...
  • Page 72: Sampling Trace Function

    Sampling Trace Function 7.1 Sampling Trace Function 7.1.1 Operation of Sampling Trace Function  What is Sampling Trace Function? • Using the sampling trace function enables the PLC to take samples, record and accumulate the state of arbitrary data of 16 bits + 3 data registered in the PLC, and to examine the changes in the bit and data in details after stopping sampling at an arbitrary timing.
  • Page 73: How To Use Sampling Trace

    7.1 Sampling Trace Function  How to stop sampling Methods of the stop trigger (request): Following two methods are available. 1: Deactivate request by the tool software 2: Deactivate request by F156(STRG) instruction • If the stop trigger activates, the PLC will continue to take samplings for the specified No. of delay, and then stop the sampling operation.
  • Page 74 Sampling Trace Function 5. Set "Mode" to "Free run", and set "Sampling Times" and "Sampling Rate". 6. Press the [Start Trace/Free run] button. Drawing a chart starts, and sampling data for the specified number of samples is performed. 7. Press the [Stop Trace/Free run] button to stop the trace. ...
  • Page 75 7.1 Sampling Trace Function 8. Press the [Stop Trace/Free Run] button. The time chart will be displayed after stopping the trace operation.  Sampling by instruction PROCEDURE 1. Select "Tools" > "Time Chart" from the menu bar of FPWIN GR7. 2.
  • Page 76 Sampling Trace Function...
  • Page 77 Record of changes Manual No. Date Record of Changes WUME-FP0HLOG-01 Oct. 2017 1st Edition WUME-FP0HLOG-02 Jun. 2018 2nd Edition Added the description of supported functions for the upgrade (Ver.1.1) of the firmware. - Added the explanation of special data registers (DT90680-DT90687).

Table of Contents