Home

QnUDVCPU/LCPU User`s Manual (Data Logging Function)

image

Contents

1. epad 998 uias Bulb6o7 ged r g v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v lt 2 Setting items Tre st devs suber cated fon the daa ype ad senap O The last device number calculated from the data type and size is displayed To the next page 121 e Bit e Word signed e Double word signed e Word unsigned Data type Select a data type of the target data e Double word unsigned e Float single precision e Float double precision e String e Raw Size Specify the size when the data type is String or Raw 1 to 256 bytes Decimal format Clicking the LJ button on the right end of each line displays the Output format integer float Hexadecimal format e Exponential format Number of digits O to 14 Output type dialog box Select the type of the format for data output to files 122 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 4 6 Batch data insertion In the data list a block of data can be inserted all at once Data are entered in order from the highest numbered blank line on the Data setting screen 1 Operating procedure In the right click menu on the Data setting screen select Batch Data Insertion 2 Setting screen Batch data insertion wt nba __z sa a 7 Interval 1 1 2108416 Data type Sze C i imm 3 Setting items
2. Network recovery SUBISH aage Jajsues ofl BuiBGHo yoe1s Zy uonoun4 sajsues afi4 HBulb6bo7 ged Z lt Stored files gt 00000001 CSV The untransferred 00000002 CSV files can be transferred 00000003 CSV to the FTP server 00000004 CSV when the network 00000005 CSV lt Stored files gt 00000001 CSV transferred file 00000002 CSV transferred file 00000003 CSV transferred file 00000004 CSV transferred file 00000005 CSV transferred file 00000006 CSV recovered 00000006 CSV 00000007 CSV untransferred file 00000007 CSV 00000008 CSV 00000008 CSV 1 Setting methods Settings for the stack logging file transfer is set by File transfer in data logging settings Page 131 Section 8 4 11 95 2 File transfer a Order Files are transferred in order from a small number of file names within the data logging setting number b Timing of transfer If the next transfer file has already been stored when the file transfer is completed the next file is transferred sequentially If the next file has not yet been stored the file is transferred when switching file Ex When data logging setting No 1 file 00000001 csv is completed the next data logging setting No 1 file 00000002 csv of has already been stored 1 Checks whether
3. 171 Overall System Configuration 25 Data Logging Operation at Transition to RUN 80 Data Logging Processing Time 165 P Data Logging Setting 0 114 Data Logging StatuS cco grads herby ek este Sa ee LLa 68 POUSCs occa oe wre ie oe 2 deere E aie bere Ard 68 Data Missing octet 2 danse eesace 8 gna e care abe esh ake see 75 PROCESSING TIME 2 002 e ee eee 165 Delete Logging Setting 0 151 Processing Time of Each Instruction 170 Device batch replacement 105 Programming tool 1 2 eee eee eee 19 Display unit 02 0 ee eee eee eevee 19 Project Management iaric4 bcd ad aimee dds 106 E Q Edit item tree 0 eee 102 QnUDVCPU amp LCPU Logging Configuration Tool Seer tata A acetates E inl tracts teen es aca ate 19 26 F R FIS ACCESS 2 sa arne eaae a Eea e ee oars 84 oe File switching setting 000 71 Read Logging Setting 4 147 Folder Structure o oo naana ee ee 35 Reading logging setting from the memory card SD Function Specifications 000008 33 J saaaaaaaaaaaa aaa 110 194 Sampling of Target Data 56 Saving a project 2 0 2 0 eee eee 108 Saving format of the data logging file 70 Screen Structure n nanana aa 99 SD MEMORY CARD 00000 163 Searching CPU modules on the network 145
4. 4 2 3 4 5 Digit specification of bit device X Y M L F SM V B SB BLD S JO X JO Y JO sB U3ED G The built in I O function does not support the UL G specification Digit specification of bit device is available only for K1 to K4 T contact ST contact and C contact are specified with TS SS and CS respectively Before specifying the device check the versions of the CPU module and configuration tool used L gt Page 192 Appendix 2 The LCPU does not support this item For the above devices the following modification is available e Indirect specification e Index modification except for FX FY FD BLONS and bit specification of word device ejeq ebue jo Bulj dwes 79 59 b Step No specification Data are collected when the specified condition is met immediately before execution of the specified step In addition to Step No set Program name and Execution condition lt Data are continuously collected while the condition is satisfied gt Select an execution condition from the following e Always Any time regardless of the operation status immediately before the execution of the specified step e When the specified condition is ON The operation status immediately before the execution of the specified step is the Executed state e When the specified condition is OFF The operation status immediately before the execution of the specified step is the Not Executed sta
5. FTP server connection request timeout time 10 s 1 30 Operation when file transfer is failed due to a network error Resending files during the file transfer retry time New files are repeatedly resent during the file transfer retry time If normal operation is restored after the file transfer retry time has passed the transfer restarts from the newly created file File transfer retry time 30 m 1 1440 Resending files failed in transfer Files failed in transfer are repeatedly resent until normal operation is restored E Adding C_ at the beginning of the file name C_ is added at the beginning of the transferred file name so that the transferred file in the SD memory card can be identified 2 Setting items Transfer Files to FTP Server Set whether to enable or disable the data logging file transfer function JajSUed lld LLYS Buljes Bulb6o7 eed y 8g The FTP Setting dialog box is displayed Button L gt Page 115 Section 8 4 1 3 Transfer Destination Server Setting List Settings for the set transfer destination server are listed FTP Server Connection Request Timeout Time Set waiting time for the FTP server to respond to a connection request 1 to 30 seconds Retransfer Files to FTP until File Transfer Retry If specified the latest file is transferred repeatedly until the files reach when Time file transfer retry time is set File Transfer Retry Time Set retry time 1 to 1440 minutes Make S
6. Writes the currently editing data in a form available for CPU module operation Data Write Logging Setting into Memory Card SD are written directly to the SD memory card in the personal computer When the SD Page 112 Section 8 3 6 memory card is installed into the CPU module logging is started Edit Reference Delete Data Logging Setting Deletes the data logging setting selected on the edit item tree Copy and Add Data Logging Setting Copies the data logging setting selected on the edit item tree and adds it Page 102 Section 8 2 4 Batch Data Insertion Sets the setting items all at once Cut Setting Item Cuts the setting in the tabular form Copy Setting Item Copies the setting in the tabular form Paste Setting Item Pastes the setting in the tabular form Insert Copied Setting Item Pastes the copied setting in the tabular form Page 104 Section 8 2 6 Insert Cut Setting Item Pastes the cut setting in the tabular form Delete Setting Item Deletes the setting in the tabular form Move Setting Item Upward Moves the setting item upward Move Setting Item Downward Moves the setting item downward Device Batch Replacement Replaces all of the configured devices Page 105 Section 8 2 7 Online Reference Transfer Setup Performs communication setting for connection to a CPU module Page 139 Section 8 6 Read Logging Setting Reads the setting from the CPU module Page 147 Section 8 7 Write Logging Setting Writes the setting to th
7. ata Logging Name e data logging name is displaye wo byte charact rs es Continuous logging Trigger Page 118 L T The t ogging Type e logging type is displayed agairg Section 8 4 3 Each scanning cycle Time Page 119 Sampling The target data sampling interval of the data logging is displayed specification Multiple CPU pea 8 44 Condition specification Ei Trigger The triggerin ndition is displayed as Tenia causa agen rigge e triggering condition is displayed u gging trigg Section 8 4 7 operation Number of Records The number of trigger logging records is displayed Be meal Page 126 Before trigger The number of logging records before trigger is displayed 0 to 999999 Section 8 4 8 After trigger The number of logging records after trigger is displayed 1 to CSV Output The CSV output setting for the data logging file is displayed CSV output setting for the data The CSV output setting for the data logging file is displayed file is displayed a be outputted Not to be Date Whether the date and time time stamp is output or not is shown Ps Page 127 outputted Section 8 4 9 To be outputted Not to be Trigger information Whether trigger information exists or not is shown nae ie No of records file size File switching timing The data logging file switching timing is displayed Ae a ene Whether the data logging file t fer function i bled or disabled Page 131 oo o0 File Transfer F er the data logging fil
8. Ex A time value is set for Time specification of Sampling without setting of data sampling at the END processing 14 Removing the SD memory card When data logging is being executed with the data logging setting stored in an SD memory card the corresponding bit of SD604 Memory card use conditions turns on Because of this the following LEDs do not turn off when the removal operation is performed e SD CARD LED of the High speed Universal model QCPU when the SD memory card lock switch is pressed for 1 second or longer e SD LED of the LCPU when the SD memory card lock switch is slid up To remove the SD memory card in the above case stop the data logging processing and remove the SD memory card again For details on the removal procedure refer to the following User s Manual Hardware Design Maintenance and Inspection for the CPU module used 15 Using data that are set by a CPU module of a different series If the High speed Universal model QCPU executes data logging using the settings stored in an SD memory card by a CPU module of a different series an error occurs L gt Page 175 Section 13 1 Since the LCPU can use the settings stored in an SD memory card by a CPU module of a different series no error occurs 16 When the CPU module is locked with a security key No device comment can be output to the data logging file 19 uonouns Hulbbo eyep y 104 SUOIINeDaIg g9 CHAPTER 7 OTHER FUNCTIONS Th
9. Index column Data column Trigger information column ril 2 3 4 5 6 7 8 9 10 40 Description Size Date and time information is output 1 1 to 32 bytes A time interval between the previous and current sampling events is output 1 to 12 bytes Unit us Range 1 to 100000000000 An execution step No is output 1 to 6 bytes An execution program name is output 1 to 8 bytes An index No of the data sampled in data logging is output Range 1 to 4294967295 4 When bit is specified Bit ON 1 or bit OFF 0 is output 1 byte 1 to 10 bytes When unsigned word or double word type is specified Decimal format 1 to 6 bytes Data are output in the format specified among decimal hexadecimal and exponential Hexadecimal format 1 to 4 bytes formats Exponential format 5 to 21 bytes When signed word or double word type is specified Data are output in the format specified among decimal hexadecimal and exponential formats Decimal format 1 to 11 bytes When single or double precision real number is specified Hexadecimal format 1 to 8 bytes Data are output in the specified decimal or exponential format When the specified data Exponential format 5 to 22 bytes type is not applicable to the data NaN is output in the data line For the value range applicable to each real number type refer to Page 41 Section 3 3 3 When string type is specified A string of characters i
10. Specifications of the CPU modules power supply modules display unit branch module extension module SD memory cards and batteries information on how to establish a system maintenance and inspection and troubleshooting Functions and devices of the CPU module and programming Functions and devices of the CPU module and programming Detailed description of the Ethernet function of the CPU module Detailed description of the Ethernet function of the CPU module Description Detailed description and usage of instructions used in programs Description System configuration parameter settings and online operations common to Simple project and Structured project of GX Works2 Operating methods of GX Developer such as programming printing monitoring and debugging System configuration functions and operating methods of GX LogViewer Memo 11 12 CONTENTS SARE eee AUTON Sirona gen ee teach re een tay ee ny orem een at Cora A es Lae ences eat se CONDITIONS OR USEIROR VIE PRODUCT a a are eee er aha seat converse heen ges ah once rae a dates INTRODUC HON earner nena EA cae pay ecg eee eles Cee Ge a aoe ne avo eS nein da ee mniee a ane CHAPTER 1 DATA LOGGING 1 1 Ss a cs an A AEE DEEE ete EE T A tg se es pay eed Beni a ee l2 PIOCESSIMNG OUTING gt tiirv acted wets ach otro aE Geen rca dete ee die teens sta Sek a CHAPTER 2 SYSTEM CONFIGURATION 2 1 Overall System COMNGQUIAIION 22 20 2344 sate Seed eee
11. e Bit e Word signed e Double word signed e Word unsigned Data type Select a data type of the target data e Double word unsigned e Float Single precision e Float double precision e String e Raw uo sul e ep UdIeEG O P g uias Bulb6o7 ged 79g Size Specify the size when the data type is String or Raw 1 to 256 bytes e Decimal format Clicking the L button on the right of Output Format displays the Output format integer e Hexadecimal format float dialog box Select the type of the format for data output to files e Exponential format Number of digits O to 14 Continuous setting Specify the total number of device data and interval Total number Specify the total number of data to be entered all at once 2 to 128 points Interval Specify the interval of the data to be entered all at once 1 to 2108416 points Output Format 123 8 4 7 Trigger If Trigger logging is selected for Logging type specify the trigger condition gt Page 65 Section 6 3 3 1 Setting screen Make trigger setting Condition specification Sets trigger condition with device data values and step No If both Device change specification and Step No specification are selected an AND condition of each setting is required to be met Device change specification Device Conditional formula Radix i O Step No specification Conditions met when the status immediately before execution o
12. 2 Measurement results Since the processing time depends on settings and the scan time of the CPU module refer to the following tables as a measure a The data logging file transfer function not set Unit ms Device points CPU module 8 8 points x 16 16 points x 64 64 points x 128 128 points x 256 128 points x 1280 128 points x 1 setting 1 setting 1 setting 1 setting 2 settings 10 settings QO3UDVCPU QO4UDVCPU QO6UDVCPU Q13UDVCPU Q26UDVCPU LO2CPU LO2CPU P LO6CPU LO6CPU P L26CPU L26CPU P L26CPU BT L26CPU PBT b The data logging file transfer function set Unit ms Device points CPU module 8 8 points x 16 16 points x 64 64 points x 128 128 points x 256 128 points x 1280 128 points x 1 setting 1 setting 1 setting 1 setting 2 settings 10 settings QO3UDVCPU QO4UDVCPU QO6UDVCPU 1 0 1 0 1 0 1 0 1 9 8 9 Q13UDVCPU Q26UDVCPU LO2CPU LO6CPU LOG6CPU P L26CPU L26CPU P 1 5 2 0 2 5 3 0 30 5 L26CPU BT L26CPU PBT 168 CHAPTER 10 PROCESSING TIME 10 2 Checking the Processing Time Data logging is the best effort type function 4 The concept of obtaining the maximum performance from the condition at the time Logging may not be performed at the specified sampling intervals because processing time may vary depending on the configuration or other connected devices After configuring the system thoroughly examine the processing time before starting the
13. 7 I I I I I I I I I I I I I I I I I Program O uoi ipuoo Japun g g ed builb607 E 9 Point A trigger occurs when the status immediately before execution of the specified step changes to the specified status With the High speed Universal model QCPU a trigger occurs only when the specified conditions are satisfied for the first time if the step between the FOR and NEXT instructions is specified 2 When trigger instruction executed A trigger occurs when an instruction is executed For instructions used for data logging refer to Page 171 CHAPTER 11 3 When data logging trigger activated A trigger occurs when the special relay Data logging trigger is turned on For the list of the special relay and special register used for data logging refer to Page 173 CHAPTER 12 67 6 4 Data Logging Status There are four data logging status levels e Start e Pause e Stop e Completion 1 Start By a data logging start request register a data logging and start it Data logging start can be requested by the following e Start operation from the configuration tool gt Page 151 Section 8 9 e Turning on the special relay Data logging start 4 Data logging can be registered by the following e Power OFF ON e Reset e STOP gt RUN e Auto logging start 2 Pause With the data logging setting registered the data logging is stopped temporarily The following operation and sta
14. 7 1 1 Setting method The chapter of 1 Setting garameters the current page is shown Operating procedure 1 1 Open th PLC Parameter ialog box 1 shows operating f procedures Project window Parameter lt gt PLC parameter Select the VO Assignment tab T shows mouse operations is used for items Amagirg the I O address u rot necessary as the CPU dows t atonatraty P ess Leewing this setting blank wll net cause DN O tO OOF in the menu bar and the project window Description Type Select the type of the connected module Page 74 Section 7 1 2 Model Name Select the model name of the connected module Page 74 Section 7 1 3 Points Set the number of points assigned to each slot Page 74 Section 7 1 4 Start XY Specify a start VO number for each slot Page 74 Section 7 1 5 mense gg The section of Detaled Setting f apia SES ei Page 75 Section 7 1 7 EF L 1O Response ied aE the current page is shown Setting Start X Y enables modification on the start I O numbers assigned to connected modules g shows setting or me Ex jivnen 1000 is specified in Start X Y to the slot where a 16 point module is connected the assignment ope ratin g examp les range of an input module is changed to X1000 to X100F For details refer to the following I shows reference OA MELSEC L CPU Module User s Manual Function Explanation Program Fundamentals manuals Point Set the type of the connec
15. Seog Time specification Data are collected at the specified time intervals The setting range is as follows e Millisecond 1 to 32767 in increments of 1ms e Second 1 to 86400 in increments of 1s interval and timing or the time spent for one data logging processing e Short sampling interval and many data logging executions per scan Scan time END processing Description Data are collected in the END processing of each scan Specify the time of sampling interval Data are collected in the END processing after the specified time has elapsed Specify the time of sampling interval Data are collected at the specified time intervals Data are collected in synchronization with the multiple CPU high speed transfer cycle in a multiple CPU system where the multiple CPU high speed transmission function is used Data are collected when the specified device condition is met in the END processing of each scan Data are collected during execution of the specified step and when the specified condition is met Scan time END 0 END e END processing In the following cases scan time will be extended and a watchdog timer error will occur Pay attention to the sampling e Large volume of data to be collected and long data logging processing time CHAPTER 6 DATA LOGGING FUNCTION a Sample data at the first END processing after the specified time has elapsed Select this when dat
16. Before writing common settings all the data logging must be stopped L gt Page 149 Section 8 8 Stop the data logging Vv Write the settings C gt Page 149 Section8 8 Start the data logging Execute or stop the data logging E Page 151 Section 8 9 Stop the data logging Read the data logging file from the SD memory card E Page 153 Section 8 10 Check the CSV file End 98 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 2 Screen Structure This section describes the screen structure of the configuration tool 8 2 1 Main screen The main screen of the configuration tool is as shown below 1 Displayed screen MS New QnUDVCPU amp LCPU Logging Configuration Tool Project Edit Online Tool Help Ph OcPU Q Mode i i 5 Data Logging Setting Logging setting consists of data logging setting and common setting a common Setting Select an item to set from the tree display k Auto Logging Setting amp Buffer Capacity Settir Data logging setting The data in the programmable controller CPU will be logged in a CSV file Common setting Execute the settings for logging capacity and all the logging functions Comment Comments on this project can be made in this column Those comments will not be written into the programmable controller CPU u 10S UIEN 1 78 BINIONIIS UBBJOS Z s a ill QCPU Q Mode Host v No of data logging
17. C current value D D extended data register SD W W extended link register Word device SW R ZR FD 4 T contact ST contact and C contact are specified with TS SS and CS respectively For the above devices index modification and indirect specification are not available CHAPTER 6 DATA LOGGING FUNCTION b Step No specification A trigger occurs when the specified condition is met immediately before execution of the specified step In addition to Step No set Program name and Execution condition Select an execution condition from the following e Always Any time regardless of the operation status immediately before the execution of the specified step e When the specified condition is ON The operation status immediately before the execution of the specified step is the Executed state e When the specified condition is OFF The operation status immediately before the execution of the specified step is the Not Executed state e When the specified condition rises The operation status immediately before the execution of the specified step has changed from Not Executed to Executed e When the specified condition falls The operation status immediately before the execution of the specified step has changed from Executed to Not Executed Ex When the specified condition rises Changed from Not Executed to Executed m Executed r 1 ea E A A a aia deco a oa Specified step sis OU Vege es I executed
18. CC Link 180 Action If the data logging is executed with the short sampling interval or many sampling data setting access to the SD memory card will occur frequently In that condition accessing the SD memory card from another function will cause concentration of accesses to the SD memory card resulting in slow completion The following settings can reduce frequency of SD memory card access e Increase the sampling interval MEg Page 119 Section 8 4 4 e Decrease the number of sampled data MEg Page 121 Section 8 4 5 e Decrease frequency of file switching L gt Page 129 Section 8 4 10 To consider the processing time taken to data logging refer to Page 165 CHAPTER 10 If the data logging is executed with the short sampling interval or many sampling data setting access to the SD memory card will occur frequently When the parameter enabled drive is SD memory card if frequency of access to the SD memory card in data logging is high it takes time to read network parameters from the SD memory card and thus to start the data link The following actions can shorten the time required for starting the data link of CC Link e Store the parameters in the program memory or standard ROM e Reduce frequency of SD memory card access by the following setting e Increase the sampling interval Page 119 Section 8 4 4 e Decrease the number of sampled data Ea Page 121 Section 8 4 5 Decrease frequency
19. CPU high speed transmission cycle Each multiple CPU high speed transmission cycle 1 To the next page 119 3 PaaS Select this when data are to be sampled based on the device or Condition specification See step No specification Device specification Select this when device data is specified Device Any of the devices listed in Section 6 2 3 can be set e For bit device PLS When the bit of the bit device rises Data are sampled when the status of the specified device is changed from off to on PLF When the bit of the bit device falls Data are sampled when the status of the specified device is changed from on to off e For bit device e For word device PLS PLF e For word device During change Conditional formula When the word device value meets the specified value Data are sampled when the current value of the specified device is equal to the condition value During change When the word device data is changed Data are sampled when the current value of the specified device is changed Radix Set a radix of the condition value for the word device DEC or HEX Val E igthati Pane e Decimal 32768 to 32767 alue et a value that is compared with a device value Hexadecimal Oy to FFFF x he Select this so that data will be sampled when a condition is met in Step No specification a the specified step Enter a name of the program in which data are sampled when the Program
20. Component Services B Downloads a Computer Management g Recent Places Data Sources ODBC el Event Viewer iSCSI Initiator ab Local Security Policy fe Performance Monitor fe Print Management alk Services fa System Configuration fe Task Scheduler EP Windows Firewall with Advanced Security fag Windows Memory Diagnostic EE Windows PowerShell Modules Libraries ES Documents D Music i Pictures amp Videos j Computer Gia Network 14 items File Action View Help e9 AMEBA SIF Rs amp Computer Management Locall 4 8 meiel BEC a System Tools gt gil Computer gt Task Scheduler gt Disk drives gt Event Viewer b W Display adapters gt J Shared Folders gt DVD CD ROM drives gt Local Users and Groups b m Floppy drive controllers gt Performance gt lt IDE ATA ATAPI controllers g Device Manager p gt Jungo a amp Storage gt lt 2 Keyboards Disk Management p f Mice and other pointing devices gt E Services and Applications b i Monitors gt i Network adapters 4 Other devices Qa PCI Serial Port ij PCI Simple Communications Controller Ga Unknown device Date modified 7 14 2009 1 46 PM 7 14 2009 1 41 PM 7 14 2009 1 41 PM 7 14 2009 1 42 PM 7 14 2009 1 41 PM 4 3 2010 6 09 AM 7 14 2009 1 41 PM 4 3 2010 6 09 AM 7 14 2009 1 41 PM 7 14 2009 1 41 PM 7 14 2009 1 42 PM 7 14 2009 1 41 PM 7 14 2009 1 41 PM 7 14 2009 1 52 PM
21. GX Works2 Size 684 00MB 5 Hotfix 2050 for SQL Server 2000 ENU KB948110 Size 275 00MB 5 HP Help and Support Size 5 Intel R Graphics Media Accelerator Driver 5 Intel R PRO Network Adapters and Drivers Size Add New 0 04MB Programs 0 04MB j5 InteR PROSet II Size 3 37MB Add Remove Windows Components PA intervideo winDvD Size 20 16MB 5 Java 2 Runtime Environment SE v1 4 2_03 Size 135 00MB ES LCPU Logging Configuration Tool Size 684 00MB Click here For s Formation Used Frequently Set Program Access and Defaults Last Used On 12 10 2009 Remove Size 1 654 00MB To remove this program From your computer click Remove 5 MES interface function configuration tool Mx MESInterface fA Microsoft NET Framework 1 1 Meu Microsoft NET Framework 1 1 Security Update KB953297 5 Microsoft NET Framework 2 0 Language Pack DEU Size 98 02MB 5 Microsoft NET Framework 2 0 Service Pack 2 Size 184 00MB a e Windows needs your permission to continue F you started this action continue Details Uninstall or change an application Microsoft Windows User Account Control helps stop unauthorized changes to your computer LCPU Logging Configuration Tool InstallShield Wizard A Do you want to remove LCPU Logging Configuration Tool from the computer 4 LCPU Logging Configuration Tool InstallShield Wizard Uninstall Complete The InstallShield Wizard has successfully uninstalled LCPU Logging Con
22. Review your computer s status and resolve issues Restore your computer to an earlier time Windows Firewall Check firewall status Allow a program through Windows Firewall User Accounts Clock Language and Region Windows Update Turn automatic updating on or off Checkforupdates View installed updates Power Options Require a password when the computer wakes Change what the power buttons do Change when the computer sleeps Ya Backup and Restore Back up your computer Restore files from backup f Administrative Tools Y Free up disk space Defragment your hard drive Create and format hard disk partitions ia View event logs Schedule tasks 4 To the next page Change User Account Control settings Troubleshoot common computer problems Be System View amount of RAM and processor speed Check the Windows Experience Index Allow remote access See the name of this computer Device Manager When a personal computer is connected to the CPU module using a USB cable the left screen appears When using Windows 8 the left screen does not appear Select System and Security from the Control Panel To display the Control Panel select Start Control Panel The left screen appears Select Administrative Tools oe gt Control Panel System and Security Administrative Tools 5 Search Administrative erR A Organize v Tools sy E Name W Desktop
23. SOW ANC sis Hoi aia Geta ado ah Gh he sacar oe eae ee 26 Special Register List 00 174 Special Relay List 00000 173 SPECIFICATIONS rriaren Wael a eee 33 San a histone easy Se a eee oat Bard ds Mohs 68 Start from GX LogViewer 00006 53 Starting the Configuration Tool 53 Status Par cay adie hel ae ae ee a oe we 103 COs races tan 9 1d ad eee GA dy dere he eee A 68 SYSTEM CONFIGURATION 25 T Target Dala ernan a eee ae had DA 55 Toolbar structure nnna aaaea 101 Transler Setpa neea a a Gi eee 139 Trigger condition aaau 65 Tugger 1OQGING i345 eet oe a a et ee 63 Trigger Logging Set Reset 171 TROUBLESHOOTING 00020005 175 Troubleshooting by Symptom 179 Troubleshooting on CSV file output 179 Troubleshooting on SD memory cards 179 Troubleshooting on the data logging status 182 Troubleshooting on the entire system during operation of the data logging function 180 U Uninstallation procedure 004 52 V Value ranges by output format 41 W Write Logging Setting 00 149 Writing logging setting to the memory card SD 112 195 INSTRUCTION INDEX L WOGTRGIR cian ate oebenusesiouse ne 171 196 REVISIONS The manual number is given on the bottom left of the back cover Print date January 2010 SH NA 080893EN
24. 2 1 Setting screen Specify the sampling interval and start conditions Sampling interval Each scanning cycle Samples data at each sequence scanning cycle O Time specification Samples data at the specified time interval O Each multiple CPU high speed transmission cycle x 0 88 ms 1 50 Sample data by multiple interval of multiple CPU high speed transmission cycle 0 88ms Condition specification Specifies data sampling timing by device data conditions or step No If both device specification and step No specification are selected data will be sampled when both conditions are met Device Conditional formula Radix Value Samples data when the status immediately before execution of the specified step satisfies the specified execution conditions If two or more programs are being executed specify the program name to sample data Program name Step No Execution condition 2 Setting items 3 e Millisecond 1 to 32767 e Second 1 to 86400 Unit of time Select a unit of time ms ors S le data at the first END pair oe he S safed tinie Select this when data are to be sampled in the first END eee i processing after the specified time has elapsed Bul dwes y y 8g uias Bulb6o7 ged r g Time value Set a sampling interval value Specify a data sampling cycle Data are sampled at the interval obtained by multiplying the specified cycle by 0 88ms multiple 1 to 50
25. CONFIGURATION 2 2 Connection Precautions This section describes precautions for connecting the CPU module to a personal computer 1 When the Windows Firewall setting is enabled Disable the Windows Firewall setting 2 When multiple IP addresses are valid at the same time Do not select direct connection setting when two or more IP addresses are valid at the same time as follows e To multiple Ethernet ports network devices of a personal computer multiple IP addresses are assigned e Wireless LAN setting is enabled in addition to the Ethernet port setting of the personal computer e To one Ethernet port of the personal computer more than one IP address are assigned suol neo ld UO OSUUND ZZ 31 2 3 Operating Environment for the Configuration Tool For the operating environment of the configuration tool refer to the following files included in the installers For English version software Operating Environment for the QNUDVCPU amp LCPU Logging Configuration Tool Version 1 English Version BCN P5882 For Chinese version software OI QnUDVCPU LCPU UKRALA Version 1 fayfR PIchiessALe BCN P5869 32 CHAPTER 3 SPECIFICATIONS CHAPTER 3 SPECIFICATIONS This chapter describes the specifications of the data logging function 3 1 The following lists the specifications of the data logging function Function Specifications Item Specifications Reference O Number of data logging settings Sta
26. CPU module used Bunjes Bul66o7 pe y 7 8 147 2 Setting screen Read Logging Setting QCPU Q Mode Host Online operation Read logging setting Write logging setting Delete logging setting Target memory Memory Card so Target logging setting data HGS cpu data El Data Logging Setting _ LA No 01 LOG01 icontinuous Disable File Transfer Setting of No 02 LOGOe2 Continuous Disable File Transfer Setting LA No 03 LOGO3 i Trigger Disable File Transfer Setting ofA Mo 04 LOGO4 Trigger Disable File Transfer Setting of No 05 LOG05 Continuous Disable File Transfer Setting S A Common Setting AA Auto Logging Setting Disable Auto Logging Function Setting 3 Setting items a Data logging setting Setting No data logging name logging type file transfer setting status is displayed in Data Logging Setting b Display of Common setting Display of Common setting differs depending on the target memory e Standard ROM Buffer Capacity Setting only is displayed e SD memory card Buffer Capacity Setting and Auto Logging Setting auto logging setting status are displayed 148 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 8 Write Logging Setting Data logging setting data can be written to the target memory of the CPU module Point Stop the target data logging before writing the data logging setting Also all of the data loggings must be stopped when writing the commo
27. E E E E A EEA TE EE S 129 S414 IPiletanslel oreernre ena ats Reta o aa e aa Rebate Oe aa aa tet 131 8 412 Movement srir emi a denan a A et aa e moe aS aaa 134 GAT FINS a aa aE E eh ew aaa N S Ses ee A Rah eh he le ec E aka 135 Do COMMON SCUING sea e ee ee a aa aae ah Rite a 2 te a 8 136 851 PAULO IOGGING seting i earannan a eea etd adios Rave metre oases ode neces eres a ae 137 8 5 2 Buffer capacity setting ascceatacecoecdat awed on4wialteemeabe tote cts vatgtwerwed 138 86 Manser OCUP o4 552 4 oe abana aa dealer keohin ca eine ete ee ee ee ee 139 8 6 1 Connection with a USB or Ethernet cable 0 0 0 ce eens 139 8 6 2 Connection via a network 0 0 0 0 eee n tte n tenes 141 86 3 Connection test 444 24306 iwew ei deed et ekw hts eae aa a she hda tees a 143 66 4 Connection Channel list tcc cto oe Ad ee he ra a a bok oh es Dada eae 144 8 6 5 Searching CPU modules on the network 0 0 0 0 000 cece eects 145 8 amp 7 Read Logging SEUNG secere sirat aaa we ee E Rae ae gals Bese Seale owen 147 3 6 WhtesLogging SEHING 24 25 42400 lt Sok 5 25 AEE Ee Sho hE h eo eee ce 149 8 9 Delete Logging Seting 2244 e258 ete eee ein Beta eee bee Ri oe ee et 151 8 10 Logging Status and Operation aoaaa aaaea aaaeeeaa 153 8 11 Logging File Operations seisi ieena oe id a ee eG ee ee 156 8 12 Data Logging File Transfer Status naana annaa aaaea eee eee 158 8 13 Checking the Product Information 0 0 0 0 0c e
28. Explanation Progiani f li iti ifi ti f 7 or sampling and condition specification Fundamentals for the CPU module used High speed Universal model QCPU 1 1 26Corlater 1 26Corlater later Optional setting of saved files Page 129 Section 8 4 10 Stack logging file transfer Page 95 Section 7 4 7 GASA Not supported 15042 or later g letion Non letion file distincti H etion Non completion file distinction 1 32J or later Page 97 Section 7 4 8 Version of Reference Windows 8 Page 46 Section 5 2 Functions that are not related to serial No or software version 192 APPENDICES Memo Appendix 2 Added and Changed Functions 193 INDEX A G Auto Logging by Inserting an SD Memory Card 81 Getting the Configuration Tool 45 Auto logging setting 0020 eae 137 GX Developer 0 0 00 eee eee eee ee 19 45 Available ASCII characters 161 GX LOG VIEWOR isch he gee aetna Soe RS 26 Available Characters 000 0c eee 161 GX WORKS 2 soso ed oats occ eve ee eh Be OE 19 45 B H B fferCapacity nso nd ace wheat i aw aa Bence 14 How sampled data are saved 4 70 Buffer capacity setting 0 6 138 I C xrx Impact on the Scan Time 170 Checking the data logging processing time 169 Installation Method 0000 eee eee 46 Checking the Processing Time 169 Installation proced
29. Logo testing to very its compatibility with Windows sP Tell me why this testing iz important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Continue Anyway Windows Vista Windows 7 or Windows 8 screen gt Windows Security Would you like to install this device software Name Jungo Jungo Mi Publisher MITSUBISHI ELECTRIC CORPORATION Always trust software from MITSUBISHI ELECTRIC CORPORATION You should only install driver software from publishers you trust How can I decide which device software is safe to install gt Windows Security Would you like to install this device software Name MITSUBISHI ELECTRIC CORPORATION Universa IT Publisher MITSUBISHI ELECTRIC CORPORATION Always trust software from MITSUBISHI ELECTRIC CORPORATION You should only install driver software from publishers you trust How can I decide which device software is safe to install 4 To the next page CHAPTER 5 START UP OF THE CONFIGURATION TOOL When the first time a MELSOFT product is installed the left screen may be displayed during installation To continue the installation click the
30. OO004342 C5 02 OO0021D5 C5 O1 OOO043A41 C5 b Displayed items and buttons Item Status Data Column Data Logging Setting No File Name File Transfer Server Error Code EJ button Description Transfer status of a file is displayed e Error e Retry The time and date when a data logging file transfer function error occurred are displayed The data logging setting No where a data logging file transfer function error occurred is displayed The data logging file name where a data logging file transfer function error occurred is displayed The transfer destination server name where a data logging file transfer function error occurred is displayed Detected data logging file transfer function error is displayed This button is displayed if an error occurs Clicking this will display the Details dialog box Clicking this button will obtain error logs in the CPU module again and display them Clicking this button will clear error logs in the CPU module 159 snje s Jajsues aji4 6uib6o7 geq Z1 8 8 13 Checking the Product Information There are two help functions in the configuration tool e Opening the user s manual e Checking the version information 8 13 1 Opening the user s manual The manual in PDF format can be viewed 1 Operating procedure Perform the following W Help lt gt Open Manual 8 13 2 Checking the version information Information on the version of the configuration to
31. Precautions CAUTION Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 or less Failure to do so may result in electric shock or malfunction Use applicable solderless terminals and tighten them within the specified torque range If any spade solderless terminal is used it may be disconnected when a terminal block screw comes loose resulting in failure Check the rated voltage and terminal layout before wiring to the module and connect the cables correctly Connecting a power supply with a different voltage rating or incorrect wiring may cause a fire or failure Connectors for external devices must be crimped or pressed with the tool specified by the manufacturer or must be correctly soldered Incomplete connections may cause short circuit fire or malfunction Securely connect the connector to the module Poor contact may result in malfunction Do not install the control lines or communication cables together with the main circuit lines or power cables Keep a distance of 100mm or more between them Failure to do so may result in malfunction due to noise Place the cables in a duct or clamp them If not dangling cable may swing or inadvertently be pulled resulting in damage to the module or cables or malfunction due to poor contact Check the interface type and correctly connect the cable Incorrect wiring connecting the cable to an incorrect interface may
32. Protocol a protocol for file transfer with external devices By using the data logging file transfer function the CPU module serves as an FTP client and data logging files in SD memory cards can be transferred to the FTP server Since data logging files can be managed by one FTP server data management and maintenance work can be reduced FTP server L OG01_ LOGO2_ 00000001 00000001 CSV f CSV Vr Vr Vmn Youn Youn Youn Yann Youn Youn Yan Tamtam Va VF mr A mmm FAINI 1 VT mr rA am el 1 DONNI A Ce nooo a a a of B ee 7j E _S eee ee ee eee p See ee eee eee i Ethernet I i i I I QnUDVCPU MAnARAnAa A LOG03_ 00000026 CSV 00000026 CSV 00000026 CSV Data logging file Data logging file Data logging file SD memory card SD memory card SD memory card uonoun4 Jajsues aji4 Buio ged yZ Point The data logging file transfer function requires an FTP server For details on the server refer to the manual for the server used 85 7 4 1 Procedure overview of the data logging file transfer function The following flowchart lists a procedure for performing the data logging file transfer function lt Preparation for data
33. a next file with the same setting No is saved when the file transfer is completed Data logging Data logging setting No 1 setting No 1 2 If the next file is already saved Data logging file Data logging file the file enters standby 00000001 CSV 00000001 CSV Standb anaby Transfer completed Data logging Data logging setting No 3 setting No 4 Data logging setting No 1 Data logging file Data logging file 00000001 CSV 00000001 CSV Data logging file 00000001 CSV Transferred in Last an orderly gt First manner 3 Retransmission With the stack logging file transfer a file is repeatedly sent until the file transfer is completed When retransmitting of the file is completed check the next file and transfer sequentially until all stored files are transferred 96 CHAPTER 7 OTHER FUNCTIONS 7 4 8 Transfer completing Non completing file distinction indication Check the versions of the CPU module and configuration tool used when using transfer completion non completion file distinction indication lt gt Page 192 Appendix 2 High speed Universal model QCPU cannot be used Transfer completion Non completion file distinction indication For the data logging file in the SD memory card character string C_ abbreviated designation of Complete_ is added to a file name after file transfer completion to the FTP server Only checking the fi
34. after trigger including at the time of trigger as the number of records No of records after trigger Device value 7 Time l Trigger lt No of records before trigger No of records after trigger Point After starting data logging if the trigger condition is met before data collection of the specified number of records before trigger is completed the number of sampled records will be less than the specified With trigger logging setting the specified data are collected at the specified interval or timing Data of the specified number of records before and after the trigger are extracted from the collected data and saved in a data logging file in the SD memory card Note that in addition to the specified interval or timing data are also collected when the trigger condition is met Scan time Scan time Scan time Scan time Program 0 END 10 END 10 END 10 END 10 END processing END processing END processing END processing Sang Data sampling at the specified intervals or timing Each scanning cycle in this case Condition occurred Data sampling by trigger CHAPTER 6 DATA LOGGING FUNCTION 6 3 3 Trigger condition Specify a trigger condition by selecting appropriate items from the following gt Page 124 Section 8 4 7 Setting item Description When the bit of the bit device A trigger occurs when the status of the specified device is changed rises from off to on When the bit of the
35. awh CHAPTER 6 DATA LOGGING FUNCTION OH Warde Ddlavcacanterse ene sacaeeeeneee yeas passes waters ste CAGhE ce eee see 62 Sampling ol Target Dalai cc2 nies eevee ed bee eb aw ead hee ahi ble tote et 6 3 iIKOQGING NOG wt lt ene tee etaglhtedir eet eee E eee Chee eset deme oes boar Gost lt COMUNUOUS IOGQING 2 inc 4 5 aie ses aadesteteanta is cae eek aves audi ew ate aa ae a A Aaaa 632 NIGGER IOGOIN Giscine tet hn hie Rte det Ae ech eon eh HE Bee ed ang ee aR eae lh be cite mk tae 033 INGOT COMMON esenee eta eas Sted Hei nat de er cmt au weld E eGov ns ha A eet ase we AEE 20 20 24 25 25 26 27 30 31 32 33 33 35 36 36 36 41 42 43 45 45 46 46 52 53 64 Data Logging Siatus 2c ers es oo be we wats ee ee ee at oe eed ee ea ee 68 65 Data Logging Filesis 2c oeec steal ees Rod cok aa ae ee Be a ae bare hs SAE ate die deren ee Oe Se 70 6 5 1 Saving format of the data logging fille 0 0 cee 70 6 5 2 How sampled data are saved 1 0 tenets 70 6 5 3 File switching Seung 2 c0 00d dc eedeee d Ache cate aed wand Ache te eet be ee 71 GG BUleMCabaGly toes dt eakul gone oe cee ta cise tae eee Coes a EE oa 74 6 Bata MISSING eee Dien res A Ad ea eens we Be Ge Ae els He De ae oe ee 15 6 8 Precautions for the data logging function aana aeaaeae aeea Tf CHAPTER 7 OTHER FUNCTIONS 80 7 4 Data Logging Operation at Transition to RUN 0 00 eens 80 7 2 Auto Logging by
36. be created for logging Device data can be logged by only setting parameters Logged data can be stored on an SD memory card in CSV format QnUDVCPU Device data can be sampled with just a simple setting Configurations Aursuaii 4 class Data can be stored on an SD memory Configuration tool card in CSV format 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 733 CSV format 20 CHAPTER 1 DATA LOGGING 2 Control data can be logged without missing a change Data logging is available every scan or on the millisecond time scale Since changes in the specified control data can be logged the data logging function is effective to identify the cause of a problem Also logging is performed at a high speed so that equipment can be analyzed with high accuracy When sampling data at intervals of ims Slight changes in data are caught Point Data logging is the best effort type function Logging may not be performed at a specified sampling interval because processing time may vary depending on the configuration or the other connected devices After configuring the system thoroughly examine the processing time before starting the system operation _ gt Page 165 C
37. data logging file that failed to be transferred enters standby to be resent 5 The retry processing ends when the network returns to normal and file transfer is completed However even if file transfer fails the processing ends when any of the following conditions is met e Retransmission of data logging files failed due to an error other than communication error e Retransmission failed after the elapse of the retry time e The file enters transfer data overflow status e File transfer is stopped during retry by forced stop lt _ gt Page 94 Section 7 4 6 6 4 Refers to the time from retry start to file retransmission _ gt Page 114 Section 8 4 1 Point Only the latest data logging file is retransferred when network returns to normal When retransmitting the untransferred file before the network returns to normal use stack logging file transfer Page 95 Section 7 4 7 Transfer completion stop Files enter transfer completion status when the data logging stop operation is performed and all data logging files with the same setting No have been transferred When file transfer is completed the special relay Data logging file transfer execution status flag turns off Data logging Buffer data stop request saved File transfer completed y y Buffer data File being being saved transferred SM1940 ON A oo Data logging preparation OFF SM1941 ON z amp _ lc iC Data logging sta
38. data logging setting file is the total of the following e Size of a common setting data file e Size of individual setting data files of setting No 1 to setting No 10 1 Size of a common setting data file The size is the total of the following Item Size byte KR Common header File information N O Data logging common setting area 2 Size of individual setting data files The size is the total of the following Item Size byte Common header File information oO O Data logging common setting area 6 Sampling information 114 Trigger condition setting information 122 Output setting information 772 O Storage setting information Data logging sampling data area information O Data logging sampling data area number of points Data logging sampling data area setting Optional information Extension function setting Total of the following Extension function bit Extension function setting 1 data logging file transfer function setting data size Extension functi tting 1 data logging file transfer A ANSIO UNCON SENI Aaa dogging Total of the following setting 1 items function setting contents gt Common area size fixed FTP server IP address 7 to 15 Login user name 1 to 32 Login password 0 to 32 2 Directory path 1 to 642 4 When the extension function setting is the default the size is 0 bytes 2 The size byte is the number of characters of each i
39. dialog box W Online gt Logging Status and Operation Select the target setting number s Multiple choice available With the button start the data logging Simultaneously executable when multiple settings are selected Click the button to temporarily stop the data logging and click the button to stop Simultaneously executable when multiple settings are selected Point Data logging does not start only by turning off the power and then on or resetting after writing the configuration To start the data logging be sure to click the button in the Logging status and operation dialog box For trigger logging a data logging setting cannot be registered if the trigger conditions are met at the time of registration New data logging cannot be started when the logging status is as follows e Executing e Saving the logging data e Completed e Pausing Error other than registration errors It takes time to stop or temporarily stop a data logging after the stop or pause operation is performed from the configuration tool After the stop or pause operation logging actually stops or pauses when saving the data in the buffer to the SD memory card is completed After the start operation is performed from the configuration tool a timeout error may occur and data logging may be suspended Page 180 Section 13 2 4 If a remote password entry screen appears enter the configured password For the remote password refer
40. geq ul n990 Ae 2y s10113 34 40 ISIT p EL 177 ar Value in special register Timing of Error response No Data logging error cause occurrence k No information 42 Connection of the control port to the FTP server failed 41AEy 43 Disconnection of the control port with the FTP server failed 41AFy 44 Login to the FTP server failed 41B0y 45 Execution of the FTP command to the FTP server failed 41B1y 46 Connection of the data transfer port to the FTP server failed 41B24 47 Disconnection of the data transfer port with the FTP server failed 41B34 48 An error occurred during file transfer to the FTP server 41BAy 49 e Data logging file tanster ineton settings are mistaken 427C e A data logging setting file is corrupt During execution A data logging file to be transferred was deleted during transfer by file switching e Reading of a data logging file failed 427Dy e A data logging file is attempted to be accessed while the SD memory card is forcibly disabled e A new data logging file is saved by file switching before a data logging file is transferred 427Ey e A new data logging file is saved during retry by file switching 52 File transfer failed due to the stop operation of file transfer 427Fy 53 A file transfer test was executed from another configuration tool during 4280 execution of a file transfer test i Data logging settings of a different programmable control series was 178 CHAPT
41. modules on the Ethernet network can be searched and the search results are displayed as a list if they are connected to the hub to which the configuration tool is also connected 1 Operating procedure 1 Inthe Transfer Setup dialog box select Ethernet Board for PC side I F and double click PLC Module of PLC side I F 2 Select a CPU mode for PLC Mode 3 Select Connection via HUB and click the Find cpu Built in Ethernet port on Network button 4 Selecta target CPU module from the CPU information list and click the selection 1P address Input button 2 Setting screen PLC side I F Detailed Setting of PLC Module PLC Mode QCPU Q mode _ a Ethernet Port Direct Connection f Connection via HUB Cancel Please select Connection via HUB when vou use HUB even if the equipments to be communicated i one cy The load hangs to the line when Ethernet Port Direct t IP Address i g i 4 Connection is selected with other equipment connected with IF Input Format DEC IZ HUB and it communicates and there is thing that influences i the communication of other equipment Host Name IP address CPUType Comment OO06U0VCPuU 2 192 168 3 39 LOBCPU dnjes Jajsues 9 9 Response Wait Time 2 SBC View Only PLC Type of Project Selection IP Address Input Find CPU Built in Ethernet port on Net
42. name Pee i a Eight alphanumeric characters or less condition is met in the specified step Set a step number of the step where data are to be sampled when Step No sa pa pre 0 to 266240 the condition is met Select a data sampling condition from the following Always Always Data are always sampled in the specified step ON When execution condition is ON Data are sampled when the result of the operation in the specified step is true OFF When execution condition is OFF Always Data are sampled when the result of the ON Execution condition operation in the specified step is false OFF PLS PLS When execution condition rises PLE Data are sampled at the time the result of the operation in the specified step is changed from false to true PEFS When execution condition falls Data are sampled at the time the result of the operation in the specified step is changed from true to false 4 Only the High speed Universal model QCPU supports this item 120 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 4 5 Data Set sampled device data such as data type gt Page 55 Section 6 1 1 Setting screen Set the data for logging A total of up to 128 device points can be set Points to be used for bit digit specification depends on the data type 1 point for word type and 2 points for double word type C Output type Data type lt f N a
43. of data can be sampled at trigger logging and the possibility of the processing limits being exceeded can be lowered at continuous logging 3 Setting items Total The total of the configured buffer capacities is displayed Setting No Data logging setting numbers are displayed Buffer Capacity Set the capacity of the buffer used 32 to 4832k bytes Point Write the buffer capacity setting to the CPU module with all data loggings stopped The data logging status can be confirmed in the Logging Status and Operation dialog box lt Page 151 Section 8 9 138 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 6 Transfer Setup After starting the configuration tool set a communication route for the CPU module and personal computer Open the Transfer Setup dialog box W Online gt Transfer Setup There are two connection methods e Direct connection with a USB or Ethernet cable e Connection via a network 8 6 1 Connection with a USB or Ethernet cable The following explains the screen operation 1 Operating procedure 1 Click the FLS Brett Coupled Setting button in the Transfer Setup dialog box 2 Select USB or Ethernet in the PLC Direct Connection Setting dialog box and click the button 3 Click the button in the Transfer Setup dialog box 2 Setting screen a PLC Direct Connection Setting dialog box PLC Direct Connection Setting Please select the direct connection metho
44. of file switching L gt Page 129 Section 8 4 10 To consider the processing time taken to data logging refer to Page 165 CHAPTER 10 To the next page Symptom A timeout error occurs when a transmission or dedicated instruction is sent from a peripheral device to the CPU module in operation of the data logging function It takes time to switch the operating status of the CPU module During execution of the data logging function when monitoring the logging status is attempted through USB or Ethernet connection the communication is disconnected and the following error is displayed e Communication timeout ES 01808505 e Cannot communicate with the PLC ES 0180840B The error code changes depending on the timing Cause From the configuration tool multiple data loggings were attempted to be started at the same time Multiple data logging settings have been registered Data in the buffer are being saved to the SD memory card Multiple data logging settings have been registered Data logging setting has been registered with unused folders remaining in the SD memory card The communication is performed when the load applied to the CPU module is high CHAPTER 13 TROUBLESHOOTING Action Starting multiple data loggings will temporarily increase the load on the service processing This may slow down the communication response causing a timeout error By modifying the service processin
45. sampling data 2nd sampling data Buffer capacity for setting 1 lt semng 27 Buffer capacity for setting 2 zocing A gt 1st sampling data d 1st sampling data 2nd sampling data 2nd sampling data Sampled data are stored in the specified buffer The data in the buffer are saved to the SD memory card at the timing of file saving Item Setting range For each setting any of 32 to 4832K bytes in increments of 1K byte can be specified Data logging buff it A y The total capacity for the settings No 1 to No 10 is 5120K bytes maximum 1 Buffer capacity setting Increasing the buffer capacity enables the following e Trigger logging The number of sampled data is increased e Continuous logging Processing overflow occurs less frequently 4 Adjust the buffer capacity while checking the special register Free buffer space When the free buffer space is insufficient even though the buffer capacity is increased perform the following actions e Increase the sampling interval gt Page 119 Section 8 4 4 e Decrease the number of sampled data L Page 121 Section 8 4 5 e Decrease frequency of file switching L gt Page 129 Section 8 4 10 e Cancel the File Transfer setting in the data logging setting lt _ gt Page 131 Section 8 4 11 To consider the processing time taken to data logging refer to Page 165 CHAPTER 10 2 Buffer utilization The buffer utilization can be obtained by a formula number of
46. search for driver software Search automatically for updated driver software Windows will search your computer and the Internet for the latest driver software for your device Browse my computer for driver software Locate and install driver software manually 4 To the next page 186 1 When the personal computer is connected to the CPU module with USB cable the left screen appears Select Locate and install driver software recommended and wait for searching to terminate 2 When the user account control is enabled the left screen appears Click the button 3 The left screen appears Select Browse my computer for driver software APPENDICES 4 The left screen appears Specify the USB driver storage folder Easysocket USBdrivers and click the button Browse for driver software on your computer Search for driver software in this location C Program Files MELSOFT Easysocket USBDrivers X Include subfolders Let me pick from a list of device drivers on my computer This list will show installed driver software compatible with the device and all driver software in the same category as the device 5 The left screen appears Select Install this software A ks Windows Security i i anyway Don t install this driver software You should check your manufacturer s website for updated driver software for your device Install this driver software anyway Onl
47. settings 0 2 Displayed items Name Description Reference Menu Menu items used for executing respective functions are displayed Page 100 Section 8 2 2 Toolbar Tool buttons used for executing respective functions are displayed Page 101 Section 8 2 3 Edit item tree When an item on the tree is selected the corresponding advanced settings area is displayed Page 102 Section 8 2 4 A comment about the project can be entered This comment is not written to the CPU module Up C t E to 1024 one byte characters 512 two byte characters can be entered Status bar Information on the current project is displayed Page 103 Section 8 2 5 Advanced settings area A setting area for each function is displayed 99 8 2 2 Menu structure The menu structure of the configuration tool is as listed below Project Reference New Creates a new project discarding the currently editing project Page 106 Section 8 3 1 Open Opens a project file that is stored in the local disk Page 106 Section 8 3 2 Save Saves the current project data to the current file Page 108 Section 8 3 3 Save as Saves the current project file with a different name Change PLC series Changes the programmable controller series of the project being edited Page 109 Section 8 3 4 R Loggi tting f M R th ta loggi tti itt SD d in th ead Logging Setting from Memory eads the data logging setting written on an memory card in the persona Page 110 Section 8 3 5 Card SD computer
48. system operation The following figure shows the process from data collection to file output This section also describes what is the point when checking the time required for the following processing CPU module Stores the data accumulated in the buffer to a data logging file If the data logging processing cannot keep up with the speed of Check that all the data sampled the sampling processing a processing overflow occurs and have been processed some data will be missing 1 Data logging processing Page 169 Section 10 2 1 10 2 1 Checking the data logging processing time Check that all the data sampled by data logging continuous logging have been processed The following shows the information to be checked and corrective action to be taken if an error is detected Information to be checked Corrective action aul Buissedojg ay BuryoeyyD Z OL Perform any of the following e Increase the sampling interval Page 119 Section 8 4 4 e Reduce the number of sampled data Page 121 Section 8 4 5 e Increase the buffer capacity JE Page 138 Section 8 5 2 Decrease frequency of file switching gt Page 129 Section 8 4 10 e Cancel the File Transfer setting in the data logging setting lt gt Page 131 Section 8 4 11 Check the value in the special register Processing timeout count If the special register value is other than 0 the data logging processing file saving does not keep up with t
49. the standby file enters transfer data overflow status gt Page 89 Section 7 4 3 3 After completion of the ongoing transfer processing a standby data logging file is started to be transferred When there are several standby data logging files they are transferred in the order that they are saved in the SD memory card Ex When a data logging file of setting No 4 is saved while data logging files are on standby in the order of setting No 2 and setting No 3 Standby Transfer completed Data logging 3 1 Data logging setting No 4 setting No 3 Data logging file i F Data logging file A newly saved data a i Last W Transferred in gt First The first saved an orderly manner data logging file on standby starts to be transferred 88 CHAPTER 7 OTHER FUNCTIONS 3 Transfer data overflow If a data logging file with the same setting No as a standby file is saved the standby file will not be transferred Ex When a data logging file of setting No 2 is saved while a data logging file of setting No 2 is on standby Transfer completed Standby Data logging Data logging S Data logging setting No 2 i 1 setting No 3 i setting No 1 Data logging file i Data logging file 3 i Data logging file The standby data logging file enters the transfer data overflow status A data logging file we AE Last a gt Transferred in Ep First setti
50. 3 00000101 CSV 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 733 00000102 CSV Point When files are simultaneously transferred from different CPU modules to one FTP server they may overwrite each other Specify a different directory path as a storage location of each file J M S dl 94 JO Siunjonsys AOI ZZ uoouny Jojsues 4 BuiBHOT eed vy Z 8 7 4 3 File transfer status There are five file transfer status levels e Transfer start e Standby e Transfer data overflow e Retry e Transfer completion stop 1 Transfer start Data logging files of each setting No are transferred one by one Data logging file transfer starts simultaneously with the data logging start operation and the special relay Data logging file transfer execution status flag turns on Data logging Data logging setting start request SM1940 ON o E Data logging preparation OFF SM1941 ON O o ooo ooo Data logging start OFF y Start of data logging file transfer function SM1948 ON o Data logging file transfer OFF execution status flag 2 Standby When a data logging file is newly saved during data logging file transfer the new file enters standby Only one data logging file enters standby in each setting No If a data logging file with the same setting No as the standby file is saved
51. 4 Drive 3 4 use conditions SD1970 to SD1977 Data structure is the same as that of data logging setting No 1 SD1940 Data logging setting No 5 SD1980 to SD1987 Data structure is the same as that of data logging setting No 1 Data logging setting No 1 SD1941 Latest file No Data logging setting No 6 D1942 SD1990 to SD1997 Data structure is the same as that of data logging Data logging setting No 1 setting No 1 Oldest file No Data logging setting No 7 SD1943 SD2000 to SD2007 Data structure is the same as that of data logging setting No 1 Data i tting No 8 Data logging setting No 1 ata logging setting No SD1944 SD2010 to SD2017 Data structure is the same as that of data logging Free buffer space setting No 1 Data logging setting No 9 Data tting No 1 SD1945 an ogging Pees SD2020 to SD2027 Data structure is the same as that of data logging Processing timeout count setting No 1 Data logging setting No 1 l l SD1946 Data logging error cause Data logging setting No 10 SD2030 to SD2037 Data structure is the same as that of data logging oy Data logging setting No 1 setting No 1 Data logging file transfer function error code 4 Data logging file transfer function error code is supported by a module whose serial number first five digits is 12112 or later 174 CHAPTER 13 TROUBLESHOOTING CHAPTER 13 TROUBLESHOOTING For data logging error codes SM SD and troubleshooting by symptom refe
52. 55 19 68 741 36 0 Stack file setting No 3 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 Te Wa LOGO3 CSV 1 The folder name is fixed 2 Do not create any file or folder under the LOGGING folder using a personal computer 3 Delete unnecessary folders by e Using a personal computer e Logging file operation __ gt Page 156 Section 8 11 35 3 3 CSV File Output Format This section describes the CSV format specifications and lines and columns output 3 3 1 CSV format specifications The CSV file format is specified as shown below Item Description Delimiter Comma Line feed code CRLF 0x0D Ox0A Character code ASCII or Shift JIS Field data Double quotation marks and commas must not be included in each of data 4 When Output device comments for data column is selected in CSV output of the data logging setting if a double quotation mark or or comma is included in a device comment the data must be as follows e The entire data must be enclosed with double quotation marks e Embedded double quotation marks must be doubled 3 3 2 Output details of lines and columns An example of the lines and columns output is shown below Data type information line number Data name line number Data start line number File type File version Comment line number File information line LOGGING L1 4 5 2 Comment line Data type information line Data name li
53. 7 x 128 data 132 number of commas 2 CR LF 1734 bytes 38 CHAPTER 3 SPECIFICATIONS 4 Data name line The data name of each column is displayed Data column Device No or Device comment 2 specified in the setting is displayed 1 to 32 bytes 4 The device comment of the comment file specified in the setting is displayed 2 Even if Output device comments for data column is selected device No is displayed when e No device comment is set e The specified device comment file does not exist e A digit specified bit device is specified for sampling data e A bit specified word device is specified for sampling data 3 The size of the Data name line is the total of the following Ex When logging 128 point data in D100 to D227 when the date and time data sampling interval execution step No execution program name and index columns are selected for output and when device No is selected for the data column 4 date and time 12 data sampling interval 8 execution step No 12 execution program name 5 index 4 x 128 data 132 number of commas 2 CR LF 687 bytes 39 suwnjoo pue s ulj JO sjlejep nd no Cee yEWJIO Nd no al 4 ASO C 5 Data line Sampled data values are displayed One line contains the data sampled at one time Item Date and time column Data sampling interval column Execution step No column Execution program name column
54. 98 Device 08 30 00 3 84 67 Device 08 45 00 4 98 127 values 09 00 00 5 15 75 09 15 00 6 78 117 09 30 00 7 97 16 09 45 00 8 8 CSV format CHAPTER 2 SYSTEM CONFIGURATION CHAPTER 2 SYSTEM CONFIGURATION This chapter describes a system configuration for executing the data logging function 2 1 Overall System Configuration An overall system configuration for executing the data logging function is shown below 1 FTP server e Connection from a USB or serial port e Connection from an interface board 2 QnUDVCPU Settings configured eds coee se ecece dee Configuration tool Settings displayed SD memory card sold separately required Personal computer i i i i i i I Be E E Se ee ee ee eee eee ee ed Ethernet CC Link or C24 QnUDVCPU e Connection via network modules 2 uoHeINBYUOD WaSAS e1340 Z SD memory card SD memory card SD memory card sold separately required sold separately required sold separately required 4 The data logging file transfer function requires an FTP server For details on the server refer to the manual for the server used 2 F
55. ALS TERMS May 2012 SH NA 080893ENG J non SAFETY PRECAUTIONS Section 6 7 197 The manual number is given on the bottom left of the back cover February 2013 SH NA O80893ENG K New models of the Universal model QCPU and the LCPU have been added Added models QO3UDVCPU QO4UDVCPU QO6UDVCPU Q13UDVCPU Q26UDVCPU LO6CPU L26CPU October 2013 SH NA 080893ENG L New models of the LCPU have been added Added models LO6CPU P L26CPU P INTRODUCTION TERMS Section 3 1 3 3 2 5 1 6 2 6 3 3 6 4 6 8 7 4 6 8 2 5 8 3 4 8 4 1 8 4 4 8 4 10 8 4 11 10 1 1 10 1 2 10 3 10 4 13 1 13 2 2 Appendix 2 Additions Section 7 4 7 7 4 8 Japanese manual version SH 080886 N This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2010 MITSUBISHI ELECTRIC CORPORATION 198 WARRANTY Please confirm the following product warranty details before using this product 1 Gratis Warranty Term and Gratis Warranty Range If any faults or defects hereinafter Failure found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company Howeve
56. C Q L Programming Manual Common Instruction Processing time us QO3UDVCPU Q04UDVCPU LO6CPU LO6GCPU P L26CPU Category QO6UDVCPU Q13UDVCPU LO2CPU LO2CPU P L26CPU P L26CPU BT Q26UDVCPU L26CPU PBT Data logging LOGTRG 51 000 73 000 117 500 117 900 93 400 93 800 instruction LOGTRGR 10 500 17 500 24 400 24 700 19 200 19 500 170 CHAPTER 11 DATA LOGGING INSTRUCTIONS CHAPTER 11 DATA LOGGING INSTRUCTIONS The following instructions are used for trigger logging Causes a trigger to occur in trigger logging Data sampled for the LOGTRG Trigger logging set number of records specified in the trigger logging setting of the Page 65 Section 6 3 3 programming tool are stored in a data logging file Page 171 Section 11 1 LOGTRGR Trigger logging reset Resets the trigger condition 11 1 Trigger Logging Set Reset LOGTRG R Command LOGTRG ES Command LOGTRGR f n Data logging setting No BIN 16 bit Eon device at ae Constant i EEKE 1 Function a LOGTRG e This instruction causes a trigger to occur for the data logging setting No n when performing trigger logging e A value from 1 to 10 can be set to n e When this instruction is executed the special relay Data logging trigger corresponding to the setting No n turns on Trigger logging is performed until the specified number of records after trigger is reached And Y DY19071 JeSey 39S BulbG607 2661 LLL then trigger logging is stopped
57. Condition specific Specifies data sarr Logging type If both device spe anaatratitse Complete Cancel BEBEEEs No of data logging settings 1 Settings configured Device Complete Cancel a gene ats F No of data lagging settings 1 cm om 2 a Next gt Complete Cancel No of data logging settings 1 5 A large volume of logging files can be stored Use of an SD memory card of up to 4GB enables a long term logging 6 Data sampling for troubleshooting can be instructed easily Data required for troubleshooting can be collected by simply sending an SD memory card where auto logging setting data are stored to the factory floor and inserting it into the slot of the CPU module Auto logging function Furthermore the logged data can be analyzed if the SD memory card is returned to the office after termination of the logging QnUDVCPU Logging starts automatically by inserting the SD memory card into the slot of the CPU module 2 Sampling co ae 1 Sending a card SD memory card 3 Returning the card Factory floor CHAPTER 1 DATA LOGGING 7 Data logging files can be transferred from the CPU module to the FTP server By using the data logging file transfer function the CPU module serves as an FTP
58. Data Logging Processing Time This section describes the data logging processing time which was measured under the specified conditions Note that the processing time may increase depending on any of the following factors e Scan time e Data logging configuration e Target data value The CSV file size varies depending on this value e SD memory card type e Number of files in the SD memory card and file capacity Use the measurement results as a guide to estimate the processing time oul Buiss dOId Buib6o7 ezed 1 OL 165 10 1 1 Continuous logging The values shown were measured with the minimum allowable sampling time specified and without missing any data during continuous logging 1 Measurement condition Item Description Scan time 1 0ms Buffer capacity 128 bytes per setting default Sampling Time specification Data are sampled at the specified time intervals Data Data Data register D Data type word signed decimal Data logging setting CSV output The Date default output format and Index columns are output e File switching timing 10000 records e Operation occurring when number of saved files is exceeded Overwrite SD memory card L1MEM 2GBSD Save 2 Measurement results Since the processing time depends on settings and the scan time of the CPU module refer to the following tables as a measure a The data logging file transfer function not set Unit ms Device points CPU module 8 8 po
59. Data logging setting No 1 SM2010 to SM2018 1 Data logging setting NOS Dala structure is the Data logging trigger same as that of data logging setting No 1 SM1950 to SM1958 1 Data logging setting No 1 Data logging setting No 9 Data structure is the SM1945 artis SM2020 to SM2028 cecal esa alata After data logging trigger same as that of data logging setting No 1 SM1946 Data logging setting No 1 Data logging error ys Aejoy jeioeds 1 Z1 Data logging setting No 1 Data logging setting No 10 Data structure is the SM1947 1 Saving to SD memory card SM20930 10 9MA03g same as that of data logging setting No 1 Data logging setting No 1 1 SM1948 Data logging file transfer execution status flag 4 Data logging file transfer execution status flag is supported by a module whose serial number first five digits is 12112 or later 173 12 2 Special Register List The special register list for data logging is shown below For details on each special register area refer to the following manual User s Manual Hardware Design Maintenance and Inspection for the CPU module used Data logging setting No 2 SD604 Memory card use conditions SD1950 to SD1957 Data structure is the same as that of data logging setting No 1 SD616 Data logging setting No 3 Free space in drive 2 memory card ROM SD1960 to SD1967 Data structure is the same as that of data logging SD617 setting No 1 Data logging setting No 4 SD62
60. ER 13 TROUBLESHOOTING 13 2 Troubleshooting by Symptom 13 2 1 Troubleshooting on CSV file output The following are examples of incorrect display of CSV file outputs and how to troubleshoot the problems Time data in the Date column are Clock data setting was changed Do not change clock data of the CPU module during execution of the data incorrect after start of the data logging logging function IE Page 79 Section 6 8 12 To prevent data missing take any of the following actions e Increase the sampling interval TE Page 119 Section 8 4 4 e Decrease the number of sampled data a Page 121 Section 8 4 5 e Increase the buffer capacity TE Page 138 Section 8 5 2 The number in the Index column is aseti 4 Data missing has occurred Decrease frequency of file switching L gt Page 129 Section 8 4 10 e Cancel the File Transfer setting in the data logging setting lt Page 131 Section 8 4 11 To consider the processing time taken to data logging refer to Page 165 CHAPTER 10 13 2 2 Troubleshooting on SD memory cards The following are examples of SD memory card problems and corrective actions e High speed Universal model QCPU When an SD memory card is installed while the power is on the SD CARD LED does not turn on e LCPU When an SD memory card is installed and the SD memory card lock switch is slid down while the power is on the SD LED does not turn on Power off and then on or reset the
61. For details refer to the manual Format Example 00000001 cSV File switching setting Number of files to be saved File switching timing Specify the maximum number of files to be saved Specify the file switching timing Number of files to be saved 1 1 65535 Records 100 65500 A logging file is switched to the new one when the number of records exceeds the specified value KB 10 16384 A logging file is switched to the new one when the file size exceeds the specified value Files with lower numbers are deleted and logging continues Logging stops 2 Setting items Item Description Setting range Logging file save setting File save destination of the SD Specify the folder to which the data logging file is saved folder name The 32 one byte characters or less no memory card file name must be unique two byte characters Name of file to be saved Specify the information to be added to the file name Simple setting An item specified in fixed format is added N f folder t The folder name set in File save destination of SD memory card is added s If specified the date YYYYMMDD is added If specified the time hhmmss is added Set an additional format Also an optional character string can be added to 3 4 the additional format Option setting To the next page 129 BABES OL V8 uias Bulb6o7 ged 79g Operation occurring when number of saved files is Set the
62. Found New NA E catia Click the Finish button to close the dialog box The wizard has finished installing the software for MITSUBISHI Easysocket Driver Click Finish to close the wizard Bach Finish Point If the USB driver cannot be installed check the following settings e Select Control Panel System gt Hardware gt Driver Signing If Block Prevent installation of unsigned files is selected any USB driver may not be installed In Driver Signing Options select Ignore Install all files regardless of file signature or Warn Display a message before installing an unsigned file and then install the USB driver JOAUG GSn e Buljyjeisuy xipueddy 185 2 Windows Vista The following shows the installation procedure for Windows Vista Windows needs to install driver software for your Unknown Device Locate and install driver software recommended Windows will quide you through the process of installing driver software for your device Ask me again later Windows will ask again the next time you plug in your device or log on Don t show this message again for this device Your device will not function until you install driver software sion to continue If you started this action continue Device driver software installation Microsoft Windows rs I aa Details User Account Control helps stop unauthorized changes to your computer How do you want to
63. G A First edition SH SAFETY PRECAUTIONS Section 5 2 1 6 3 3 6 8 8 4 4 8 4 7 8 4 12 8 12 1 13 1 August 2010 SH NA 080893ENG C Partial correction Section 2 3 5 2 5 2 1 5 2 2 8 4 9 8 4 12 8 11 Appendix 1 Additions Section 8 13 3 September 2010 SH NA 080893ENG D Partial correction TERMS Section 2 3 5 2 1 5 2 2 8 6 5 Appendix 1 Additions Appendix 2 TERMS Section 2 3 5 2 1 Appendix 2 January 2011 SH NA 080893ENG F TERMS Section 1 1 2 1 3 1 8 2 1 8 2 2 8 2 3 8 2 4 8 2 7 8 3 4 8 3 5 8 4 1 8 4 2 8 4 10 8 7 8 8 8 9 8 10 10 1 1 10 1 2 10 3 12 1 12 2 13 1 Appendix 2 Section 3 4 7 4 7 4 1 7 4 2 7 4 3 7 4 4 7 4 5 7 4 6 8 4 11 8 12 13 2 6 The descriptions about the operating environment in Section 2 3 were moved April 2011 SH NA 080893ENG G tek an l to the following files included in the installers For English version software Operating Environment for the QnNUDVCPU amp LCPU Logging Configuration Tool Version 1 English Version BCN P5882 For Chinese version software QnUDVCPUs LCPU ida te CA Version 1 fai Xir BCN P5869 New models of the LCPU have been added Added models LO2ZCPU P L26CPU PBT Section 6 1 6 2 6 5 3 Appendix 2 July 2011 SH NA 080893ENG H Partial correction INTRODUCTION TERMS Section 2 1 2 7 4 6 8 6 3 10 1 1 10 1 2 10 3 10 4 13 1 13 2 4 September 2011 SH NA 080893ENG EEEa SAFETY PRECAUTIONS RELEVANT MANU
64. Go back to step 1 A message dialog box appears advising you to terminate other applications Ensure that no other applications are running Terminate any other application The installation start screen appears Click the button Enter user information and click the button 47 ainpeooid uoiejje su LCG POUJe UOHE E SU CG LCPU Logging Configuration Tool InstallShield Wizard Choose Destination Location Select folder where setup will install files Installshield LCPU Logging Configuration Tool InstallShield Wizard Start Copying Files Review settings before copying files C Installshield 4 To the next page 48 Select the destination folder and click the button Confirm the Current Settings and click the Windows XP screen 9 Software Installation Ad The software you are installing has not passed Windows Logo testing to very its compatibility with Windows sP Tell me why this testing iz important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the software vendor for software that has passed Windows Logo testing Continue Anyway Hardware Installation The software you are installing for this hardware MITSUBISHI Easysocket Driver has not passed Windows
65. HAPTER 10 4 The concept of obtaining the maximum performance from the condition at the time TI Q O 02 3 Problem analysis can be speeded up Trigger logging function The states and changes in data can be stored as the data before and after a trigger Since only the data before and after occurrence of each problem can be stored the cause of the problem can be identified quickly and file space can be saved 2008 1 10 14 25 34 2008 1 10 14 25 34 2008 1 10 14 25 34 2008 1 10 14 25 34 2008 1 10 14 25 34 2008 1 10 14 25 34 2008 1 10 _ 14 25 34 2008 1 10 14 25 34 2008 1 10 14 25 34 2008 1 10_ 14 25 34 2008 1 10_ 14 25 34 2008 1 10 14 25 34 2008 1 10 14 25 34 2008 1 10 14 25 34 2008 1 10_ 14 25 34 2008 1 10 14 25 34 2008 1 10 14 25 34 2008 1 10 14 25 35 Data before trigger Trigger occurred Data after trigger ll Ul p 10 S g ep y Jo ebuey Oo co aio oo on olan oO Solo 5 ps 21 22 4 Configuration for logging is simple Logging settings can be configured easily by following the wizard New QnUDVCPU amp LCPU Logging Configuration Tool Project Edit Online Tool Help NDB AALT a er m QCPU Q Mode Data Logging Setting No 01 7 amp Data Logging Setting Logging type gt Sampling gt Data gt CSV output gt Save gt File transfer gt Movement gt died 01 LOGO1 g Common Setting J g Auto Logging Setting All data req
66. Head Module xH Module Hame jo HIET Network No 1 Station Mo ii IP Address Host Name jo o00 Station Mo lt 21P Information Automatic Response System Other Station eal Connection Channel List Setting No Specification Sunn Shation Other Station Single Network Co existence Network PLC Direct Coupled Setting dnjes Jajsues 9 9 Connection Test Network PLC Type Communication Foute Detail CE IE Cont CCIE Field Ethernet MET 10 H System Image Phone Line Connection C24 Co existence Route CE IE Cont CCIE Field Ethernet Li NET 10 H Cancel Accessing Other Station YIOMJOU e BIA UOND UUOD Z 9 9 Multiple CPU Setting Target System Target l d _ PLE System if 141 142 3 Setting items and buttons Item Description Reference PC side I F Set the interface of the personal computer PLC side I F Set the interface on the CPU module side Other Station Setting a Select this when accessing the LCPU that is directly connected to No Specification 2 the personal computer Select this when accessing a CPU module on another station via a Other Station Single Network a Ing 4 ma single network including a multi layer system Select this when connecting a personal computer and a Q series CPU module and accessing from the CPU module to another CPU module on another station via CC Link or a serial communication module Other Station Co existence Network F
67. ING BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT WARRANTY TORT PRODUCT LIABILITY FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS PRECAUTIONS OR WARNING CONTAINED IN MITSUBISHI S USER INSTRUCTION AND OR SAFETY MANUALS TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT Prohibited Application Prohibited Applications include but not limited to the use of the PRODUCT in e Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT e Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User e Aircraft or Aerospace Medical applications Train equipment transport equipment such as Elevator and Escalator Incineration and Fuel devices Vehicles Manned transportation Equipment for Recreation and Amusement and Safety devices handling of Nuclear or Hazardous Materials or Chemicals Mining and Drilling and or other applications where there is a significant risk of injury to the public or property Notwithstanding the above restrictions Mitsubishi may in its sole discretion authorize use of the PRODUCT in one or more of the Prohibited Applications pr
68. Inserting an SD Memory Card 0 0 0 0 0 02 ccc eee 81 T He CCS Sees oes as are caste Genk cb eee ee EE eensal We a Bie ett Sones Seeks teas 84 7 4 Data Logging File Transfer Function 0 0 0 85 7 4 1 Procedure overview of the data logging file transfer function 0005 86 7 4 2 Directory structure of the FTP server 0 ccc eee eens 87 42 Pilemansier State rsx cud skapan e anaa a e aaa a aa Pa 88 TAA Filettansier ES hienen a a aia dt ee wie TA 91 7 4 5 File transfer diagnostics cade ie waoea ee eases ad tha e 92 7 4 6 Precautions for using the data logging file transfer function 020005 93 FA stack logging fle tansi se edaiwce sresti oe a ee dines hhh tad veel aad des 95 7 4 8 Transfer completing Non completing file distinction indication 005 97 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 98 gi Sewn FOW CHa esaa che aes ae r hae ee Bee CORE aa aeaa at 98 B2 SSCreeN SMUCUG 25 2 anced Uae See tems eee Sa ewe ae A aE EE eee 99 S24 Mainscreen asta t eect oe hue ohne ee See oat oe ale eae fay bs 99 G22 MENU struc sie a cpor se dg hetene es ide dini OS Aih a eee en dade ld aes RR we hem AAEN 100 923 Toolbars Tuce 2x keds tee a eee aie tk mad Ae a ee ee ee 101 S24 Edilen tee iw isnt boivatowhee dd audeas ee edatwulhneteonurdtacadhass uke os 102 8 25 SOLAS bar 2 ace otic ere heane A em deat Etiam aoe am ace ape a ene a ae Berd ete on S
69. MITSUBISHI Mitsubishi Programmable Controller MELSECTALene MELSECL QnUDVCPU LCPU User s Manual Data Logging Function Q03UDVCPU Q04UDVCPU Q06UDVCPU Q13UDVCPU Q26UDVCPU LO2CPU L26CPU P LO2CPU P L26CPU BT LO6CPU L26CPU PBT LO6CPU P L26CPU SAFETY PRECAUTIONS Read these precautions before using this product Before using this product please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly In this manual the safety precautions are classified into two levels A WARNING and N CAUTION WARNING Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions CAUTION resulting in minor or moderate injury or property damage Under some circumstances failure to observe the precautions given under A CAUTION may lead to serious Consequences Observe the precautions of both levels because they are important for personal and system safety Make sure that the end users read this manual and then keep the manual in a safe place for future reference Design Precautions WARNING Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller Failure to do so may r
70. Movement gt Finish b Edit items in data logging setting O Setting required No setting item Logging type aE ee ee ee Page 118 Section 8 4 3 Sampling ses Le Page 119 Section 8 4 4 Data a a a a Page 121 Section 8 4 5 Trigger ee o Page 124 Section 8 4 7 Number of logging lines a o Page 126 Section 8 4 8 CSV output i a i Page 127 Section 8 4 9 Save E fT amp Page 129 Section 8 4 10 File transfer ec ff amp Page 131 Section 8 4 11 Movement ae Page 134 Section 8 4 12 Finish 2s 3 Page 135 Section 8 4 13 uias Bulb6o7 ged 7g u s Hunjes Hulbbo eyep y Jo eabueyuD Z s 117 8 4 3 Logging type Select a logging type gt Page 62 Section 6 3 1 Setting screen First off select a logging type Logging type Select a logging type Continuous logging Logging is carried out continuously at the specified data sampling intervals Interval at which or conditions under which to carry out logging can also be specified O Trigger logging By monitoring data data before and after a condition held true is logged 2 Setting items Item Description Setting range Logging type Continuous logging Select this when performing continuous logging Trigger logging Select this when performing trigger logging 118 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 4 4 Sampling Select a sampling method and specify the sampling interval lt gt Page 56 Section 6
71. O USE THE CONFIGURATION TOOL 2 Setting screen Read Logging Setting from Memory Card SD Read the logging settings directly from the SD memory card Drive to read from Target logging setting data B sp memory card data A Data Logging Setting A No 01 LOG01 Continuous Disable file transfer setting A No 02 LOGO2 Continuous Disable file transfer setting A No 03 LOGO3 Trigger Disable file transfer setting A No 04 LOGO4 Trigger Disable file transfer setting A No 05 LOGOS Continuous Disable file transfer setting A No 06 LOG06 Trigger Disable file transfer setting A Common Setting A Auto Logging Setting Disable Auto Logging Function Setting A Buffer Capacity Setting 3 Setting items Item Description Drive to read from A list of the drives recognized by the personal computer is displayed A list of the data that have been written to the SD memory card is displayed Data Logging Setting and Common Target loggi tti t arget logging setting data Setting are listed yju w peuen fold 8 GS pueo Aow w y wou Buras Bulb6o Buipeay s e g 111 8 3 6 Writing logging setting to the memory card SD Write the currently editing data in a form available for CPU module operation Data are written directly to the SD memory card in the personal computer When the SD memory card is installed into the CPU module logging is started 1 Operating procedure 7 Install
72. Page 137 Section 8 5 1 1 Procedure to use The following is the procedure to use the auto logging function Start Prepare the SD memory card where the auto logging setting is stored Insert the SD memory card into the slot of the running CPU module Data logging automatically starts The SD CARD LED or SD LED turns on Upon completion of auto logging the SD CARD LED or SD LED starts flashing Slide the SD memory card lock switch upward stop the card access and then remove the SD memory card Point A new data logging cannot be started during auto logging operation After completion of auto logging replace the SD memory card where the auto logging settings are stored Otherwise another auto logging cannot be started 2 When data logging registration by the auto logging function failed When multiple data logging settings are registered by the auto logging function if a part of them has failed to be pied Aow w GS ue Bulsesu Ag 6uilb6o7 ony 72 registered all of data logging will not be executed 81 3 Conditions for auto logging completion When one of the following conditions is met the auto logging is terminated The following conditions can be set in combination In that case the auto logging is terminated when either of the conditions is met first Condition Setting Select one from the following Data logging stop e When all data loggings stop e When any of the data logging
73. SCPU P do not support the data logging function RELEVANT MANUALS 1 CPU module user s manual Manual name lt manual number model code gt QCPU User s Manual Hardware Design Maintenance and Inspection lt SH 080483ENG 13JR73 gt MELSEC L CPU Module User s Manual Hardware Design Maintenance and Inspection lt SH 080890ENG 13JZ36 gt QnUCPU User s Manual Function Explanation Program Fundamentals lt SH 080807ENG 13JZ27 gt MELSEC L CPU Module User s Manual Function Explanation Program Fundamentals lt SH 080889ENG 13JZ35 gt QnUCPU User s Manual Communication via Built in Ethernet Port lt SH 080811ENG 13JZ29 gt MELSEC L CPU Module User s Manual Built In Ethernet Function lt SH 080891ENG 13JZ37 gt 2 Programming manual Manual name lt manual number model code gt QCPU LCPU Programming Manual Common Instruction lt SH 080809ENG 13JW10 gt 3 Operating manual Manual name lt manual number model code gt GX Works2 Version 1 Operating Manual Common lt SH 080779ENG 13JU63 gt GX Developer Version 8 Operating Manual lt SH 080373E 13JU41 gt GX LogViewer Version 1 Operating Manual lt SH 080915ENG 13JU68 gt 10 Description Specifications of the CPU modules power supply modules base units extension cables memory cards SD memory cards extended SRAM cassettes and batteries information on how to establish a system maintenance and inspection and troubleshooting
74. SD memory card the data logging is completed snieis Bulb6o7 geq 79 69 6 5 Data Logging File The target data of the data logging are saved in the data logging file 6 5 1 Saving format of the data logging file Data logging files are saved in the CSV format the extension is CSV The CSV file format is a format of the files that can be opened by general applications such as Excel and Notepad For the CSV file output format refer to Page 36 Section 3 3 6 5 2 How sampled data are saved The following shows how sampled data are saved to an SD memory card CPU module SD memory card Device area 1st sampling data 2nd sampling data lt Stack file Saved to SD memory card Collects data of the specified device Y Saved file nth sampling data Data are temporarily stored in a stack file which is changed to a saved file at file switching timing 7 Saved file 1 For the file switching setting refer to gt Page 71 Section 6 5 3 Sampled data are stored in the specified buffer The data in the buffer are saved to the SD memory card at the timing of file saving If all available space of the buffer is used up the old data that have already been saved to the SD memory card will be overwritten in chronological order 70 CHAPTER 6 DATA LOGGING FUNCTION 6 5 3 File switching setting The sampled target data of data logging are temporarily saved in a stack f
75. SP represents space 161 8 14 2 Characters available for file and folder directory names Characters in the shaded area can be used Co o eee po fu or E O n l OES e eee oe 8 14 3 Characters available for the data logging setting In the following cases characters cannot be entered to the data logging setting screen e The input character is not supported as a character code of OS language lex A single byte katakana is entered to the data logging setting created with the configuration tool English version e The language of the character code differs from that of the characters that have been entered to the data logging setting screen Ex Characters unique to Japanese e g single byte katakana and Chinese characters are used together 162 CHAPTER 9 SD MEMORY CARD CHAPTER 9 SD MEMORY CARD For the specifications and part names of SD memory cards refer to the following User s Manual Hardware Design Maintenance and Inspection for the CPU module used 9 1 Precautions for Using SD Memory Cards This section describes the precautions for using SD memory cards 1 Power off or reset of the CPU module while accessing the SD memory card If the CPU module is powered off or reset while the data in the buffer is being stored to the SD memory card the file system of the SD memory card may corrupt In this case the CPU module diagnoses the SD memory card checks the file system and restores data up
76. Setting Mceeleheia e Sampling gt Data gt CSVoutput gt Save gt File transfer gt Movement gt Finish EA Co A 01 LOGO1 EA Common Setting First off select a logging type Logging type Select a logging type Continuous logging Logging is carried out continuously at the specified data sampling intervals Interval at which or conditions under which to carry out logging can also be specified O Trigger logging By monitoring data data before and after a condition held true is logged lt Back Complete Ca QCPU Q Mode bmp No of data loggii 2 Operation buttons Button Description lt Back button Makes the current setting wizard screen return to the previous screen to the left Next gt button Changes the current setting wizard screen to the next screen to the right Determines the current data logging setting and terminates the editing The display returns to the data logging setting list screen Complete button Cancels the current data logging setting and terminates the editing After cancellation the display returns to the data logging Cancel button setting list screen ULE 116 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 3 Display and operation of the wizard a Changing the screen with the and buttons The screen can be switched as illustrated below cole eel Logging type gt Sampling gt CSV output gt Save gt File transfer gt
77. U al Direct connection to serial port Converter cable Ute LCPU Via computer link Configuration tool j RS 232 cable i Converter cable USB or serial Via CC Link G4 pon Converter cable BEEEREGI G4 module Personal computer G4 S3 module QnUDVCPU LCPU Via modem Cable supplied with modem l ates ap Serial communication link Lt la eal or GOT TRIR QnUDVCPU N Modem gt oO 3 E Cable supplied with g EEEEEEHNI wo modem S Modem p g eee QnUDVCPU 3 O O Via GOT g zi 5 yod jenas JO GSN e wo UONDeUUOD Z Z 1 Using a USB cable The following USB cables and adapters have been tested for operation Product Manufacturer ZUM 430 LOAS CO LTD USB M53 ELECOM Co Ltd USB cable USB A type USB miniB type MR J3USBCBL3M Mitsubishi Electric Corporation Mitsubishi Electric System amp Service Co Ltd AUXUBM5 Kokuyo Supply Inc AD USBBFTM5M ELECOM Co Ltd GT09 C30USB 5P USB adapter USB B type USB miniB type Only one CPU module can be connected at the same time The following configurations are not available lt Unavailable configuration gt e Connection from a
78. U module during operation configure an interlock circuit in the program to ensure that the entire system will always operate safely For other controls to a running programmable controller such as program modification or operating status change read relevant manuals carefully and ensure the safety before the operation Especially in the case of a control from an external device to a remote programmable controller immediate action cannot be taken for a problem on the programmable controller due to a communication failure To prevent this configure an interlock circuit in the program and determine corrective actions to be taken between the external device and CPU module in case of a communication failure An absolute position restoration by the positioning function may turn off the servo on signal servo off for approximately 20ms and the motor may run unexpectedly If this causes a problem provide an electromagnetic brake to lock the motor during absolute position restoration O1 lt Design Precautions CAUTION Do not install the control lines or communication cables together with the main circuit lines or power cables Keep a distance of 100mm or more between them Failure to do so may result in malfunction due to noise During control of an inductive load such as a lamp heater or solenoid valve a large current approximately ten times greater than normal may flow when the output is turned from off to on Theref
79. YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
80. a are to be collected at relatively long intervals and at the timing of END processing not during any other program execution lex When 100 milliseconds are specified Time 100 ms 100 ms 100 ms specification lt gt l Program p 5 END 0 cE oi 5 END i PE ENE processing E ae processing Et an processing O em processing T processing i i P A pig A Point Specify a time value larger than the scan time When scan time is longer than the time specified even if more than one sampling timing occur within one scan only one sampling is performed in the END processing b Samples data at the specified time interval Select this when data are to be collected at relatively short intervals and in real time Ex When 5 milliseconds are specified Time specification 5 ms i 5 ms 5 ms i 1 Even if clock data are changed during execution of data logging actual sampling interval will not be changed 3 Each multiple CPU high speed transmission cycle High speed Universal model QCPU only After the 145 interrupt program is executed data are collected at the specified interval ejeq 21e 1 jo Bulj dwes z9 Ex When the interval is set to 3 Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt program program program program program program program execution execution execution execution execution execution execution Ea
81. after data latching e This instruction is valid when When trigger instruction executed is selected for trigger condition e The LOGTRG instruction is ignored in the following cases e An item other than When trigger instruction executed is selected as a trigger condition of the specified data logging setting No e The specified data logging setting No has no configuration e The specified data logging setting No is performing continuous logging e The LOGTRG instruction is executed again without execution of the LOGTRGR instruction 171 172 b LOGTRGR e This instruction resets the LOGTRG instruction of the specified data logging setting No Execution of the LOGTRGR instruction enables the LOGTRG instruction of the specified trigger logging setting No e When this instruction is executed the special relay Data logging end Data logging trigger and After data logging trigger of the data logging setting No n turns off e If this instruction is executed while data in the buffer is being saved to the SD memory card processing of the instruction does not start until completion of the data saving 2 Error In the following case an operation error occurs The error flag SMO turns on and an error code is stored into SDO e When n is other than 1 to 10 Error code 4100 3 Program example In the program shown below when XO turns on the LOGTRG instruction is executed to data logging setting No 1 And when X1 turn
82. age 153 Section 8 10 Seti BeibiKiz RBeR dINJONIJS Jeqjoo 79 INJONJJS U J S ZQ 101 8 2 4 Edit item tree The edit item tree is a tree that presents an overall view of the project setting Programmable SS ie controller series gt GE GPU 0 Mode Setting type _ B E Data Logging Setting item gt 1 01 LOG01 Logging type Sampling Data CSV output detailed Cave setting Items File transfer Movement Hj Oe LOGO OS LOs05 D6 LOG06 E ated bate Pate i Ua J E m C G m E The following operations can be performed with the edit item tree 1 Editing a setting item Selecting an item will display detail items Selecting a detail item will display the corresponding setting screen 2 Adding a setting item 1 Clicking the Data logging setting icon and selecting Add Data Logging Setting from the Edit menu will add a setting item Up to 10 items 2 Whena setting item is added the edit area is switched to that of the added setting item 3 Deleting a setting item Selecting the item to be deleted and then Delete Data Logging Setting from the Edit menu will delete the setting item 4 Copying and adding a setting item Selecting the item to be copied and then Copy and Add Data Logging Setting from the Edit menu will add the copied setting item 102 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 2 5 Status bar Th
83. al column For the accuracy of the clock refer to the following User s Manual Hardware Design Maintenance and Inspection for the CPU module used 10 When a file register is specified When a file register is specified in Device specification in Sampling or Trigger do not change the block numbers and file name of the file register after registration of the data logging Doing so may disable normal collection of logging results 11 Sampled data being saved to an SD memory card If the CPU module is powered off or reset while data in the buffer is being saved to an SD memory card unsaved data will be cleared However data will be saved without being cleared in the following cases e Status change from RUN to STOP e Pause caused by turning off the special relay Data logging start e Stop or pause operation from the configuration tool e Execution of the trigger logging reset instruction LOGTRGR CHAPTER 6 DATA LOGGING FUNCTION 12 Changing clock data Do not change clock data of the CPU module during execution of data logging Doing so will cause incorrect Date column information to be output to the CSV file Even if clock data are changed data are collected at the specified intervals or timing Therefore changed clock data will be output in the Date column of the CSV file 13 Sampling timing when the display unit is attached An error of up to 100us may occur in the sampling timing when the display unit is attached
84. an SD memory card in the personal computer 2 Open the Write Logging Setting into Memory Card SD dialog box W Project lt gt Write Logging Setting into Memory Card SD 3 Select a drive to write into 4 Selecta setting item to write 5 Click the button Point If some data currently exist in the SD memory card before writing the common settings and the setting data with the same setting No will be overwritten Data other than the above will be held in the SD memory card Because of this the data to be written may not match the data written 112 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 2 Setting screen Write Logging Setting into Memory Cardis D Writes the logging settings directly into the SD memory card If auto logging is set to be enabled in the settings logging will start Drive to write into y Target logging setting data Data being edited amp A Data Logging Setting A No 01 LOGO1 Continuous Disable file transfer setting A No 02 LOGO2 Continuous Disable file transfer setting A No 03 LOGO3 Trigger Disable file transfer setting A No 04 LOGO4 Trigger Disable file transfer setting A No 05 LOGO5 Continuous Disable file transfer setting A No 06 LOG06 Trigger Disable file transfer setting 4A Common Setting A auto Logging Setting Disable Auto Logging Function Setting A Buffer Capacity Setting 3 Setting items Item Description Drive to wri
85. ansferred will not be resumed CHAPTER 7 OTHER FUNCTIONS 1 4 7 Stack logging file transfer Check the versions of the CPU module and configuration tool used when using stack logging file transfer L Page 192 Appendix 2 High speed Universal model QCPU cannot be used stack logging file transfer Transfer the untransferred data logging file when switching file due to the network failure by using data logging file transfer function to the FIP server The data logging file made during network failure can be transferred when the network recovered because the order of file transfer is decided Execution of the data logging function Ethernet FTP server Network disconnection MITSUBISHI lt Stored files gt 00000001 CSV transferred file 00000002 CSV transferred file Data logging files that have lt Stored files gt not been transferred to the 00000001 CSV FTP server due to the network 00000002 CSV 00000003 CSV transferred file disconnection 00000003 CSV 00000004 CSV transferred file 00000004 CSV 00000005 CSV transferred file 00000005 CSV 00000006 CSV untransferred file irene 00000007 CSV untransferred file 00000008 CSV untransferred file FTP server
86. are organized as shown below The following page illustrations are for explanation purpose only and are different from the actual pages Instruction name O shows the devices applicable to the instruction Descriptions of setting data and data type Descriptions of control data if any Device ae oa System area oe Execution condition of the instruction Structure of the instruction in the ladder mode Description Pe System Device value is set by Setting side Connection number Setting range 1 to 16 BIN 16 bit the CPU module Start number of the device from which control data are stored Device name Start number of the device which tums on for one scan upon completion of the instruction Bit 0 1 also turns on when failed 2 _ 2 Control data J data Detailed descriptions of the instruction Conditions for the error and error codes For the errors not described in this manual refer to the following User s Manual Hardware Design Maintenance and Inspection for the CPU module used Simple program example s and descriptions of the devices used Completion status is stored 00004 Completed Other than 0000 Failed Error code 3S0719905 dS Uon2eUU0D e uppauuoos ii Vigo UONONJSU VOUN 4 UOHEOWNWWOD Japs FG This instruction closes a connection specified in Disconnection of a connection The result of the SP SOCCLOSE instruction can be checked with the comp
87. aved from the buffer to the SD memory card Therefore the buffer will be full of sampled but non overwritten data that are not yet saved to the SD memory card soon compared when the data logging file transfer function is not used Because data cannot be written from the device area to the buffer data will be missed d When other functions are used applicable to the LCPU only When the following functions are used the data sampling performance of data logging is deteriorated e Project batch save load function e Backup restore function compatible with iQ Sensor Solution Therefore data missing may occur even with the data logging settings with which it did not occur previously Also with a setting with which data missing occurred previously the frequency of data missing may increase Point Once missing occurs it tends to recur afterward The following settings can reduce frequency of missing e Increase the sampling interval gt Page 119 Section 8 4 4 Decrease the number of sampled data lt gt Page 121 Section 8 4 5 e Increase the buffer capacity lt gt Page 138 Section 8 5 2 e Decrease frequency of file switching L gt Page 129 Section 8 4 10 e Cancel the File Transfer setting in the data logging setting lt _ gt Page 131 Section 8 4 11 To consider the processing time taken to data logging refer to Page 165 CHAPTER 10 When sampling cannot be completed within the specified samp
88. b Ports COM Update Driver Software gt 4B Processors Disable gt DP Security Di pa Sound vided p gill System devi b ia Uninstall Scan for hardware changes Properties Type Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut More Actions USB VID_06D34PID_18004REV_0100 USB VID_06D34PID_1800 To the next page APPENDICES The left screen appears Double click Computer Management Right click Unknown device in Device Manager of the operating system Select Update Driver Software If multiple Unknown devices exist therefore cannot be specified right click Unknown device and select Properties A device that indicates USB VID 06D3 amp PID 1800 for a hardware Ids in the lt lt Details gt gt tab on the properties screen is the device that has been updated 189 JOAUG GSN e Burjeisuy xipueddy 7 Select Browse my computer for driver software Search automatically for updated driver software i Windows will search your computer and the Internet for the latest driver software for your device unless you ve disabled this feature in your device installation gt Browse my computer for driver software Locate and install driver software manually 8 The left screen appears Specify the USB driver storage folder Easysocket USBdriv
89. bit device A trigger occurs when the status of the specified device is changed falls from off to on A trigger occurs when the data that match the specified value are Condition change specification When the word device value a written 4 regardless of the current value status of the specified device match or not match with the specified value When data are written to a i A trigger occurs when data are written to the specified device word device ANAVE A trigger occurs any time regardless of the operation status of the 7 specified step When execution condition is A trigger occurs any time but only during operation execution of the ON specified step Step No When execution condition is A trigger occurs only not during operation execution of the specified specification OFF step When execution condition A trigger occurs when the operation nonexecutable status of the rises specified step is changed to the executable status When execution condition A trigger occurs when the operation executable status of the falls specified step is changed to the nonexecutable status A trigger occurs when the trigger logging set instruction LOGTRG is executed meets the specified value Condition specification When trigger instruction executed A tri hen th ial relay Data logging tri i When data logging trigger activated rigger occurs when the special relay Data logging trigger is turned on 1 The following cases are n
90. ble File Transfer Setting LA No 04 LoGo4 Trigger Disable File Transfer Setting of No 05 LOG05 Continuous Disable File Transfer Setting S A Common Setting fA Auto Logging Setting Disable Suto Logging Function Setting 3 Setting items a Data logging setting Setting No data logging name logging type file transfer setting status is displayed in Data Logging Setting b Display of Common setting Display of Common setting differs depending on the target memory e Standard ROM Buffer Capacity Setting only is displayed e SD memory card Buffer Capacity Setting and Auto Logging Setting auto logging setting status are displayed Point Be sure to write the common settings to the CPU module before executing data logging 150 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 9 Delete Logging Setting Data logging setting data in the target memory of the CPU module can be deleted 1 Operating procedure 1 Display the Online Operation Delete Logging Setting screen W Online gt Delete Logging Setting 2 From the Target memory list select the memory where the data to be deleted are stored 3 Select the target data in the Target logging setting data area 4 Click the button Point If a remote password entry screen appears enter the configured password For the remote password refer to the following User s Manual Function Explanation Program Fundamentals for the CPU mod
91. button below Windows XP button Windows Vista Windows 7 or Windows 8 button Although the displayed screen may differ for some operating systems the operation is the same We checked operations Problems never occur after installation Since this window may be displayed behind the other window press and to bring it forward 49 ainpeooid uoiejje su Zs poy UOHE E SU cS 50 LCPU Logging Configuration Tool InstallShield Wizard InstallShield Wizard Complete The InstallShield Wizard has successfully installed LEPU Logging Configuration Tool Click Finish to exit the wizard LCPU Logging Configuration Tool InstallShield Wizard InstallShield Wizard Complete The InstallShield Wizard has successfully installed LEPU Logging Configuration Tool Before you can use the program you must restart pour computer y Compute O No will restart my computer later Remove any disks from their drives and then click Finish to complete setup lt Back Cancel 10 installation is completed Click the button 11 If the left screen is displayed Windows restarted Finish must be CHAPTER 5 START UP OF THE CONFIGURATION TOOL Point When using Windows Vista Windows 7 or Windows 8 the Program Compatibility Assistant screen may be displayed after the installation completion Select This program installed correctly The following screen images are fr
92. by User Operation 2 Setting items ify th i i Operation at tansion to RUN Specify the operation at the time of siatus changa from power on to RUN from reset to RUN or from STOP to RUN after registration of the data logging setting Auto Start Data logging is automatically started Start by User Operation Data logging Saemporarily stopped To restart the data logging the user must perform a specific operation 134 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 4 13 Finish Name the data logging and finish the setting 1 Setting screen All data required for data logging have been collected Press the Complete button to complete setting To reflect the settings to the PLC select Online Write Logging Setting Name the data logging Data logging name Loco To execute logging of the settings the following free space is necessary in the SD memory card Total Size of Output Logging Files 1 MB To execute logging of the settings the following buffer capacity is required Set buffer capacity as needed Required capacity 1 KB Currently set capacity 128 KB Setting Buffer Capacity Ysiuly L vs 2 Setting items Item Description Setting range 32 one byte or 16 two byte characters or less uias Bulb6o7 ged 79 Data logging name 2 Specify a name for the current setting The total size of the logging files output for the setting is displayed The total size can be adjuste
93. cause failure of the module and external device Tighten the terminal block screws within the specified torque range Undertightening can cause short circuit fire or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction When disconnecting the cable from the module do not pull the cable by the cable part For the cable with connector hold the connector part of the cable For the cable connected to the terminal block loosen the terminal screw Pulling the cable connected to the module may result in malfunction or damage to the module or cable Prevent foreign matter such as dust or wire chips from entering the module Such foreign matter can cause a fire failure or malfunction A protective film is attached to the top of the module to prevent foreign matter such as wire chips from entering the module during wiring Do not remove the film during wiring Remove it for heat dissipation before system operation To use the high speed counter function ground the shield cable on the encoder side relay box Failure to do so may cause malfunction Wiring Precautions CAUTION Mitsubishi programmable controllers must be installed in control panels Connect the main power supply to the power supply module in the control panel through a relay terminal block Wiring and replacement of a power supply module must be performed by qualified maintenance personnel with knowledg
94. cessing END i ae es END processing END processing ee a a Data are not sampled because the condition is not met at END processing lt Data are collected only when the status is changed gt Device data are collected only in the END processing of the scan where the specified device condition is changed Select one from the following e When the bit of the bit device rises When the specified device is turned on e When the bit of the bit device falls When the specified device is turned off e When the word device data is changed When the current value of the specified device is changed Ex When the word device data is changed Specified value 1 Specified value 2 58 ns 0 oe oS END sean processing eas processing ae processing oa processing Pe processing Data are not sampled because the status did not change after the previous sampling CHAPTER 6 DATA LOGGING FUNCTION The following devices can be specified as device data conditions Type Description X Y M L F SM V B SB T contact ST contact C contact FX FY BLO S JO X JO Y JO SB Jo e Bit device Bit specification of word device D D extended data register SD W W extended link register SW R ZR FD UO G Jow JO sw U3EO G T current value ST current value C current value D D extended data register SD W W extended link Word davies register SW R Z ZR FD UO G JOW JO sw JOB
95. ch multiple CPU high speed transmission cycle 0 88 ms f 0 88 ms 0 88 ms 0 88 ms 0 88 ms Point Data can be collected only when the following conditions are all met e A multiple CPU high speed main base unit Q30DB is used e The system contains two or more CPU modules multiple CPU system and the use of the multiple CPU high speed transmission function is enabled e The program includes an interrupt pointer 145 e The El instruction is being executed and the interrupt pointer 145 is not masked Of 4 Condition specification Data are collected when the state of the specified device or step meets the specified condition Furthermore if both of a and b are selected an AND condition can be created a Device specification Word device value Program Data are collected when the specified device condition is met in the END processing of each scan lt Data are continuously collected while the condition is satisfied gt While the condition of the specified device is met device data are collected in the END processing of each scan Set the following e When the word device value meets the specified value When the current value of the specified device is the specified value Ex When the word device value meets the specified value Specified value Specified value current value Specified value current value current value et 0 pE p END 0 END ai JE _ ree d F END ee END pro
96. characters L O 1 to 64 ASCII characters alphanumeric characters and special or O 4 Set a directory path on the transfer destination characters Y G Directory Path A double quotation mark asterisk n 3 E E h Q Eg Pag Gr Seon Lane comma period colon semicolon D D angle brackets lt gt question mark and broken vertical bar cannot be used a Specify a data transfer mode of the FTP server Set PORT Mode Normal usually Due to a Windows firewall or other PORT Mode Normal problems if PORT Mode Normal cannot be set for communications PASV Mode between the CPU module and the FTP server specify RASV Mode Whether the CPU module and the transfer destination server are File Transfer Test button 4 normally connected or not is tested 4 For file transfer test FTP Server Connection Request Timeout Time is fixed to 10 seconds Data Transfer Mode 133 8 4 1 2 Movement Specify the operation after the status is switched to RUN in the following cases lt gt Page 80 Section 7 1 e Power OFF gt ON e Reset gt RUN e STOP gt RUN 1 Setting screen Specify logging operation Operation at transition to RUN Specifies operation at transition to RUN in case that the PLC module power source is switched to RUN from ON or by reset operation or the PLC module operation status is switched to RUN from STOP Auto Start Start
97. check boxes below to limit or expand the default search which includes local 3 Cl ick the Browse button paths and removable media The best driver found will be installed C Search removable media floppy CD ROM Include this location in the search x z Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware To the next page 183 JOAUG GSN e Buljyjeisuy xipueddy 4 Select a folder where the USB driver is to be stored Browse For Folder select Easysocket and then USBDrivers and click the button Communication E Compiler E FxOptionDrivers Monitoring ProductDataBase ProductDataBase2 ProjectDataBase ProjectDataBase2 SharedMemory er utility 5 Select MITSUBISHI Easysocket Driver and click the Found New Hardware Wizard Please select the best match for your hardware from the list below button g _ Me MITSUBISHI Easysocket Driver 2 0 0 0 MITSUBISHI ELECTRIC CO cc w MITSUBISHI Easysocket Driver 20 0 0 MITSUBISHI ELECTRIC CO c hwi ea Click the Continue Anyway button Hardware Installation To the next page 184 APPENDICES 7 The left screen appears indicating that USB driver Found New Hardware Wizard installation is completed Completing the
98. client and data logging files in SD memory cards can be transferred to the FTP server L gt Page 85 Section 7 4 Since data logging files can be managed by one FTP server data management and maintenance work can be reduced FTP server LOGO1_ a 00000001 00000001 CSV CSV T Tere rr TT Ta TT TT i E om o o a a e a a a e a E E E I alae S O C pm m mmm m a a I Coe ee ee ee a as gg 00000026 CSV iia 1 on PT ira re 00000026 CSV 00000026 CSV EB Data logging file Data logging file Data logging file TI D Q oma D n SD memory card SD memory card SD memory card Point The data logging file transfer function requires an FTP server For details on the server refer to the manual for the server used 23 1 2 Processing Outline 24 Device values collected from the CPU module are stored in the data logging file in an SD memory card All of the data collected over the specified period can be stored and these data can be analyzed in detail CPU module QnUDVCPU Samples device values of the CPU module Data logging file Data logging 08 00 00 1 72 86 a 08 15 00 2 109
99. ct Coupled Setting button person l a y Ing i Page 139 Section 8 6 1 Checks if an access to the CPU module specified in the Transfer Setup dialog box is possible or not If the access is made properly ic tion Test P 143 Section 8 6 3 eee oes button the model name of the accessed CPU module is displayed in the Spe ma PLC Type box System Image button Displays a graphical image of the configured route 140 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 6 2 Connection via a network The following explains the screen operation 1 Operating procedure 1 Inthe PC side I F area select and double click an interface on the personal computer where the configuration tool is installed 2 Inthe PLC side I F area select and double click an interface on the CPU module side oo In the Other Station Setting area specify the presence or absence of other stations A In the Network Communication Route area configure the settings of the network to be routed for access to another station and click the button The settings differ depending on the network type 2 Setting screen Transfer Setup Connection1 PC side I F aE la CCIE Cont Li i O Series MET II PUE NET10 H d Bus Board Board Board Network Mo 7 Station Mo 1 Protocal TCF lt E ott JB E CC IE Cont CC Link Ethernet CCIE Field CCIE Field Module MET10 H Module Module Master Local Communication Module Module
100. d with CPU module Ethernet Present setting will be lost on selection of new item Do you want bo continue 139 a qeo JOUJaU y JO JSN e ym UOHD9UUOD 1 9 R dnjes Jajsues 9 9 b Transfer Setup dialog box Transfer Setup Connection1 mfi PC side F a aE j i ila CCIE Cont Li Etheme CCIE Field O Series MET II FILE MET 10 H Board Board Bus Board Board Sees BUE CC IE Cont CC Link Ethernet C24 CCIE Field CCIE Field Module MET10 H Module Module Master Local Communication Module Module Head Module HH jacPu Q mode Other Station eo om Connection Channel List Setting aT No Specification Stier al han Station Other Station Single Network Co existence Network PLE Direct Coupled Setting Connection Test Time Out Sec 30 Retry Times jo Comecon Network PLC Type z 5 unication Detail D CCIE Cont CCIE Field Ethernet CC Link C24 MET 10 H System Image jewel D H Route CCIE Cont CCIE Field Ethernet CC Link C24 NET ha cr Cancel Multiple CPU Setting gt Target System Target 4 5 5 5 Target PLC System T Mot Not Specified 3 Operation buttons Displays a list of routes Since a route selected from the list is Connection Channel List button automatically set in the Transfer Setup dialog box the setting is Page 144 Section 8 6 4 easy even in the case of a complex system Enables the setting for directly connecting the CPU module and a PLC Dire
101. d with the items output to CSV files Refer to the calculation formulas gt Page 36 Section 3 3 2 Total Size of Output Logging Files The buffer capacity required for the specified number of logging records is displayed If the size of the current setting exceeds the buffer capacity it is displayed in red Page 70 Section 6 5 Current set capacity The buffer capacity used by the currently editing project is displayed Required capacity The Buffer Capacity Setting dialog box appears Set a buffer capacity for 2 to 4832k byt settings No 1 to No 10 32 to 4832k bytes Buffer Capacity Setting 4 The file size stored to the SD memory card differs according to the SD memory card capacity If the SD memory card Capacity is 1GB or less the file size may differ between the displayed size and the actual size 2 The following characters cannot be entered 1 gt Page 162 Section 8 14 3 e The input character is not supported as a character code of OS language e The language of the character code differs from that of the characters that have been entered to the data logging setting screen 135 8 5 Common Setting Initial settings for using the data logging function are configured Clicking Common Setting on the edit item tree will display the area for the common setting A New QnUDVCPU amp LCPU Logging Configuration Tool Data Logging Setting Common setting consists of auto logging setti
102. der the folder will be deleted b When Stop is selected The operation differs depending on the following timing When the start is instructed from the configuration tool an error message is returned and data logging is not executed Files more than the specified number of saved files When the start is instructed from any other than the configuration tool exist when data logging is started the special relay Data logging error turns on and information on the cause of the error is stored in the special register Data logging error cause Data logging is not executed At start of data logging File switching occurs due to the timing set in the File switching timing setting and because of this the specified number of saved files is reached The data logging is completed and stopped The special relay Data logging completion turns on During execution of data logging Point The number of saved files is calculated with the file numbers as follows when no file is deleted among the saved files of the smallest to the largest numbers Latest file number Oldest file number 1 13 Buijes Hulyoyms aji4 EF 9 l4 Buib6o7 eyeq g g 6 6 Buffer Capacity Buffer capacity means the size of the buffer that is used to temporarily store collected data CPU module SD memory card Specified device data lt Setting 1 gt lt Setting 1 gt Device _ sampling 1st sampling data 1st sampling data area eee a ae 2nd
103. device points x 2 bytes 2 bytes Note that if output of the following column is selected the corresponding amount is increased e Date column 10 bytes e Data sampling interval column 8 bytes e Execution step No column 10 bytes e Execution program name column 8 bytes e Index column 4 bytes Ex Outputting data in all columns as data to be sampled by data logging when 128 points is assigned to one setting Maximum setting 128 x 2 2 10 8 10 8 4 298 bytes 14 CHAPTER 6 DATA LOGGING FUNCTION 6 Data Missing When some of the data to be sampled is not obtained and data are not successively collected this state is called missing 1 Cases of data missing Data missing occurs in the following cases Item Description Processing overflow Processing overflow occurs at the specified sampling interval or timing When Auto Start is set in the Operation at transition to RUN setting the CPU module is set to RUN STOP and RUN again CPU module operation When Auto Start is set in the Operation at transition to RUN setting the CPU module is powered on off and then on When Auto Start is set in the Operation at transition to RUN setting the CPU module is reset Operation by the special relay The special relay Data logging start is turned on off and then on Operation by the configuration tool After sampling pauses by the operation from the configuration tool a start operation is perf
104. e CPU module Page 149 Section 8 8 Delete Logging Setting Deletes the setting in the CPU module Page 149 Section 8 8 Logging Status and Operation Checks the logging status Page 151 Section 8 9 Accesses the CPU module and downloads or deletes a file in the SD memory card Operate Logging File installed in the CPU module Page 153 Section 8 10 Data Logging File Transfer Status Displays transfer status of data logging files Page 158 Section 8 12 Tool Reference Start GX LogViewer Starts the GX LogViewer Page 53 Section 5 3 Help Reference Open Manual Displays the manual Page 160 Section 8 13 1 About Configuration tool Displays the product information of the configuration tool Page 160 Section 8 13 2 100 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 2 3 Toolbar structure The toolbar structure of the configuration tool is as listed below Equivalent menu item Reference Project gt New Page 106 Section 8 3 1 Project gt Open Page 106 Section 8 3 2 Project Save Page 108 Section 8 3 3 Edit Delete data logging setting Page 102 Section 8 2 4 Edit Cut Setting Item Edit Copy Setting Item Page 104 Section 8 2 6 Edit Paste Setting Item Online Write Logging Setting Page 112 Section 8 3 6 Online Read Logging Setting Page 110 Section 8 3 5 Online Logging status and operation Page 151 Section 8 9 Online gt Operate Logging File P
105. e following items are displayed on the status bar 1 Displayed screen The color of the left end of the status bar varies depending on the programmable controller series e High speed Universal model QCPU Light blue OCPU G ModeitHast No of data lagging settings 6 e LCPU Pink LCPUHOSt No of data logging settings 6 2 Displayed items Name Description Cameco The route for connecting to the CPU module is displayed The route set in the Transfer Setup dialog box is displayed The route will be displayed during operation of the configuration tool until another route is specified No of data logging settings The number of data logging settings is indicated Jeq Sn elS G 7 8 BINIONIIS UBBJOS Z s 103 8 2 6 Common operations 1 Adjusting a column width In a table in the advanced settings area of the configuration tool drag the right boundary of the column as illustrated below No Data Logging NameLogging Type Psampling Mo Data Logging Name Lagging Type Sampling 01 Data Logging Settir Continuous Each scan C gt 01 Data Logging Setting Mo 1 Continuous Each scanning cycle 02 Data Logging Setti Continuous Each scan 02 Data Logging Setting No 2 Continuous Each scanning cycle 2 Displaying a tooltip In a table in the advanced settings area of the configuration tool when the mouse pointer is placed on a cell a tooltip appears and displays the entire information in the cell It is useful for confi
106. e i en 173 122 pecial Register kisterne bid dis ar eee ces eho etnke oo hoes bid hee 174 CHAPTER 13 TROUBLESHOOTING 175 13 1 List of the Errors That May Occur in Data Logging 0 0 ccc eee eee eens 175 13 2 Troubleshooting by Symptom n She eae ee eee See ew ba Wels Sea eee 179 13 2 1 Troubleshooting on CSV file output 2 0 00 eee een 179 13 2 2 Troubleshooting on SD memory cards 0 000 ccc cc eet eee ees 179 13 2 3 Troubleshooting on the configuration tool 0 0 00 cc eee eee 180 13 2 4 Troubleshooting on the entire system during operation of the data logging function 180 13 2 5 Troubleshooting on the data logging statuS 0 0 0 ccc eens 182 13 2 6 Troubleshooting on the data logging file transfer function 00 00 e eee ee 182 APPENDICES 183 Appendix 1 Installing a USB Driver aaaeeeaa eeaeee 183 Appendix 2 Added and Changed Functions 0 000 e eee eee 192 INDEX 194 INSTRUCTION INDEX 196 Nie saree aaa etc ch cre ges sear cca aa oa ah cory a a ee are a ele hed ht EA 197 WARRANTY aa atin a eno inane tala se ane als og aaa coe Wy aes ge is Gi asain ease a de ait a a ecto mt of ohn eee en ee tee i A 199 15 MANUAL PAGE ORGANIZATTION In this manual pages are organized and the symbols are used as shown below The following page illustration is for explanation purpose only and is different from the actual pages is used for ss screen names and items
107. e of protection against electric shock For wiring methods refer to the User s Manual Hardware Design Maintenance and Inspection for the CPU module used Startup and Maintenance Precautions WARNING Do not touch any terminal while power is on Doing so will cause electric shock or malfunction Correctly connect the battery connector Do not charge disassemble heat short circuit solder or throw the battery into the fire Also do not expose it to liquid or strong shock Doing so will cause the battery to produce heat explode ignite or leak resulting in injury and fire Shut off the external power supply all phases used in the system before cleaning the module or retightening the terminal block screws connector screws or module fixing screws Failure to do so may result in electric shock or cause the module to fail or malfunction Startup and Maintenance Precautions CAUTION Before performing online operations especially program modification forced output and operating status change for the running CPU module from the peripheral device connected read relevant manuals carefully and ensure the safety Improper operation may damage machines or cause accidents Do not disassemble or modify the modules Doing so may cause failure malfunction injury or a fire Use any radio communication device such as a cellular phone or PHS Personal Handy phone System more than 25cm away in all directions from the
108. e screw and or module resulting in drop short circuit or malfunction When using an extension cable connect it to the extension cable connector of the base unit securely Check the connection for looseness Poor contact may cause incorrect input or output When using an SD memory card fully insert it into the SD memory card slot Check that it is inserted completely Poor contact may cause malfunction Securely insert an extended SRAM cassette into the cassette connector of a CPU module After insertion close the cassette cover to prevent the cassette from coming off Failure to do so may cause malfunction To interconnect modules engage the respective connectors and securely lock the module joint levers until they click Do not directly touch any conductive parts and electronic components of the module Doing so can cause malfunction or failure of the module Securely connect an extension cable to the connectors of a branch module and an extension module After connections check that the cable is inserted completely Poor contact may cause malfunction Wiring Precautions NWARNING Shut off the external power supply all phases used in the system before wiring Failure to do so may result in electric shock or cause the module to fail or malfunction After installation and wiring attach the included terminal cover to the module before turning it on for operation Failure to do so may result in electric shock Wiring
109. e transfer function is enabled or disable Transfer Not transfer g P P is displayed Section 8 4 11 gt o D Auto Start Start by User Page 134 O Movement The data logging setting in the case of transition to RUN is displayed Operation i a 8 4 12 3 E O The total size of the logging files output for each logging setting is Page 135 Q O Log Total MB IZ gging TI utpu gging INg g os displayed Section 8 4 13 gee op Displays the data logging setting area allowing editing of the setting for the selected line When a Paaa did D 2 button blank line is selected a new data logging setting is added If multiple lines are selected they will be g Section 8 4 1 a a masked 7 Point The operations do not depend on the order of the data logging settings By clicking multiple lines while pressing the Len or L snit key these lines can be deleted or replaced all at once 115 8 4 2 Change of the data logging setting screen The data logging setting can be performed by following the wizard The title of each wizard screen is displayed on the bar located on the top of the advanced settings area Configure the settings moving in order from the left tab to the right tab on the bar 1 Setting screen M New Qnl 2 New QnUDVCPU amp LCPU Logging Configuration Tool je wil k lt H b EI J E as g ocu amp OCU Q Mode Data Logging Setting No 01 E Dat amp amp Data Logging
110. ecords that can be collected 2154 421744 for the specified data logging buffer capacity To the next page 176 CHAPTER 13 TROUBLESHOOTING wen Value in special register Timing of i Error response No Data logging error cause occurrence No information 28 Data logging operation was performed during execution of the CPU module e Registration change function with SD memory card backup and restoration e Cancel Reg talon gi a gale logging in Which a device of a nonexistent module or Regisraiion 2174 4043 an inaccessible device was specified was attempted While the data logging function is in operation the logging status is T 42764 43324 execution of an inexecutable function was attempted The SD memory card is write protected Or data logging file writing to the When creating the data logging file the target memory does not have the During execution Executing Saving the logging data Completed Pausing or Error i 5014 required free space During execution 5044 Registration of a data logging was attempted even though file folder Registration 41CD4 creation or access is disabled because the same file folder name already exists is used for the data logging Or the file was not created or accessed in the status of Executing or Saving the logging data The number of files in the root folder and sub folders of the target memory which were created from the configuration tool o
111. ected and written to the SD memory card the trigger logging is completed 4 e Pause operation from the configuration tool e Turning off the special relay data logging start 3 r lt Reading of trigger logging results gt lt Stop of trigger logging gt By the following operation registration of the data logging setting in the CPU module is cancelled Specify a file in the SD memory card and read out the data logging results 4 adA Builb6o07 9 e Stop operation from the configuration tool Bulbbo 26H 7 E 9 C User operation Operation of CPU module 4 Data logging can be resumed by performing the following from the pause status e Start operation from the configuration tool L gt Page 151 Section 8 9 e Turning on the special relay Data logging start 2 Logging data are regarded as being saved until the entire buffer data are saved in the SD memory card 3 For the data logging status refer to gt Page 68 Section 6 4 4 For the the configuration tool refer to lt gt Page 98 CHAPTER 8 75 For the trigger condition refer to lt gt Page 65 Section 6 3 3 63 64 Specify the numbers of records before and after trigger in the following setting gt Page 127 Section 8 4 9 Setting item Description No of records before trigger Specify the volume of the data sampled before trigger as the number of records Specify the volume of the data sampled
112. ee eee 160 8 13 1 Opening the user s manual c se0 4d ca bd bia wea otek bid cid pec lecoy saw 160 8 13 2 Checking the version information 0 0 0 000 c ccc eee eens 160 8 14 Available Characters deck as eadan eset eels Baw ein we bad Bod ete deals belle wes 161 8 14 1 Available ASCII characters 00 een ee ene n nes 161 8 14 2 Characters available for file and folder directory names 0 00 e cee eee 162 8 14 3 Characters available for the data logging setting 0 0 0 c eee ee eee eee 162 CHAPTER 9 SD MEMORY CARD 163 9 1 Precautions for Using SD Memory Cards 20 0000 ee eens 163 CHAPTER 10 PROCESSING TIME 165 10 1 Data Logging Processing Tim 200 6544 355546ec 44eebte0d eel iho bbe de bus 165 10t 1 lt COnURUGUS logon 3 24 3cAdaseudeshet hei deteeialinetardesinh datedweadeg tak 166 10 12 TIGGER logging e nis sake Stern seth bh te R a radon he S Sich Actes GA 168 10 2 Checking the Processing Time 0 eee eee ee 169 10 2 1 Checking the data logging processing time 0 2 0 0 ccc eee ees 169 10 3 Impacton the Scat TMG serere vio eee ea ods ie ee eee ate ee 170 10 4 Processing Time of Each Instruction 0 0 00 0000 eee 170 CHAPTER 11 DATA LOGGING INSTRUCTIONS 171 11 1 Trigger Logging Set Reset LOGTRG R 0 0 0 0 cece eee eee 171 CHAPTER 12 SPECIAL RELAY AND SPECIAL REGISTER 173 121 opeta Relay WIS sis leo a 4 itis 66 het OS etl ae ee I we as Re w
113. eee eee Rhee ad Be eee i Ze SOMWA ia ti54 1b Ga mine bees dee pe ink EER ie hee ati aa ies homes 2 1 2 Connection from a USB or serial port 2 0 ee eee 2 1 3 Connection from an interface board 0 0 ees 22 Connection PreCaullOns 3420 ons Behe tty a aa eee ei ee Seas A ee 2 3 Operating Environment for the Configuration Tool 1 0 0 0 0 cc es CHAPTER 3 SPECIFICATIONS 3 1 FUNCION SDeCIICANONS 31 2 o deeunsonent othe oe nba hoe waned E SOASOE eee eee 32 jJPOlGrSWUCIUIIG 3 228A ois aid Lie Sata ade hae wee Bet Sade dee eee eee a0 CSV FIE OUIDULFOMMNAl lt 32 t66 etedeu tel eecek de ddeeeeceSee ChLaadsaGe ieee bees Jal CSV IOMMAUSDECIICANONS arterna e da egedrn dee ahton kell mati we eed aoe ees 3 3 2 Output details of lines and columnS 0 0 0 0 ccc ee eee ees 3 3 3 Value ranges by output format 20 0 ee ee eens 3 4 Size of Data Logging Setting File 0 eens CHAPTER 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION CHAPTER 5 START UP OF THE CONFIGURATION TOOL 5 1 Getting the Configuration Tool je 2 fee ok nee ek eed be eee ea ee es eee 52 Installation Method 0s 2255 2id26e Snr45e4604 baehor ddd bee co aendtadeber ie esged 52 1 Installation procedure lt tcaceseued haw een cee eieiee eee Shee ee eae tice a aen 522 Uninstallation Procedure sass achat es aed eine dtd te ew os So de ee ee a 5 3 Starting the Configuration TOOL erstens aetan ehe bss teed acemet wee AAD E et
114. een Data before and after trigger condition rises will be logged Specify the numbers of records before and after trigger No of records before trigger 1 Record 0 999999 No of records after trigger Record 1 1000000 Total No of records Record 1 1000000 2 Setting items No of records before ager Set the number of records to be output as data before trigger 0 to 999999 No of records after trigger Set the number of records to be logged after trigger including the trigger 1 to 1000000 Total No of records The total number of records before and after trigger is displayed 126 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 4 9 CSV output Set the details of CSV file output L gt Page 36 Section 3 3 1 Setting screen Set items to be output to a CSV file Date column Device comment output Carry out the logging with a time stamp attached to data Outputs device comments instead of devices in the data column Output date column Set Date Line Format O Output device comments for data column Trigger information column Target memory Data line on which a trigger occurred Set String for Triager is logged after attached with a mark ee ee Output trigger information column Target comment file name Index Outputs index numbers for checking the continuity of logging in the direction of column Comment Output index colurnn Outputs comments on the settings The specif
115. emporarily stopped before completion of auto logging and then restarted the timer is cleared to zero However when a temporary stop is caused by turning off the special relay Data logging start the timer continues running even while the data logging is temporarily stopped 82 4 5 6 CHAPTER 7 OTHER FUNCTIONS Conditions for auto logging inactivation After completion of auto logging the following operation does not start another auto logging e Power OFF gt ON e Reset e STOP RUN Also auto logging does not start even if the following operation is performed with an SD memory card with the auto logging setting inserted e Power OFF gt ON e Reset Operation when the status is changed to RUN When the auto logging function is enabled for multiple data logging settings if the following is performed with a part of data logging completed and then the status is changed to RUN unfinished data loggings only will be started e Power OFF gt ON e Reset When an error occurs When an auto logging error occurs the operation is as follows a Registration failure at start of auto logging When auto logging was not executed due to registration failure at the start of auto logging the operation will be the same as the one performed upon completion of auto logging b Error occurred during auto logging execution Even if an error occurs during auto logging execution and the data logging is stopped it can be r
116. er CPU cannot detect any error To ensure safety operation in such a case provide a safety mechanism or a fail safe circuit external to the programmable controller For a fail safe circuit example refer to the User s Manual Hardware Design Maintenance and Inspection for the CPU module used Outputs may remain on or off due to a failure of a component such as a transistor in an output circuit Configure an external circuit for monitoring output signals that could cause a serious accident In an output circuit when a load current exceeding the rated current or an overcurrent caused by a load short circuit flows for a long time it may cause smoke and fire To prevent this configure an external safety circuit such as a fuse Configure a circuit so that the programmable controller is turned on first and then the external power supply If the external power supply is turned on first an accident may occur due to an incorrect output or malfunction Configure a circuit so that the external power supply is turned off first and then the programmable controller If the programmable controller is turned off first an accident may occur due to an incorrect output or malfunction For the operating status of each station after a communication failure refer to relevant manuals for each network Incorrect output or malfunction due to a communication failure may result in an accident When changing data from a peripheral device connected to the CP
117. erating Manual Joo UoHeINnByUOD ay Bues E G 53 CHAPTER 6 DATA LOGGING FUNCTION The data logging function allows logging of CPU module device values at the specified sampling intervals The logged data are stored on an SD memory card CPU module QnUDVCPU SD memory card Word device Data logging file Bit device CSV format 2009 01 10 10 15 18 2009 01 10 10 15 19 E E 2009 01 10 10 15 20 Trigger logging 4 2009 01 10 10 15 21 when condition s continuously 2009 01 10 10 15 22 is met Sampling interval ES ES Target data 4 For the type of logging refer to Page 62 Section 6 3 2 For the target data refer to Page 55 Section 6 1 A block of the target data which are collected according to the same sampling interval and logging type settings is referred to as a data logging setting Up to 10 data logging settings can be configured with the data logging function L gt Page 114 Section 8 4 04 CHAPTER 6 DATA LOGGING FUNCTION 6 1 Target Data The target data is device memory data in the CPU module which is saved on an SD memory card with time stamp 1 Data type The following data types can be specified for data logging of the device memory Data type Number of device points Data type Number of device points number Doubl isi number Word signed Specified size 2 4 The specified size ranges from 1 to 256 Point The numbe
118. error file transfer will not be performed again A file transfer test cannot be simultaneously executed from multiple configuratin tools Execute a file transfer test after the ongoing test is ended Ina file transfer test FTP Server Connection Request Timeout Time is fixed to 10 seconds 91 S9 JOJSUBI lld Vy uolouny Jajsues l Buib6o7 ged yZ 7 4 5 File transfer diagnostics 92 This function stores file transfer status of the data logging file transfer function 1 File transfer status The transfer status can be checked in the Data Logging File Transfer Status dialog box lt gt Page 158 Section 8 12 W Online lt gt Data Logging File Transfer Status The following lists the transfer status File transfer in the data logging setting is not set Stopped The data logging file transfer function is stopped Retrying The data logging file transfer function is being retried Transferring A file is being transferred by the data logging file transfer function Waiting for transfer A file is on standby for transfer 4 Even if data logging status is Completed or Pausing file transfer status is in Waiting for transfer Point If the CPU module is powered off and on or is reset during file transfer data logging files not yet transferred will not be transferred 2 File transfer error log Error logs can be checked in the File Transfer Error Log dialog bo
119. ers and click Browse for driver software on your computer the button Search for driver software in this location Include subfolders Let me pick from a list of device drivers on my computer This list will show installed driver software compatible with the device and all driver software in the same category as the device 9 The left screen appears Click the button When using Windows 3 select Install this driver Would you like to install this device software Name Easysocket USB Drivers O Oo o software anyway l on the appeared screen T u Always trust software from MITSUBISHI ELECTRIC CORPORATION You should only install driver software from publishers you trust How can I decide which device software is safe to install 4 To the next page 190 APPENDICES 10 The left screen appears Click the button Windows has successfully updated your driver software Windows has finished installing the driver software for this device MITSUBISHI Easysocket Driver 11 MITSUBISHI Easysocket Driver is registered under Universal Serial Bus controllers File KAENA e PRs gt Disk drives gt i Display adapters gt 3 DVD CD ROM drives p p Floppy drive controllers gt c IDE ATA ATAPI controllers gt Jungo gt D Keyboards b A Mice and other pointing devices gt ii Monitors gt P Network adapters 4 gt Other devices ly PCI Serial Port Jy PCI S
120. essage may be displayed when the Find CPU Built in Ethernet port on Network button is clicked Click the button for Windows Vista and click the allow access_ button for Windows 7 or Windows 8 to continue the operation The following screen image is from Windows Vista Mame Publisher Path Network location LCPULUtil MITSUBISHI ELECTRIC CORPORATION C program files melsoftYlut ooulutl exe Public network What are network locations CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 7 Read Logging Setting Data logging setting data can be read out from the target memory of the CPU module 1 Operating procedure 1 Display the Online Operation Read out Logging Setting screen W Online gt Read Logging Setting From the Target memory list select the memory where the data to be read are stored 9 N Select the target data in the Target logging setting data area 4 Click the button Point if some data currently exist in the configuration tool before reading the common settings and the setting data with the same setting No will be overwritten Data other than the above will be held in the configuration tool Because of this the data to be read out may not match the data read out ifa remote password entry screen appears enter the configured password For the remote password refer to the following _ User s Manual Function Explanation Program Fundamentals for the
121. estarted by turning on the special relay Data logging start Because of this the error is not included in the conditions for auto logging completion However when online change is performed during auto logging execution the data logging cannot be restarted although it is also detected as an error Therefore this is included in the conditions for auto logging completion 4 Only when When all data loggings stop is selected 83 pied Aow w GS ue Bulsesuy Ag 6uib6o7 ony ZZ 7 3 File Access The FTP server function allows saving and deletion of data logging files from the SD memory card installed in the CPU module to the personal computer The following commands can be used for access When a file is to be specified use a command for which a folder name can be included Available commands are shown below delete Stores file information in a file dir Displays or changes a file attribute For details on command specification refer to the following QnUCPU User s Manual Built in Ethernet Port Communication MELSEC L CPU Module User s Manual Built In Ethernet Function 84 CHAPTER 7 OTHER FUNCTIONS 7 4 Data Logging File Transfer Function Before using the function check the versions of the CPU module and configuration tool used Page 192 Appendix 2 CHOCCHOHOECEECOOHEEECECOCHOHO EE ECOHHOOEEECOHOHOOCEECOOH HOO EEO OHO ECE OOOO EE EOO This function supports the client function of the FTP File Transfer
122. esult in an accident due to an incorrect output or malfunction 1 Emergency stop circuits protection circuits and protective interlock circuits for conflicting operations such as forward reverse rotations or upper lower limit positioning must be configured external to the programmable controller Machine OPR Original Point Return of the positioning function is controlled by two kinds of data an OPR direction and an OPR speed Deceleration starts when the near point watchdog signal turns on If an incorrect OPR direction is set motion control may continue without deceleration To prevent machine damage caused by this configure an interlock circuit external to the programmable controller When the CPU module detects an error during control by the positioning function the motion slows down and stops Design Precautions WARNING 4 The programmable controller stops its operation upon detection of the following status and the output status of the system will be as shown below Overcurrent or overvoltage protection of Atoutout t d off Ajtoutout i d off the power supply module is activated E RE and pe A A E The CPU module detects an error such as a All outputs are held or turned off i All outputs are turned off watchdog timer error by the self diagnostic function according to the parameter setting All outputs may turn on when an error occurs in the part such as I O control part where the programmable controll
123. etting screen Device Batch Replace ment Earlier devices are looked up and replaced with new ones Any consecutive series of devices can be replaced collectively by specifying a number of points Device to be searched Replacement Device Foints Points Format DEC DEC DEC DEC DEC DEC DEC DEC DEC DEC BINIONIIS UBBJOS Z s 3 Setting items and button u w vejd u Yo eg 229d Z g Item Description Device to be searched Specify the head device of the devices to be replaced Replacement Device Specify the head device of the devices to be set after replacement Points Specify the number of points for the devices to be replaced Points Format Select a display format of the points Decimal or hexadecimal button Executes the device batch replacement 4 Devices that can be set for Sampling Data and Trigger in the data logging setting can be specified 105 8 3 Project Management This section describes the project management 8 3 1 Creating a new project A new project can be created by the following operation TZ Project lt gt New 8 3 2 Opening a project A saved project can be read 1 Operating procedure 1 Open the Open dialog box W Project lt gt Open 2 Select a file name and click the button 2 Setting screen Look in My Documents vi amp F E My Recent Documents Des
124. f the specified step satisfies the specified execution conditions If two or more programs are being executed specify the program name to satisfy the conditions Target program name Step No Execution condition O When trigger instruction executed Trigger conditions met when LOGTRG instruction is executed O When data logging trigger activated Trigger conditions met when the data logging trigger SM device of each setting No turns on 2 Setting items Condition specification Select a trigger condition with a device data value or a step No To the next page 124 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL Item Description Setting range Select this to set a trigger to occur when the condition of the specified device is met Any of the devices listed in Section 6 3 3 1 can be set For bit device PLS When the bit of the bit device rises A trigger occurs when the status of the specified device is changed from off to on Device change specification When the bit of the bit device falls A trigger occurs when the status of the specified device is changed from on to off e For word device e For word device ao Write eeu eine When the word device value meets the specified e For bit device value PLS PLF A trigger occurs when the data that match the specified value are written regardless of the current value status of the specified device match or not match with the spec
125. figuration Tool Click Finish to exit the wizard 52 Click the button for the configuration tool D Start gt Control Panel gt Add or Remove Programs When using Windows Vista Windows 7 or Windows 8 Start gt Control Panel lt gt Uninstall a program When using Windows Vista Windows 7 or Windows 8 If User Account Control is turned ON the message to confirm the activation of the installer is displayed as shown on the left The screen image is from Windows Vista Click the button For Windows 7 or Windows 8 click the button The uninstallation dialog box is displayed Click the button Finish Uninstallation is completed Click the button to close the dialog box CHAPTER 5 START UP OF THE CONFIGURATION TOOL 5 3 Starting the Configuration Tool There are three ways to start the configuration tool e From the Start menu e From the programming tool e From GX LogViewer 1 Start from the Start menu After installing the configuration tool follow the procedure below WO Start lt gt All programs gt MELSOFT Application lt gt Logging function c gt QnUDVCPU amp LCPU Logging Configuration Tool 2 Start from the programming tool After starting the programming tool follow the procedure below W Tool gt Logging Configuration Tool 3 Start from GX LogViewer Refer to the following GX LogViewer Version 1 Op
126. g setting in PLC Parameter occurrence of a timeout error can be avoided For the service processing setting refer to the following T User s Manual Function Explanation Program Fundamentals for the CPU module used Occurrence of a timeout error can be also avoided by starting data loggings in one setting after another Since data logging settings are registered when the status changes from STOP to RUN processing time for the status change may be increased temporarily and this may cause a timeout error e Increase a timeout time value of the external device e Decrease the number of data logging settings The operating status of the CPU module does not change while data in the buffer are being saved to an SD memory card by a specific operation such as changing the status from RUN to STOP and a stop or pause operation from the configuration tool lt _ gt Page 163 Section 9 1 2 e Wait until the data saving is complete Data logging settings are registered when the status changes from STOP to RUN The operating status of the CPU module does not change during registration regardless of the operation e Wait until the registration is complete e Decrease the number of data logging settings Wait until the registration is completed Deleting the unused folders in advance can reduce the time taken for the registration Starting multiple data loggings will temporarily increase the load on the service processing This may s
127. g terminate condition Specify conditions for terminating auto logging If two or more conditions are selected logging will terminate when any of the conditions is met Data logging stop Select when to terminate auto logging operation Timer Terminates logging after a specified period of time has elapsed after logging starts Elapsed time s 1 86400 uias UOWWOD G g Bunjes Bulb6o ony 1 S g 3 Setting items Enable the auto logging function For auto logging using an SD memory card select this e When all data loggings stop e When any of the data logging stops Set whether or not to terminate the auto logging after the specified period of time has elapsed after start of data logging Elapsed time els value for auto logging termination when Complete with timer is E EE Data logging stop Set a condition to terminate auto logging 137 8 5 2 Buffer capacity setting Set buffer capacity that can be used for each setting number L gt Page 74 Section 6 6 1 Operating procedure Perform the following W Common Setting on the edit item tree gt Buffer Capacity Setting 2 Setting screen Set buffer capacity usable for each logging Setting No Buffer Capacity KB Each buffer size can be set within the range of 32KB and 4832KB with an increment of 1KB 128 A total of up to 5120KB can be set 128 128 128 128 128 128 128 128 128 1280 With larger capacity an increased number
128. ge PLC series dialog box T Project gt Change PLC series 2 Select the programmable controller series and click the button 2 Setting screen Change PLC series Specify PLC series PLC series 3 Setting item Item Description PLC series Select QCPU Q Mode for the High speed Universal model QCPU and LCPU for the LCPU 109 SOLOS JO O1 UOD jqewwe eHod e HBulbueyyD y e g yu w peuen p fold 8 8 3 5 Reading logging setting from the memory card SD Read the data logging setting written on the SD memory card in the personal computer 1 Operating procedure 1 Install the SD memory card in the personal computer 2 Open the Read Logging Setting from Memory Card SD dialog box W Project lt gt Read Logging Setting from Memory Card SD 3 Select a drive to read from 4 Selecta setting item to read 5 Click the button Point if some data currently exist in the configuration tool before reading the common settings and the setting data with the same setting No will be overwritten Data other than the above will be held in the configuration tool Because of this the data to be read out may not match the data read out lf the programmable controller series in the setting data on the SD memory card differs from that in the configuration tool the programmable controller series on the SD memory card is replaced with that in the configuration tool 110 CHAPTER 8 HOW T
129. he processing speed of the target data aul Buissedojd Hulbbo eyep y Bulyoauy 1 Z OL Check the following after taking a corrective action e The value in the special register Processing timeout count is 0 e The value in the special register Free buffer space does not drop to near 0 with time Point For the numbers of the special register refer to Page 173 CHAPTER 12 169 10 3 Impact on the Scan Time 1 Using data logging Use the following formula to calculate the increase in scan time in data logging Increase in the scan time KM1 N1 x KM2 N2 x KM3 us e N1 Number of settings e N2 Device points of all internal user devices total points of setting No 1 to No 10 QO3UDVCPU Q04UDVCPU QO6UDVCPU Q13UDVCPU Q26UDVCPU 0 05 L26CPU L26CPU P L26CPU BT L26CPU PBT 47 0 0 29 2 Using the data logging file transfer function The following table shows the maximum increased scan time when the data logging file transfer function is used CPU module Maximum increased scan time us QO3UDVCPU Q04UDVCPU QO6UDVCPU Q13UDVCPU Q26UDVCPU 80 LO2CPU LO2CPU P 630 LO6CPU LO6CPU P L26CPU L26CPU P L26CPU BT L26CPU PBT 360 10 4 Processing Time of Each Instruction The table below shows operation processing time values of the instructions that are explained in this manual L gt Page 171 CHAPTER 11 For details on the concept of processing time refer to the following manual MELSE
130. ie ee eee 103 826 COMMON OperalOnse 4d oc tesc a hatte et aa ee Rte ater tee Soa ole a N 104 8 2 7 Device batch replacement 0 000 000 ce eee teen eee 105 8 3 ProjectManagement 2s 22 porrn hep peaa te ekia beh eee Bente eae wend aoe eee 106 8317 lt Crealing anew projeti earita t ean Sn ee i bn oe ha bee enabled 106 8 32 Opening a Projo 15 dud sh cuted See oednw ia date Utes hee ee kode tems 106 833 rsang apoE sadranan toe Roe aaa See Ie Oey ee SR eee De 108 8 3 4 Changing a programmable controller series 0 0 0 0 0000 cc een 109 8 3 5 Reading logging setting from the memory card SD 0 0 0 cece eee 110 8 3 6 Writing logging setting to the memory card SD 0 000 c cee eee 112 84 Data EOqoging Seting sum ccs ich doe hee eee Ghd ee i eee eh Se ee hee eee 114 8 4 1 Data logging setting list 0 0 0 0 ene eee nen 114 8 4 2 Change of the data logging setting screen 0 2 tees 116 SAS JOGGING Ty D6sc2 heuh en pods a e Lote bbe pod sede Saw AEPA A 118 64 4 SampliiG ioatedvadivchialiincatade kits doeta tuations eat nud She euGaenen 119 CAS E i at EE ected ofl whecl ate ac A dati E E a ee all aa E aa pedi ate sess 121 14 8 4 6 Batchdatainsertion 0 ccc ce ee a aaa ene n eben nneas 123 SAS OJ aeaaeae a a a a a O a a a TOP em neon a OP 124 8 4 8 Number of logging lines unuunu ua unanenn 126 O49 CSV oupike aaa a a a A es A ear A hee ae eS 127 G10 S e oa E A E AE wae E
131. ied comment will be output Data sampling interval at the top of the logging file Outputs data sampling interval time in the direction of column Output comments Output data sampling interval column Comment LOGO1 Execution program name Outputs execution program name from which the data had been sampled in the direction of column Output execution program name Execution step No Outputs step numbers of which the data had been sampled in the direction of column Output execution step No column jndjno ASO 6 r s uias Bulb6o7 ged 79 2 Setting items Item Description Setting range Date column Output date column Information in the date column is output to CSV files The Date line output format dialog box is displayed Set the data line output format For available characters refer to ea Page 160 Section 8 13 Up to 27 one byte characters Set Date Line Format button Trigger information 1 Output trigger information column Trigger information is output The String for Indicating Trigger Occurrence dialog box appears Set a string that is appended to the data line and 32 one byte or 16 two byte characters or less Set String for Trigger button 8 indicates occurrence of a trigger For available characters refer to E Page 160 Section 8 13 To the next page 127 Item Description Setting range Index Output index column Index number
132. ified value Write When data are written to a word device A trigger occurs when data are written to the specified device Set a radix of the condition value for the word device DEC or HEX Val Set diti Decimal 32768 to 32767 R PE wee tee Hexadecimal 04 to FFF Select this to set a trigger to occur when the specified step is executed and the specified condition is met Target program name Enter the program name of the specified step No Eight alphanumeric characters or less Step No Enter a step number of the step set as a trigger 0 to 266240 Always ON Execution condition Set an execution condition OFF PLS PLF Select this to set a trigger to occur when the trigger logging set When trigger instruction executed Saad a i ai instruction in the program is executed Select this to set a trigger to occur when the data logging trigger SM Wh ta logging tri tivat P eA Ing MIJET ACEON device corresponding to each data logging setting No is turned on Step No specification 1 A trigger will also occur in a case other than program execution link refresh transient update a device test conducted from a peripheral device etc 125 Je66uL Z y 8 uias Bulb6o7 ged r g 8 4 8 Number of logging lines When Trigger logging is selected for Logging type set the number of records to be output before and after occurrence of a trigger gt Page 63 Section 6 3 2 1 Setting scr
133. ile in the SD memory card The stack file can be switched to the saved file so that the size of the stack file will not be too large By renaming the stack file it can be switched to a saved file After change of the file name a new stack file is created QnUDVCPU Stack file 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 7 i 18 55 19 68 741 36 0 Device data sampling EROTI E1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 a 7 LOGO1 CSV QnUDVCPU Stack file Saved file 18 55 16 65 725 36 1 18 55 17 66 756 36 0 o 18 55 18 67 723 36 0 fial 18 55 19 68 741 36 0 1 i 18 55 20 69 712 36 1 a COD Device data sampling 8552070724381 18 55 20 71 732 36 1 ws 18 55 20 72 733 NS Aco LZ ay Lead JE zi way aa LOGO01 CSV LOGO01_00000001 CSV The existing stack file is switched to a saved file and a new stack file is created 4 The LCPU adds null data after the sampled target data and stores the data in a stack file When referring to the data in the stack file see the one before the null data 1 File switching timing D O Files are switched at the following timing This setting is available only for continuous logging W o TE C gt Page 129 Section 8 4 10 o n Z T ae o 2 Switching timing Setting range 2 E J When the specified number of records is reached 100 to 65500 records o a D D When the specified file size is reached 10 to 16384
134. iles failed to be received in the UDP communication Transferring files through the TCP communication is recommended An error such as Ethernet Reception of some files failed in communication timeout occurs UDP communication 182 APPENDICES APPENDICES Appendix 1 Installing a USB Driver For USB communication with the CPU module a USB driver needs to be installed This section describes how to install a USB driver on a Windows XP Windows Vista Windows 7 or Windows 8 personal computer Point When multiple USB drivers were installed all the drivers have been stored in the folder where the first installed USB driver was stored This section assumes that the USB driver is to be stored in C Program Files MELSOFT Easysocket USBadrivers 1 Windows XP The following shows the installation procedure for Windows XP 1 Select Install from a list or specific location Found New Hardware Wizard w Welcome to the Found New Advanced and click the button Hardware Wizard This wizard helps you install software for MITSUBISHI Easysocket Driver If your hardware came with an installation CD lt 6 or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended 2 Select Search for the best driver in these apani Ee locations and then Include this location in the Please choose your search and installation options search Use the
135. imple Communications Controller gt Ports COM amp LPT gt B Processors p J Security Devices gt Sound video and game controllers p gill System devices Universal Serial Bus controllers ow J Intel R ICH9 Family USB Universal Host Controller 2934 Intel R ICH9 Family USB Universal Host Controller 2935 Intel R ICH9 Family USB Universal Host Controller 2936 j Intel R ICH9 Family USB Universal Host Controller 2937 Intel R ICH9 Family USB Universal Host Controller 2938 Intel R ICH9 Family USB2 Enhanced Host Controller 293A Intel R ICH9 Family USB2 Enhanced Host Controller 293C MITSUBISHI Easysocket Driver USB Root Hub USB Root Hub USB Root Hub USB Root Hub USB Root Hub USB Root Hub JOAUG GSN e Buryjeisuy 1 xipueddy 191 Appendix 2 Added and Changed Functions Some functions are added to the CPU module and configuration tool The following table lists the serial numbers of the CPU modules and software versions of the configuration tool that support those added functions Serial number first five digits of the Added function CPU module configuration tool QnUDVCPU LCPU Data logging file transfer function 12112 or later 1 10L or later Page 85 Section 7 4 Page 55 Section 6 1 P 56 Section 6 2 CC Link IE Field Network E E A link direct device can be specified as a device targeted 13012 or later 1 15R or later
136. ing tools that include the configuration tool The configuration tool is included in the CD ROM of the following programming tools Applicable versions are as follows Version Relevant CPU module GX Works2 GX Developer High speed Universal model QCPU 1 98C or later Not supported LCPU 1 24A or later 8 89T or later 4 For the configuration tool version which is compatible with the High speed Universal model QCPU refer to Page 192 Appendix 2 Joo uoHesNByUOD y Huey 1 S 45 5 2 Installation Method This section explains how to install and uninstall the configuration tool By installing an installation file the configuration tool can be used Point For Windows 8 NET Framework 3 5 installation is necessary In addition NET Framework 3 5 including NET 2 0 and 3 0 needs to be selected the check box in Turn Windows features on or off in the Control Panel Before installation terminate all other applications running on Windows The installer may not function properly due to automatic start of an update program of the operating system or any other software such as Windows or Java Update Change the setting to disable automatic start of update programs before starting the installation To install the configuration tool log on as an Administrator For the operating environment of the personal computer refer to Page 32 Section 2 3 5 2 1 Installation procedure The installation pr
137. ints x 16 16 points x 64 64 points 128 128 points x 256 128 points x 1280 128 points x 1 setting 1 setting 1 setting 1 setting 2 settings 10 settings QO3UDVCPU QO4UDVCPU QO6UDVCPU 1 0 1 0 2 0 4 0 7 0 40 0 Q13UDVCPU Q26UDVCPU LO2CPU LO6CPU LO6CPU P L26CPU L26CPU P L26CPU BT L26CPU PBT 1 0 2 0 4 0 7 0 14 0 110 0 166 CHAPTER 10 PROCESSING TIME b The data logging file transfer function set Unit ms Device points CPU module 8 8 points x 16 16 points x 64 64 points x 128 128 points x 256 128 points x 1280 128 points x 1 setting 1 setting 1 setting 1 setting 2 settings 10 settings QO3UDVCPU QO04UDVCPU QO6UDVCPU 2 0 2 0 3 0 11 0 62 0 Q13UDVCPU Q26UDVCPU LO2CPU 195 LO6CPU LO6CPU P L26CPU L26CPU P L26CPU BT L26CPU PBT 2 0 2 0 12 0 24 0 180 0 Builb6o snonunuoy 11 OL aul Buisseoo0jg Buib6o7 ezed 1 OL 167 10 1 2 Trigger logging The following shows values of the time required for outputting a total of 200 records before and after a trigger 100 records for each to a file when trigger logging is performed 1 Measurement condition Item Description Scan time 1 0ms Buffer capacity 128 bytes per setting default Sampling Each scanning cycle Data logging setting Data Data Data register D Data type word signed decimal CSV output The Date default output format and Index columns are output SD memory card L1MEM 2GBSD
138. is available only for the High speed Universal model QCPU 3 For additional information refer to lt gt Page 129 Section 8 4 10 34 CHAPTER 3 SPECIFICATIONS 3 2 Folder Structure The following is the folder structure of an SD memory card that is installed in the CPU module When an access is made by the FTP function denotes that it is the root folder directory of the SD memory card 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 1 i esaera Stack file setting No 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 733 LOG01 CSV gt 00000001 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 733 00000001 CSV 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 733 00000002 CSV 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 733 00000003 CSV 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 ssas Stack file setting No 2 18 55 20 ma Wa LOG02 CSV BINJONAS JOPJO4 Z 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18
139. is chapter describes the functions other than the data logging function 7 1 Data Logging Operation at Transition to RUN After registration of a data logging setting logging operation for the following transition to RUN can be specified Setting is available for each of setting No 1 to No 10 L gt Page 134 Section 8 4 12 1 Relevant operations The relevant operations are shown below e Power OFF ON e Reset RUN e STOP RUN 2 Selectable operations Select an operation from the following e Auto Start e Start by User Operation a When Auto Start is selected Data logging is automatically started after the operation listed above Point To start the data logging at the first time the user must perform a specific operation b When Start by User Operation is selected Data logging is temporarily stopped after the operation listed above To restart the data logging the user must perform a specific operation Point When the auto logging function is enabled even if Start by User Operation is set the same operation as Auto Start is performed 80 CHAPTER 7 OTHER FUNCTIONS 7 2 Auto Logging by Inserting an SD Memory Card Writing auto logging settings to an SD memory card and inserting it into a running CPU module will automatically start logging Both of continuous logging and trigger logging are executable Individual setting is not available for each of setting No 1 to No 10 gt
140. istration of a data logging in which Step No is re Nice j i Ooa 410A specified in Sampling or Trigger was attempted Registration While the trigger logging function is in operation with a device specified in 40604 Trigger the logging status is Executing Saving the logging data Completed Pausing or Error registration of a trigger logging was attempted with a device specified in Trigger Writing or deleting data logging settings or data logging registration was 20By 42724 42754 Registration of a data logging was attempted during execution of the 20 sampling trace function e Writing settings 24 e Deleting attempted during execution of auto logging settings e Registration 39 During execution of auto logging a data logging was not registered due to 20D registration failure of another setting No n pedisvallon of a data logging in which an invalid device name was 20E 4030 specified was attempted Registration of a data logging in which an invalid device modification was Je 20Fy 40324 specified was attempted Re registration of the previously registered data logging setting was Registration bane 2114 41C5y attempted However the corresponding file does not exist Data logging registration was attempted to a memory where no common py 427A setting exists 26 Registration of a trigger logging was attempted even though the specified number of records has exceeded the number of r
141. it may take time to save a data logging file and updating of other monitoring results may be delayed when e The data logging file is stored during execution of data logging e A large size data logging file is stored ifa remote password entry screen appears enter the configured password For the remote password refer to the following User s Manual Function Explanation Program Fundamentals for the CPU module used CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 2 Setting screen Logging File Operation QCPU Q Mode Host Size Date modified Loco 4 16 2000 12 34 AM CaLoeoz 4 16 2000 12 34 AM CgLoeos 4 16 2000 12 35 AM CaLoeo4 4 16 2000 12 35 AM CgLoeos 4 16 2000 12 36 AM CgLoeos 4 16 2000 12 38 AM EJLOGOLQLG 1 30 2013 3 10 PM EJLOGD2 QLG 1 30 2013 3 10 PM EF LOGos OLG 1 30 2013 3 10 PM EF LoGo4 OLG 1 30 2013 3 10 PM EJLOGOS QLG 1 30 2013 3 10 PM FE LOG06 OLG 1 30 2013 3 10 PM EF LOGCOM OLG 1 30 2013 3 10 PM Directory 3 Setting item and buttons w oO O j i lt Item Description Move button Llp one level Refresh Save to PC Delete Close button button 4 The path for the current folder directory is displayed Or the path for the destination folder directory is specified Moves to the specified folder directory button Moves to the parent folder directory button Updates the information button Opens the Save As dialog box to save the selected file
142. k bytes J Note that regardless of the setting the file is switched in the following cases e The number of records reached 65500 e The file size reached 16M bytes e By changing the status from RUN to STOP or performing stop operation the data logging paused or stopped e Data logging is started while a stack file exists A number is appended to each file name until the specified number is reached and the files are stored in the SD memory card When the specified number is exceeded old files are deleted and new files are created 11 2 File after switching In renaming a file an eight digit serial number hexadecimal is appended to the original file name The following information can be also added if the number of characters is 48 or less including an extension and periods Type of information Information added Folder name The folder name specified as a location where a stack file of the sampling data is saved Date information in the following format Dat pai Year 4 digits YYYY Month 2 digits MM Day 2 digits DD Time information in the following format ie Hour 2 digits hh Minute 2 digits mm Second 2 digits ss Ex When all of information is added LOG01_20091201_171530 00000001 t T t T Folder name Date Time Number The following shows file names given when saved folders and additional information are not attached to them In each folder of the specified file storage destination up
143. ktop My Documents hy Computer File name My Network Files of type Logging configuration project files Ip Ww 106 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 3 Setting items Item Description Look in Select a folder in which the project file is stored File name Specify the project file name Files of type Select a project file type extension yooloud e Bulusdg Z g yuowapeuen alod g 107 8 3 3 Saving a project Save the currently editing settings to a project file 1 When saving the file a Operating procedure Perform the following W Project lt gt Save 2 When saving the file with a new name a Operating procedure 1 Open the Save as dialog box W Project lt gt Save as 2 Specify the file name and click the button b Setting screen Save jn My Documents vi amp el pF E My Recent Documents Desktop My Documents My Computer My Network Save as type Logging configuration project files Ip kod c Setting items Item Description Save in Select a folder in which the project file is to be stored File name Specify the project file name Save as type Select a type extension of the project file to be stored 108 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 3 4 Changing a programmable controller series Change the programmable controller series of the project being edited 1 Operating procedure 1 Open the Chan
144. l be displayed instead of time data T GX LogViewer Version 1 Operating Manual 5 The following characters cannot be entered lt gt Page 162 Section 8 14 3 e The input character is not supported as a character code of OS language e The language of the character code differs from that of the characters that have been entered to the data logging setting screen 6 The Data line output format field can be set using the following format e Year YYYY in four digit notation and YY for two digit notation e Month MM e Day DD e Hour hh e Minute mm e Second ss e Millisecond ms 3 digit notation or s ss to ssssss or sssssss up to seven digits after the decimal point lEx YY MM DD hh mm ss sss 10 10 13 09 44 35 241 128 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 4 10 Save Set where to save the data logging files and when saved files are to be switched Page 70 Section 6 5 2 1 Setting screen Specify the save destination and switching timing of data logging files Logging file save setting Save destination in the SD memory card Specify the logging file save directory folder name Data will be stored in the following folder LOGGING LOGO1 File name Simple setting The following information can be added to the file name Select the information Folder name Date Time Optional setting The optional information set here can be added to the file name Date and time can also be set
145. le name of the data logging file in the SD memory card can distinguish at first sight whether the file has been transferred to the FTP server lEx File name before the transfer LOG01_00000001 CSV File name after the transfer C_LOGO1_00000001 CSV Point Only a saved file of the data logging function is a target of the character string C_ addition 1 Setting methods Settings for the stack logging file transfer is set by File transfer in data logging settings Page 131 Section 8 4 11 2 Cautions e The saved file name can be set up to 46 characters including the extension and period to add the character string for two characters to the file name by the transfer completion non completion file distinction indication e When an abnormal completion is encountered as the result of an error during file transfer character string C_ does not add it uonoun4 Jajsues afi4 HBulb6o7 ged vZ UONEDIPUI UONOUNSIP l Bunejdwos uoy Hunejdwos Jajsues gY 97 CHAPTER 8 HOWTOUSE THE CONFIGURATION TOOL This chapter describes the setting procedure and operations for data logging 8 1 Setting Flow Chart Follow the flow chart below to configure the settings Conf are ee ti Configure the settings required for data logging onfigure the data logging settings Page 114 Section 8 4 Enable auto logging Configure the auto logging settings L gt Page 137 Section 8 5 1 Is data logging stopped
146. letion device 0 and 1 Completion device 0 Turns on in the END processing of a scan after completion of the SP_SOCCLOSE instruction and tums off in the next END processing Completion device 1 Turns on or off according to the result of the SP SOCCLOSE instruction Tums on in the END processing of a scan after completion of the SP SOCCLOSE instruction and turns off in the next END processing A detection of an operation error tums on the Error flag SM0 and a corresponding error code is stored in SDO when The connection number specified for is other than 1 to 16 Error code 4101 The device numbers specified for amp and exceed the device point range Error code 4101 An invalid device is specified Error code 4004 Program example When M2000 is tumed on or when the connected device disconnects connection No 1 connection No 1 is disconnected by the following program Device used Device number D1282 Open completion signal D1284 Open request signal D200 SP SOCCLOSE instruction control data M200 SP SOCCLOSE instruction completion device Program S012820 SO peg Processing for dscomactan of Comecfon No 1by fie target Magoo 5012820 M210 as SP SOCOLOSE uo KI D Comecton Na 1 dose Mi i J 6 Satfing SP SOCCLOSE fag executing Normal congieton Eror conpation Resetting SPSOCCLOSE executing fag User Device value is set by the user 17 e Instructi
147. ling interval due to execution of an instruction of which processing time is long such as the FMOV instruction it is not regarded as data missing CHAPTER 6 DATA LOGGING FUNCTION 6 8 Precautions for the data logging function This section describes precautions for using the data logging function 1 Exclusive processing a Sampling trace during data logging execution Sampling trace is not executable during data logging execution b Data logging during sampling trace execution Sampling trace continues normally and an error is detected in data logging c Online change during data logging execution When a value is specified for Step No in Sampling or Trigger online change continues normally and an error is detected in data logging d Data logging during online change execution When a value is specified for Step No in Sampling or Trigger online change continues normally and an error is detected in data logging e CPU module change by using an SD memory card during data logging execution CPU module change by using an SD memory card is not executable during data logging execution f Data logging during execution of CPU module change by an SD memory card CPU module change by using an SD memory card continues normally and an error is detected in data logging g PLC memory formatting during data logging execution While sampled data are being saved from the buffer to an SD memory card PLC memor
148. logging again Displays corrective action for the error b Error screen displayed during operation The following is an example of the Result dialog box which appears when an error occurs during operation of the setting data Result Failed to execute logging Refer to the following for the details Operation result Data logging name Logging type Operation LOGOT ae Continuous Normal Indicates that an error LOGOS Trigger Normal LOG04 Trigger Normal has occurred uo eJsado pue sn g amp s Buib6o7 048 Error details Displays a value that will be stored Gode 4277H in the special register or an error Data logging was registered with the number of saved files exceeding the set number response No AA the br A A AAE AA A AA Displays error details Action Execute again after deleting the files in the memory for storing the data logging results or changing the save destination because the set number of saved files has been Displays corrective action exceeded for the error 155 8 11 Logging File Operation 156 Data logging files in the SD memory card can be saved in or deleted from the personal computer 1 Operating procedure 1 Configure the Transfer Setup settings gt Page 139 Section 8 6 2 Open the Logging File Operation dialog box W Online lt gt Operate Logging File 3 Select the target file and execute it Simultaneously executable when multiple files are selected Point
149. logging gt Configure data logging settings and write them to the CPU module standard ROM SD memory card lt Start of data logging gt Start data logging by the start operation from the configuration tool 4 lt Start of data logging file transfer function gt The data logging file transfer function starts when data logging starts lt Data sampling gt The data configured in the configuration tool are collected and saved to an SD memory card Is the file Yes 1 transfer set lt File transfer gt Data logging files are transferred to the FTP server e Standby When a file is saved while other files are being transferred the file enters standby 3 If a file transfer has failed e Transfer data overflow A standby file due to communication error enters the transfer data overflow files are resent retry 9 status when a file with the same setting No as that of the standby file is saved 2 Has the file transfer completed lt Stop of data logging gt By the following operation registration of the data logging setting in the CPU module is cancelled e Stop operation from the configuration tool lt Stop of data logging file transfer function gt The data logging file transfer function stops when the file transfer is completed C User operation C Operation of CPU module 4 Check that the CPU module is connected to the target server using a file transfer tes
150. logging settings was attempted Writing settings Abnormal memory access error other than No 1 to No 4 5 Writing data logging settings to the target memory was not completed While the data logging function is in operation the logging status is 6 Executing Saving the logging data Completed Pausing or Error Registration 4270H data logging registration to a different memory was attempted Bulb6o7 geq ul n990 Ae JEU s10113 34 40 3SIT LE While the data logging function is in operation the logging status is e Writing settings 7 Executing Saving the logging data Completed Pausing or Error e Deleting 42714 writing deleting or registering data logging settings was attempted to settings Common setting or a data logging setting of a registered setting number e Registration e Writing settings Writing or deleting data logging settings or data logging operation was ean 8 settings 413By attempted to a file in access e Registration e Cancel To the next page 175 aE Value in special register Timing of i Error response No Data logging error cause occurrence i No information 9 Data logging registration was attempted to a failed memory Data logging registration was attempted to a failed memory registration was attempted to a failed memory 40214 In registration of the data logging a nonexistent program name was 10 specified w 40224 A program name which exists i
151. low down the communication response causing a timeout error By modifying the service processing setting in PLC Parameter occurrence of a timeout error can be avoided For the service processing setting refer to the following Ra User s Manual Function Explanation Program Fundamentals for the CPU module used 181 uonouns Bulbbo eyep y Jo uoNesedo Buunp was s 117u y UO BuNooussjqnou 7 Z E wojdwAs Aq Burnooussjqnos Ze 13 2 5 Troubleshooting on the data logging status The following are examples of problems on the data logging status and corrective actions Start operation has not been performed from the configuration Perform the start operation from the configuration tool tool The data logging is in the stop status With an error due to a data logging registration failure detected the CPU module was powered off and then on or was reset Perform the start operation from the configuration tool If a data logging error has occurred after the start operation modify the configuration according to the error description 13 2 6 Troubleshooting on the data logging file transfer function The following is an example of a problem on the data logging file transfer function and corrective action Since a load is increased during the Ethernet communication if files are transferred simultaneously with execution of another communication function such as MELSOFT connection and MC protocol by UDP some f
152. module and diagnose the condition of the SD memory card __ Page 163 Section 9 1 1 If the problem is not solved by the above action format the SD memory card The file system on the SD memory card is corrupt wojdwAs Aq Bulooussjqnos Ze When the SD memory card is accessed from a peripheral device such as a personal computer the size of the accessed file is 0 byte Or the file is corrupt and not accessible nd no aj ASO uo Bujooysa qnol pze 179 13 2 3 Troubleshooting on the configuration tool The following is an example of the problem on the configuration tool and its solution The message The following settings cannot be imported because Reading of the logging setting data they are invalid data difference in written by an unsupported version versions or corrupted data is was attempted displayed Action Use the latest version of the configuration tool Ls Page 45 Section 5 1 13 2 4 Troubleshooting on the entire system during operation of the data logging function The following are examples of the system problems that may occur during operation of the data logging function and corrective actions It takes time to complete an access read or write to the SD memory card when the CPU module performs the data logging function Accesses are concentrated to the SD memory card When the drive enabled by a parameter is SD memory card it takes time to start the data link of
153. module to fail or malfunction Before testing the operation by the positioning function set a low speed value for the speed limit parameter so that the operation can be stopped immediately upon occurrence of a hazardous condition Disposal Precautions CAUTION When disposing of this product treat it as industrial waste When disposing of batteries separate them from other wastes according to the local regulations For details on battery regulations in EU member states refer to the User s Manual Hardware Design Maintenance and Inspection for the CPU module used Transportation Precautions CAUTION When transporting lithium batteries follow the transportation regulations For details on the regulated models refer to the User s Manual Hardware Design Maintenance and Inspection for the CPU module used CONDITIONS OF USE FOR THE PRODUCT 1 Mitsubishi programmable controller the PRODUCT shall be used in conditions 2 i where any problem fault or failure occurring in the PRODUCT if any shall not lead to any major or serious accident and ii where the backup and fail safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem fault or failure occurring in the PRODUCT The PRODUCT has been designed and manufactured for the purpose of being used in general industries MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY INCLUD
154. n Operation of CPU module 4 Data logging can be resumed by performing the following from the pause status e Start operation from the configuration tool lt gt Page 151 Section 8 9 e Turning on the special relay Data logging start 2 Logging data are regarded as being saved until the entire buffer data are saved in the SD memory card 3 For the data logging status refer to gt Page 68 Section 6 4 4 For the the configuration tool refer to lt gt Page 98 CHAPTER 8 62 CHAPTER 6 DATA LOGGING FUNCTION 6 3 2 Trigger logging When trigger logging is selected device values of the CPU module before and after a trigger satisfaction of the specified condition are logged for the specified number of records The flow of the trigger logging is shown below lt Preparation for trigger logging gt Configure data logging settings in the configuration tool and write them to the CPU module lt Start of trigger logging gt Start data logging by the start operation from the configuration tool 4 lt Waiting for trigger gt lt Data sampling gt The data configured in the configuration tool are collected and saved to an SD memory i lt Pause of trigger logging gt By the following operation data logging pauses with the data logging settings registered card lt Completion of trigger logging gt When data of the specified number of records are coll
155. n a different connected 5084 device from the one at the time of registration has exceeded the maximum py One of the following was performed while the data logging function is in operation the logging status is Executing Saving the logging data During execution Completed Pausing or Error e The SD memory card was removed e High speed Universal model QCPU The SD memory card lock switch was 5064 31 target memory was not completed due to incorrect folder or file configuration While the saved file number has reached the maximum of FFFFFFFFy registration of a data logging was attempted Or the number reached the maximum of FFFFFFFFy during execution While the data logging function is in operation with a step number specified in Sampling or Trigger the logging status is Executing Saving the logging data Completed Pausing or Error online change was attempted Registration of a data logging was attempted in the state where a sub folder for storing a data logging file or folder cannot be created or in the inaccessible state Or the file was not created or accessed in the status of Executing or Saving the logging data pressed for one second or longer e LCPU The SD memory card lock switch was slid up e The SD memory card was disabled by SM606 SD memory card forced disable instruction i Any time To the next page 41 Request or setting data error Bulb6o7
156. n settings 1 Operating procedure 1 Display the Online Operation Write Logging Setting screen T Online lt gt Write Logging Setting From the Target memory list select the memory where the data are to be written w N Select the target data in the Target logging setting data area 4 Click the button Point if some data currently exist in the CPU module before writing the common settings and the settings with the same No will be overwritten Data other than the above will be held in the CPU module Because of this the data to be written may not match the data written ifa remote password entry screen appears enter the configured password For the remote password refer to the following _ User s Manual Function Explanation Program Fundamentals for the CPU module used The data logging file transfer function cannot be used while the auto logging function is enabled Check that the auto logging function is disabled in advance Buljjes Bul6607 IM 8 8 149 2 Setting screen Write Logging Setting QCPU Q Mode Host Online operation Read logging setting Write logging setting Delete logging setting Target memory Memory Card so Target logging setting data B Data being edited El Data Logging Setting _ LA No 01 LOG01 icontinuous Disable File Transfer Setting ofA No o2 LOGOZ Continuous Disable File Transfer Setting LA No 03 LOGO3 i Trigger Disa
157. n the CPU module but is not registered to the 11 program setting in PLC Parameter was specified in registration of the data 2024 40834 logging In registration of the data logging a nonexistent device number was specified In registration of the data logging a nonexistent step number or any other 13 2044 4088 than the head step number of an instruction was specified Registration of the trigger logging was attempted with the trigger condition s already met Registration 12 pM 40314 14 ee 40644 When the operation in the case of exceeding the number of saved files is set to Stop the data logging registration was attempted even though the nner ot existing saved files lS the specified number or morg Or when the Registation 2074 4277 operation in the case of exceeding the number of saved files is set to Overwrite the data logging registration was attempted even though the number of existing saved files is more than the specified number e Writing settings Writing or deleting data logging settings or data logging operation was e Deleting attempted to a setting that has been already registered settings e Registration While the data logging function is in operation the logging status is Executing Saving the logging data Completed Pausing or Error 209 427B registration of a data logging was attempted to the same destination as the i i currently executing data logging During online change reg
158. n the specified size is output If 0 is included in the data the data after the 0 is not output because it indicates the end of the 1 to 256 bytes string When raw type is specified Data are converted into hexadecimal characters in byte units 2 to 512 bytes and output without any space y The line where a trigger has occurred is output 0 to 32 bytes At the first sampling 0 is stored When the upper limit of the display range is exceeded the value returns to 1 and the time interval measured again is output If any data are missed to be sampled the index value is reset to 1 When the maximum value is exceeded it returns to 1 and is incremented again Characters other than ASCII and Shift JIS code characters double quotation marks are replaced with periods If the sampling coincides with a system operation such as a system interrupt O is output If the sampling coincides with a system operation such as a system interrupt SYSTEM is output When the value to be output is outside the range of 2147483648 0 to 4294967295 0 it is displayed in the format equivalent to exponential representation and 9 fractional digits The size of the Data line is the total of the following commas and semicolons Ex When logging 128 point data in D100 to D227 in the unsigned word type decimal format when the date and time in YYYY MM DD hh mm ss s format data sampling interval execution step N
159. nary coded decimal data BCD 8 digit Eight digit binary coded decimal data Real number Floating point data Character string Character string data Device name Device name data 18 TERMS Unless otherwise specified this manual uses the following terms Term Q series L series CPU module High speed Universal model QCPU QnUDVCPU LCPU Display unit SD memory card Programming tool GX Works2 GX Developer QnUDVCPU amp LCPU Logging Configuration Tool Configuration tool GX LogViewer Windows XP Windows Vista Windows 7 Windows 8 Description The abbreviation for the Mitsubishi programmable controller MELSEC Q series The abbreviation for the Mitsubishi programmable controller MELSEC L series A generic term for the High speed Universal model QCPU and the LCPU A generic term for the QO3UDVCPU QOD4UDVCPU QO6UDVCPU Q13UDVCPU and Q26UDVCPU A generic term for the LO2CPU LO2CPU P LO6CPU LO6CPU P L26CPU L26CPU P L26CPU BT and L26CPU PBT A liquid crystal display to be attached to the LCPU Secure Digital Memory Card which is a flash memory device The L1MEM 2GBSD and L1MEM 4GBSD are available A generic term for GX Works2 and GX Developer The product name of the software package for the MELSEC programmable controllers Software to configure data logging settings and to manage collected data Another term for QQNUDVCPU amp LCPU Logging Configuration Tool Software to display data collected by da
160. ndard ROM configuration files only SD memory Page 54 CHAPTER 6 card e Continuous logging Page 62 Section 6 3 1 e Trigger logging Page 63 Section 6 3 2 e Each scanning cycle e Time specification Data storage location Logging type Sampling interval Data sampling e Each multiple CPU high speed transmission cycle e Condition specification Device specification Step No specification Page 56 Section 6 2 Number of data sampling points Up to 1280 128 points per setting In the Sampling interval setting Device and Step No under Condition specification can be specified in combination AND conjunction Page 62 Section 6 3 1 AND conjuncti conjunction Page 63 Section 6 3 2 e Condition specification Device change specification Step No specification e When trigger instruction executed e When data logging trigger activated Trigger condition In the Trigger setting Device data change and Step No under Condition specification can be specified in combination AND conjunction Tudor buared iane Data of the specified number of records are logged I9 el i before and after a trigger al Number of trigger logging Up to 1000000 records Additional information File number serial number File format CSV file e Bit e Word unsigned e Word signed e Double word unsigned File output Data type e Double word signed e Float single precision e Float double precision e Characte
161. ne STEP NO 2010 1 10 14 25 34 ol olman tt 1234 FF 2010 1 10 14 25 34 60000000 2 main1 2 o 1234 tT 2010 1 10 14 25 34 60000000 15 Mmai1 3 o si Data lin 2010 1 10 14 25 34 100 MAIN ooo oo a ata Ne 2010 1710 14 25 34 60000000 100 Mmain2 5 O 12345678 _FFFF 2010 1 10 14 25 34 eooo0000 t MAIN 6j of 12345678 1 gt 2010 1 10 14 25 34 60000000 OMAN 7 Of 12345679 FFFF 2010 1 10 14 25 34 6ooooooo MAIN 8l of 12345680 afo o o Coo S S S S S T S S es S S i S S S S Date column Data sampling l 4 Data column Trigger Index column information column interval column Execution program name column Execution step No column 36 CHAPTER 3 SPECIFICATIONS Output of the following information can be disabled gt Page 127 Section 8 4 9 e Date and time column e Trigger information column selectable only for trigger logging e Index column e Data sampling interval column e Execution program name column e Execution step No column Comment line 1 File information line Information on the file is displayed File type LOGGING is output 9 bytes File version File version fixed to Q1 for High speed Universal model QCPU or fixed to L1 for LCPU 2 bytes Data type information line i eit Rs Wd yP Line number indicating the Data type information line is entered 1 byte number Data name line number Line number indicating the Data name line is entered 1 byte Data start li
162. ne number Line number indicating the first of the data lines is entered 1 byte Line number indicating the Comment line is entered If the Comment line data are not to Comment line number 0 to 1 byte be output this field is left blank 4 The size of the File information line is the total of the following When outputting a comment 9 File type 2 File version 1 Data type information line number 1 Line No of Data name line number 1 Data start line number 1 Comment line number 5 number of commas 2 CR LF 22 bytes 2 Comment line A comment is displayed Size 0 to 512 bytes A comment set in the configuration tool is output Up to 512 one byte or 256 two byte characters can be output If there is no setting blank space is output Comment 4 The size of the Comment line is the total of the following The size of the characters used for the comment 1 byte for each one byte character 2 bytes for each two byte character 2 CR LF yEWIO Nd no al 4 ASO Ce suwnjoo pue s ulj JO sjlejep nd no Cee 37 3 Data type information line The data type of each column is displayed Data are output in the format of data type additional information Item Data type output Size Additional information output Size A format is output 3 to 34 Ex YYYY MM DD hh mm ss s bytes Dat ling interval AA SARRIEN N TERVAL 8 bytes ii column Execution step No xec
163. ng Configuration Tool InstallShield Wizard InstallShield Wizard Complete Any of the MELSOFT products or other software may not be installed normally Please restart the computer before installing this product 4fter restarting the computer start installing this product again O No I will restart my computer later Remove any disks from their drives and then click Finish to complete setup LCPU Logging Configuration Tool InstallShield Wizard rN Please terminate all applications If applications other than an installer have started installation may not be performed normally Cancel LCPU Logging Configuration Tool InstallShield Wizard Welcome to the InstallShield Wizard for LCPU Logging Configuration Tool The InstallShield Fi Wizard will install LCPU Logging Configuration Tool on your computer To continue click Next WARNING This program is protected by copyright law and international treaties 6 LCPU Logging Configuration Tool InstallShield Wizard Customer Information Please enter information User Name Company Name InstallShield 4 To the next page Next gt CHAPTER 5 START UP OF THE CONFIGURATION TOOL If the MELSOFT or any other software required has not been installed properly the left screen is displayed and the installation cannot continue until Windows is restarted In this case restart Windows and then start the installation again
164. ng No as that of the standby file an orderly manner is saved Point If transfer data overflow frequently occurs the frequency can be reduced by taking the following actions e Increase the sampling interval lt gt Page 119 Section 8 4 4 Decrease the number of sampled data L 7 Page 121 Section 8 4 5 e Decrease frequency of file switching gt Page 129 Section 8 4 10 e Cancel the File Transfer setting in the data logging setting L gt Page 131 Section 8 4 11 If transfer data overflow still frequently occurs even after the above actions are taken settings e g Save and Sampling settings configured for other data logging setting No s should be changed Correct settings for other data logging setting No s of files during transfer processing sn amp s JOJSUBI SII E p Z uolnouny Jajsues l Buib6o7 ged yZ 89 90 4 Retry If data logging file transfer failed due to network failure between the CPU module and the FTP server the data logging file not yet transferred is repeatedly sent until the network returns to normal Standby Transfer failed Data logging setting No 1 Data logging Data logging setting No 3 setting No 2 m m i Data logging file Data logging file Data logging file A ee a i network failure E Wl eeeusocece os ce i i Transferred in l l Last m gt an orderly gt First A communication f il manner error occurs ill Gu it ll A
165. ng and buffer capacity setting B B common Setting Select an item to set from the tree display Auto Logging Setting Buffer Capacity Settir Auto logging setting settings for auto logging to be automatically executed with data logging settings in the SD memory card Buffer capacity setting settings of buffer capacity to be used for logging QCPU Q Mode Host No of data logging settings 0 Common setting consists of the following settings Item Description Reference Auto Logging Setting Configure the settings that are required for the auto logging function Page 137 Section 8 5 1 Buffer Capacity Setting A buffer size used for data logging is assigned to each setting number Page 138 Section 8 5 2 136 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 5 1 Auto logging setting Configure the settings to perform the auto logging gt Page 81 Section 7 2 by inserting an SD memory card 1 Operating procedure Perform the following WO Common Setting on the edit item tree lt gt Auto Logging Setting 2 Setting screen Set for auto logging function O Enable the auto logging function Inserting an SD memory card into the LCPU in RUN state causes the operation to start Save the target data logging settings on the SD memory card before inserting Auto logging function will not operate by logging settings in the standard ROM Logging being operated when the SD memory card is inserted will stop Auto loggin
166. o execution program name and index columns are selected for output 21 date and time 12 data sampling interval 6 execution step No 8 execution program name 10 index 6 x 128 data 132 number of commas 2 CR LF 959 bytes When a CSV file is opened in Excel the date and time column is displayed in the default format of Excel Format the cells if needed Ex To display information of year month day time minute second and millisecond specify the following user defined display format yyyy mm dd hh mm ss 000 CHAPTER 3 SPECIFICATIONS 3 3 3 Value ranges by output format This section describes the value ranges available for each output format 1 Integer type The value range available for each integer type is shown below Output format Upper limit Word unsigned OOS O 65535 Double word unsigned i go 4294967295 Double word signed 2147483647 2 Real number type The value range available for each real number type is shown below Output Negative value Positive value format Lowerlimit f Upperlimit Lowerlimit Upper limit 1 401298E 45 Single peer 3 4028235E 38 real number Double precision real number 1 401298E 45 3 4028235E 38 1 79769313486231570E 308 4 94065645841246544E 324 4 94065645841246544E 324 1 79769313486231570E 308 yEWIO Nd no al 4 ASO Ce yewo nd no Aq sebues enjeA gege 41 3 4 Size of Data Logging Setting File The size of a
167. ocedure is shown below Unless otherwise the setting screen differs depending on the operating system the procedure is explained with Windows XP screens 1 Select Setup exe in the decompressed folder to f amp Disk1_LLUTL E H06 File Edit view Favorites Tools Help start the installer OQ O B PP Search gt Folders Fa Address Q C Documents and Settings Px48770 Desktop Disk1_LLUTL E H06 File and Folder Tasks a CJ Manual g3 Make a new folder Publish this Folder to the Web SUPPORT data1 hdr HDR File 118 KB E2 Share this folder engine32 Other Places 483 KB Desktop My Documents My Computer My Network Places layout BIN File 1 KB setup Configuration Settings 1 KB Details N N EEE ie D setup ibt IBT File Disk1_LLUTL E H06 ae File Folder Date Modified Today January 05 2010 12 50 PM 388 KB 2 When using Windows Vista Windows 7 or Aai A program needs your permission to continue i ae aro If User Account Control is turned ON the message If you started this program continue to confirm the activation of the installer is displayed Setup exe Macrovision Corporation as shown on the left The screen image IS from Y Details Windows Vista Click the User Account Control helps stop unauthorized changes to your computer Wind ows 7 or Wind ows 8 click the button button For 4 To the next page 46 LCPU Loggi
168. ol is displayed 1 Operating procedure Display the About Configuration tool dialog box Help lt gt About Configuration tool 2 Displayed screen About Configuration tool QnUOVCPL amp LEPJ Logging Configuration Tool Version 1 260 COPYRIGHT C 2009 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED Products which have been set up This product is protected by copyright law and international treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maxinurm extension possible under the law 160 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 1 4 Available Characters This section explains characters available for the setting items 8 1 4 1 Available ASCII characters Characters in the shaded area can be used Entry of an invalid character is not possible or causes an error e e Ped ee ee ee a ee E o ow Ell RE eee i a er The table below shows the other characters available for respective settings SJOJOBILUD aIGeEleAy L s ASCII character Logging result Data name line string e Data logging name Data name Data logging e When trigger condition rises setting trigger information column e Comment e Data name line string date column Data line output format date Data logging column setting SIOJOEIEYS OSV SIGEIIEAY L Y 8 File save destination 4
169. om Windows Vista This program might not have installed correctly If this program didn t install correctly try reinstalling using settings that are compatible with this version of Windows aay Program Setup exe i What settings are applied Then restart Windows If Reinstall using recommended settings is selected by mistake Windows XP SP2 compatibility mode is automatically set According to the following procedure cancel the Windows XP SP2 compatibility mode and reinstall the program 1 From Explorer right click the Setup exe to open the properties dialog box 2 Open the Compatibility tab and click the Show settings for allusers button 3 In the Compatibility for all users tab clear the Run this program in compatibility mode for checkbox and click the button 4 Click the button on the setup Properties dialog box i E setup Properties General Compatibility Digital Signatures Details Clear the check box If you have problems with this program and it worked correctly on an earlier version of Windows select the compatibility mode that matches that earlier version fi setup Properties Compatibility mode Compatibility for all users poccecccecccocesecccsocccecesoccseeccsccsocessoccscecoceccscessoccseccoseccscecseeccsecsscesesecssecseg poy UOHE E SU cS If you have problems with this program and it worked correctly on an earlier versi
170. on channel list In the Connection Channel List dialog box a graphic image of each route in the list can be viewed and then a desired one can be selected The route selected in the Connection Channel List dialog box is set in the Transfer Setup dialog box Set any network number and station number according to the access target 1 Displayed screen Connection Channel List 5 Serial Port Access Ethernet other Station via PLO Module Ethernet E List Mode Display All Routes 1 Serial Port PLC Module Connection 2 Seral Port Access Seral Communication other Station via PLC Module 3 Seral Port Access CCIE Control NET 10 H other Station via PLO Module 4 Serial Port Access CC Link other Station via PLC Module 5 Seral Port Access Ethernet other Station via PLC Module 6 Serial Port Access CCIE Field other Station via PLC Module 7 Serial Port Access Seral Communication CC IE Control WET 10 H other Station via PLO Module 8 Seral Port Access Seral Communicatian Ethernet other Station via PLC Module 9 Cenal Pack Seeese Seral Carinceicstion CO IF Field ather Stakan wia PLT badile Update Cancel 2 Setting items Item Description Display All Routes All of supported routes are displayed Display Selected Routes The routes available for the Other Station Setting and Network Communication Route settings are displayed 144 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 6 5 Searching CPU modules on the network CPU
171. on of Windows select the compatibility mode that matches that earlief version np voud uoiejje su Zs Settings Compatibility mode Se ro j 1 i A aL Run this program in compatibility mode fork ic Run in 640 x 480 screen resolution F Disable visual themes Disable desktop composition Settings Disable display scaling on high DPI settings E Run in 256 colors epe E Run in 640 x 480 screen resolution Privilege Level F Disable visual themes Run this program as a inistrator a Disable desktop composition bea Meelis tet aladaas aM Disable display scaling on high DPI settings J Show settings for all users r F Privilege Level Smee eee eee eee eee Ee Flo RO a Run this program as an administrator To install the configuration tool to Windows set the language in the Regional and Language Options dialogue box to the one same as the language of the operating system Otherwise different languages may be displayed mixed or a part of a character string may not be displayed 51 5 2 2 Uninstallation procedure The uninstallation procedure is shown below Unless otherwise the setting screen differs depending on the operating system the procedure is explained with Windows XP screens 1 E Add or Remove Programs Currently installed programs and updates Show updates Sort by Name Change or Remove Programs Sx Simulator
172. on power on or reset Note however that the file system may not be completely restored depending on the corruption The following processing time is required to diagnose the SD memory card if 10000 files are stored in it 12 e L1MEM 2GBSD approximately 5 seconds e L1MEM 4GBSD approximately 13 seconds 4 The time for diagnosis is longer as the number of files in the SD memory card increases 2 When an external communication device is connected to the CPU module if they are simultaneously activated a communication timeout may occur on the external communication device side 2 Time for saving data to an SD memory card before data logging stop or pause Data logging is stopped or temporarily stopped after all the collected data are saved in the SD memory card For this reason it takes time for the actual data logging operation to stop or pause after a stop or pause operation is performed When a small value is set for Number of records or File size in File switch timing it takes longer time For operations associated with the above data saving to an SD memory card refer to gt Page 78 Section 6 8 11 Point The operating status of the CPU module does not change during data saving to an SD memory card spen Aiowsl GS BuisnN 104 SuolINnedaldq 4 6 163 Memo 164 CHAPTER 10 PROCESSING TIME CHAPTER 10 PROCESSING TIME This chapter describes the processing time required for data logging 10 1
173. onfiguration Tool A Cannot start logging because data logging file is being transferred to FTP serwer Do you want to stop Transferring File and start logging Clicking Yes will stop transferring data logging files Files not yet completely transferred may remain on the FTP server Standby data logging files including files during retry processing will no longer be on standby and an error will occur Data logging file that results in a file transfer error If an error caused by communication error file access error or file transfer stop error occurs during file transfer data logging files not yet completely transferred may remain on the FTP server Since unreliable the logging files should not be referred to Data logging files in file transfer error can be checked in the File Transfer Error Log dialog box Latch clear during data logging file transfer lf latch clear is executed during data logging file transfer data logging status will be unregistered The operation will be in the same status when the data logging stop operation is performed Powering off and on or resetting the CPU module during data logging file transfer If the CPU module is powered off and on or is reset during data logging file transfer data logging files not yet completely transferred may remain on the FTP server Note that transfer of a standby data logging file including a file that were in retry process and a data logging file that was being tr
174. ons can be executed under the ee conditions Anytime Anytime On the rising edge During off On the falling edge pem o R Execution condition Symbol e The following devices can be used Internal device Link direct device Intelligent EN File function module x F Setting data system user Aena register Constant Others register device UO GO x Y M L Cc P I J U Applicable yee JO w DX DY N ii SM F B SB aie UO GoO Z K H E TT FX FY ne BL S V 4 For details on each device refer to the following Zn User s Manual Function Explanation Program Fundamentals for the CPU module used 2 FX and FY can be used for bit data only and FD for word data only 3 When T ST and C are used in an instruction other than the following they are used as word devices Instructions that T ST and C are used as bit devices LD LDI AND ANI OR ORI LDP LDF ANDP ANDF ORP ORF OUT and RST 4 These devices can be used in the CC Link IE field network CC Link IE controller network MELSECNET H and MELSECNET 10 5 In the Constant and Other columns a device s that can be set for each instruction is shown e The following data types can be used Data type Description Bit Bit data or the start number of bit data BIN 16 bit 16 bit binary data or the start number of word device BIN 32 bit 32 bit binary data or the start number of double word device BCD 4 digit Four digit bi
175. operation to be performed when the number of saved files is exceeded exceeded Files with lower numbers are deleted and logging continues Data logging is stopped when the specified number of files is exceeded File switching timing Specify the timing of switching to a new file E ey the timing of file Switening with the number of records The file is switched when the 100 to 65500 specified number of records is exceeded Speclly the timing of file switching with the file size The file is switched when the specified file 10 to 16384 size is exceeded 4 Files may be switched at any other than the specified timing lt Page 71 Section 6 5 3 1 2 Before using this setting check the versions of the CPU module and configuration tool used lt _ gt Page 192 Appendix 2 3 This setting can be set up to 48 half width characters including the extension and period However the number of settable characters decreases for the following e When transfer completion non completion file distinction indication is used up to 46 half width characters can be set two half width characters decrease e When double quotation marks are used to set up character strings for the number of double quotation marks used decreases Also English letters figures and symbols other than special symbols below can be used space 1 3 lt gt s 4 Date and time can be added by using the following character st
176. or an access to another station via a network select a network type Network Communication Route and specify the network No and station No and head I O The settings differ depending on the network type Display a list of routes Since a route selected from the list is Connection Channel List button automatically set in the Transfer Setup dialog box the setting is Page 144 Section 8 6 4 easy even in the case of a complex system Enables the setting for directly connecting the CPU module and a PLC Direct Coupled Setting button perso al aai y g Page 139 Section 8 6 1 Checks if an access to the CPU module specified in the Transfer Setup dialog box is possible or not If the access is made properly i P 143 Section 8 6 3 Comenges button the model name of the accessed CPU module is displayed in the oe ee PLC Type box System Image button Displays a graphical image of the configured route CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 6 3 Connection test Check whether connection is available or not on the route set in the Transfer Setup dialog box 1 Operating procedure 1 Seta route in the Transfer Setup dialog box and click the Connection Test button 2 When the connection is successfully established the following message is displayed MELSOFT Application J iI Successfully connected with the QO6UDYCPU JS UONDBUUOD 9 9 dnjes Jajsues 9 9 143 8 6 4 Connecti
177. or connection refer to Page 27 Section 2 1 2 or lt Page 30 Section 2 1 3 Point For connection to the CPU module refer to lt gt Page 31 Section 2 2 25 2 1 1 Software The following software can be used for data logging For information on how to get and start it refer to Page 45 CHAPTER 5 Name Description QnUDVCPU amp LCPU Logging ft i f ta loggi fi ti i Configuration Tool Software designed for data logging configuration and maintenance GX LogViewer Software used for displaying the data collected by data logging Point Some project files created or data logging settings configured by a new version of the configuration tool may not be read by the older version Use the latest version of the configuration tool L gt Page 45 Section 5 1 GX LogViewer is not an indispensable tool for executing the data logging function Use it for graphical display of logged data This manual does not contain descriptions of GX LogViewer unless otherwise required For details on GX LogViewer refer to the following GX LogViewer Version 1 Operating Manual 26 CHAPTER 2 SYSTEM CONFIGURATION 2 1 2 Connection from a USB or serial port The figure below shows configurations of the systems that are connectable through the USB or serial port of a personal computer USB communication a ied Ll i Ole j QC30R2 l QnUDVCPU LCP
178. ore use a module that has a sufficient current rating After the CPU module is powered on or is reset the time taken to enter the RUN status varies depending on the system configuration parameter settings and or program size Design circuits so that the entire system will always operate safely regardless of the time Installation Precautions WARNING Shut off the external power supply all phases used in the system before mounting or removing a module Failure to do so may result in electric shock or cause the module to fail or malfunction Installation Precautions NCAUTION Use the programmable controller in an environment that meets the general specifications in the User s Manual Hardware Design Maintenance and Inspection for the CPU module used Failure to do so may result in electric shock fire malfunction or damage to or deterioration of the product To mount the module while pressing the module mounting lever in the lower part of the module fully insert the module fixing projection s into the hole s in the base unit and press the module until it snaps into place Incorrect interconnection may cause malfunction failure or drop of the module When using the programmable controller in an environment of frequent vibrations fix the module with a screw Tighten the screws within the specified torque range Undertightening can cause drop of the screw short circuit or malfunction Overtightening can damage th
179. ormed 2 Missing due to processing overflow If data sampling is performed at short intervals and processing is not completed within the interval data writing from devices to the buffer is not possible resulting in missing of sampled data The following two factors cause processing to overflow CPU module SD memory card Specified device data Device sampling i 1st sampling data ii 2nd sampling data Stack file Bussi eed 29 a Missing caused by short sampling interval or too i b Missing caused by Saved file frequent file switching Saved file a The data sampling interval is too short or Too many data are to be sampled If the speed of saving data in the buffer exceeds that of saving data to the SD memory card the buffer will be full of sampled but non overwritten data that are not yet saved to the SD memory card Because data cannot be written from the device area to the buffer data will be missed b File switching occurs frequently During file switching data are not saved from the buffer to the SD memory card If file switching occurs frequently the buffer will be full of sampled but non overwritten data that are not yet saved to the SD memory card Because data cannot be written from the device area to the buffer data missing will occur 19 76 c When the data logging file transfer function is used During file transfer by the data logging file transfer function data are not s
180. ot regarded as trigger conditions D OD e When a trigger condition is met again after occurrence of the trigger A e When a trigger condition is met with no data sampling performed a 2 A trigger will also occur in a case other than program execution link refresh transient update a device test conducted oS E i from a peripheral device etc T Q x lt OD 2a 4 zi gt 65 66 1 Condition specification A trigger occurs when the state of the specified device or step meets the specified condition a Condition change specification A trigger occurs when the specified device condition is met Select one from the following e When the bit of the bit device rises When the specified device is turned on e When the bit of the bit device falls When the specified device is turned off e When the word device value meets the specified value A trigger occurs when the data that match the specified value are written regardless of the current value status of the specified device match or not match with the specified value e When data are written to a word device When data are written to the specified device The following devices can be specified as trigger conditions Type Description ks X Y M L F SM V B SB T contact 1 ST contact C contact 1 FX FY Bit device Bit specification of word device D D extended data register SD W W extended link register SW R ZR FD T current value ST current value
181. ovided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail safe redundant or other safety features which exceed the general specifications of the PRODUCTs are required For details please contact the Mitsubishi representative in your region INTRODUCTION Thank you for purchasing the Mitsubishi MELSEC Q or L series programmable controllers This manual describes the data logging function of the High speed Universal model QCPU and the LCPU It also describes the configuration tool for data logging Before using this product please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC Q or L series programmable controller to handle the product correctly When applying the program examples introduced in this manual to the actual system ensure the applicability and confirm that it will not cause system control problems E Relevant CPU modules CPU module Type name High speed Universal model QCPU QO3UDVCPU Q04UDVCPU QO6UDVCPU Q13UDVCPU Q26UDVCPU LO2CPU LO2CPU P LO6CPU LO6CPU P L26CPU L26CPU P L26CPU BT L26CPU PBT LCPU This manual does not describe the details of the error codes special relay SM and special register SD T User s Manual Hardware Design Maintenance and Inspection for the CPU module used The LO2SCPU and LO2
182. personal computer with multiple USB ports to multiple LCPUs USB cable Fi Use cabh QnUDVCPU E QnUDVCPU i Personal computer e Connection to multiple LCPUs via a USB hub a USB USB cable _ E fe USB o bie QnUDVCPU LCPU Personal computer a Ejj QnUDVCPU Point When connecting a personal computer to the CPU module with a USB RS 232 conversion cable confirm the COM port number For the confirmation method refer to the manual for the cable 28 CHAPTER 2 SYSTEM CONFIGURATION 2 Using an RS 232 cable The following RS 232 cable has been tested for operation Model Manufacturer QC30R2 for D sub 9 pin connector on personal computer i Mitsubishi Electric Corporation Point For high speed communication transmission speed 115 2 57 6kbps use a personal computer that supports high speed communication If a communication error has occurred lower the transmission speed setting and retry the communication 3 Access through a GOT The transparent function of a GOT allows an access to the CPU module through the GOT For details refer to the following GOT1000 Series Connection Manual 29 yod jenas JO GSN e wo UONDEUUOD Z Z UOI eINBYUOD WaSAS EJOAC Z 2 1 3 Connection from an interface board The following figure shows configu
183. programmable controller Failure to do so may cause malfunction Shut off the external power supply all phases used in the system before mounting or removing a module Failure to do so may cause the module to fail or malfunction Tighten the terminal block screws within the specified torque range Undertightening can cause drop of the component or wire short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction After the first use of the product module display unit and terminal block do not connect disconnect the product do not mount remove the module to from the base unit and do not insert remove the extended SRAM cassette to from the CPU module more than 50 times in accordance with IEC 61131 2 Exceeding the limit may result in malfunction After the first use of the product do not insert remove the SD memory card to from the CPU module more than 500 times Exceeding the limit may cause malfunction Startup and Maintenance Precautions CAUTION Do not drop or apply shock to the battery to be installed in the module Doing so may damage the battery causing the battery fluid to leak inside the battery If the battery is dropped or any shock is applied to it dispose of it without using Before handling the module touch a conducting object such as a grounded metal to discharge the Static electricity from the human body Failure to do so may cause the
184. r if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or struct
185. r of points is calculated for each setting No and the total number of points is used Ex In the following case the total number of points is eight e Setting No 1 Data type String specified size 1 gt 1 point e Setting No 2 Data type String specified size 5 gt 3 points e Setting No 3 Data type Double precision real number gt 4 points 2 Devices available for sampling The following lists the devices whose data can be specified as sampling data Type Description gt _ ie Q D ms a O D mr D X DX Y DY M L F SM V B SB T contact T coil 4 ST contact ST coil C contact 3 C coil FX FY BLO S JO X S JO Y JO SB JO B Bit device Bit specification of word device D D extended data register SD W W extended link register SW R ZR FD UO G JO W JO sw U3ED G T current value ST current value C current value D D extended data register SD W W extended link Word device register SW R Z ZR FD UD G JOW JO SW U3ED G Digit specification of bit device X Y M L F SM V B SB BLDO S JO X JO Y JO SB JOB 4 The built in I O function does not support the UL G specification 2 Digit specification of bit device is available only for K1 to K8 73 T contact ST contact and C contact are specified with TS SS and CS respectively 4 T coil ST coil and C coil are specified wi
186. r string 1 to 256 characters e Numeric string 1 to 256 bytes Decimal format Hexadecimal format e Exponential format AND conjunction Page 63 Section 6 3 2 Data processing Page 65 Section 6 3 3 Trigger logging Page 36 Section 3 3 Data output format CSV file To the next page 33 suoneoyiosds uonoun4 p e Item Specifications Reference i tput 0 0 andling of outpu File switching e File size essen files Number of saved files 1 to 65535 Specify the operation at the time of status change from power on to RUN from reset to RUN or from STOP to RUN after Page 80 Section 7 1 registration of the data logging setting By inserti SD d to which data loggi Auto logging by inserting an SD memory card y T eee na ae jade ogging Page 81 Section 7 2 er settings have been written data logging automatically starts thers The FTP server function allows saving and deletion of data File access logging files from an SD memory card installed in the CPU Page 84 Section 7 3 Data logging operation at transition to RUN module to a personal computer D ina fil ari BEE Data logging files can be transferred from the CPU module to Page 85 Section 7 4 ata logging file transfer function the FTP server on LAN g i 4 Before using the data logging file transfer function with the LCPU check the versions of the CPU module and configuration tool used Page 192 Appendix 2 2 The setting
187. r the same setting number however simultaneous execution by multiple routes is not allowed Execution of data logging Once data logging is started it can be executed only with the memory where the setting file of the currently executing data logging is stored A data logging setting file stored in a different memory cannot be used Start operation after stop of trigger logging When data logging is restarted after stop or temporary stop of data logging before completing trigger logging data are collected from the initial status before the trigger When data logging registration failed If a part of multiple data logging settings fails to be registered successfully registered data loggings only will be executed Note that however registration by auto logging is different in operation Page 81 Section 7 2 2 Sampling interval setting in Sampling When Time specification is set for the sampling interval in Sampling sampling is executed as interrupt processing Therefore scan time will be extended and a watchdog timer error may occur in the following cases e Short sampling interval and many data logging executions per scan e Large volume of data to be sampled and long data logging processing time Checking the sampling interval Depending on the accuracy of the clock some errors may be observed in the information output to the Date column Check the sampling intervals with the information output to the Sampling interv
188. r to the following User s Manual Hardware Design Maintenance and Inspection for the CPU module used This chapter provides only the list of the errors that may occur in data logging 13 1 List of the Errors That May Occur in Data Logging lf an error occurs in data logging a diagnostic error will not be reported Instead the special relay Data logging error turns on and a value indicating the cause of the error is stored in the special register Data logging error cause For information on Registration and Cancel in the Timing of occurrence column refer to gt Page 68 Section 6 4 ane Value in special register Timing of Error response No Data logging error cause occurrence i No information Writing or registration was attempted to the SD memory card in one of the Writing settings a ee 41FEy following conditions e An SD memory card was not installed 1 LCPU An SD memory card was installed but the SD memory card lock switch was not slid down Registration 2084 41FEy e The SD memory card was disabled by SM606 SD memory card forced disable instruction b Writing or registering data logging settings was attempted to a failed Writing settings Pe 4123 H e Writing settings e Deleting 41DFy settings With the SD memory card write protected writing or deleting data logging settings was attempted to it 4 Although the target memory does not have enough free space writing data A1CE
189. rations of the systems in each of which the personal computer is connected to a CPU module using an interface board installed in the personal computer For applications and installation methods of the interface boards and driver installation refer to the relevant interface board manual CC Link Ver 1 board Another station Another station OUUU OUUU Driver i PERE EEEEE SW4DNF CCLINK B f or Ta A80BD J61BT11 A80BD J61BT13 QnUDVCPU LCPU CC Link Ver 2 board Another station Another station beds arta SAN Pee cs computer i j SW1DNC CCBD2 B K A l Ethernet board Another station Another station Driver l z i A driver which is supplied p sWnnnnna KSN T with a commercially available or ia A board which is built in the Ethernet board vi ee personal computer or QnUDVCPU LCPU commercially available Point TCP connection is recommended when devices are connected on Ethernet For Ethernet direct connection or UDP connection it takes time to process the following e Opening the screen of the configuration tool Handling a logging file Page 156 Section 8 11 For specifications of Ethernet communication refer to the following QnUCPU User s Manual Built in Ethernet Function MELSEC L CPU Module User s Manual Built In Ethernet Function 30 CHAPTER 2 SYSTEM
190. responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 199 Microsoft Windows Windows Vista Windows NT Windows XP Windows Server Visio Excel PowerPoint Visual Basic Visual C and Access are either registered trademarks or trademarks of Microsoft Corporation in the United States Japan and other countries Intel Pentium and Celeron are trademarks of Intel Corporation in the United States and other countries Ethernet is a registered trademark of Xerox Corp The SD and SDHC logos are either registered trademarks or trademarks of SD 3C LLC All other company names and product names used in this manual are either trademarks or registered trademarks of their respective companies 200 SH NA 080893ENG L QnUDVCPU LCPU User s Manual Data Logging Function LCPU U DL E 134236 SH NA 080893ENG L 1310 MEE a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14
191. rings with an optional format e Year YYYY in four digit notation and YY in two digit notation e Month MM e Day DD e Day of week ddd Sunday Sun Monday Mon Tuesday Tue Wednesday Wed Thursday Thu Friday Fri Saturday Sat e Hour hh e Minute mm e Second ss Ex For 9 30 and 15 seconds Friday July 5 2013 YYYYMMDDdddhhmmss 20130705Fri093015_00000001 csv If the character string is used as is not used above format optional character strings can be added by surrounding the target character string with double quotation marks Ex When address is added to the file name address address 00000001 csv 130 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 4 11 File transfer Configure settings that are required for performing the data logging file transfer function gt Page 85 Section 7 4 1 Setting screen Data logging files can be transferred to the FTP server Data logging files can be transferred to the specified FTP server at the file switching timing Transferring files to the FTP server If the auto logging function is enabled this function cannot be used Server Setting Transfer Destination Server Setting List Login User Name Password Directory Path Data Transfer Mode If the same directory path in the same transfer destination server is set to another CPU module the transferred file may be overwritten Set the FTP server and directory path correctly
192. rming an item name that is too long to be fully displayed in the standard format 0 Data Logging Name Logging Type 01 Data Logging Setting Nd Continuous 02 Data Logging Setting No 2 fitinuous Data Logging Setting Nd Trigger 3 Cutting copying or pasting a setting item In a table in the advanced settings area of the configuration tool data can be cut copied and pasted in units of cells or lines Select cell s or line s highlighted in blue and perform the following WO Edit Cut Setting Item or Edit gt Copy Setting Item or Edit gt Paste Setting Item These operations are also available by selecting Cut setting item Copy setting item or Paste setting item from the right click menu Data Logging Mame Logging Type Sampling o Data Logging Setting No 1 Continuous Each scanning cycle Data Logging Setting No 2 Continuous Each scanning cycle A Cut Setting Item Copy Setting Item Paste Setting Item Insert Copied Setting Item Insert Cut Setting Item Delete Setting Item Move Setting Item Upward Move Setting Item Downward 104 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 2 7 Device batch replacement Devices can be replaced with others all at once in the entire project in the data logging setting 1 Operating procedure 1 Display the Device Batch Replacement dialog box Edit gt Device Batch Replacement 2 Enter data 3 Click the button 2 S
193. rt OFF l SM1948 ON DE Data logging file transfer OFF execution status flag CHAPTER 7 OTHER FUNCTIONS 1 4 4 File transfer test Communication status and settings between the CPU module and the FTP server can be checked by transferring a test file from the CPU module to the FTP server Since this function can be executed without starting or stopping data logging file transfer operation can be checked before system operation 1 Procedure The following describes a procedure for file transfer test 1 Configure destination server settings using configuration tool gt Page 131 Section 8 4 11 2 Click the button in the FTP Setting dialog box to execute a file transfer test W Data logging Setting gt File Transfer lt gt Server Setting 3 Check the test result in the displayed dialog box 4 Check if the test file has been transferred in the directory path on the FTP server 2 Test file structure The following describes a test file structure to be transferred to the FTP server a Test file name MELSEC_ CPU _FTP_TEST_data logging setting No txt Ex A test file of setting No 1 has the following file name MELSEC_CPU_FTP_TEST_01 txt b Information in a test file A test file contains the IP address of the CPU module date and time when the test is executed Ex 192 168 10 39_20101001_170230 IP address Date Time Point Even if a file transfer test failed due to a communication
194. s are output to files Data sampling interval Output data sampling interval column Information in the data sampling interval column is output to files Execution program name Output execution program name Information in the execution program name column is output to files Execution step No Information in the execution step No column is output to files Output execution step No column Device comments are output instead of device data in the data column Device comment output Output device comments for data column Specify a memory where comment files used for comment display are Program memory Target memory pane y pray e Standard ROM l e Memory Card SD Eight alphanumeric characters Target comment file name Specify the comment file used for comment display ee p Comment Output comments Comment lines are output to CSV files 256 two byte characters or less Comment The comment is output in the beginning of the CSV file y no line feed 5 4 This setting is enabled only when Trigger logging is selected for Logging type 2 If the timing of sampling coincides with a system operation such as a system interrupt SYSTEM is output 3 If the timing of sampling coincides with a system operation such as a system interrupt 0 is output 4 If any of year month day hour minute and second is missing when the data logging file is opened by GX LogViewer index data wil
195. s on the trigger condition is reset by the LOGTRGR instruction CHAPTER 12 SPECIAL RELAY AND SPECIAL REGISTER CHAPTER 12 SPECIAL RELAY AND SPECIAL REGISTER This chapter provides the lists of the special relay and special register that are used for data logging 12 1 Special Relay List The special relay list for data logging is shown below For details on each special relay area refer to the following User s Manual Hardware Design Maintenance and Inspection for the CPU module used SM604 Memory card in use flag Data logging setting No 2 Data structure is the SM624 Drive 3 4 in use flag same as that of data logging setting No 1 7 Data logging setting No 3 Data structure is the SM841 Auto logging status 1 Data logging setting No 1 Data logging setting No 4 Data structure is the SM1940 ae 3 3 SM1970 to SM1978 rai Data logging preparation same as that of data logging setting No 1 Data logging setting No 1 7 Data logging setting No 5 Data structure is the SM1941 P SM1980 to SM1988 ate oun Data logging start same as that of data logging setting No 1 Data logging setting No 1 Data logging setting No 6 Data structure is the SM1942 aan ss SM1990 to SM1998 ee eek Data logging execution same as that of data logging setting No 1 Data logging setting No 1 k Data logging setting No 7 Data structure is the SM1943 an SM2000 to SM2008 A A Data logging end same as that of data logging setting No 1 SM1944
196. s specified ejeq ebue jo Bulj dwes z9 61 6 3 Logging Type There are two logging types e Continuous logging e Trigger logging 6 3 1 Continuous logging When continuous logging is selected device values of the CPU module are continuously logged at the specified intervals The flow of the continuous logging is shown below lt Preparation for continuous logging gt Configure data logging settings in the configuration tool and write them to the CPU module lt Start of continuous logging gt Start data logging by the start operation from the configuration tool 4 lt Data sampling gt The data configured in the configuration tool are collected and saved to an SD memory L N card 1 lt Pause of continuous logging gt lt Completion of continuous logging gt By the following operation data logging pauses with the data logging settings When the specified number of saved files is registered e Pause operation from the configuration tool reached the logging is completed e Turning off the special relay data logging l start lt Reading of continuous logging results gt 3 l lt Stop of continuous logging gt By the following operation registration of the data logging setting in the CPU module is cancelled Specify a file in the SD memory card and read out the data logging results 4 e Stop operation from the configuration tool I User operatio
197. s stops Select Complete with timer Ti Aii Setting range for Elapsed time 1 to 86400 seconds in increments of 1s a When Data logging stop is set The auto logging is terminated when all or any of the configured data loggings is stopped Data logging stop is defined as follows e Continuous logging The number of saved files in the Save setting is exceeded and data logging is completed e Trigger logging Data of the specified number of records have been collected and written to the SD memory card and data logging is completed e Data logging is stopped from the configuration tool Point When continuous logging is selected for a data logging for which auto logging is enabled if Overwrite is selected in the Number of saved files setting the data logging will not be terminated Therefore select Stop If When any of the data loggings stops is selected operation of a data logging in execution which is other than the stopped one is the same as the operation performed after the time specified with the timer has elapsed b When Timer is set After start of data logging execution when operating time reaches the specified time all of the data collected until then are saved on the SD memory card and the auto logging is completed However for trigger logging if data of the specified number of records have not been collected yet the data including collected data will not be saved Point If a data logging is t
198. splayed The latest error code of the data logging file transfer function is displayed button This button is displayed if an error occurs Clicking this will display the Details dialog box button Clicking this button will display the error log dialog box Point The data logging file transfer function continues to be operated even after data logging setting files are deleted Until when a new data logging setting is overwritten information of the deleted files remains displayed in each item in the Data Logging File Transfer Status dialog box 158 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 4 File Transfer Error Log dialog box a Displayed screen File Transfer Error Log QCPU Q Mode Host EJ Data Logging Setting No File Transfer Server ey Error 4 17 2000 23 55 47 E Error 4 17 2000 23 55 47 E Error 4 17 2000 23 55 47 E3 Error 4 17 2000 23 55 46 E3 Error 4 17 2000 23 55 45 E3 Error 4 17 2000 23 55 45 E3 Error 4 17 2000 23 55 45 E3 Error 4 17 2000 23 55 45 E Error 4 17 2000 23 55 44 E Error 4 17 2000 23 55 44 E3 Error 4 17 2000 23 55 43 E3 Error 4 17 2000 23 55 43 E Error 4 17 2000 23 55 42 E3 Error 4 17 2000 23 55 42 3 Error 4 17 2000 23 55 41 02 00000210E CSW Sele al 02 OO0021D4 C5 O1 OO004346 C5 0i 00043A cS O1 OO004346 C5 02 00002109 5w O1 OOU043A45 C5 02 00002105 C Sw 02 00002107 C S O1 OO004344 C5 O1 OO0043A45 C5V 02 00002106 C Sw O1
199. t before performing file transfer L gt Page 91 Section 7 4 4 2 Transfer status can be checked using file transfer diagnostics _ gt Page 92 Section 7 4 5 2 For the start operation from the configuration tool refer to lt gt Page 153 Section 8 10 4 For the file transfer status refer to 1 Page 88 Section 7 4 3 86 CHAPTER 7 OTHER FUNCTIONS 7 4 2 Directory structure of the FTP server When data logging files are transferred a folder is automatically created in the specified directory path on the FTP server and the data logging files are saved in the folder f 00000001 4 File storage folder 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 733 00000001 CSV 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 B 18 55 19 68 741 36 0 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 733 00000002 CSV 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 733 00000100 CSV fo 00000101 18 55 16 65 725 36 1 18 55 17 66 756 36 0 18 55 18 67 723 36 0 18 55 19 68 741 36 0 18 55 20 69 712 36 1 18 55 20 70 724 36 1 18 55 20 71 732 36 1 18 55 20 72 73
200. ta logging A generic term for Microsoft Windows XP Professional Operating System and Microsoft Windows XP Home Edition Operating System A generic term for Microsoft Windows Vista Ultimate Operating System Microsoft Windows Vista Home Premium Operating System Microsoft Windows Vista Home Basic Operating System Microsoft Windows Vista Business Operating System and Microsoft Windows Vista Enterprise Operating System A generic term for Microsoft Windows 7 Starter Operating System Microsoft Windows 7 Home Premium Operating System Microsoft Windows 7 Professional Operating System Microsoft Windows 7 Ultimate Operating System and Microsoft Windows 7 Enterprise Operating System Note that the 32 bit version is specified as 32 bit Windows 7 and the 64 bit version is specified as 64 bit Windows 7 A generic term for Microsoft Windows 8 Operating System Microsoft Windows 8 Pro Operating System and Microsoft Windows 8 Enterprise Operating System Note that the 32 bit version is specified as 32 bit Windows 8 and the 64 bit version is specified as 64 bit Windows 8 19 CHAPTER 1 DATA LOGGING The data logging function of the CPU module stores collected device data on an SD memory card in CSV format with just a simple setting 1 1 Features The following explains the features of the data logging function 1 Logging of device data is easy No program needs to
201. te lex When the specified condition is ON Executed peeesess 4 ge al acne ae eee ees ainda aa aad Specified step Not le oa e SSeS eee ee executed Program D END processing END processing E F Data are not sampled because the specified step is Not Executed lt Data are collected only when the status is changed gt Select an execution condition from the following e When the specified condition rises The operation status immediately before the execution of the specified step has changed from Not Executed to Executed e When the specified condition falls The operation status immediately before the execution of the specified step has changed from Executed to Not Executed 60 CHAPTER 6 DATA LOGGING FUNCTION Ex When the specified condition rises Data are sampled because Not Executed has changed to Executed p Executed m 4 Specified step l I Not L T eee eee 2 E EEEE eee executed Program 10 END 0 END 0 END 10 END processing fe Data are not sampled because the operation status has not changed after the previous sampling Point Data are collected when the status immediately before execution of the specified step changes to the specified status With the High speed Universal model QCPU only the first data which satisfies the specified conditions is collected if the step between the FOR and NEXT instructions i
202. te into A list of the drives in the personal computer is displayed Target logging setting data A list of the data that are currently set is displayed Data Logging Setting and Common Setting are listed jusuebeue fold 8 as pseo Aow aw y 0 Buiyas Gulb6o BunuM g Eg 113 8 4 Data Logging Setting Configure the settings that are required for the data logging function For the specifications of data logging refer to Page 33 CHAPTER 3 8 4 1 Data logging setting list This section describes the items in the data logging setting list 1 Operating procedure Perform the following X Data logging setting on the edit item tree 2 Setting screen M New QnUDVCPU amp LCPU Logging Configuration Tool fe x TRR I ME E QCPU Q Mode E Data Logging Setting To do data logging setting anew select a blank line and press the Edit button i Common Setting To edit existing data logging setting select the line concerned and press the Edit button CS Output Save Trigger information File save destination Saved File name Number of saved fil QCPU Q Mode Host No of data logging settings 0 114 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 3 Displayed items and button No The data logging setting No is displayed data The data logging setting No is displayed setting No is displayed 01010 to 10 CL name 32 one byte or 16 Data L N The data displayed
203. ted module in Type Setting a different type results in SP_UNIT LAY ERR E shows athe intelligent function module the I O points must also be the same in addition to the I O assignment setting Point Pshows notes that I CLF Page 30 Section 4 2 2 reference pages requires attention When an intelligent module is connected I O assignment can be omitted by selecting connected modules from Intelligent Function Module in the Project window coD shows useful information 4 The mouse operation example is provided below For GX Works2 ME MELSOFT Series GX Works2 Unset Project PRG MAIN Project Edit Find Replace Compile View Online Debug Diagno Menu bar TIF T XZ Online E gt Write to PLC PEISE PETENS Select Online on the menu bar and then select Write to PLC Navigation Project CE Gaa aA Parameter htelligent Function Module Global Device Comment A window selected in the view selection area is displayed XZ Project window 5 gt Parameter gt PLC Parameter Select Project from the view selection area to open the Project window In the Project window expand Parameter and select PLC Parameter Program Setting POU B Program ae MAIN B Local Device Comment e Device Memory Device Initial Value 444444444 i an H connection Destination View selection area Unlabeled 16 Pages describing instructions
204. tem 42 Quantity 1 1 1 Quantity 1 1 1 1 1 Total number of data points Number of set data 1 1 CHAPTER 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION CHAPTER 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION The following flowchart shows the steps to be performed before data logging operation CPU module Personal computer Insert an SD memory card into the slot of the CPU module Install the configuration tool Page 46 Section 5 2 1 Power on the CPU module Start the configuration tool Page 53 Section 5 3 Set the CPU module switch to RUN Configure data logging settings ka page iar RERO Bi Connect the CPU module to the personal computer Select a communication route in the Transfer lt gt Page 139 Section 8 6 Setup dialog box of the configuration tool Write the settings to the CPU module et Start data logging ae Page 153 Section 8 10 Completed Point For installation of the CPU module power supply module and SD memory card and the installation environment refer to the following T User s Manual Hardware Design Maintenance and Inspection for the CPU module used 43 Memo 44 CHAPTER 5 START UP OF THE CONFIGURATION TOOL CHAPTER 5 START UP OF THE CONFIGURATION TOOL This chapter describes the procedure for starting the configuration tool 5 1 Getting the Configuration Tool The configuration tool is included in the programming tool 1 Programm
205. th TC SC and CC respectively 5 Before specifying the device check the versions of the CPU module and configuration tool used L gt Page 192 Appendix 2 6 The LCPU does not support these devices For the above devices except for FX FY FD BLONS and bit specification of word device index modification can be specified although indirect specification is not allowed 99 6 2 Sampling of Target Data Select a sampling interval and timing from the following items gt Page 119 Section 8 4 4 Setting item Each scanning cycle Sample data at the first END processing after the specified time has elapsed Time specification Samples data at the specified time interval Each multiple CPU high speed transmission cycle e When the bit of the bit device rises e When the bit of the bit device falls e When the word device value meets the specified value e When the word device data is changed Device specification Condition specification e Always e When execution condition is ON e When execution condition is OFF e When execution condition rises e When execution condition falls Step No specification 4 The LCPU does not support this item 1 Each scanning cycle Program 2 06 a Data are collected in the END processing of each scan Scan time Scan time Scan time END 0 END 0 END eoa es e ee A e END processing END processing END processing
206. to 256 files are stored Folder File name CSV file 00000001 CSV 1st 00000002 CSV 2nd 00000001 000000FF CSV File destination 1 00000100 CSV 256th 00000101 CSV 257th 00000102 CSV 00000101 m 000001FF CSV 00000001 CSV 1st 00000002 CSV 2nd 00000001 000000FF CSV File destination 2 00000100 CSV 256th 00000101 CSV 257th 00000102 CSV 00000101 om 000001FF CSV 4 File destination 1 and File destination 2 are specified at the destination to save LOGGING 72 CHAPTER 6 DATA LOGGING FUNCTION 3 Storage location of saved files A folder is created under the destination folder and saved files are stored in the folder Up to 256 files can be stored in each folder When the maximum number of files has been reached a new folder is created in the next file switching and the file storage location after file switching is changed The number of files that can be stored in a destination folder is set within the range of 1 to 65535 4 When the number of saved files is exceeded Either of the following can be selected in the case of exceeding the number of saved files lt gt Page 129 Section 8 4 10 e Overwrite e Stop a When Overwrite is selected After the number of saved files is reached the oldest file with the smallest number is deleted and a new file with the largest number plus one is created to continue data logging Also as a result of file deletion if no file exists in a fol
207. to the following _ User s Manual Function Explanation Program Fundamentals for the CPU module used Data logging cannot be started while data logging files are transferred to the FTP server Performing the start operation will open a dialog box Whether to stop the transfer to start data logging or not can be selected in the dialog box Page 94 Section 7 4 6 6 153 uo eJsado pue snjeis Bulb6o7 oOL g 2 Setting screen Logging Status and Operation QCPU Q Mode Host Monitor status SD memory card data b Monitoring Free space 3555 MB Logging status Target memory Memory CardiSE 1 MAI CPU data Note Before changing the target memory logging must be stopped Select All Select Mone Update Target Mo Data Logging Mame Logging Type Logging Status E M o2 coe Continuous Pausin O o EN Mog o e completed O O O O O M os toeo rigger toed o E Logging operation Select target data for logging operation and click an appropriate button To resume a pausing data logging click the Start button 3 Setting items and buttons Item Start Stop SD memory card data button Select Hone button i G D j 3 lt Logging status Target Data Logging Name Logging Type Logging status button o Start button Pause button Stop button 154 Description Monitoring starts when it is stopped Or monitoring stops when monitoring is in exec
208. to the personal computer Deletes the selected file or folder Closes the Logging file operation dialog box With the LCPU only files can be deleted 157 uonesado l4 Buib6o7 11 9 8 12 Data Logging File Transfer Status Transfer status of data logging files can be checked 1 Operating procedure Check transfer status in the Data Logging File Transfer Status dialog box W Online lt gt Data Logging File Transfer Status 2 Displayed screen Data Logging File Transfer Status QCPU Q Mode Host Monitor Status Monitoring File Transfer Status m 02 LODZ rie Stopped ji ml rm Stopped a 04 LOGoO4 tta Retrying T foo 414EH qm Waiting for transfer a LOG06 t s Transferring a41 O SSS E SS S S 08 09 A File Transfer Error Log 3 Displayed items and buttons Item Description Start Stop Monitoring starts when it is stopped Or monitoring stops when monitoring is in execution File Transfer Status The data logging setting No is displayed Data Logging Name The data logging name is displayed File Transfer Server The IP address of transfer destination FTP server is displayed Transfer status of a data logging file is displayed ME Page 92 Section 7 4 5 The number of data logging files that were successfully transferred to the FTP server is displayed The number of data logging files failed to be transferred to the FTP server is di
209. transfer function data logging files are transferred to the FTP server through built in Ethernet ports of the CPU module Set IP Address in the Built in Ethernet Port Setting tab using a programming tool QnUCPU User s Manual Communication via Built in Ethernet Port MELSEC L CPU Module User s Manual Built In Ethernet Function 4 Port numbers when the socket communication function is used For the data logging file transfer function own station port numbers FOOOH to FFFEH are used for FTP communication Do not specify FOOOH to FFFEH using the connection establishment instruction for the socket communication function SP SOCOPEN during execution of the data logging file transfer function QnUCPU User s Manual Communication via Built in Ethernet Port MELSEC L CPU Module User s Manual Built In Ethernet Function uoloun Jajsues l Buib6o7 ged yZ 5 Processing time of file transfer Time taken to file transfer depends on a load placed on the Ethernet line congestion of the line operating status of other communication functions and system configuration Uuo OUN JeJSUes of BuiBGo eyep y Hulsn 104 SUONNeDaIg O P Z 93 94 6 Starting data logging during file transfer 7 8 9 Another data logging cannot be started to the same file being transferred If the start operation is performed the following dialog box appears Select whether to start the data logging or not OnUDVCPU amp LCPU Logging C
210. tus Causes a pause e Pause operation from the configuration tool gt Page 151 Section 8 9 e Turning off the special relay Data logging start e The CPU module is in the STOP status Including a stop error 3 Stop Registration of the data logging setting in the CPU module is cancelled The following stops data logging e Stop operation from the configuration tool gt Page 151 Section 8 9 Point Latch clear will clear the data logging status and make it unregistered To execute data logging again start it from the configuration tool Also if Format PLC Memory is executed to the memory where the currently executing data logging file is stored the data logging status will be cleared and left unregistered To execute the data logging again write the configuration of the data logging and then start it from the configuration tool 68 CHAPTER 6 DATA LOGGING FUNCTION 4 Completion Data logging is completed with the data logging setting registered Perform the following a For continuous logging In the Save setting of the data logging setting when Stop is selected for Operation occurring when number of saved files is exceeded the data logging is completed at the time the number of saved files reaches the specified value b For trigger logging After sampling the data of which number of records is specified in the Number of records setting of the data logging setting and after saving them to an
211. uired for data logging have been collected F Buffer Capacity Settir Press the Complete button to complete setting To reflect the settings to the PLC select Online gt Write Logging Setting Name the data logging ES New QnUDVCPU amp LCPU Logging Configuration Tool Project Edit Online Tool Help B FA 36 0 E QCPU Q Mode Data logging name Loco1 x if Data Logging Setting No 01 Free space volume below in SD memory card will be necessary to execute logging of the set content amp z Data Logging Setting Logging type gt EEE Larger volume might be necessary depending on status of SD memory card z 01 L0G0 82 common Setting Total Size of Output Logging Files 1 MB EE Auto Logging Settinc Specify the sampling it F Buffer Capacity Settir i To execute logging of the settings the folowing buffer capacity is required Sampling interval Set buffer capacity as needed Each scanning cy e New QnUDVCPU amp LCPU Logging Configuration Tool Samples data at ea Required capacity 1 ka O Time specificatio Currently set capacity 128 kB Buffer Capacity Setting Samples data at thi QcPU Q Mode a Data Logging Setting 01 LOGO1 3 83 Common Setting g Auto Logging Setting First off select a logging tyg gt Buffer Capacity Settir O Each multiple CPI Sample data by mul
212. ule used uias Bulb6o07 a19 8q 6 8 151 2 Setting screen Delete Logging Setting QCPU Q Mode Host Online operation Read logging setting v E igi O Write logging setting Delete logging setting Target memory Memory Card so Target logging setting data HGS cpu data EM Data Logging Setting 2 LA No 01 LOG01 icontinuous Disable File Transfer Setting LA No 02 LoGo icontinuous Disable File Transfer Setting LA No 03 LOGO3 i Trigger Disable File Transfer Setting LA No 04 LoGo4 Trigger Disable File Transfer Setting A No 05 LOGO5 icontinuous Disable File Transfer Setting B A No 06 LOGO6 iTrigger Disable File Transfer Setting Elk Common Setting Auto Logging Setting Disable Suto Logging Function Setting Buffer Capacity Setting 3 Setting items a Data logging setting Setting No data logging name logging type file transfer setting status is displayed in Data Logging Setting b Display of Common setting Display of Common setting differs depending on the target memory e Standard ROM Buffer Capacity Setting only is displayed e SD memory card Buffer Capacity Setting and Auto Logging Setting auto logging setting status are displayed 152 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 8 10 Logging Status and Operation Data logging is executed or stopped and the status can be confirmed 1 Operating procedure 1 Open the Logging status and operation
213. ure 00025 e eee 46 Checking the Product Information 160 Installing a USB Driver 000 183 Checking the version information 160 Common operations 0000 ee eee 104 L Common Setting 002 eee eee 136 Completion Se tae eae te a ane Be Ve a A ae Se a 69 List of the Errors That May Occur in Data Logging Connection channel list 5 Me eee wth a E ee apace 2 tadesk pie ug aes es 175 Connection from a USB orserialport 2 Logging File Operation o uuna ce eee 156 Connection from an interface board aiw aah Ges 30 Logging Status and Operation 153 Connection Precautions 000 31 Logging Type cece cece cece eee eeees 62 Connecti n testis sree bao soa eee bb ose ee es 143 Connection via a network 05 141 Connection with a USB or Ethernet cable 139 M Fre a eae ge aneurin eee Main screen 0 0 ccc e cece cece e ee 99 Creating anew project 06 106 CSV File Output Format 00 36 O CSV format specifications 0 0 36 Opening a project 0 ee eee eee 106 Opening the user s manual 160 D Operating Environment for the Configuration Tool 32 Data Logging File 0000000e 70 a ea PONOT ONG ee Rede N 80 DATA LOGGING FUNCTION 54 utput details of lines and columns E E E T 36 DATA LOGGING INSTRUCTIONS
214. ure to Retransmit the Untransferred Specify when stack logging file transfer is executed Files L gt Page 95 Section 7 4 7 Specify when transfer completion non completion file distinction indication Add C_ to the Front of the File Name is executed Page 97 Section 7 4 8 Before using the data logging file transfer function check the versions of the CPU module and configuration tool used L Page 192 Appendix 2 131 Point The data logging file transfer function cannot be used while the auto logging function is enabled Check that the auto logging function is disabled in advance 132 CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 3 FTP setting Set a transfer destination server a Setting screen FIP Setting FIP Server Mame Login User Name Login Password Confirm Login Password Data Transfer Mode PORT Mode Normal PASY Mode File Transfer Test b Setting items FTP Server Name Set the IP address of the transfer destination FTP server decimal 0 0 0 1 to 223 255 255 254 1 to 32 ASCII characters alphanumeric characters and special characters A double quotation mark comma colon and semicolon cannot be used 0 blank to 32 ASCII characters Login User Name Set an FTP server account user name Login Password Set a login password for the FTP server alphanumeric characters and special co Confirm Login Password 4 aR
215. ures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or abnormal voltages and Failure caused by force majeure such as earthquakes lightning wind and water damage 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi 7 Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the
216. ution Free space in the SD memory card is displayed Selects all of the setting data Clears all of the target settings Select a memory that is the target for the data logging status and operation Selectable only when all of the data loggings are stopped Select any target setting data Setting No is displayed The data logging name is displayed The logging type is displayed The logging status is displayed This button is displayed on the extreme right of each line if an error occurs Clicking this will display the Details dialog box Ks Page 153 Section 8 10 4 a Executes logging of the selected setting data Temporarily stops logging of the selected setting data Stops logging of the selected setting data CHAPTER 8 HOW TO USE THE CONFIGURATION TOOL 4 Error screens a Error details screen The following is an example of the error details screen Details which appears when the _ button is clicked in the event of an error Displays a value that will be stored in the special register or an error response No Details Code Details The S memory card was removed while the data logging function is being executed logging status is executing saving logging data stop Or the disabling switch on the SO meman card was moved upward efrar Displays error details Action Mount the SD memor card Slide the disabling switch on the SD memory card downward and then execute data
217. ution step No STEP NO 8 bytes 0 bytes column None Executi ia PROGRAM NAME 12 bytes Paea name column Index column INDEX 5 bytes 0 bytes Bit type BIT 3 bytes Bit type 1 0 5 bytes Date and time column DATETIME 8 bytes 16 bit integer unsigned USHORT Decimal format DEC 0 7 bytes 16 bit integer signed SHORT 32 bit integer unsigned ULONG 4 bytes Hexadecimal format HEX 5 bytes PPF t Bais wala 32 bit integer signed LONG Single precision floating point 32 bit FLOAT 5 bytes Exponential representation EXP number of 7 or 8 bvtes Double precision floating point 64 bit 6 bytes fractional digits y DOUBLE Character string type STRING 6 bytes String or Raw type The specified length of data in JE byles Numeric string type RAW 3 bytes byte units is output string for indicating trigger occurrence is output T f t 3 to 34 pee eee TRIGGER 7 bytes Semicolon double quotation marks and column bytes comma cannot be used 4 The size of the Data type information line is the total of the following lex When logging 128 point decimal data in the 16 bit integer signed format when the date and time in YYYY MM DD hh mmiss s format data sampling interval execution step No execution program name and index columns are selected for output 8 23 date and time 8 data sampling interval 8 execution step No 12 execution program name 5 index 5
218. work Finds CPU Built in Ethernet port on the same network This cannot be performed when the following happens Ho response within a specific time period Connected via a router or subnet mask is different Do not respond to search for CPU Built in Ethernet port iz checked in PLC parameter YyJIOMJOU y UO s jnpow Nda Bulyoiees s 9 g 145 146 3 Setting items and buttons Item PLC Mode Ethernet Port Direct Connection Connection via HUB IP Address CPU information list Response Wait Time Find CPU Built in Ethernet port on Network button Selection IP Address Input button Point Description Select a mode of the CPU module that is connected to the personal computer Select this when directly connecting a personal computer to the Ethernet port of the CPU module with a cable Select this when connecting a personal computer to the CPU module by specifying an IP address Specify the IP address of the CPU module Specify the host name of the CPU module IP addresses CPU types labels and comments of the detected CPU modules are displayed The time waiting for CPU module search results 1 to 99 seconds is displayed Searches for CPU modules on the network and displays the CPU information list Automatically enters the IP address of the CPU module selected in the CPU information list into the IP Address setting area For Windows Vista Windows 7 or Windows the following m
219. x lt gt Page 158 Section 8 12 DO Online Data Logging File Transfer Status gt button Up to 30 error logs can be stored If errors are collected more than 30 an error log is deleted from the oldest one Error logs are held when the CPU module is powered off and on or is reset CHAPTER 7 OTHER FUNCTIONS 7 4 6 Precautions for using the data logging file transfer function This section describes precautions for using the data logging file transfer function 1 Concurrent execution of another function a Auto logging function The data logging file transfer function cannot be performed during auto logging b Functions of a programming tool If either of the following functions is executed from a programming tool during data logging file transfer an error may occur An error also may occur in a standby data logging file and a data logging file during retry processing e SD memory card formatting e CPU module change function with SD memory card 2 Sampling performance When the data logging file transfer function is used the sampling performance is degraded compared when the function is not used Therefore data missing may occur even if it did not occur when the data logging file transfer function was not used If data missing had occurred before the function is used the frequency of data missing may rise lt gt Page 75 Section 6 7 3 IP address setting for Ethernet communication In the data logging file
220. y formatting cannot be performed to the memory where the setting file of the currently executing data logging is stored h Data logging during execution of PLC memory formatting PLC memory formatting continues normally and an error is detected in data logging 2 Multiple trigger logging settings In multiple trigger logging settings the following causes an error at start of data logging e Specifying a device in Condition specification of Trigger uoun Hulbbo eyep y 104 SUOIINEDaIg g9 3 Holding and clearing the data logging setting The data logging setting registered to the CPU module is latched Even if the CPU module is powered off and then on or is reset the data logging can be performed again with registered setting data However the data logging status is cleared when the storage destination is an SD memory card and any of the following conditions is met Write the setting data again e The CPU module is powered off and on or is reset with the SD memory card removed e When the CPU module change function with SD memory card is used the CPU module is powered off and on or is reset with no setting data stored in the SD memory card If the SD memory card after replacement contains setting data registration is performed with the data 78 4 Availability of data logging 5 6 7 8 9 Data logging can be executed through another station or a serial communication module on the network Fo
221. y install driver software obtained from your manufacturer s website or disc Unsigned software from other sources may harm your computer or steal information v See details button Windows has successfully updated your driver software Windows has finished installing the driver software for this device MITSUBISHI Easysocket Driver JOAUG GSN e Buryjeisuy xipueddy 187 3 Windows 7 or Windows 8 The following shows the installation procedure for Windows 7 or Windows 8 Device driver software was not successfully installed Click here for details C ea E gt Control Panel Adjust your computer s settings gi System and Security Review your computer s status Back up your computer Find and fix problems _ Network and Internet qi View network status and tasks e Choose homegroup and sharing options Hardware and Sound View devices and printers Add a device Programs Uninstall a program Get programs View by Category Y User Accounts Change account type Appearance and Personalization Change the theme Change desktop background Adjust screen resolution Clock Language and Region Change keyboards or other input methods Ease of Access Let Windows suggest settings Optimize visual display Control Panel Home 188 e System and Security Network and Internet Hardware and Sound Programs Appearance and Personalization Ease of Access Action Center

Download Pdf Manuals

image

Related Search

Related Contents

Psychologie Magazine  sistema de tubería mojada modelo j-1 presión variable  V7 Professional Frontloader 16"    Wireless network connection guide    KitchenAid KEMC308KBL04 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file