Home

FP7 CPU Unit User's Manual Logging Trace Function

image

Contents

1. E Time chart Graph Option Magnify Reduce Back No of samplings 17710 Sampling rate 10ms amp No Device Data BY 1 Y100 Mi 100 0 BIT 2 y101 2 V 2 101 1 BIT fs v102 V 3 102 o BIT 4 103 0 BIT 4 103 vis 104 1 BIT 5 Y104 W e Yi05 1 BIT V 7 Y106 o am kanes V s Y107 o BIT 1 y 106 79 Y108 1 BM 8 Y107 V 10 v109 0 BIT V 11 Y10A 1 BT vi V 12 Y108 1 BIT 10 Y109 V 13 y10c 1 BIT 11 Yi0A V 14 10D 0 BIT 7 15 vie 1 BIT 12 v108 V 16 Y10F 0 BIT 13 vioc V 17 DT200 4 SS 14 Y100 V 18 DT205 10 ss 7 19 DT210 52 SS pave V 20 DT215 4 SS irtitiem V 21 DT220 20 55 Piz on sa enorme 23 DT230 61 55 frimescale MMM 10ms Gem oms KEY POINTS 100 B CERM oms ps paio C o Soe 25 posi SGM 17710ms MER 17710ms DEM 1771ms al e 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 and Trace data acquisition done flag turn on e The time chart cannot be activated during executing the logging trace operation e The indication of the Buffer free space of the LOG that has been set to Trace is always zero Trace Operation and Time Chart 5 3 2 Explanation of Time Chart Monitor The time chart window is composed of
2. aaa 6 4 6 2 1 Errors When Start Stop Operation was Executed Using FPWIN GR7 6 4 Table of Contents 6 2 2 6 2 3 6 2 4 Errors When Operation was Executed Using LOGST LOGED or SMPL Instructora a taj AS are st iaia ip tings 6 4 Error of Logging Tr ac ss 1 sattsekas een data ids 6 5 Error When Copying SD Memory Card 6 5 Table of Contents vi 1 Overview of Functions 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 M 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 e Data accumulated in the buffer memory are lost e Files are damaged eThe SD memory card is damaged Take necessary measures such as the use of an uninterruptible power system UPS as necessary M 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 For Using Logging and Trace Functions 1 1 2 Selection of SD Memory Cards E Usable S
3. Note 1 Trace 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 1 6 1 2 Overview of Functions E Image of trace function e The trace function can also be activated only with the internal memory of the CPU unit e SD memory cards are used only for recording trace data in recording media FP7 CPU Internal memory SD LI RAM car 1 7 Overview of Functions 1 3 Format of Saved Files 1 3 1 File Format For Logging Function eFiles are saved in csv format e For the details of setting methods refer to 2 2 Logging Information Setting M CSV format e Time stamp information year month day hour minute second and information of registered devices are saved e The data length varies depending on the types of specified devices e Comments can be given at the beginning of data 1st line 2nd line 3rd line 4th line 5th line 1 2 3 Data name 1 Data name 2 Data name 3 Comment Arbitrary Arbitrary Arbitrary part comment comment comment Note 1 MOMENT MOMENT MOMENT Data format 1 Data format 2 Data format 3 Unit 1 Unit 2 Unit 3
4. A Logging Operation Logging Operation 4 1 Flow of Logging Operation 4 1 1 Operation Flow E Triggers of logging operation and file contents STEP Operation Trigger of File in LOG folder File contents operation Tool software 1 Start operation Instruction Autostart setting Bit device ON Cycle Comment file part Instruction Sample curenta csv First record Time 2 Logging rij ON Comment file part y Sample current csv First record Instruction Ti Second record ime Logging operation continues until the file determination condition is met Comment file part 45 First record File Bit device ON Sample 130401_ 120000 csv Second record 3 determinatio Time se Se ente n Record limit Sample current csv Comment file part Bit device ON Cycle 5 Comment file part Sample current csv 2 Logging Instruction First record Time Logging operation continues until the file determination condition is met Comment file part File Bit device ON Sample 1 30401_1 20000 CSV First record 3 determinatio Time Sample 130401_130000 csv Second record 3 Record limit TO Sample current csv Comment file part 2 Logging Logging file determination and logging operation continues until the stop condition is met M Comment file part Sample 1 30401_1 20000 CSV First record Tool software
5. Local devices PBI cancel Slot No 1 Device type x external input Z No 0 0 511F E Logging trigger Periodic Trigger settings dialog box e Set this for performing trace periodically When selecting Trace for Application it can be specified in msec Periodic Trigger Cancel Specify in msec 1 1 1000 E Logging trigger Trigger condition setting with SMPL instruction e Specify a logging number with the dedicated instruction and execute with an arbitrary condition R200 preci i Logging trigger i Hx DF SMPL US ied no U0 n MITICO TECO COCCO CIO ELI CECO CI CECT Configuration 2 4 Registration of Device Information E Overview e Devices on which logging trace is performed are registered in Register logging devices PROCEDURE 1 j KEY POINTS Select a desired LOG number for a logging device in the Ieft pane Logging Trace Settings fa Configuration 5 Basic Setup Fil tti 3 hester lood devices No Ge Device Data type a a hy SS E Loci 1 E L062 2 E LoG3 3 E LOG4 4 E LOGS 5 Double click on the line of a desired number in the right pane The Register devices dialog box is displayed ga devis Local devices PBI _ cancel Slot No l Device type x external input x No 0 0 511F Data type Bit data Z Number of continuous 1 1 500 reoistrations Reaister co
6. Selectable from the tool software instructions or autostart Bit device ON Note 1 Cycle Hour minute second Logging start stop Logging trigger Time Per minute Per hour Every day Every week condition Every month Every year Instruction Executes an instruction with an arbitrary condition and starts logging Bit device ON Note 2 File determination condition Time Per minute Per hour Every day Every week Logging stop trigger Every month Every year condition Max number of records Arbitrary comments can be given File format Data is saved in csv format The upper limit of the capacity on the file system is 4 GB Note 1 Logging is executed when the condition is met at the end of scan Note 2 Use it together with the DF instruction to turn ON only for one scan 1 2 Overview of Functions E Image of logging function FP7 CPU Internal SD memo memory d y RAM SE Sample 130401_120100 csv Sample 130401_120200 csv Sample 130401_120300 csv teal X Sample 13XXXXX_XXXXXX CSV 1 5 Overview of Functions 1 2 2 Overview of Trace Function M Overview e 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 e Logging data can be uploaded from the buffer memory to the tool software after the trace operation and can be displayed as a
7. When max generation tp vl File write Automatic vw Bit t Write file after completion of trace LOG file settings dialog box KEY POINTS 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 Flle Setting Items For Logging 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 5 Configuration 2 2 2 LOG Flle Setting Items For Logging e The following items are set in the LOG file settings dialog box E Setting items Item Setting range Description File MVS esene byte Enter a file name to be saved in a selected LOG number characters n Application Logging Select Logging 2 Yes Logging operation starts when changing to the RUN Q mode gt Autostart Yes No No Logging operation is started or stopped by the operation 5 of programming tool or the LOGST instruction 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 loggin
8. e For stopping the logging trace operation with instructions request the stop after confirming that the active flags SR100 SR101 turn on If requesting to stop LOG n during start operation the operation error flags SR7 SR8 or the logging trace error flag SR105 turn on e For starting the logging trace operation with instructions request the start after confirming that the logging trace done flag SR102 turns on If requesting to start LOG n during stop operation the operation error flags SR7 SR8 or the logging trace error flag SR105 turn on e There is no problem if a start request is made for LOG n during startup or in startup processing e There is no problem if a stop request is made for LOG n that stops or in stop processing 3 1 3 Autostart by Setting e When Autostart has been selected in the LOG file settings dialog box the start request of the logging trace operation is made immediately after the mode is switched to the RUN mode NOTE e The trace operation stops when the trace stop condition bit device ON or buffer full is met If the operation is forcibly stopped with the tool software or instruction while the trace stop condition has not been satisfied the trace operation is cancelled and the data is not saved 3 3 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 mon
9. Maximum Number of Generations ana 4 6 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 n 5 1 5 1 Flow of Trace Operation cece cece cece ceeeseeeseeeeeeeeeeeeeeees 5 2 5 1 1 Operation FloW cece aaa 5 2 5 2 Operation When Trace is Selected for Application a 5 4 5 2 1 Operation When Trace Operation Starts a 5 4 5 2 2 Operation When Logging Operation Stops ren 5 4 5 2 3 Operation When Power Supply Turns Off 5 4 5 2 4 Operation When the Card Cover of CPU Unit Opens 5 5 5 3 Trace Monitor Time Chart aaa 5 6 5 3 1 Display Method of Time Chatt i 5 6 5 3 2 Explanation of Time Chart Monitor 5 8 5 3 3 Restrictions on Time Chart Monitor aa 5 10 6 TroubleshootiNd ss asis mila 6 1 6 1 Operations When Errors OccUr ii 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 iit dan ada ada de ite otel ahi 6 2 6 1 3 Operations When Inserting Removing SD Memory Card During L ogging Trace ira iii hide ia 6 3 6 2 Troubleshooting
10. SM259 to SM290 After restarting logging the number of generations is added to the data before the restart and the existing value is held for the oldest time data 4 7 Logging Operation 4 8 O Trace Operation and Time Chart Trace Operation and Time Chart 5 1 Flow of Trace Operation 5 1 1 Operation Flow E Triggers of trace operation and file contents STEP Operation Trigger of File in LOG folder File contents operation Tool software 1 Start operation Instruction Autostart setting Bit device ON Cycle Instruction 2 Logging Bit device ON Cycle Instruction Logging operation continues until the trace stop condition is met Comment file part asmeni i 6 First record en buffer full is se ample Second record Trace stop for stop trigger 130401_120000_TRACE csV ssesesecscaceeeee STOP TRG Comment file part f i First record Whenpirdevice ON Sample current csv Second record is set for stop trigger T aaa asa 3 STOP TRG Logging operation continues for the number of smplings after the dtection of stop trigger Trace stop Comment file part First record Second record I E Sample tt tn tn nt nee samplings 130401_120030_TRACE csv STOP TRG XXX records 5 1 Flow of Trace Operation E Flow of trace operation STEP 1 Startup of trace Operation e The trace operation is started by any of the following methods Tool software
11. Start by the tool software Storing data in the buffer is executed while this relay is on SD card loagia Turns on when writing files into an SD memory card becomes enabled SR101 gging after turning on the logging trace active relay and enabling logging in the active P R buffer This relay is always off when selecting Trace for the application Logging trace Turns on after the completion of the stop request for logging trace or the SR102 A j a z done completion of file writing at the time of automatic stop Turns on when the buffer logging speed exceeds the writing speed to an M SD memory card in logging operation Turns on when the number of data SR103 ete nt previously stored and the number of data stored this time increase speed rela p ii Turns on at the timing of buffer logging and turns off at the timing of buffer logging or the end of scan Turns on when the buffer has been exhausted The buffer overflow counters SD120 SD135 are incremented 1 At that time new data cannot be stored Also writing data into the SD memory card does not stop The buffer overflow relay turns off at the end of scan when a vacancy SR104 Buffer overflow occurs in the buffer as writing data into an SD memory card progresses and relay the buffer overflow counter is cleared to 0 Also after the occurrence of buffer vacancy data logging is executed once the logging trigger condition is met This relay is always on when buffer full occurs a
12. Year Hour Month Minute Data 1 Data 2 Data 3 Day Second Year Hour Note 2 Month Minute Data 1 Data 2 Data 3 Day Second Year Hour Month Minute Data 1 Data 2 Data 3 Day Second lt Note 3 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 1 000 000 records Note 3 The number of data varies depending on the setting of the number of devices Max 500 devices 1 3 2 File Name For Logging Function eA file name to be saved is an arbitrary file name date_hour minute second data of the first record e Enter a desired file name in the Logging Trace Settings dialog box for each LOG number e Example When the file name is Sample and the time stamp of the first record is 12 00 00 on April 1 2013 Sample 130401_120000 csv 1 3 Format of Saved Files 1 3 3 File Format For Trace Function Files are saved in csv format e For the details of setting methods refer to 2 3 Trace Information Setting HM CSV format e Time stamp information year month day hour minute second obtaining interval and information of registered devices are saved e Comments can be given at the beginning of data e The unit for the obtaining interval is 10us The intervals of obtaining data are saved The time from the previous obtainment of data is saved in the line of s
13. 01 30 12 01 45 12 01 05 30 seconds 12 01 30 12 02 00 12 02 30 m Example of timing of trigger occurrence when the u nit of cycle is minute Time at which Time at which the 1st Time at which subsequent See ei 12 01 00 1 minute 12 02 00 12 03 12 04 12 05 12 03 00 2 minutes 12 04 00 12 04 12 06 12 08 12 05 00 3 minutes 12 06 00 12 09 12 12 12 15 12 05 00 4 minutes 12 08 00 12 12 12 16 12 20 12 05 00 5 minutes 12 10 00 12 15 12 20 12 25 12 01 00 10 minutes 12 10 00 12 20 12 30 12 40 12 59 00 15 minutes 13 00 00 13 15 13 30 13 45 12 10 00 30 minutes 12 30 00 13 00 13 30 14 00 E Example of timing of trigger occurrence when the u nit of cycle is hour Time at which Time at which the 1st Time at which subseguent added ae 12 59 00 1 hour 13 00 00 14 15 16 o colock 12 59 00 2 hours 14 00 00 16 18 20 o colock 12 30 00 3 hours 15 00 00 18 21 24 o clock 12 30 00 4 hours 16 00 00 20 24 28 o clock 12 30 00 6 hours 18 00 00 24 30 36 o colock 12 30 00 12 hours 24 00 00 36 48 60 o clock 12 30 00 24 hours 24 00 00 48 72 96 o clock 2 14 2 6 Downloading Setting Data to CPU Unit 2 6 Downloading Setting Data to CPU Unit 2 6 1 Downloading to Execution Memory RAM ROM1 M Overview e Parameters set in the logging trace settings menu are downloaded together with programs and configuration dat
14. FP7 Extension Function Cassette FP7 Analog Cassette Users Manual WUME FP7FCA Analog Cassette Upcoming FP7 Digital Input Output Unit FP7 Digital Input Output Unit Users Manual WUME FP7DIO FP7 Analog Input Unit FP7 Analog Input Unit Users Manual WUME FP7AIH FP7 Analog Output Unit FP7 Analog Output Unit Users Manual WUME FP7AOH FP7 High speed counter Unit FP7 High speed counter Unit Users Manual WUME FP7HSC FP7 Pulse Output Unit FP7 Pulse Output Unit Users Manual WUME FP7PG Upcoming FP7 Positioning Unit FP7 Positioning Unit Users Manual WUME FP7POSP FP7 Serial Communication Unit FP7 series Users Manual SCU communication WUME FP7COM PHLS System PHLS System Users Manual WUME PHLS Programming Software FPWIN GR7 FPWIN GR7 Introduction Guidance WUME FPWINGR7 Table of Contents Table of Contents 1 Overview of Functions ri 1 1 1 1 For Using Logging and Trace FUNCTIONS i 1 2 1 1 1 Precautions on Using Logging Function i 1 2 1 1 2 Selection of SD Memory CardSs 1 3 1 2 Overview of Functions 1 4 1 2 1 Overview of Logging FUNGHION a 1 4 1 2 2 Overview of Trace Function i 1 6 1 3 Format of Saved Files 1 8 1 3 1 File Format For Logging Function i 1 8 1 3 2 File Name For Logging
15. Sample 130401_130000 csv Second record operation 4 Stop Instruction Comment file part Max file generation PS Sample 130401_140000 csv Records up to stop 4 1 Flow of Logging Operation E Flow of logging operation STEP 1 Startup of logging operation e 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 e After the startup of logging operation logging data is executed with a specified condition once the specified trigger condition bit device ON cycle or time is met eA LOG folder is created in an SD memory card for the LOG number that a file name is set e A file specified file name current csv for saving logging data is created in the LOG folder e Logged data is stored in the logging buffer memory RAM in the CPU unit once and they are automatically written into files in an SD memory card by the CPU unit It is not necessary to write them using user programs e After that the CPU unit continues saving data into the same file until the file determination condition is met STEP 3 File determination e A file is determined when the specified file determination condition bit device ON time record limit is met e The file determination is to rename the file specified file name current csv created in STEP 2 after writing all the data stored in the
16. Start to start logging trace Multiple LOGs can be specified a check a desired LOG and click Time Chart to display time chart Only one LOG can be specified v LOG No 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Logging trace is being executed a 7 Z 5 3 SD card logging is being executed z E E A n Logging trace is complete ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON Logging excessive speed relay 5 E P Iz Buffer overflow 7 E 5 5 m Loggingjtrace error 3 5 z E 2 No SD card free space Device and trigger setting error amp a 2 m P n Tracing stop trigger monitor ON x e 7 Trace data has been acquired ON s 5 Buffer free space 0 o 0 it 0 o 0 0 0 0 o o 0 0 0 0 Buffer overflow counter 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 2 Operation Check Using Logging Trace Monitor 3 2 2 System Relays Relating to Logging Trace Operation E System relays Device i No Name Operation Turns on during the startup of logging trace operation Another system 4 relay allocated to the same LOG number is reset during the start operation SR100 Logging trace ne i active The logging trace function is activated by any of the following methods 1 Autostart setting 2 Start by instructions 3
17. a current file with N records Current file exists The determined file name is file name date_time_POW csv and itis excluded from the target for generation management E Operation when log data is zero and file determination is requested The request for file determination is ignored E Operation when SMPL instructions in main program and interrupt program are executed simultaneously The SMPL instruction in the interrupt program is not executed 6 1 Operations When Errors Occur 6 1 3 Operations When Inserting Removing SD Memory Card During Logging Trace E Oprations when inserting removing an SD memory card e 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 e Once the access stops the SD memory card access LED turns off and the SD memory card can be removed e As the logging into the buffer memory in the CPU unit continues even after removing the SD memory card pay attention to buffer overflow e A file in the middle of logging when the cover was opened is saved as specified file name Current csv Once the SD memory card is inserted again writing into the file in the SD memory card restarts adding data to the specified file name current csv 6 3 Troubleshooting 6 2 Troubleshooting 6 2 1 Errors When Start Stop Operation was Executed Using FPWIN GR7 This
18. be logged and the format of saved files e File formats and logged device data are set for each buffer memory LOGO to LOG15 PROCEDURE 1 Select Tool gt Logging Trace Settings in the menu bar The Logging Trace Settings dialog box is displayed 2 Select File settings in the left pane Logain El configuration 3 R E Basic Setup Buffer m Filename Appli Autostart File output for IJ e _ Register logging devices LOGI Logging Yes csy A LOGO LOG2 Logging Yes csy LOGI LOG3 Logging Yes csv LOG2 LOG4 Logging Yes csv LOG3 LOGS Logging Yes csv LOG4 LOG6 Logging Yes csv LOGS LOG Logging Yes csv oo LOGS Logging Yes csv io LOG9 Logging Yes csy LOGIO Logging Yes csv D 0 LOG11 Logging Yes Csv LOG11 LOG12 Logging Yes csy LoG12 LOG13 Logging Yes csy LOG13 LOG14 Logging Yes csy LOG14 LOGIS Logging Yes csv LOGIS Cancel Read PLC Initialize 3 Double click a desired buffer memory in the right pane The LOG 0 LOG 15 file settings dialog box is displayed 2 2 Logging Information Setting LOGO file settings File definition File name l Cancel Application Logging v Autostart Yes Z File output format csv x Data logging condition Logging Bit v Set xO File determination condition Bit ooo Set Time Per minute __ __ 00 Set Record limit 1 1 1000000 No of generations 100 1 2000
19. is returned and the data cannot be downloaded from a PC e When there is an inconsistency in loading data form an SD memory card the self diagnostic error 125 is reported 2 7 3 Autostart Setting e When Autostart has been selected in 2 2 the LOG file settings dialog box the logging trace operation starts immediately after the mode is switched to the RUN mode Configuration 2 18 3 Start Stop and Monitor Start Stop and Monitor 3 1 Start and Stop of Logging Trace Operation 3 1 1 Start and Stop with Tool Software E Overview e The logging trace operation can be started and stopped with the tool software er 2 3 gs PROCEDURE Select Tool gt Logging Trace Monitor in the menu bar The Logging Trace Monitor dialog box is displayed Logging Trace Monitor Micosi Most Moe jocs Moss Mocs oce E LoG 7 Start Stop Moses Moss Miogio Moci MLociz Mocis JLoct4 MLoGis Time Chart Check a desired LOG and click Start to start logging trace Multiple LOGs can be specified check a desired LOG and click Time Chart to display time chart Only one LOG can be specified LOG No 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Logging trace is being executed SD card logging is being executed Loggingjtrace is complete ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON Logging excessive speed relay Buffer overflow Logging trace error No SD card free space Devic
20. settings File definition File name ci Application T Autostart File output format ev Data logging condition Logging Bit x Set xo Bit fo t s Set Time Per minute __ __ 00 Set Record limit 1 100 Stop Automatic Trace stop Stop Bit x et ko No of samplings after stop trigger 0 0 262144 Write file after completion of trace 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 Flle Setting Items For Trace 5 Press the OK button This returns to the Logging Trace Settings dialog box l KEY POINTS e No of samplings after stop trigger is available only when the stop trigger is set to Bit e Check the box of Write file after completion of trace to create a file in an SD memory card after the completion of trace 2 9 Configuration 2 3 2 LOG Flle Setting Items For Trace e The following items are set in the LOG file settings dialog box E Setting items Item Setting range Description File Within 32 onezbytg Enter a file name to be saved in a selected LOG number m characters Application Trace Select Trace o 2 Yes Trace operation starts when changing to the RUN mode Autostart Yes No No Trace operation is started by the operation of programming tool or the LOGST instr
21. time chart Traced data can be saved in SD memory cards as csv format files e When the trace stop condition is set to bit device the operation can be stopped after logging data of the specified number of samplings after the stop condition has been met e Use the Logging Trace settings menu of the tool software FPWIN GR7 to set the conditions e The settings are downloaded to the PLC as a part of project data and stored in the ROM1 The setting data can be saved in SD memory cards and used e The logging operation is executed by any of those operations 1 tool software FPWIN GR7 2 dedicated instructions or 3 Autostart by the setting M Specifications Item Specifications Remarks Max number of records 1 000 000 records Number of logs Max 500 devices 500 to 2 000 words 1 record Max 1M words Can be divided into max 16 LOGO to LOG15 areas Shared with the logging for use function Buffer memory Capacity per division 8k words to 1M words Selectable from the tool software instructions or autostart Bit device ON Note 1 Cycle By millisecond Trace start Trace trigger condition Instruction Executes an instruction with an arbitrary condition and starts trace Bit device ON Note 2 Note 3 Buffer memory full Trace stop condition Arbitrary comments can be given File format Data is saved in csv format The upper limit of the capacity on the file system is 4 GB
22. 1 3 1 Start and Stop of Logging Trace Operation 3 2 3 1 1 Start and Stop with Tool Software nn 3 2 3 1 2 Start and Stop with Instructions aaa 3 3 3 1 3 Autostart by Setting 3 3 3 2 Operation Check Using Logging Trace Monitor 3 4 3 2 1 Logging Trace Monitor aaa 3 4 3 2 2 System Relays Relating to Logging Trace Operation 3 5 3 2 3 System Data Registers Relating to Logging Trace Operation 3 6 3 2 4 Checking Logging Speed When Selecting Logging For Application 3 6 3 3 Operation Check Using System Monitor 3 7 3 3 1 Monitoring Method of System Monitor Area SM i 3 7 3 3 2 List of System Monitor Area SM 3 7 Logging Operation iiscesssesnasmimas as seocieaa ina 4 1 4 1 Flow of Logging Operation ri sess deca ete ille 4 2 41 1 Qperation Flow js tele Liebe Da sa S ai ss 4 2 4 2 Operation When Logging is Selected for Application 4 4 4 2 1 Operation When Logging Operation StartS eeren ereere 4 4 Table of Contents 4 2 2 Operation When Logging Operation Stops i 4 4 4 2 3 Operation When Power Supply Turns Off nnee 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
23. 59 Start Stop and Monitor 3 2 3 System Data Registers Relating to Logging Trace Operation E System data registers SD Device No Name Operation Stores free space of buffer memory during logging This relay is always PI Buffer free space zero when selecting Trace for the application Buffer overflow Increments the value 1 when the buffer overflow occurs This is always 0120 counter zero when selecting Trace for the application Note 1 The above device numbers are those for LOGO System data register numbers vary depending on LOG numbers as shown in the table below Pea lems alc SD 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 No 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 3 2 4 Checking Logging Speed When Selecting Logging For Application e When the logging speed to the buffer memory of the CPU 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 e If overspeed occurs frequently the buffer memory will be full and data cannot be accumulated e Once the buffer memory is full the buffer overflow flag tur
24. D memory cards Please use Panasonic SD memory cards for industrial use http panasonic net avc sdcard industrial sd index html Note An operation check has not been conducted for SD memory cards made by other manufacturers Printed logo Usable SD memory cards on CPU unit Card type Capacity Ss SD memory card 2GB SDHC memory card 4GB to 32GB E Cautions on handling an SD memory card The data saved in the SD memory card may be lost in the following cases We assume no responsibility whatsoever for the lost of saved data e The user or a third party has misused the SD memory card e When the SD memory card was affected by any static electricity or electrical noise e The SD memory card was taken out or the PLC body was powered off while the card was being accessed M 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 SD Association s website https www sdcard org home NOTES e 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 body while the SD LED on the CPU unit is
25. Errors Occur 6 1 1 Operation When Power Supply Turns Off E Operation when power supply turns off e When activating logging trace the power off flag during file access SR3F turns on e The data stored in the buffer of the CPU unit is discarded NOTE e Incase of the middle of file writing written data or files may be damaged or the SD memory itself may not be read 6 1 2 Operation When Errors Occur Only When Selecting Logging for Application M Operations when determined files with the same time data are created Status Operation Create an error file with the following file name and exclude them from the target for generation management When multiple data are logged in File name Date_Time_ERR csv one second n If the same file is created discard the current file and continue the logging operation If detecting that time is turned back from the previous record in logging operation it is regarded as a file determination trigger and a file with the following file name is created and excluded from the target for generation When time data was turned back management File name Date_Time_TIM csv The logging operation continues M Operations when reactivating the power supply Status Operation When a current file with 0 record Newly create a current file based on the file definition exists Newly create a current file based on the file definition after determining the When
26. Function a 1 8 1 3 3 File Format For Trace Function i 1 9 1 3 4 File Name For Trace Function 1 9 1 4 Data FO a E naar SANE ila ata 1 10 Configurationisssiie aaa 2 1 2 1 Definition of Buffer Memory i 2 2 2 11 Setting Method s n ciainlia ie laid nai ala ei 2 2 2 2 Logging Information Setting 2 4 2 2 1 Confirmation and Settings of File Information a 2 4 2 2 2 LOG Flle Setting Items For LOgging 2 6 2 3 Trace Information Setting 2 8 2 3 1 Confirmation and Settings of File Information 2 8 2 3 2 LOG Flle Setting Items For Trace a 2 10 2 4 Registration of Device Information 2 12 Table of Contents 2 5 Operation When Setting Cycle for Logging Trigger 2 14 2 6 Downloading Setting Data to CPU Unit 2 15 2 6 1 Downloading to Execution Memory RAM ROM1 iii 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 2 7 Precautions on Downloading Setting Data e 2 17 2 7 1 Storage of Setting Data aaa 2 17 2 7 2 Project Data Consistency aaa 2 17 2 5 iAutostart S ttiN9it str attst gi e Jetta ag adi k 2 17 Start Stop and Monitor rrriiiiiee 3
27. Panasonic PROGRAMMABLE CONTROLLER FP7 CPU Unit User s Manual Logging Trace Function WUME FP7CPULOG 01 2013 12 panasonic net id pidsx global Introduction Thank you for buying a Panasonic product Before you use the product please carefully read the installation instructions and the users manual and understand their contents in detail to use the product properly Types of Manual e 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 e The manuals can be downloaded on our website http industrial panasonic com ac e dl_center manual Unit name or purpose of use Manual name Manual code FP7 Power Supply Unit FP7 CPU Unit FP7 CPU Unit Users Manual Hardware WUME FP7CPUH FP7 CPU Unit Command Reference Manual WUME FP7CPUPGR FP7 CPU Unit Users Manual Logging Trace Function WUME FP7CPULOG FP7 CPU Unit Users Manual Security Function WUME FP7CPUSEC Instructions for Built in LAN Port FP7 CPU Unit Users Manual LAN Port Communication WUME FP7LAN Instructions for Built in COM Port FP7 Extension Cassette Communication RS 232C RS485 type FP7 series Users Manual SCU communication WUME FP7COM FP7 Extension Cassette Communication Ethernet type FP7 series Users Manual Communication cassette Ethernet type WUME FP7CCET
28. a as project data 2 6 2 Copying from SD Memory Card to Execution Memory RAM ROM1 M Overview e Logging trace settings auto run files are copied to the memory RAM ROM1 for program execution via SD memory cards nea PROCEDURE 1 Create an AUTO folder in an SD memory card 2 Select Tool gt SD Memory Card gt Create Logging Trace Settings Auto Run File in the menu bar The Create auto run file dialog box is displayed 3 Select Create new settings and LOG numbers and press the Yes button The Browse Folders dialog box is displayed 4 Selecta desired folder and press the Yes button A logging trace settings auto run file logtrc fp7 is created 5 Save the created file in the AUTO folder in the SD memory card 6 Insert the SD memory card into the CPU unit 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 Configuration 2 6 3 Saving to SD Memory Card In SD Memory Card Operation M Overview eTo perfrom SD memroy card operation write a file for automatic start in an SD memory card Create the setting file in the following procedure nea PROCEDURE 1 Create an AUTO folder in an SD memory card 2 Select Tool gt SD Memory Card gt Create Logging Trace Settings Auto Run File in the menu bar The Cre
29. ame current csv is executed every time specified records are stored The number of written records can be confirmed in the system monitor area M212 to SM242 e The number of generations of determined files is managed during the logging operation The number of determined files can be confirmed in the system monitor area SM243 to SM258 e The determined date is managed in the internal memory at the time of file determination and the time data of the oldest file is stored in the system monitor area SM259 to SM290 4 3 2 Clearing Management Information E Clearing management information Log file management information of the PLC is cleared in the following cases e When LOG n settings are deleted or all log settings are initialized from the tool software FPWIN GR7 e When a buffer allocation different from stored data is downloaded all log settings are initialized e When a LOGn definition different from stored data is downloaded only the different LOG n is cleared l KEY POINTS e Ifthe above clearing operation is performed log file management information is initialized and files remained in the SD memory card are regarded as non existent Delete files beforehand and use it e When restarting logging with the same condition without changing setting information the operation continues with the previous system information the number of generations SM243 to SM258 and the oldest time data of the file
30. ate auto run file dialog box is displayed 3 Select Create new settings and LOG numbers and press the Yes button The Browse Folders dialog box is displayed 4 Selecta desired folder and press the Yes button A logging trace settings auto run file logtrc fp7 is created Save the created file in the AUTO folder in the SD memory card 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 7 Setthe mode switch to the SD side and execute the operation j KEY POINTS e The logging trace settings are saved in the non volatile memory ROM1 in the CPU unit as a part of project data However they are not saved in the non volatile memory ROM during the SD memory card operation 2 16 2 7 Precautions on Downloading Setting Data 2 7 Precautions on Downloading Setting Data 2 7 1 Storage of Setting Data e 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 e Use the logging trace setting data created in the project to be executed The logging trace settings created in a different project from the executed project may not be activated Be careful when downloading only the logging trace settings or loading copying them from an SD memory card e When there is an inconsistency in project data the error code 81
31. ax Stop Conti i tai generation op Continue Continue Determines a file and deletes the oldest file in the PLC After that creates a new file 7 Automatic Once a file is determined executes writing it into File write Automatic an SD memory card 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 tirgger 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 2 2 Logging Information Setting E Logging trigger Trigger device settings dialog box e Set this for using bit device for the condition to start logging Trigger device Global devices Local devices PBI cancel Slot No 1 Device type x external input Z No 0 0 511F E Logging trigger Periodic trigger settings dialog box Set this for performing logging periodically Cancel E Logging trigger Time trigger settings dialog box e Set this for performing logging at fixed intervals Date 2013 Gi ti cancel Time 0 o o Day of the week Sunde E Logging trigger Trigger condition setting with SMPL instruction e Specify a logging number with the dedicated instruction and execute
32. buffer into the SD memory card e The time data of the oldest record is added to the specified file name Example When the file name is Sample and the oldest record was recorded in 12 o clock on April 1 2013 itis saved as specified file name 130401 _120000 csv e Once the file is determined a new file specified file name current csv for saving the next logging data is created The logging operation restarts when the logging trigger condition is met STEP 4 Stop of logging operation e The logging operation is stopped by either of instruction in user programs or tool software operation e Once the logging operation stop is requested all the data in the buffer memory in the CPU unit is written into the file in the SD memory card and determined When the logging operation is conitnuing the records logged so far are saved and the file is determined even if the specified file determination condition has not been satisfied e The time data of the oldest record is added to the specified file name l KEY POINTS e When the logging trigger setting is Bit Cycle or Time the buffer memory data is stored at the end of the scan time In the case of Instruction it is stored when the SMPL instruction is executed 4 3 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 i
33. e and trigger setting error Tracing stop trigger monitor Trace data has been acquired Buffer Free space 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Buffer overflow counter 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Check the box of a desired LOG number and press the Start button A confirmation message is displayed Press the Yes button Starting the logging operation is reguested by the operation specified in the Logging Trace Settings dialog box System relays relating to the execution of logging trace can be monitored in the above dialog box Once the operation is started normally the logging trace active and SD card logging trace active flags turn on For stopping the logging trace operation check the box of a desired LOG number and press the Stop button Stopping the logging trace operation is requested Once the logging trace operation ends normally the logging trace done flag turns on 3 2 3 1 Start and Stop of Logging Trace Operation 3 1 2 Start and Stop with Instructions E Overview e The logging trace operation can be started and stopped with user programs for each logging trace number e Specify a logging trace number 0 to 15 with the dedicated instruction and execute with arbitrary conditions ILOGST US UO i Logging start request LOGST US uo i n Log no UO i Logging stop request LOGED US a e It takes a few milliseconds to a few seconds to start or stop the logging trace operation
34. e right after the Autostart might be set SE Autostart TAG inthe loggign trace execution setting menu 6 2 4 Error When Copying SD Memory Card Other assumed situation and countermeasure are as follows M List of errors Error message Situation Countermeasures Create an AUTO folder in the SD memory 43 From PLC Data in an SD memory card cannot card Copy failed be copied into the CPU unit Check if the setting file is saved in the SD memory card Troubleshooting 6 6 Record of changes Manual No Date Record of Changes WUME FP7CPULOG 01 DEC 2013 First Edition Please contact Panasonic Industrial Devices SUNX Co Ltd IM Overseas Sales Division Head Office 2431 1 Ushiyama cho Kasugai shi Aichi 486 0901 Japan E Telephone 81 568 33 7861 W Facsimile 81 568 33 8591 panasonic net id pidsx global About our sale network please visit our website Panasonic Industrial Devices SUNX Co Ltd 2013 December 2013 PRINTED IN JAPAN WUME FP7CPULOG 01
35. enames it 2 Creates a new current file specified file name current csv 1 Determines a current file specified file name current csv gives the time data of the oldest record and renames it 2 Deletes the oldest file Continue a a M M After deleting it updates the data of the oldest file displayed in the system monitor area SM 3 Creates a new current file specified file name current csv LOG 0 file settings File definition File name cancel Application Logging Z Autostart Yes X File output format csv X Data logging condition Logging Bit X Set xO File determination condition it ko Set El Time Per minute __ __ 00 Set Record limit 1 1 1000000 No of generations 100 1 2000 When max generation Stop File write continue Bit Set Write file after completion of trace Logging File Settings dialog box 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 e 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 e Writing data into an undetermined file specified file n
36. er Supply Turns Off E Operation When Power Supply Turns Off e When activating logging trace the power off flag during file access SR3F turns on e The data stored in the logging buffer RAM of the CPU unit is discarded NOTE e Incase of the middle of file writing into an SD memory card written data or files may be damaged or the SD memory itself may not be read 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 M Operation of system relays e The logging trace active flag and the SD card logging active flag stays on while the card cover is open e Although the logging trace active flag turns off once the trace stop condition is met the SD card logging active flag stays on e When the card cover is closed the SD card logging active flag also turns off e The logging operation into the logging buffer RAM continues even when no SD memory card is inserted Once the logging buffer RAM becomes full the buffer overflow flag turns on E File status in SD memory card e If data cannot be written into an SD memory card after the completion of trace the logging trace error flag turns on and the operation ends 5 5 Trace Operation and Time Chart 5 3 Trace Monitor Time Chart 5 3 1 Display Method of Time Chart M Overview e Time chart is a func
37. flashing data is being read from or written into the card Data may be damaged e 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 1 3 Overview of Functions 1 2 Overview of Functions 1 2 1 Overview of Logging Function M Overview e 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 e Log data is saved as csv format files e Use the Logging Trace settings menu of the tool software FPWIN GR7 to set the conditions e The settings are downloaded to the PLC as a part of project data and stored in the ROM1 The setting data can be saved in SD memory cards and used e The logging operation is executed by any of those operations 1 tool software FPWIN GR7 2 dedicated instructions or 3 Autostart by the setting e To perform data logging at high speed the buffer memory in the CPU unit is used M Specifications Item Specifications Remarks Max number of records 1 000 000 records Number of file generations Number of logs Max 500 devices 500 to 2 000 words 1 record Max 1M words Can be divided into max 16 LOGO to LOG15 areas Shared with the trace for use function Max 2 000 generations 1 log Buffer memory Capacity per division 8k words to 1M words
38. g operations are performed when the card cover is open during the logging operation M Operation of system relays e The logging trace active flag and the SD card logging active flag stays on while the card cover is open e Although the logging trace active flag turns off once the logging stop condition is met the SD card logging active flag stays on e When the card cover is closed the SD card logging active flag also turns off e The logging operation into the logging buffer RAM continues even when no SD memory card is inserted Once the logging buffer RAM becomes full the buffer overflow flag turns on E File status in SD memory card e The file specified file name current csv in which logging data was saved before opening the cover is held in the SD memory card e Once the card cover is closed the saving into files starts again 4 5 Logging Operation 4 2 5 Operation When the Number of Determination Files Reaches the Maximum Number of Generations M Operation when the number of determination files reaches the maximum number of generations e The operation when the number of determination files reaches the maximum number of generations varies depending on the log file settings File determination condition 3 Operation When max generation 1 Determines a current file specified file name current csv gives the time Stop data of the oldest record and r
39. g trigger Press Bit device Specify an arbitrary the Set button and select a device type and a number bit device Note 1 9 Select this for setting time as logging trigger Input a cycle for Fr executing logging Note 2 8 i 1 second 2 seconds 3 seconds 4 seconds 5 seconds 6 S Cycle Time data seconds 10 seconds 15 seconds 30 seconds 1 minute 2 Q minutes 3 minutes 4 minutes 5 minutes 6 minutes 10 8 minutes 15 minutes 30 minutes 1 hour 2 hours 3 hours 4 2 hours 6 hours 12 hours 24 hours S Select this for setting clock time as logging trigger Specify a f time for starting logging Tim Clock data Per minute Per hour Every day Every week Every month Every year Trigger conditions occur by executing the SMPL instruction Instruction KE under arbitrary conditions in user programs Specify an arbitrar Select this for setting bit conditions as file determination Bit Peon ans y condition Press the Set button and select a device type and bit device a number Per minute Per J hour Every day S Time Every week Every Select this for setting a fixed time as file determination 2 month Every year condition Specify a time for determining files 3 Clock data s m 7 a Record limit 1 1000000 Select this for setting the number of records as file S determination condition Specify the upper limit 8 No of generations 1 2000 Set the number of generations to be saved in one file a Stop Stops logging S When m
40. gger is 12 00 00 on April 1 2013 Sample 130401_120000_TRACE csv 1 9 Overview of Functions 1 4 Data Format e The format of the data to be output as logging data and saved in a file varies according to the type of devices e For the details of setting methods refer to 2 4 Registration of Device Information E Device type and data format Output type to files Data type No O No of occupied Data type aater Range or sample words BIT Bit data 1 word Oor1 1 Oor1 us Unsigned 16 4 word Decimal integer 5 0 to 65536 bit integer unsigned ss Signed 16 bit 4 word Decimal integer 6 32768 to 32767 integer signed uL Unsigned 32 2 words Decimal miega 10 0 to 4294967295 bit integer unsigned Signed 32 bit Decimal integer 2147483648 SL integer 2 Words signed a to 2147483647 DI Decimal or SF prec 2 words exponential form 13 1 175494E 38 floating point auto real number Bennie Decimal or DF precision 4 words exponential form 23 2223913899302014 floating point E 308 auto real number Hex 1 word 1 word Hexadecimal integer 4 0 to FFFF unsigned Hex 2 words 2 words Hexadecimal integer 0 to FFFF FFFF unsigned Hex 4 words 4 words Hexadecimal integer 16 0 to FFFF FFFF FFFF unsigned FFFF STR String data 1 20 bytes Character data 1t020 2 ABCD Note 1 Decimal integers US SS UL SL and hexadecimal integers Hex are output i
41. ing the two cursors B 2 Time display area C and R in B 1 However time is not displayed when the selected trigger type is other than Constant period Displays the number of samplings and sampling rate M m M The sampling rate is displayed by time unit when the logging trigger is B 3 Li information display Constat period When the logging trigger is Bit or Instruction this area is not available A hyphen is displayed 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 C 1 Reduce Reduces graphs by pressing the button The values of the time scale become large This is used to see the whole area Back Closes the time chart and returns to the logging trace monitor screen by pressing this button E Graph Option Graph Option mm Scale Range 1000 1000 cancel No of decimal digits D Contact display Set the number of contacts 16 Min 1 Set the height of contacts 22 Min 10 Note They may not be displayed as specified depending on the resolution of display Background color 9 Black mode White mode Field name Function DE Range Specify the display range of the vertical axis of a graph cale No of decimal digits Specify the number of decimal places for the vertical axis F
42. itor M Example of monitoring in logging operation MILOGO LOG1 LOGS LOG LOGIO LOG11 LOG12 LOG13 LOG14 LOGIS Time Chart Check a desired LOG and click Start to start logging trace Multiple LOGs can be specified a check a desired LOG and click Time Chart to display time chart Only one LOG can be specified vw LOG No 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Logging trace is being executed ON m m SD card logging is being executed ON S 5 5 z E 3 Logging trace is complete ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON Logging excessive speed relay s 5 Buffer overflow 5 a 3 z i Loggingjtrace error Pi 5 No SD card free space 2 3 a si 7 p Device and trigger setting error F m E z P Tracing stop trigger monitor 7 s Trace data has been acquired S 2 gt j E Buffer free space 64 0 0 o 0 0 0 0 0 0 0 0 0 o 0 0 Buffer overflow counter 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 H Example of monitoring on the completion of trace operation Y Loco LOGI LOG2 LOG3 LOG4 LOGS LOG6 LOG Start Stop LOGS LOG9 Lo610 Moci fJLoet2 Mocis Mocis locis Check a desired LOG and click
43. ix the number of contacts to be displayed in graphs Set the number of The height of displayed contacts varies depending on the resolution of the contacts M Contact display displa i i i iti play Set the height of Fix the height of the display of contacts Unit is dot The higher the display resolution becomes the more contacts can be contacts displayed Background color Select the background color of the graph l KEY POINTS e The time display area is available only when the logging trigger is Constant period This area is not displayed when the logging trigger is Bit or Instruction Trace Operation and Time Chart 5 3 3 Restrictions on Time Chart Monitor The restrictions on the time chart are as follows e 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 e A maximum of 500 devices can be registered for one LOG however there are restrictions on devices to be graphically displayed on the time chart In case of contact device According to the resolution of a display In case of data devices Up to six devices e Time cannot be measured with the cursors C R on graphs when the LOG displayed as a time chart is the data that was traced with logging triggers other than constant period 5 10 6 Troubleshooting Troubleshooting 6 1 Operations When
44. mment Data name Arbitrary application Unit Enter a desired device number and comments and press the OK button The device on which logging is performed is registered in the LOG number Repeat the registration of devices for each LOG number The number of devices that can be registered in one LOG number is up to 500 devices Press the INS key to insert items in the device list and press the DEL key to delete them 2 12 2 4 Registration of Device Information E Setting items Register devices dialog box Item Setting range Description S9O A9p JO suonipuo9 Hul66o ejeg Device Global devices Local devices In case of local devices specify a PB number Slot No 1 16 Specify a slot number when specifying IN OT WI WO or UM for the device type Device type X Y R L TC P SR IN OT DT n LD n WX WY WR WL WS IN OT DT LD SD WI WO UM TS TE CS CE I Specify a device type to be logged No Device number Specify a device number to be logged Data type Bit data 16 bit unsigned integer 16 bit signed integer 32 bit unsigned integer 32 bit signed integer Single precision real number Double precision real number HEX 1 word HEX 2 words HEX 4 words Character string Specify a data format to be output The settable range varies according to the number of selected devices Decimal point The posi
45. n zero suppression format Note 2 Decimal integers US are output in 5 digits when a specified decimal point output position value is 0 in 6 digits when it is 1 4 and in 7 digits when it is 5 Note 3 Decimal integers SS are output in 6 digits when a specified decimal point output position value is 0 in 7 digits when it is 1 4 and in 8 digits when it is 5 Note 4 Decimal integers UL are output in 10 digits when a specified decimal point output position value is 0 in 11 digits when it is 1 9 and in 11 digits when it is 10 Note 5 Decimal integers SL are output in 11 digits when a specified decimal point output position value is 0 in 12 digits when it is 1 9 and in 13 digits when it is 10 Note 6 For a signed integer SS SL a sign is output at the beginning and is replaced with a space Note 7 Zero is added before and after decimal point by the settings of data value and decimal point output position and the data is output When device type is US and data value is 12345 the output value is 0 12345 when specifying Decimal point 5 When device type is US and data value is 123 the output value is 0 00123 when specifying Decimal point 5 Note 8 Double quotation marks are added before and after character string data 2 Configuration Configuration 2 1 Definition of Buffer Memory 2 1 1 Setting Method E Setting method e Define the buffer memory of the CPU unit to be used for logging
46. ns on and the buffer overflow counter is incremented 1 e If the buffer overflow occurs continuously revise the logging conditions to decrease the logging speed eTo know how much logging data was lost at the time of buffer overflow register the buffer overflow counter as logging data e Even if the buffer overflow occurs recording data into an SD memory card goes on and logging continues when free space becomes available in the buffer e The free space of buffer memory can be checked with the system data registers SD100 to SD115 e The system relays SR104 SR114 SR124 give a warning when the buffer memory is full 3 6 3 3 Operation Check Using System Monitor 3 3 Operation Check Using System Monitor 3 3 1 Monitoring Method of System Monitor Area SM e 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 e The system monitor area can be monitored with the tool software FPWIN GR7 1 9 PROCEDURE 1 Select Online gt Display System Monitor Area SM in the menu bar The system monitor dialog box is displayed Press the Refresh button The latest information is read 3 3 2 List of System Monitor Area SM SM211 SM258 Logging Trace information SM No Name Descrip
47. operation Instruction in a user program and Autostart setting STEP 2 Data logging e After the startup of the trace operation tracing data is executed with a specified condition when the specified trigger condition bit device ON cycle or instruction is met e Traced data is stored in the logging buffer memory RAM in the CPU unit e After that the trace operation continues until the trace stop condition is met STEP 3 Stop of trace Operation e The trace operation stops when either condition is met bit or buffer full e When the trace stop condition is bit the trace operation stops after the logging performed for the specified number of samplings after the condition was met e When the trace stop condition is buffer full the trace operation stops immediately e When the trace operation is complete successfully the trace data acquisition done flags SR109 SR119 turn on At that time a time chart can be displayed on the programming tool FPWIN GR7 by reading the logged data eWhen Write file after completion of trace is set all the data in the buffer memory in the CPU unit is written into the file in the SD memory card and determined The time stamp information is the time data at the time of the occurence of stop trigger j KEY POINTS e Inthe data logging process into the buffer memory when Bit or Cycle has been specified the bit or the cycle is checked at the end of scan and data is stored in the buffer mem
48. ory when the condition is met When Instruction has been set data is stored into the buffer memory when the instruction is executed e If the trace operation is stopped by the tool software operation or the LOGED instruction while the trace stop condition has not been met logged data is not saved in either the buffer memory RAM or an SD memory card 5 3 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 e Registered data is confirmed e The logging trace active flags SR100 SR110 SR120 turn on e All other flags than the logging trace active flag for LOG n are cleared during the start request operation e Once writing data into an SD memory card becomes enabled after the logging trace active flags SR100 SR110 SR122 turned on the SD card logging active flags SR101 SR111 SR112 turn on e When the box of Write file after completion of trace has been checked in the LOG file settings dialog box an operation error occurs if no SD memory card that is normally readable and writable is inserted or the card cover is open 5 2 2 Operation When Logging Operation Stops E Operation when switching from RUN mode to PROG mode e All logging operations stop e The data stored in the buffer memory of the CPU unit is discarded 5 2 3 Operation When Pow
49. programs M List of errors Situation or Error messge Situation Countermeasures ERROR LED turns on A self diagnostic error such as an operation error occurs Wen an operation error occurs in the address of LOGST LOGED or SMPL instruction check the followings An operation error occurred in the address of LOGST or LOGED instruction The instruction might have been executed for an unregistered LOG number Check if the settings match the LOG number for which the instruction is executed There is a possibility that no SD memory card is inserted or the card cover is open Check if an SD memory card is inserted and close the card cover An operation error occurred in the address of SMPL instruction The instruction was executed for the LOG number the logging trigger of which is not set to Instruction Check if the settings of logging trigger match the LOG number for which the instruction is executed Logging Trace operation is not executed with SMPL instruction There is a possibility that the LOG number does not match Check if the settings match the LOG number for which the instruction is executed 6 2 Troubleshooting 6 2 3 Error of Logging Trace Other assumed situation and countermeasure are as follows M List of errors Sityationion Situation Countermeasures Error messge Logging trace starts or is No j complet
50. s requested e Registered data is confirmed e Once the logging trace becomes executable the logging trace active flags SR100 SR110 SR122 turn on When the logging trigger condition is met under this condition the logging trace operation starts e All other flags than the logging trace active flag for LOG n are cleared during the start request operation e Once writing data into an SD memory card becomes enabled after the logging trace active flags SR100 SR110 SR122 turned on the SD card logging active flags SR101 SR111 SR112 turn on eWhen an SD memory card that can be normally read and written is not inserted or the card cover is open an operation error occurs 4 2 2 Operation When Logging Operation Stops E Operation when switching from RUN mode to PROG mode e All logging operations stop e All information saved in the buffer memory of the CPU unit is written into a file and the file is determined 4 2 3 Operation When Power Supply Turns Off E Operation when power supply turns off e When activating logging trace the power off flag during file access SR3F turns on e The data stored in the logging buffer of the CPU unit is discarded NOTE e Incase of the middle of file writing written data or files may be damaged or the SD memory itself may not be read 4 2 Operation When Logging is Selected for Application 4 2 4 Operation When the Card Cover of CPU Unit Opens The followin
51. s the stop condition when selecting Trace for the application SR105 Logging trace Turns on when an error is detected during the logging trace operation and error stops logging trace SR106 No SD card free Turns on when an SD memory card is running out of free space during the space logging trace operation and stops logging trace Heviee aid Turns on when an error is detected in set values during the startup A operation The logging trace error relay SR105 also turns on At that time SR107 trigger setting M h SIOE the active relay does not turn on because the logging trace function cannot be activated iau Monitors a registered trace stop trigger when executing tracing Turns on SR108 tri g stop when conditions are met This relay is always off when selecting Logging for rigger monitor ON the application aaa Turns on after logging data for a specified number of times after detecting SR109 the trace stop trigger during the execution of trace This relay is always off acquisition done when selecting Logging for the application Note 1 The above device numbers are those for LOGO System relay numbers vary depending on LOG numbers as shown in the table below Re liceo sa 190 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 No to to to to to to to to to to to to to to to to 109 119 129 139 149 159 169 179 189 199 209 219 229 239 249 2
52. section describes the messages displayed when the start or stop operation is performed on the Logging Trace Monitor dialog box and countermeasures M List of error messages Error message Situation Countermeasures 60 From PLC Application error Parameter error Any box of LOG number is not checked Check the box of the LOG number to be started 62 From PLC Application error Registration error An unregistered LOG number was activated Check if the settings matches the LOG number to be activated Application error Logging error i dal PROSS No SD memory card is inserted or Check if an SD memory card is inserted PPUCAUON SITOr the card cover is open and close the card cover No SD error Depending on the situation wait for the ci ea Se agiva completion of logging operation or gging gP 9 download the setting parameters again 90 From PLC logging operation after performing the logging stop operation An attempt was made to display data on a time chart during trace operation Depending on the situation wait for the completion of trace operation or press the Time Chart button after performing the trace stop operation 6 2 2 Errors When Operation was Executed Using LOGST LOGED or SMPL Instruction This section describes the situations and countermeasures when logging operation starts or stops or logging trigger operation is performed with instructions in user
53. the following parts r E Time chart Graph Option No of samplings Magnify Reduce 177110 Sampling rate mvd rio 3 Y102 4 Y103 5 Y104 6 Y105 7 Y106 8 Y107 9 Y108 10 Y109 11 Y10A 12 Y108 13 Y10C 14 Y10D 15 Y10E el M Names and functions of parts Mark Name Function Displays the devices registered in the target LOG for the time chart display Trace data display area m Bs A 1 Select the device to be displayed in graphs from this list All devices Corrensponding data is displayed at the position of the cursor C or R in the graph display area B 1 AD Trace data display area Contact data selected in A 1 is displayed in this area Contact devices When a lot of devices are registered a scroll bar is displayed Data other than the contact data selected in A 1 is displayed in this area PE Trace data display area Up to six data can be displayed in this area Data devices Pressing the button which displays a deivce name can change the line color Displays trace data as line graphs in chronological order The on off state of contacts is displayed with rectangular wave form B 1 Graph display area The vertical line with a T mark is displayed at the point where a trigger occurs Displays the time between arbitrary two points or the time between the point where a trigger occurs and an arbitrary point us
54. tion 211 212 For LOGO 213 214 For LOG1 215 216 For LOG2 217 218 For LOG3 219 220 For LOG4 221 222 For LOG5 se BE Stores the number of written records in 225 226 For LOG7 No of written a current file as 32 bit data records of current One is added every time a file is written ALAAN For rocs file and it is reset to zero when a new file is 229 230 For LOG9 created 231 222 For LOG10 233 224 For LOG11 235 226 For LOG12 237 228 For LOG13 239 240 For LOG14 241 242 For LOG15 Start Stop and Monitor SM No Name Description 243 For LOGO 244 For LOG1 245 For LOG2 246 For LOG3 247 For LOG4 248 For LOG5 249 For LOG6 250 For LOG7 No of files Stores the number of files stored in a generations folder number of generations as 16 bit 251 For LOG8 stored in folder data 252 For LOG9 253 For LOG10 254 For LOG11 255 For LOG12 256 For LOG13 257 For LOG14 258 For LOG15 259 260 For LOGO 261 262 For LOG1 263 264 For LOG2 265 266 For LOG3 267 268 For LOG4 269 270 For LOG5 271 272 For LOG6 273 274 For LOG7 Oldest clock data Stores the oldest clock data of a file of file stored in stored in a folder as 32 bit data by 275 276 For LOG8 folder seconds 277 278 For LOG9 279 280 For LOG10 281 282 For LOG11 283 284 For LOG12 285 286 For LOG13 287 288 For LOG14 289 290 For LOG15
55. tion of decimal point can be set when an osition 0 11 integer type is selected for Data type The settable P range varies according to the selected data type No of Input a number for specifying the same type of devices continuous 1 to max 500 all at once The settable range varies according to the registrations number of selected devices Data name 89 a 3 Arbitrary Arbitrary Output to the comment area when saving data in CSV g 3 application Within 32 one byte characters format os 27 Unit 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 e When the unit of cycle is second or minute adjust to occur a tirgger at 0 min 0 sec of every hour e When the unit of cycle is time adjust to occur a trigger at 00 00 00 of every day M Example of timing of trigger occurrence when the unit of cycle is second Time at which Time at which the 1st Time at which subsequent l ing tri r ri r ur r A e triggers occur 12 01 05 1 second 12 01 06 12 01 07 12 01 08 12 01 05 2 seconds 12 01 06 12 01 08 12 01 10 12 01 05 3 seconds 12 01 06 12 01 09 12 01 12 12 01 05 4 seconds 12 01 08 12 01 12 12 01 16 12 01 05 5 seconds 12 01 10 12 01 15 12 01 20 12 01 05 10 seconds 12 01 10 12 01 20 12 01 30 12 01 05 15 seconds 12 01 15 12
56. tion to read the data stored in the PLC using the trace function and display them in graph form e By setting the trace function the change in contacts data can be checked by one scan nea PROCEDURE 1 Select Tool gt Logging Trace Monitor in the menu bar The Logging Trace Monitor dialog box is displayed MiLoco Moi Moe MLoes ElLoG4 LOGS JLo 5 LOG8 LOG9 LOG10 LOGII LOG12 LOG13 LOG14 cal Log LOG15 Check a desired LOG and click Start to start logging trace Multiple LOGs can be specified check a desired LOG and click Time Chart to display time chart Only one LOG can be specified Time Chart LOG No 0 1 Logging trace is being executed SD card logging is being executed Loggingjtrace is complete ON ON Logging excessive speed relay Buffer overflow Logging trace error No SD card free space Device and trigger setting error Tracing stop trigger monitor ON Trace data has been acquired ON Buffer free space 0 o Buffer overflow counter 0 0 2 3 ON ON 0 a 0 0 4 ON 5 ON 6 ON i ON 8 ON ON ON 13 14 15 ON ON ON 0 0 O 0 o 0 2 Check the box of one LOG number and press the Time Chart button The trace data is read from the PLC and the time chart is displayed Reading the trace data Please wait 5 3 Trace Monitor Time Chart
57. top trigger STOP TRG e The data length varies depending on the types of specified devices 1st line 2nd line 3rd line Ath line 5th line Obtaining Date Time interval 1 2 Data name 1 Data name 2 ommen Arbitrary Arbitrary E p comment comment Note 1 MOMENT MOMENT z Data format 1 Data format 2 Unit 1 Unit 2 Year Hour Month Minute 0 Data 1 Data 2 Day Second Year Hour Month Minute Interval Data 1 Data 2 Day Second Year Hour Note 2 Month Minute Interval Data 1 Data 2 Day Second Year Hour Month Minute Interval STOP TRG Day Second Note 3 Year Hour Month Minute Interval Data 1 Data 2 Day Second Note 4 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 1 000 000 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 500 devices 1 3 4 File Name For Trace Function eA file name to be saved is an arbitrary file name date_hour minute second data of the stop trigger e Enter a desired file name on the Logging Trace Settings dialog box for each LOG number e Example When the file name is Sample and the time stamp of the stop tri
58. trace e The buffer memory is set with the tool software FPWIN GR7 a 9 PROCEDURE 1 Define the buffer memory of the CPU unit to be used for logging trace The Logging Trace Settings dialog box is displayed g Configuration No of divisions of buffer memory 16 v File settings Register logging devices Set the total of each buffer memory capacity within 1024kw 1Mw Delete k Buffer m Capacity Settable range ioe LOGO 8 1024 LOG3 LOGI 64 8 1024 LOG4 LOG2 64 8 1024 LOGS LOG3 64 8 1024 LOG6 LOG4 64 8 1024 LOG7 LOGS 64 8 1024 LOG8 LOG6 64 8 1024 LOG9 LOG 64 8 1024 LOG10 LOGS 64 8 1024 LOG11 LOG 64 8 1024 LOG12 LOG10 64 8 1024 LOGIS LOG11 64 8 1024 LOG14 LOG12 64 8 1024 fs tosis LOG13 64 8 1024 LOG14 64 8 1024 LOGIS 64 8 1024 Cancel Read PLC Initialize 2 Select a number of divisions of buffer memory from the range of 1 to 16 3 Double click on the field of Capacity and input a desired capacity Capacity is allocated to each buffer memory 2 2 2 1 Definition of Buffer Memory E Setting range Item Default Setting range No of divisions of buffer memory 16 1 16 LOGO LOG15 Buffer memory capacity unit k 64 8 1024 word Configuration 2 2 Logging Information Setting 2 2 1 Confirmation and Settings of File Information M Overview e After completing the definition of buffer memory set the data to
59. uction in user programs File output format CSV Select CSV Logging trigger Select a condition to start logging data Bit device Specify an arbitrary Select this for setting bit conditions as logging trigger Press 9 bit device the Set button and select a device type and a number S 5 Select this for setting time as logging trigger Input a cycle for executing trace a i 1 second 2 seconds 3 seconds 4 seconds 5 seconds 6 8 Cycle Time data seconds 10 seconds 15 seconds 30 seconds 1 minute 2 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 Instruction Trigger conditions occur by executing the SMPL instruction under arbitrary conditions in user programs Stops Trace Stop trigaer Bit Press the Set button to specify a device type a number and 8 p trigg the number of samplings after the detection of stop trigger ki Buffer full Trace operation stops once the buffer is full me O No of samplings A a 9 after stop trigger 0 262144 Specify the number of samplings after the detection of stop 2 trigger detection a A dv File write Automatic RE ae operation executes writing data into 2 3 Trace Information Setting E Logging trigger Trigger device settings dialog box e Set this for using the leading edge of bit device for the condition to start trace Trigger device Global devices
60. with an arbitrary condition so rr k DF SMPLUS i n OCLELELCLE LELE CELLE LELE LELE REC T EE RE ELECTRO RETTO NON 2 7 Configuration 2 3 Trace Information Setting 2 3 1 Confirmation and Settings of File Information e The following items are set in the LOG file settings dialog box M Overview e After completing the definition of buffer memory set the data to be traced and the format of saved files e File formats and traced device data are set for each buffer memory LOGO to LOG15 nea PROCEDURE 1 Select Tool gt Logging Trace Settings in the menu bar The Logging Trace Settings dialog box is displayed 2 Select File settings in the left pane a Trace g Ee Configuration F 3 F Basic Setup Buffer m File name Appli Autostart File output for ro S EG Register logging devices LOGI Logging Yes csv OGO LOG2 Logging Yes csv LOG3 Logging Yes csv LOG4 Logging Yes Csv LOGS Logging Yes Csv LOG6 Logging Yes csv LOG Logging Yes csv LOG8 Logging Yes Csv LOG9 Logging Yes Csv LOG10 Logging Yes Csv LOG11 Logging Yes Csv LOG12 Logging Yes csv LOG13 Logging Yes csv LOG14 Logging Yes Csv LOG15 Logging Yes csv cancel ReadPic Initialize 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 LOG 0 file

Download Pdf Manuals

image

Related Search

Related Contents

Rail Track Analysis User Manual  3 - Ricoh  MS192T  師憲用コントローラ  L型羽子板金物 取扱説明書    

Copyright © All rights reserved.
Failed to retrieve file