MX Sheet Version 2 Operating Manual

MX Sheet Version 2 Operating Manual
MX Sheet Version 2
Operating Manual
-SW2DNC-SHEET-E
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.
The precautions given in this manual are concerned with this product. For the safety precautions of the
programmable controller system, refer to the User's Manual for the CPU module.
In this manual, the safety precautions are classified into two levels: "
WARNING" and "
CAUTION".
WARNING
Indicates that incorrect handling may cause hazardous conditions,
resulting in death or severe injury.
CAUTION
Indicates that incorrect handling may cause hazardous conditions,
resulting in minor or moderate injury or property damage.
Under some circumstances, failure to observe the precautions given under "
CAUTION" may lead to
serious consequences.
Make sure that the end users read this manual and then keep the manual in a safe place for future
reference.
[Design Instructions]
WARNING
● When data change, program change, or status control is performed from a personal computer to a
running programmable controller, create an interlock circuit outside the programmable controller to
ensure that the whole system always operates safely.
Furthermore, for the online operations performed from a personal computer to a programmable
controller CPU, the corrective actions against a communication error due to such as a cable
connection fault should be predetermined as a system.
CAUTION
● The online operations performed from a personal computer to a running programmable controller
CPU (forced output and operating status changes) must be executed after the manual has been
carefully read and the safety has been ensured.
The operation failure may cause the injury or machine damage.
1
CONDITIONS OF USE FOR THE PRODUCT
(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
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.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general
industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, 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;
• 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.
• 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.
• 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, provided 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.
2
INTRODUCTION
Thank you for your patronage. We appreciate your purchase of the engineering software, MELSOFT.
This manual is designed for users to understand operations of MX Component.
Before using the product, thoroughly read this manual and related manuals to develop full familiarity with the functions and
performance of MX Sheet and supported modules to ensure correct use.
RELATED MANUALS
The manuals related to this product are shown below.
Refer to the following tables when ordering required manuals.
Manual name
Description
< Manual number, model code >
MX Sheet Version 2 Operating Manual (Introduction)
<SH-081081ENG, 13UJ74>
MX Component Version 4 Operating Manual
<SH-081084ENG, 13JU75>
MX Component Version 4 Programming Manual
<SH-081085ENG, 13JW12>
Explains the installation method, function outlines and operation
methods of MX Sheet Version 2.
Explains the setting and operation methods of each utility on MX
Component.
Explains the programming procedures, details and error codes for
ACT control.
Remark
MX Sheet Version 2 Operating Manual (introduction) is included on the CD-ROM of the software package in a PDF file
format.
Manuals in printed form are sold separately for single purchase. Order a manual by quoting the manual number (model
code) listed in the table above.
3
CONTENTS
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
RELATED MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
OPERATING CONSIDERATIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
HOW TO READ THIS MANUAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
MEANINGS AND DEFINITIONS OF TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
PACKING LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
CHAPTER 1 OVERVIEW
1.1
Overview of MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
1.2
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
CHAPTER 2 SYSTEM CONFIGURATIONS
2.1
26
Operating Environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
CHAPTER 3 FUNCTION LIST OF MX Sheet
29
3.1
Function List of MX Sheet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.2
Accessible CPUs and Accessible Device Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
CHAPTER 4 MX Sheet OPERATION PROCEDURE
31
CHAPTER 5 MX Sheet MENU SELECTION METHOD
33
CHAPTER 6 CELL SETTING
35
6.1
Operation of Cell Settings Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.2
When "Logging" is Selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.2.1
6.3
6.4
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.2.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.2.3
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.2.4
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.2.5
Setting of the <<Handshake>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.2.6
Setting of the <<CSV Logging>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
When "Monitor" is Selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.3.1
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
6.3.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6.3.3
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.3.4
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
6.3.5
Setting of the <<Handshake>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.3.6
Setting of the <<CSV Logging>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
When "Write" is Selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.4.1
4
22
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
6.4.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.4.3
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6.5
6.6
6.4.4
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
6.4.5
Setting of the <<Handshake>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
When "Alarm Summary" is Selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
6.5.1
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
6.5.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
6.5.3
Setting of the <<Alarm Data>> tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
6.5.4
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
6.5.5
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
When "Comment" is Selected. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
6.6.1
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
6.6.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
6.6.3
Setting of the <<Comment Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
6.6.4
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
6.6.5
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
6.6.6
Setting of the <<Handshake>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
CHAPTER 7 AUTOMATIC SAVE SETTING
113
7.1
Operation of Automatic Save List Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
7.2
Setting of Automatic Save Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
CHAPTER 8 AUTOMATIC PRINT SETTING
121
8.1
Operation of Automatic Print List screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
8.2
Setting of Automatic Print Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
CHAPTER 9 AUTOMATIC COMMUNICATION STARTUP/CANCEL SETTING
124
CHAPTER 10 START COMMUNICATION AND END COMMUNICATION
126
10.1
Start Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
10.2
End Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
CHAPTER 11 1 SHOT COMMUNICATION
130
CHAPTER 12 CELL EDITING
132
12.1
Cutting Cell Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
12.2
Copying Cell Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
12.3
Pasting Cell Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
12.4
Deleting Cell Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
CHAPTER 13 CHANGING SHEET NAME
137
CHAPTER 14 CREATING BUTTONS
138
14.1
Start Communication Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
14.2
End Communication Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
5
14.3
1 Shot Communication Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
CHAPTER 15 PROTECTING/UNPROTECTING MX Sheet SETTING
144
15.1
Protecting MX Sheet Setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
15.2
Unprotecting MX Sheet Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
CHAPTER 16 OPTIONS
16.1
148
Setting Error Logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
CHAPTER 17 SETTING DATA EXPORT
150
CHAPTER 18 SAMPLE PROGRAMS
152
CHAPTER 19 ERROR LOG SHEET
154
APPENDIX
156
Appendix 1 Version Confirmation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Appendix 2 Processing Speed of MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Appendix 2.1
Performance values and scroll processing performance . . . . . . . . . . . . . . . . . 156
Appendix 2.2
Number of processable device points when using system labels . . . . . . . . . . . . 159
Appendix 3 Processing MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Appendix 3.1
Collection delay and data dropout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Appendix 3.2
Date and time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Appendix 4 Creating the Excel spreadsheet for MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Appendix 5 Procedure to Transport Data to Other Personal Computer. . . . . . . . . . . . . . . . . . . . . . 169
Appendix 6 HTML Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Appendix 7 Warning Messages on Windows® . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Appendix 7.1
Overview of warning messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Appendix 7.2
Methods for disabling the warning messages. . . . . . . . . . . . . . . . . . . . . . . . . 172
Appendix 8 Countermeasures for Errors as a Result of Using the Automatic Communication
Setting of MX Sheet in Microsoft® Excel® 2007 or Later . . . . . . . . . . . . . . . . . . . . . . . 178
Appendix 8.1
Situations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Appendix 8.2
Cause of anomalous situations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Appendix 8.3
Corrective action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Appendix 9 Differences with Previous Version of MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Appendix 10 Version Compatibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
6
OPERATING CONSIDERATIONS
This section explains the instructions in the following order.
1) Using operating system and personal computer
2) Setting MX Sheet
3) Editing cells and Excel sheets
4) Performing communication
5) Using VBA
6) Using other MELSOFT products
7) Error occurrence
Considerations for using operating system and personal computer
(1) When using Microsoft® Windows XP® or later
To set/change Communication Settings, a user who has an administrator authority must log on.
If the user account that does not have the administrator authority is used to execute the data conversion function,
MX Links/MX Chart data cannot be converted.
(2) Coexistence of different Excel versions
When different versions of Excel exist in a single personal computer, MX Sheet does not operate normally. For
example, Microsoft® Excel® 2007 and Microsoft® Excel® 2010 cannot coexist.
(3) Resume function, etc. of personal computer
If any of the following is set to the personal computer where MX Sheet is installed, a communication error is occur
during communication with the programmable controller CPU.
Do not set the following functions on the personal computer.
• Resume function
• Suspend function
• Power saving function
• Standby mode.
7
Considerations for setting MX sheet
(1) Word designation for bit and bit designation for word
In the following tabs and screens, word designation for bit (e.g. K4M0) and bit designation for word (e.g. D0.0)
cannot be set.
1) <<Access Data>> tab *1
2) <<Device Trigger>> tab
3) <<Handshake>> tab
4) Automatic Save screen
5) Automatic Print screen
*1: Digit-specified bit device (e.g. D0.0) can be set.
(2) Reading character strings
When character strings are read from the programmable controller CPU, the device data which prefix is either of
the following characters are not displayed normally on an Excel spreadsheet.
When reading character strings from the programmable controller CPU, set proper setting so that either of the
following characters are not prefixed.
1) = (equal)
2) ' (single quotation)
(3) Save of Excel sheets
MX Sheet saves Excel book at the timing of closing the Cell Settings screen. Before editing data, backup the
Excel book is recommended.
If the file name specified in the Automatic Save screen or "Operating when cell is full" of the <<Use>> tab already
exists, the old data is discarded and overwritten.
Set proper setting so that the file name specified in the Automatic Save screen or "Operating when cell is full" of
the <<Use>> tab does not overlap those of the other Excel books.
(4) Color designation
(a) Color designation
When using Microsoft® Excel® 2003 and specifying any of the following colors for "Set the Color of Grid line" or
"Set the Color for Filling" on the <<Use>> tab, the actual display color may differs from the specified color.
8
(b) Color designation from Excel
If the line color and cell filling color is specified from "Format Cells", of Excel, the colors specified in "Set the
Color of Grind line" and "Set the Color for Filling" of the <<Use>> tab are invalid.
(c) Compatibility check
In Microsoft® Excel® 2007 or later, when setting colors to a Book in Excel from 97 to 2003 version with Cell
Settings of MX Sheet, if specifying the color of Å~ on the following screen, the Compatibility Checker screen is
displayed on the Excel at saving the Book.
<Compatibility Checker screen>
(5) Excel spreadsheet where buttons are placed
When the Start Communication, End Communication or 1 Shot Communication button placed on the Excel
spreadsheet is focused, do not log off from Windows or exit from Windows without closing the Excel book.
If attempted, the following message is displayed and disable exit from Excel.
(6) Size of saved Excel file according to Format Cells
On Excel, Format Cells increases the saved file size.
Also on MX Sheet, the size of the saved Excel file may become several M bytes or more since Format Cells is
changed according to the setting.
<Example>
• When "Set the Color of Grid line" or "Set the Color of Filling" is selected on the <<Use>> tab
• When Logging is selected and "Add date and time details" is selected on the <<Use>> tab
• When Alarm Summary is selected on the <<Use>> tab
• When "Character string" is specified as the Data Type on the <<Access Data>> tab
• When "HEX" is specified as the Value on the <<Access Data>> tab
9
(7) When "Compile error in hidden module" occurs
When selecting [Cell Setting] on the menu of MX Sheet, "Compile error in hidden module:" may be displayed.
In this case, use 32-bit version of Excel.
When using 64-bit version of Excel, this symptom occurs.
(8) When "Operation of Excel sheet failed." is displayed
When selecting [Cell Setting] on the menu of MX Sheet, the following symptom may occur.
In this case, take the following corrective action to recover from the error.
(a) Symptom
"Operation of Excel sheet failed." is displayed
(b) Corrective action
1) When MX Component has not been installed, install it.
2) When the sheet name was changed by the operation of Excel, restore the sheet name.
Change the sheet name from the menu of MX Sheet.
3) When the symptom cannot be solved by the above 1) and 2), take the following actions.
• Enable the ActiveX setting and the macro setting in the security setting of Excel.
For the MX Sheet operation procedure, refer to the following manual.
 MX Sheet Version 2 Operating Manual (Introduction)
• Start Excel from the [Run as administrator] menu.
10
Considerations for setting cells and Excel spreadsheets
(1) Save function
If either of the following settings is set to the Excel book where the ActiveX controls and forms is applied,
continuous operation of the personal computer is cause insufficient memory.
If insufficient memory has occurred, shut down the personal computer periodically.
• Save function of MX Sheet (automatic save function or save is performed when cell is full)
• Save function is called in a VBA program.
Microsoft® Excel® 2007 or later may require much time to save a Book than Microsoft® Excel® 2003.
For expected time, refer to the following section.
Page 158, Appendix 2(4) File size at save and required time
(2) Changing of Excel spreadsheet name
When changing the sheet name of the Excel spreadsheet where MX Sheet is set, change it from the <<Add-Ins>>
tab  [MX Sheet]  [Change Sheet Name].
(It can also be changed from the toolbar (icons) or a right-click of the mouse.)
If the sheet name is changed directly from Excel or from a VBA program, MX Sheet is not operate normally.
If this happens due to sheet name change, set the previous sheet name again.
(3) ErrorLog sheet
(a) Setting of sheet protection (workbook protection).
Do not set "Protect Sheet" and "Protect Workbook" to the ErrorLog sheet.
If such setting is set, the ErrorLog sheet does not operate normally.
(b) Sheet name
In the Excel book where MX Sheet is set, do not use the name "ErrorLog" to newly created worksheet, chart or
dialog sheet.
If this happens, the ErrorLog sheet created by MX Sheet does not operate normally.
(4)
Cell setting
When the message "The selected cell range has already been set." is displayed at the time of cell setting, set the
cell by the following procedure.
1) Select a cell of a worksheet of Excel on which the cell is not set.
2) Select [Cell Setting] on the menu of MX Sheet.
3) Select a cell range to be edited from the cell range list on the cell setting screen.
11
Considerations for performing communication
(1) Communication between personal computer and programmable controller CPU
When programmable controller CPU device data are collected/written using MX Sheet, the communication
restrictions that apply to MX Component also occur between the personal computer and programmable controller
CPU.
For the restrictions on communications between the personal computer and programmable controller CPU, refer
to the following manual.
 MX Component Version 4 Operating Manual.
(2) Preview setting of Excel
When starting the communication of MX Sheet, do not activate the preview setting (print preview, etc.) of Excel.
If the communication of MX Sheet is started with the preview setting of Excel active, a memory leak is occur.
(3) Simultaneous communication from multiple Excel books
Multiple Excel books where MX Sheet setting is set cannot be started on a single personal computer to perform
communication simultaneously.
(4) When communicating Excel book is double-started
Do not perform a double start (restart) of the Excel book that is communicating using MX Sheet.
If such operation is performed, the following message is displayed.
Click the No
interrupt a double start (restart).
(5) "Run-time error ‘9’"
The following symptom is occur at the upgrade of Excel or MX Sheet due to the temporary file created by Excel.
In this case, take the following corrective action to recover from the error.
(a) Symptom
• After Automatic communication startup is executed in MX Sheet, the available/unavailable buttons for the
function will be inappropriate.
• "Run-time error ‘9’ : Subscript out of range" is displayed when Excel is started up.
(b) Corrective action
Delete the temporary file according to the following procedure.
1) Enter '%temp%\Excel8.0' in the Windows® Explorer, and delete the files under '%temp%\Excel8.0'.
2) Enter '%AppData%\Microsoft\Excel' in the Windows® Explorer, and delete the '.xlb' file under
'%AppData%\Microsoft\Excel'.
(c) Considerations
• A folder differs for each logon user.
Take an action for each logon user to be used.
• Display all files and folders to take an action.
The following shows the setting method.
1. Click the《Tools》tab in Explorer, and select [Folder Options].
2. Click the《View》tab, and select [Show hidden files, folders, and drives] in the [Advanced] box.
• A file and folder may not exist.
12
(6) Operation of other Excel book
Do not operate other Excel book during communication.
(7) When logoff/shutdown is executed during communication
Do not log off or shut down the personal computer during usual communication or 1 shot communication.
Log off or shut down the personal computer after terminating the communication with the programmable
controller CPU and exiting from Excel.
If logoff or shutdown of the personal computer is executed during communication, the following symptoms are
observed.
In this case, take corrective actions to restore the system.
(a) Symptom
When MX Sheet setting is set, only the frame of Excel is displayed.
(b) Corrective action
In the following procedure, remove the hide attributes of the Excel book and overwrite the Excel book to restore
the system.
1) Select the <<Display>> tab and select [Unhide].*1
*1 :
When using Microsoft® Excel® 2003, select [Window]  [Unhide] in the Excel menu.
2) Select the Excel book to be displayed and click the
button.
3) As the Excel book is displayed, save the Excel book.
(8) USB communication
If the USB cable is connected/disconnected, the programmable controller CPU is reset or programmable
controller CPU is powered on/off frequently during communication with the programmable controller CPU, a
communication error occurs and communication cannot be returned to normal.
If this happens, disconnect the USB cable completely, leave it for 5 seconds or more and reconnect it. (An error
may occur at the time of initial communication after the above operation, however, communication is performed
normally at and after the second time.)
13
(9) Excel operation during communication
(a) If Excel is in either of the following status, MX Sheet cannot execute operations on Excel (e.g. display into cells,
or save or print of an Excel book).
• A cell is in input status (e.g. a cell is double-clicked, or the cursor is at the formula bar).
• A message or a dialog box is displayed on Excel.
Minimize the number of input processes on Excel during communications.
(b) The operation of Excel during communication is restricted as follows.
• Excel 2003 hides the menu bar and toolbar.
• Microsoft® Excel® 2003 hides the menu bar and toolbar.
• Microsoft® Excel® 2007 hides tabs on the ribbon.
Do not operate the office button and quick access toolbar during communication, though they are
displayed.
Quick access toolbar
Office button
• Microsoft® Excel® 2010 and 2013 hides tabs on the ribbon.
Although the <<File>> tab and the quick access toolbar are displayed, do not operate them during
communications.
Quick access toolbar
<<File>> tab
• Microsoft® Excel® 2016 hides tabs on the ribbon.
Although the <<File>> tab, <<Tell Me>>, and the quick access toolbar are displayed, do not operate them
during communications.
<<Tell Me>>
Quick access toolbar
<<File>> tab
14
(10) Mouse cursor during communication
While MX Sheet is communicating, the mouse cursor setting of an Excel sheet is fixed to the one of "Normal
Select" in "Mouse Properties".
(11) Change to Design Mode of Excel during communication
For Excel during communication, do not change to the Design Mode.
If attempted, normal operation of MX Sheet may be disabled.
(12) Continuous operation when saving data automatically in HTML format
Do not operate MX Sheet continuously when the Automatic save function is set to save data in HTML format.
For operating MX Sheet continuously, exit and reactivate Excel periodically.
If data are saved repeatedly in HTML format with the Automatic save function, Excel may not operate properly.
The time for allowable continuous operation differs according to the operating environment.
(13) When the timeout error (0x0180840B) occurs during communication
The timeout error (0x0180840B) may occur during communication.
When the timeout error (0x0180840B) occurs, recover from the error by the following corrective actions.
• Review the system such as the programmable controller CPU, module setting, and cable status.
• Check if communication can be established with the Ping command.
• Review the timeout time of the communication setup utility.
• Review the timeout time of the property of the control.
15
(14) When the socket object generation error (0x01808007) occurs during communication
(a) When using GT SoftGOT
Right-click and select "Run as administrator" when starting the application.
(b) When the error cannot be solved by the above (a)
Set a port number different from one used for another application to the personal computer side.
(c) When the error cannot be solved by the above (a) and (b)
Check the following items, and consult your local Mitsubishi representative.
• System configuration (model name of the target programmable controller, model name of the module, and
used network)
• Name of personal computer (Manufacturer), CPU, memory size
• OS, Edition, 32-bit/64-bit
• MX Component version
• A function and argument of MX Component in which the symptom occurs
• Settings within "Communication Setup Utility"
• Occurrence frequency and procedure for a symptom
(15) When the start communication button cannot be moved
The operation procedure for Excel when moving the start communication button is as follows:
1) Select the [Design Mode] in the <<Developer>> tab to enter the design mode.
2) Select and drag the start communication button to move it.
Considerations for using VBA
(1) Incorporation of VBA program
When incorporating a user-created VBA program into the Excel spreadsheet where MX Sheet is set, check the
operation of the VBA program first and then perform MX Sheet programming for the Excel spreadsheet.
(2) VBA program creation
MX Sheet utilizes OLE Automation for communication.
Do not perform the following on VBA programs.
1) Do not execute the DoEvents method in a For-Next loop.
2) FileFilter is ignored in the GetSaveAsFileName method.
3) Do not execute the Reset method in the Excel menu.
16
Considerations for using other MELSOFT products
(1) Version of MX Component
When using MX Sheet Version 2.0, MX Component Version 4.0 or later is required.
(2) Logical station number
Before deleting the logical station number from the communication setup utility of MX Component, check that the
logical station number to be deleted is not used in MX Sheet.
If the logical station number used in MX Sheet is deleted, MX Sheet does not operate normally.
(3) Modem communication
When communication via modem is performed by MX Sheet, MX Sheet, GX Developer and other applications
(e.g. user applications utilizing MX Component) cannot perform communication simultaneously.
If simultaneous communication is attempted using MX Sheet, GX Developer and other applications, a fault such
as a communication error, telephone line disconnection is occur.
When performing communication via modem using MX Sheet, check that GX Developer and other applications
do not use modems.
Considerations for error occurrence
(1) When an error occurs on MX Sheet
(a) An error occurred on MX Sheet is output to the ErrorLog sheet.
For details of the Error log sheet, refer to the following chapter.
Page 154, CHAPTER 19
(b) A message corresponding to the number in the ErrorNo column of the ErrorLog sheet is
displayed in the Contents column.
The following output example explains the codes included in the Contents column of the ErrorLog sheet.
<Example>
A communication error has occurred in communication of access data.
<00200104[Hex], 0180840b[Hex]>
-------------- -------------Code 
Code 
Code  is an internal number indicating the operation of MX Sheet.
Code  is a code of an error which occurs during communication.
For details of error codes, refer to the following manual.
 MX Component Version 4 Programming Manual
17
HOW TO READ THIS MANUAL
The following explains the page composition and symbols in this manual.
The content of the example page used here are different from the actual content for the intention of explaining how to read this
manual.
Indicates the chapter of
currently open page.
Operating procedure
describes the operating
procedure of the function.
# indicates the menu
operation.
Screen display
Indicates the section
of currently open page.
describes the screen
displayed when the
function is used.
*indicates the
reference page.
$ indicates the
reference manual.
• Operating procedure
The following three types of procedure are found under
Operating procedure .
1) When the operation is performed with a single step
 [MX Sheet]  [Start Communication] (
)
2) When the operation is performed with multiple steps
1.
2.
Click the <<Add-Ins>> tab.
 [MX Sheet]  [Start Communication] (
)
3) When the operation can be performed by more than one method
•
•
18
 [MX Sheet]  [Start Communication] (
)
Click the start communication button (Page 138, Section 14.1).
• Symbols used in this manual
The following shows the symbols used in this manual with descriptions and examples.
'
#
$
%
&
(
No.


Notation
[
]
(Underline)
Description
Menu name on menu bar
Screen name
[MX Sheet]  [Cell Setting]
Cell Settings screen
(
)

"
"
Item name on screen
"Operation when cell is full"

<<
>>
Tab name on screen
<<Add-Ins>> tab

Toolbar icon
Example
Button on screen

-

Keyboard key
(
)
button
 key
19
TERMS
This manual uses the terms listed in the following table unless otherwise noted.
Term
MX Sheet
MX Component
Description
Generic product name for SWnDNC-SHEET-E and SWnDNC-SHEET-EA (n: version)
-EA indicates a volume-license product.
Generic product name for SWnDNC-ACT-E and SWnDNC-ACT-EA (n: version)
-EA indicates a volume-license product.
Personal computer
Generic term for personal computers on which Windows® operates
PC CPU module
Abbreviation for MELSEC-Q series compatible PC CPU module (CONTEC CO., LTD.product)
RCPU
Generic term for R04, R04EN, R08, R08P, R08SF, R08EN, R16, R16P, R16SF, R16EN, R32, R32P,
R32SF, R32EN, R120, R120P, R120SF, and R120EN
RnPCPU
Generic term for R08P,R16P,R32P,and R120P
RnENCPU
Generic term for R04EN, R08EN, R16EN, R32EN, and R120EN
RnSFCPU
Generic term for R08SF, R16SF, R32SF, and R120SF
FX5CPU
Generic term for FX5U and FX5UC
FXCPU
Generic term for FX0, FX0S, FX0N, FX1, FX1N, FX1NC, FX1S, FXU, FX2C, FX2N, FX2NC, FX3S, FX3G, FX3U,
and FX3UC
Ethernet Built-in CPU
Generic term for RCPU, built-in Ethernet port QCPU, LCPU and FX5CPU
R series-compatible C24
Generic term for RJ71C24,RJ71C24-R2,and RJ71C24-R4
Q series-compatible C24
Generic term for QJ71C24, QJ71C24-R2, QJ71C24N, QJ71C24N-R2, and QJ71C24N-R4
L series-compatible C24
Generic term for LJ71C24 and LJ71C24-R2
FX extended port
Generic term for FX0N-485ADP, FX2NC-485ADP, FX1N-485-BD, FX2N-485-BD, FX3G-485-BD, FX3U-485-BD,
and FX3U-485ADP
GOT
Abbreviation for Graphic Operation Terminal
R Motion CPU
Generic term for R16MTCPU, R32MTCPU
Inverter
Generic term for FREQROL-A800 series
Robot controller
Abbreviation for CR750-D/CRnD-700 series
Ethernet communication
Modem communication
Windows XP® or later
Abbreviation for communication by connecting the personal computer to Ethernet module or the built-in
Ethernet port CPU
Abbreviation for communication with programmable controller CPU via modems using
Q series-compatible C24, L series-compatible C24 or FXCPU
Generic term for Windows XP®, Windows Vista®, Windows® 7, Windows® 8, Windows® 8.1, and
Windows® 10.
Windows Vista® or later
Generic term for Windows Vista®, Windows® 7, Windows® 8, Windows® 8.1, and Windows® 10.
Windows® 7 or later
Generic term for Windows® 7, Windows® 8, Windows® 8.1, and Windows® 10.
Generic term for Microsoft® Excel® 2003, Microsoft® Excel® 2007,
Excel
Microsoft® Excel® 2010 (32-bit version), Microsoft® Excel® 2013 (32-bit version), and Microsoft® Excel®
2016 (32-bit version).
MELSOFT Navigator
Label
A product name for the integrated development environment included in SWnDND-IQWK (MELSOFT iQ
Works) ('n' indicates version.)
Generic term for label names assigned to each device.
It can be used instead of devices in programs.
A label that can be used commonly among iQ Works-supported products
System label
It is managed by MELSOFT Navigator.
There are two kinds of system labels; system label Ver.1 and system label Ver.2. The system label Ver.2 is
supported by MX Component Version 4.07H or later and MX Sheet Version 2.04E or later.
20
MEANINGS AND DEFINITIONS OF TERMS
The following are the terms used in this manual.
(1) Logical station number
A number assigned to the group of data that is integrated from the connection target information required for
communication within the communication setup utility of MX Component.
Personal computer
Q06UDHCPU
USB
Time-out period
Transmission speed
Transmission control
Target information up to Communication target CPU is combined
into one data, to which logical station number is assigned.
PACKING LIST
MX Sheet consists of the following products.
Model
SW2D5C-SHEET-E
(English version package)
(Standard license product)
SW2D5C-SHEET-EA
(English version package)
(Volume license product)
Product Name
1
End-user software license agreement
1
Software registration notice
1
License certificate
1
MX Sheet CD-ROM
1
End-user software license agreement
1
Software registration notice
1
License certificate
*1 :
Quantity
MX Sheet CD-ROM
n*1
The number of included license agreements is equivalent to the number of licenses.
21
CHAPTER 1
1.1
OVERVIEW
Overview of MX Sheet
MX Sheet is a communication support software package that allows device data collection, etc. by simple, programless setting using Excel.
Logging function, monitor function
Write function
Alarm summary function
Comment display function
Automatic print function
Automatic save function
Excel book file
HTML file
CSV file
MX Sheet
Programmable controller CPU
22
CHAPTER 1 OVERVIEW
1.2
Features
1
(1) Program-less and easy setting
Programmable controller CPU device data can be collected/written by performing simple setting without
programming.
MX Sheet
Excel
Performing
simple setting
Programmable controller CPU device data are displayed
on Excel spreadsheet.
(2) Collection/write of device data using a wide range of communication paths
MX Sheet uses MX Component for communication between the programmable controller CPU and personal
Using a variety of communication paths supported by MX Component, system configuration that meets user's
requirement can be achieved.
<Examples of communication using MX Component>
Ethernet communication
MELSECNET/H communication
GOT
Modem communication
Gateway function communication
23
1.2 Features
computer.
(3) The data using labels can be displayed/set.
Not only devices, but also the data using labels can be displayed/set.
Register the labels using Label Utility of MX Component.
Act.LogifalNumber=1;
Act.Open();
ret=Act.GetDevice("Temperature",Data);
Act.Close();
Visual Basic R
User application
Visual C++ R
Visual C# R
Microsoft
Excel
R
MX Sheet
MX Component
Label Utility
System label
database
(4) Each function can be controlled by device condition.
The condition of device data collection/write can be set to programmable controller CPU devices.
The execution of any MX Sheet function can be controlled from the programmable controller CPU side.
<When device data is collected/written while bit device is on>
Device data is
collected/written
ON
OFF
Corresponding functions
Logging
Alarm summary
Comment display
Automatic save
Automatic print
24
Monitor
Write
Device data is
collected/written
CHAPTER 1 OVERVIEW
1
(5) Data logging using CSV file
Using the logging or monitor function, device data can be displayed on Excel spreadsheet, and simultaneously,
collected data can be saved into a CSV file.
Long-term data collection is enabled by a single CSV file.
Display on Excel spreadsheet
Simultaneous
execution!
[CSV file]
2012/06/29 08:00:00, 0, 0, 0, 0, 0, 0
Save into CSV file
2012/06/29 08:00:10, 10, 20, 30, 40, 50, 60
(6) Improvement of operability by buttons
By creating buttons, the Start Communication, End Communication, and 1 Shot Communication functions can be
executed by merely clicking the corresponding buttons.
Operability is improved as compared to the execution of the functions from the menu.
1.2 Features
After displaying the MX Sheet menu,
select Start Communication.
Create a
button
Easy click
operation
25
CHAPTER 2
SYSTEM CONFIGURATIONS
The system configuration for MX Sheet is the same as that for MX Component Version 4.
For details, refer to the following manual.
MX Component Version 4 Operating Manual.
2.1
Operating Environment
The following table summarizes the operating environment for MX Sheet.
Item
Personal computer
Description
Microsoft® Windows® supported personal computer
CPU
Intel® Core™2 Duo 2GHz or higher is recommended.
Required memory
Recommended 1GB or more *1
PC CPU module
Available hard disk capacity
Display
MELSEC-Q series-compatible PC CPU module (CONTEC CO., LTD.product)*2
At installation: 300MB or more. *3, *4
At operation: Virtual memory available capacity is 512MB or more.
Resolution 1024  768 dots or more
Microsoft® Windows XP® Professional Operating System (English version) SP3 or later
Microsoft® Windows XP® Home Edition Operating System (English version) SP3 or later
Microsoft® Windows Vista® Home Basic Operating System (English version) SP2 or later
Microsoft® Windows Vista® Home Premium Operating System (English version) SP2 or later
Microsoft® Windows Vista® Business Operating System (English version) SP2 or later
Microsoft® Windows Vista® Ultimate Operating System (English version) SP2 or later
Microsoft® Windows Vista® Enterprise Operating System (English version) SP2 or later
Microsoft® Windows® 7 Starter Operating System (English version)
Microsoft® Windows® 7 Home Premium Operating System (English version)
Microsoft® Windows® 7 Professional Operating System (English version)
Operating system *5, *6, *7, *8
Microsoft® Windows® 7 Ultimate Operating System (English version)
(32-bit/64-bit)
Microsoft® Windows® 7 Enterprise Operating System (English version)
Microsoft® Windows® 8 Operating System (English version)
Microsoft® Windows® 8 Pro Operating System (English version)
Microsoft® Windows® 8 Enterprise Operating System (English version)
Microsoft® Windows® 8.1 Operating System (English version)
Microsoft® Windows® 8.1 Pro Operating System (English version)
Microsoft® Windows® 8.1 Enterprise Operating System (English version)
Microsoft® Windows® 10 Home Operating System (English version)
Microsoft® Windows® 10 Pro Operating System (English version)
Microsoft® Windows® 10 Enterprise Operating System (English version)
Microsoft® Windows® 10 Education Operating System (English version)
26
CHAPTER 2 SYSTEM CONFIGURATIONS
Item
Description
Required software
Microsoft® Excel® 2003 (English version), Microsoft® Excel® 2007 (English version)*10,
Microsoft® Excel® 2010 (32-bit version) (English version)*11,
Excel*9
Microsoft® Excel® 2013 (32-bit version) (English version)*12, or
MX Component
*1 :
*2 :
*3 :
*4 :
For 64-bit Windows® 7 or later, 2GB or more memory is required.
Production of the PC CPU module was discontinued in March, 2011.
When installing .NET Framework, at least 1GB of free space is required.
This includes the required free space for installation of MX Component.
*5 :
*6 :
*7 :
Windows XP® Professional (64-bit version) and Windows Vista® (64-bit version) cannot be used.
.NET Framework 2.0 and .NET Framework 2.0 English Language Pack installation is required.
When the following functions are used, this product may not run properly.
• Application start-up in Windows compatibility mode
• Fast user switching
• Remote desktop
• Windows XP Mode
• Windows Touch or Touch
• Modern UI
• Client Hyper-V
• Virtual Desktops
• Tablet mode
*8 :
*9 :
2
Microsoft® Excel® 2016 (32-bit version) (English version)*13
MX Component Version 4 or later
• Windows® Hibernate and Standby
In the following case, the screen of this product may not work properly.
• The size of the text and/or other items on the screen are changed to values other than default values (such as 96
DPI, 100%, and 9 pt).
Excel spreadsheets created in the English environment are applicable to the English environment only, cannot be used
in the other environment.
*10 : When using Microsoft® Excel® 2007, Microsoft® Windows XP® Service Pack 2 or later is required.
*11 : When using Microsoft® Excel® 2010 (32-bit version), Microsoft Windows XP® Service Pack 3, Microsoft® Windows
*12 : When using Microsoft® Excel® 2013 (32-bit version), Windows® 7 or later is required. Microsoft® Excel® 2013 (64-bit
version) is not supported.
*13 : When using Microsoft® Excel® 2016 (32-bit version), Windows® 7 or later is required. Microsoft® Excel® 2016 (64-bit
version) is not supported.
27
2.1 Operating Environment
Vista® Service Pack 1, or Microsoft® Windows® 7 or later is required. Microsoft® Excel® 2010 (64-bit version) is not
supported.
● Considerations when using Microsoft® Excel® 2010 or later
In order to use MX Sheet, install 32-bit version.
When installing MX Sheet on the personal computer where 64-bit version is installed, the following error message is
displayed.
After MX Sheet is installed, 64-bit Microsoft® Excel® 2010 or later is installed and started, then an add-in is installed, the
following error message is displayed.
28
CHAPTER 3 FUNCTION LIST OF MX Sheet
CHAPTER 3
FUNCTION LIST OF MX Sheet
This chapter explains the functions of MX Sheet, accessible CPUs and accessible devices.
3.1
Function List of MX Sheet
Available
Function
Description
Name
Logging
Monitor
Write
3
Device
Points
Accumulates device data collected from programmable controller
CPU in cell range selected on Excel as history.
Displays device data collected from programmable controller CPU in
cell range selected on Excel.
Writes values entered on Excel to programmable controller CPU
devices.
256 points *1,*2
strings that are set separately and accumulates them on Excel
Converts bit or word device values into comment character strings
display
that are set separately and displays them on Excel spreadsheet.
Device trigger
Handshake
collection/write are met.
Sets handshake with programmable controller CPU for secure device
data collection/write.
Displays device data on Excel spreadsheet with logging or monitor
function, and simultaneously saves collected data as a CSV file.
2000 points*2,*4
1 point*5
-
Automatic print
Automatically prints Excel book.
-
startup
CPU when Excel book is started.
Communication
This function starts communication with the programmable controller
start
CPU.
Communication
This function ends communication with the programmable controller
end
CPU.
1 shot
Executes functions set in the selected cell range at any desired
communication
timing.
Create Button
Protect/
Unprotect MS
Sheet setting
Options
Setting data
export
This function creates buttons to facilitate Start Communication, End
Communication, and 1 Shot Communication operations.
This function sets/cancels the password for protecting the MX Sheet
setting.
Section 6.2
-
-
-
This function sets the output format of the error log sheet.
-
Outputs MX Sheet settings in CSV file format.
-
Page 73,
Section 6.3
Page 83,
Section 6.4
6 columns
Page 92,
65536 rows
Section 6.5
1
-
Automatically starts communication with programmable controller
Page 36,
65536 rows
2000
Automatically saves Excel book.
communication
256 columns
2000 points*1,*3
Automatic save
Automatic
Section
Page 102,
Section 6.6
Page 57,
Section 6.2.4
Page 60,
Section 6.2.5
Page 70,
Section 6.2.6
Page 113,
CHAPTER 7
Page 121,
CHAPTER 8
Page 124,
CHAPTER 9
Page 126,
Section 10.1
Page 129,
Section 10.2
Page 130,
CHAPTER 11
Page 138,
CHAPTER 14
Page 144,
CHAPTER 15
Page 148,
CHAPTER 16
Page 150,
CHAPTER 17
29
3.1 Function List of MX Sheet
CSV logging
Collects/Writes device data when set device conditions set for
Cells
2000
spreadsheet as alarm history.
Comment
Reference
2000 points*1,*3
Converts ON/OFF data of bit devices into alarm comment character
Alarm summary
Available
*1 :
*2 :
*3 :
*4 :
*5 :
This number of device points refers to the case where word device data are collected/written in 16-bit integer.
The number of device points that can be set changes depending on the device data type, etc.
One Excel file (one Excel book) accepts 100 - cell - area setting.
One Excel file (one Excel book) accepts 1000 - cell - area setting.
Only bit devices can be set.
One Excel file (one Excel book) accepts 500 - cell - area setting.
3.2
Accessible CPUs and Accessible Device Ranges
(1) Accessible CPUs
The accessible CPUs in MX Sheet are the same as those in MX Component Version 4.
For details, refer to the following manual.
MX Component Version 4 Operating Manual.
(2) Accessible device ranges
The accessible device ranges in MX Sheet are the same as those in MX Component Version 4, with the exception
of the following item.
For details, refer to the following manual.
MX Component Version 4 Operating Manual.
(a) Device extension representation
MX Sheet does not allow access to any device by word designation for bit device (e.g. K4X0, K8M0) and bit
designation for word device (e.g. D0.0, W.01).
(3) Specifying GOT timer contact devices and counter contact devices
In the cell settings of MX Sheet (Page 35, CHAPTER 6), timer contact devices (TT) and counter contact
devices (CT) which are the device representation of GOT can be entered.
The entered "TT" and "CT" are automatically changed to "TS" and "CS" respectively.
(4) Specifying devices on Q motion CPU
The device write function cannot be executed.
Device indexing (bit specification, digit specification, indexed addressing) cannot be used.
30
CHAPTER 4 MX Sheet OPERATION PROCEDURE
CHAPTER 4
MX Sheet OPERATION PROCEDURE
The following explains the MX Sheet operation procedure.
Install MX Sheet.
 MX Sheet Version 2
Operating Manual
(Introduction)
4
Start Excel and save the Excel book. *1
Select the function to be used, and set MX Sheet settings.
Logging function
Write function
Comment display function
Automatic print function
Monitor function
Alarm summary function
Automatic save function
Page 35, CHAPTER 6
Page 113, CHAPTER 7
Page 121, CHAPTER 8
Start communication.
Page 126, Section 10.1
End communication.
Page 129, Section 10.2
Complete
*1 :
Before starting MX Sheet settings, save the Excel book. If not, MX Sheet cannot be set.
Communication efficiency changes depending on the MX Sheet setting. ( Page 156, Appendix 2 Page 166,
Appendix 4.)
Remark
Refer to the Excel manual for how to operate Excel.
31
(1) Administrator authority when setting/changing communication setup on
Windows Vista® and Windows® 7
Administrator authority is required for setting/changing communication setup.
(a) Administrator authority in case of Windows Vista and Windows® 7
• When user account control (UAC) is enabled
All users including administrator are fixed at and operate as "standard user".
To execute programs in administrator authority*1, specify "Run as administrator".
*1 :
When executing Excel with administrator authority, even if selecting "NO" for "Do you execute programs as an
administrator?" executes with administrator authority.
• When user account control (UAC) is invalid
The programs can be executed with administrator authority.
(b) When setting/changing the communication setup on Windows Vista® and Windows® 7
The following three methods are available to set/change the communication setup.
• Execute the communication setup utility of MX Component with Administrator authority and set/change the
setting.
• Execute the communication setup utility with administrator authority from Excel for setting/changing.
• Execute Excel with Administrator authority*2 and set/change the setting.
*2 :
When executing Excel with administrator authority, the operations such as opening the file by dragging and dropping
cannot be executed.
(2) Administrator authority when setting/changing communication setup on
Windows® 8 or later
(a) Administrator authority in case of Windows® 8 or later
Select the communication setup utility, and then right-click and select "Run as administrator".
32
CHAPTER 5 MX Sheet MENU SELECTION METHOD
CHAPTER 5
MX Sheet MENU SELECTION
METHOD
This chapter explains the displaying method and details of the MX Sheet menu options.
Screen display
•
•
*1 :
Select the <<Add-Ins>> tab  [MX Sheet] *1
Specify the cell area and right-click the mouse.
When using Microsoft® Excel® 2003, select [MX Sheet] on the menu bar.
Display the toolbar by selecting [View]  [Toolbars] on the menu bar, and select "MX Sheet".
<<Add-Ins>> tab
5
Right-click of mouse
Remark
If the Excel spreadsheet type is other than the worksheet, the MX Sheet menu is not displayed. When using MX Sheet, set
the setting on the worksheet.
33
(1) MX Sheet menu details
The following table details the items of the MX Sheet menu.
Item
Menu bar
Icon
Cell Setting
Description
Right-click
[MX Sheet] Cell Setting
Automatic Save Setting
-
Automatic Print Setting
-
Set the cell setting.
Set the automatic save
setting.
-
Startup Setting
Set the automatic print
setting.
-
End Communication
-
communication startup
Start the communication.
End the communication.
Copy Cell Area
[MX Sheet] Copy Cell Area
Copy a cell area.
Paste Cell Area
[MX Sheet] Paste Cell Area
Paste a cell area*2
Delete Cell Area
[MX Sheet] Delete Cell Area
Delete a cell area.
Change Sheet Name
-
Change the Excel
spreadsheet name.
-
-
-
-
-
Protect MX Sheet Setting
-
-
Unprotect MX Sheet Setting
-
-
Options
-
-
Setting Data Export
-
-
Version Info.
-
-
End Communication
Button
1 Shot Communication
Button
*1 :
*2 :
34
Can be selected after start of communication.
Can be selected after the cell area is cut or copied.
Page 129,
Page 130,
Cut a cell area
-
Page 126,
Section 10.1
CHAPTER 11
[MX Sheet] Cut Cell Area
Button
Page 124,
CHAPTER 9
communication.
Cut Cell Area
-
Page 121,
Perform 1 shot
[MX Sheet] 1 Shot Communication
Start Communication
Page 113,
Section 10.2
*1
1 Shot Communication
Create Button
Page 35,
CHAPTER 6
CHAPTER 8
setting.
Start Communication
Section
CHAPTER 7
Set the automatic
Automatic Communication
Reference
Create the Start
Communication Button.
Create the End
Communication Button.
Create the 1 Shot
Communication Button.
Protect the MX Sheet
setting.
Unprotect the MX Sheet
setting.
Set the error log options.
Execute setting data
export.
Page 132,
Section 12.1
Page 133,
Section 12.2
Page 134,
Section 12.3
Page 136,
Section 12.4
Page 137,
CHAPTER 13
Page 138,
Section 14.1
Page 142,
Section 14.2
Page 143,
Section 14.3
Page 144,
Section 15.1
Page 147,
Section 15.2
Page 148,
Section 16.1
Page 150,
CHAPTER 17
Display the MX Sheet
Page 156,
version.
Appendix 1
CHAPTER 6 CELL SETTING
CHAPTER 6
CELL SETTING
This chapter explains cell setting required to operate MX Sheet.
6.1
Operation of Cell Settings Screen
This section explains the displaying procedure and setting item change of the Cell Settings screen.
In the Cell Settings screen, its setting items change automatically depending on the selected function.
Screen display
[MX Sheet]  [Cell Setting] (
)
The setting of the Cell Settings screen can be changed by selecting "Use" of the <<Use>> tab.
6
Selecting "Use" changes setting items.
6.1 Operation of Cell Settings Screen
The following table shows the function outlines and relevant sections for options of "use".
Item
Function
Reference
Logging
Set when using the logging function.
Page 36, Section 6.2
Monitor
Set when using the monitor function.
Page 73, Section 6.3
Write
Set when using the write function.
Page 83, Section 6.4
Alarm summary
Set when using the alarm summary function.
Page 92, Section 6.5
Comment
Set when using the comment display function.
Page 102, Section 6.6
● Inverter communication/Robot controller communication is not supported other than "Logging".
● A system label*1 can also be set on the Cell Settings screen where a label can be set.
● When using labels, do not install MX Component using the ACT Version.
For the installation using the ACT Version, refer to the following manual.
MX Component Version 4 Operating Manual
*1 :
There are two kinds of system labels; system label Ver.1 and system label Ver.2.
For the differences between system label Ver.1 and system label Ver.2, refer to the HELP of MELSOFT Navigator.
For their respective creation methods, refer to the following manual.
MX Component Version 4 Operating Manual
35
6.2
When "Logging" is Selected
This section explains the Cell Settings screen when "Logging" is selected from "Use" of the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 37,
Page 44,
Section 6.2.1
Section 6.2.2
<<Operation Interval>> tab
<<Device Trigger>> tab
Required
Set as
setting
necessary
Page 50,
Page 57,
Section 6.2.3
Section 6.2.4
<<Handshake>> tab
36
<<CSV Logging>> tab
Set as
Set as
necessary
necessary
Page 60,
Page 70,
Section 6.2.5
Section 6.2.6
CHAPTER 6 CELL SETTING
6.2.1
Setting of the <<Use>> tab
This section explains the setting of the <<Use>> tab for use of the logging function.
on the <<Use>> tab, set the cell area, logging data display position, displayed content, and operation when the cell is
full.
Screen display
6
1)
Item
Use
Cell Area Name
Cell Area
Set the Color of Grid line
Set the Color for Filling
Clear cell area at the start
of communication
Description
Reference
Set the function to be used for the specified cell area.
Select "Logging" when using the logging function.
Set the name of the specified cell area.
-
(Maximum number of cell area names : 100)
Enter the value to specify the cell area.
Set whether the specified cell area is provided with grid lines (including color
designation) or not.
Set whether the specified cell area is colored or not.
When "Clear cell area at the start of communication" is selected, the data in
the cell area specified at the start of communication is cleared.
(Default: selected)
Page 38, (1)
in this section
Page 39, (2)
in this section
Page 39, (3)
in this section
Set the latest data display position of the logging data.
• Last Line
New data location
The latest data is displayed at the lost of the specified cell area.
• First Line
Page 40, (4)
in this section
The latest data is displayed at the first of the specified cell area.
Display Contents
Set whether the title and the date and time are added to the displayed
Page 40, (5)
logging data or not.
in this section
37
6.2 When "Logging" is Selected
6.2.1 Setting of the <<Use>> tab
Display contents
Item
Description
Reference
Set the operation to be performed when the specified cell area is full.
• To scroll
The displayed content are scrolled and displayed.
• Display from the first without clearing the cell area
The data currently displayed in the cell area are overwritten and logging is
Operating when cell is full
resumed. Before logging is resumed, the Excel spreadsheet can be
printed and saved.
Page 42, (6)
in this section
• Display from the first after clearing the cell area
The data displayed in the cell area are erased and logging is resumed.
Before logging is resumed, the Excel spreadsheet can be printed and
saved.
1) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Page 43, (7)
in this section
(1) "Cell Area"
Set the cell area to be used by the logging function.
(a) Setting examples
<When a single cell range is specified (B2 to D5)>
B2 : D5
Enter the cell numbers with ":" in between.
Cell area from B2 to D5
(Number of cells : 12)
<When multiple cell areas are specified (B2 to D5 (Specified cell area 1) and B8 to D11 (Specified cell area 2))>
B2 : D5 , B8 : D11
Specified cell area 2
Enter the cell areas with "," in between.
Specified cell area 1
Specified cell area 1
(B2 to D5)
Specified cell areas 1 and 2
are displayed in this order.
In this case;
Number of specified cell area : 2
Number of cells : 24
Specified cell area 2
(B8 to D11)
(b) Setting ranges
The following shows the available setting ranges for the cell area and number of specified cell areas.
• Cell area: When date and time are added: 255 columns 65536 rows
When date and time are not added: 256 columns 65536 rows
• Number of specified cell areas: Up to 16
38
CHAPTER 6 CELL SETTING
(2) "Set the Color of Grid line" and "Set the Color for Filling"
Set the colors of cell area grid lines and cell filling.
Depending on the selection, all area may be colored gray.
For details, refer to the following consideration.
Page 7, OPERATING CONSIDERATIONS
(3) "Clear cell area at the start of communication"
Set whether the cell area is cleared or not at the start of communication.
(a) Display example in the case where "Clear cell area at the start of communication" is
selected.
<Before the start of communication>
2012/06/25 Mon 13:00:00
15
37
2012/06/25 Mon 13:00:05
16
39
2012/06/25 Mon 13:00:10
17
42
31
102
6

<At the start of communication>

<At the completion of the first collection>
(b) Display example in the case where "Clear cell area at the start of communication" is
not selected.
<Before the start of communication>
2012/06/25 Mon 13:00:00
15
37
2012/06/25 Mon 13:00:05
16
39
2012/06/25 Mon 13:00:10
17
42
2012/06/25 Mon 13:00:00
15
37
2012/06/25 Mon 13:00:05
16
39
2012/06/25 Mon 13:00:10
17
42
2012/06/25 Mon 13:00:00
15
37
2012/06/25 Mon 13:00:05
16
39
2012/06/25 Mon 13:00:10
17
42
2012/06/25 Mon 15:00:00
31
102

<At the start of communication>

<At the completion of the first collection>
39
6.2 When "Logging" is Selected
6.2.1 Setting of the <<Use>> tab
2012/05/24 Mon 15:00:00
(4) "New data location"
Set the newest data location when the logging function is used.
<Display example>
• When "Last Line" is selected
Old data
New data
• When "First Line" is selected.
New data
Old data
(5) "Display Contents"
(a) "Add title" check box
Set whether the date and time and the title for device name is displayed or not at the first line of the "Cell
Area". When displaying the title, select the check box.
<Display example>
When "Add date and time details" is selected and the devices D100 to D103 are set
The device name set on the <<Access Data>> tab is displayed.
Title
Collection data
Date Time
D100
D101
D102
D103
2012/06/25 Mon 13:24:14
30
100
0
37
2012/06/25 Mon 13:24:17
40
80
0
55
● The title display line is not the target of cell area clear at the start of communication or clear when cell is full.
● When the Cell Area is set at multiple locations, the title is displayed for only the Cell Area specified first.
<Example>
When the Cell Area on the <<Use>> tab is set to B2:E4, B6:E8)
40
CHAPTER 6 CELL SETTING
(b) "Add date and time details" check box
Set whether the logging date and time are added to the cell area set in the "Cell Area" or not.
When adding the date and time, select the check box.
In this case, the leftmost column of the logging data area is used for the date and time. (One item of logging
data decreases.)
The date and time column displays the date and time of the personal computer where MX Sheet is installed.
2012/06/28 Thu 15:14:34
Indicates the time as "hours: minutes: seconds".
Indicates the day of the week as "Sun (Sunday),
Mon (Monday), Tue (Tuesday), Wed (Wednesday),
Thu (Thursday), Fri (Friday), Sat (Saturday)".
Indicates the date as "year/month/day".
Remark
The above date and time can be edited on Excel.
If the cell setting is edited again after editing on Excel, the setting on Excel are invalid.
6
6.2 When "Logging" is Selected
6.2.1 Setting of the <<Use>> tab
41
(6) "Operating when cell is full"
Set the operation to be performed when the cell area is full of logging data.
When "New data location" is set for "First Line", "Display from the beginning without clearing the cell area" cannot
be selected.
(a) When "To scroll" is selected
<When "New data location" is set for "Last Line">
First data
Second data
Second data
Third data
Third data
Fourth data
Fourth data
Fifth data
Fifth data
Sixth data
Scrolled up.
<When "New data location" is set for "First Line">
Fifth data
Sixth data
Fourth data
Fifth data
Third data
Fourth data
Second data
Third data
First data
Second data
Scrolled down.
(b) When "Display from the beginning without clearing the cell area" is selected
When the cell is full, Excel spreadsheet print or Excel book save can also be performed.
First data
Sixth data
Second data
Second data
Third data
Fourth data
Print or save
Excel spreadsheet.
Fifth data
Third data
Data are
overwritten,
beginning with
the first data.
Fourth data
Fifth data
(c) When "Display from the beginning after clearing the cell area" is selected
When the cell is full, Excel spreadsheet print or Excel book save can also be performed.
Sixth data
First data
Second data
Third data
Print or save
Excel spreadsheet.
Data are
overwritten,
beginning with
the first data.
Fourth data
Fifth data
(d) When "Print the Excel spreadsheet" is selected
The Excel spreadsheet is printed when the cell is full.
After completion of print, all data are erased and logging is resumed.
This item can be selected when "Operating when cell is full" is set to (b) or (c).
42
CHAPTER 6 CELL SETTING
(e) When "Save to file" is selected
The Excel book is saved when the cell is full.
After completion of save, all data are erased and logging is resumed.
This item can be selected when "Operating when cell is full" is set to (b) or (c).
When choosing "Save to file", set the following settings for the file where data is saved.
Item
Description
The storage location and file name is set for the Excel book to be saved when the cell is full. *1
File name to save
The Excel file (.xls, .xlsx*2, .xlsm*2, .xlsb*2) or HTML file (.htm)*3 or CSV file (.csv) can be set as the
file type. *4
The file set in "File name to save" saves data with the date and time added to its file name.
The following shows a file name format when data is saved.
*****20120523183536. extension
Extension set to "File name to save"
Seconds
Minutes
Hours
Day
Month
Year
File name set in "File name to save"
Add date and time to File
name
6
The file set in "File name to save" saves data with a number added to its file name.
A serial number can be set within the range of 000 to 999.
When the number is reached to the last, the file of the first number is overwritten by the newly saving
file.
Add sequential number to
The following shows the file name format when data is saved.
*****000. extension
Extension set in "File name to save"
File number
File name set in "File name to save"
Fix the File name
The file set in "File name to save" is overwritten by data.
*1 :
A UNC path name (\\server name\path name) cannot be specified as a file name. After assigning the network drive, specify the
path name.
*2 :
*3 :
.xlsx, .xlsm, and .xlsb are Workbook-format extensions added to Microsoft® Excel® 2007 or later.
For the continuous operation when saving data automatically in HTML format, refer to the following appendix.
Page 170, Appendix 6.
In the case of an Excel file or HTML file, the whole Excel book is saved. However, in the case of a CSV file, only the data of the
target sheet is saved.
*4 :
(7) Preset cell areas
The cell areas already set to the Excel book are displayed.
The following operations are available by selecting the cell area name in the "preset cell areas".
(a) Reading the settings
Select and double-click the cell area name to read the settings of the selected cell area name to the Cell
Settings screen.
(b) Deleting the settings
Select the cell area name and press the  key to erase all the settings of the selected cell area name.
43
6.2 When "Logging" is Selected
6.2.1 Setting of the <<Use>> tab
File name
6.2.2
Setting of the <<Access Data>> tab
This section explains the setting of the <<Access Data>> tab for use of the logging function.
On the <<Access Data>> tab, set the logical station number required for communication with the programmable
controller CPU and the device data to be collected in the cell area.
Screen display
1)
2)
3)
Display contents
Item
Description
Logical Station Number
button
Remote password *1
Page 45, (1)
in this section
Used to start the communication setup utility to set a new logical station
Page 45, (2)
number and change the settings.
in this section
Enter the password when the password is set to the connection target
Page 45, (3)
programmable controller CPU.
in this section
1) (Access data)
Set the devices or labels to be logged.
2) (Number of set devices)
The number of devices currently set is displayed.
3) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
*1 :
44
Select the logical station number required for performing communication.
Reference
Page 45, (4)
in this section
Page 49, (5)
in this section
Page 37,
Section 6.2.1
"Remote password" is displayed when the logical station number selected in "Logical Station Number" of the <<Access
Data>> tab is the one for the password function compatible module.
CHAPTER 6 CELL SETTING
(1) "Logical Station Number"
Select the logical station number required for communication.
If the logical station number is already set, the number is displayed in the list box and can be selected.
If the logical station number is not set, click the
(2)
button and set a new logical station number.
button
This button is used to start the communication setup utility to set a new logical station number and change the
settings.
Select "Run as administrator" when the screen is displayed asking if execute programs with administrator
authority or not.
After starting the communication setup utility, click on the
button and set a new logical station number
and change the settings with the Communication Setting Wizard.
For the detailed explanation of the communication setup utility and Communication Setting Wizard, refer to the
following manual.
6
MX Component Version 4 Operating Manual
(3) "Remote password"
"Remote password" box is displayed when the setting of the logical station number selected in "Logical Station
Number" includes information on the connection to the module with the password function.
When the password is set to the connection target programmable controller CPU, enter the password.
It need not be entered when the password is not set.
(4) Access data
Data are displayed in the cell area in the order of the numbers shown on the left of the <<Access Data>> tab.
<Device data display example>
Setting example of the <<Access Data>> tab
Data numbers
The device data are displayed on Excel as shown below.
Displayed in order of data numbers.
Data No. 1
Data No. 2
Data No. 3
45
6.2 When "Logging" is Selected
6.2.2 Setting of the <<Access Data>> tab
(a) Order of display
(b) "Device"
Enter a device or label to be accessed.
• When entering a device, enter a device name and device number in this order.
• When entering a label, enter the label name.
• The applicable data types are Bit and Word.
• When entering a label, enter other than structured data type label and array type label.
For the accessible devices, refer to the following manual.
Page 30, Section 3.2
(c) "Data Type"
Set the data type to be displayed in the cell.
When a label is specified to "Device", the corresponding data type of the entered label is displayed.
Item
Available Device
Bit device
Bit
Word device
(Bit specification)
16 bit integer
(-32768 to 32767)
Bit device *1
Word device
Bit device *1
32 bit integer
Word device
(-2147483648 to
2147483647)
Double word device
Monitor type
Bit device *1
Character string
Word device
Real number
(±2-126
*1 :
*2 :
*3 :
46
|value| < ±2128, 0)
Bit device *1
Word device
Description
The bit devices set in "Device" are displayed in a single cell in units
of one bit.
Designated bits for word device set in "Device" are displayed in a
single cell in units of one bit (e.g. D0.0).
Displayed in a single cell in units of 1 word (16 bits), starting with the
16 bit integer device number set in "Device". *2
Displayed in a single cell in units of 1 word, starting with the device
number set in "Device".*2
Displayed in a single cell in units of 2 words (32 bits), starting with
the device number set in "Device".*2
Displayed in a single cell in units of 2 words, starting with the device
number set in "Device". *2
Data of device number set to "Device" are displayed in a single cell
in units of 1 device (32-bit). *2
The monitor types set in "Device" are displayed in a single cell in
units of 2 words. *2
The data of the device number set in "Device" are displayed in the
cell as character strings.*3
The data of the device number set in "Device" are displayed in the
cell as character strings.*3
Displayed in a single cell in units of 2 words (32 bits), starting with
Real number the device number set in "Device".*2
Displayed in a single cell in units of 2 words, starting with the device
number set in "Device".*2
When R motion CPU and Q motion CPU, displayed in a single cell in units of one bit.
The displayed value changes depending on the "Zoom" setting. Refer to (f) for details.
The unit and the number of displayed characters of the read data change depending on the "No. of characters"
setting. Refer to (e) for details.
CHAPTER 6 CELL SETTING
(d) "Value"
Select the display format of the value to be displayed in the cell from DEC and HEX.
Depending on the "Data Type", the "Value" and "Zoom" can be selected/set as shown below.
Item
Data Type
Cell data display
Value
Zoom
Not applicable
Not applicable
0 or 1
DEC
Applicable
Displayed in decimal
HEX
Not applicable
DEC
Applicable
HEX
Not applicable
Character String
Not applicable
Not applicable
Character string is displayed (Example: ABCD)
Real number
Not applicable
Applicable
Real number is displayed (Example: 1.36E-36)
Bit
16 bit integer
32 bit integer
Display in 4-digit hexadecimal
(Example: 03EB)
Displayed in decimal
Display in 8-digit hexadecimal
(Example: 03EB03EA)
(e) "No. of characters"
6
Set the number of characters to be displayed in a single cell.
Setting range: 40
Depending on the value set in "No. of characters" and device data, the character strings may not be displayed
in the cell.
The following are the examples of setting 1 to 4 in "No. of characters".
<Example>
When displaying the character strings stored in D0 to D3
b15 to b8 b7 to b0
B
A
D1
D
C
D2
F
E
D3
H
G
6.2 When "Logging" is Selected
6.2.2 Setting of the <<Access Data>> tab
D0
<When "No. of characters" is set to "1">
The data is displayed in a single cell in units of 1 word (16 bits).
Only the character stored in b0 to b7 of D0 is displayed.
The character stored in b8 to b15 of D0 is not displayed.
D0 (b0 to b7) data is displayed.
<When "No. of characters" is set to "2">
The data is displayed in a single cell in units of 1 word (16 bits).
The character strings stored in b0 to b7 and b8 to b15 are displayed in this order.
D0 (b0 to b7, b8 to b15) data is displayed.
47
<When "No. of characters" is set to "3">
The data is displayed in a single cell in units of 2 words (32 bits).
The character strings stored in D0 (b0 to b7, b8 to b15) and D1 (b0 to b7) are displayed.
The character string stored in b8 to b15 of D1 is not displayed.
D0 (b0 to b7, b8 to b15) and D1 (b0 to b7) data is displayed.
<When "No. of characters" is set to "4">
The data is displayed in a single cell in units of 2 words (32 bits).
The character strings stored in D0 (b0 to b7, b8 to b15) and D1 (b0 to b7, b8 to b15) are displayed in this order.
D0 (b0 to b7, b8 to b15) and D1 (b0 to b7, b8 to b15) data is displayed.
(f) "Zoom"
The device value read from the programmable controller CPU is multiplied by the zoom ratio and displayed in
the cell.
When "Data Type" is set to "Bit" or "Character string", the "Zoom" setting is not possible.
When the "Value" is set to "HEX", the "Zoom" setting is not possible.
Setting range: 0.001 to 1000
Programmable
controller
Set "Zoom" to "0.1".
CPU
D0
25
Excel
Displayed 2.5 on Excel.
(g) "No. of cells"
Set the number of cells to be used for the device set in "Device" within the area specified in "Cell Area".
When the system labels are specified to devices, or inverter communication setting/robot controller
communication setting is set to the logical station number, '1' is displayed.
<Device data display example>
Setting example of the <<Access Data>> tab
Device: D0
Data type: 16 bit integer
Number of cells: 3
The device data are displayed on Excel as shown below.
3 points are displayed in order, starting with D0.
These are set as the cell area but not used.
48
CHAPTER 6 CELL SETTING
(h) "Dev. Points"
The points of the devices to be consecutively read starting with the device number set in "Device" are
displayed.
When inverter communication setting/robot controller communication setting is set to the logical station
number, '2' is displayed.
(i) "In unit"
The unit of the device to be shown in the cell is displayed.
When inverter communication setting/robot controller communication setting is set to the logical station
number, "Word" is displayed.
(5) The number of set devices
The number of device points and others set to the cell area are displayed.
6
Indicates the number of device points set for
the logging function in the cell area.
Indicates the number of cells available for the cell area.
Indicates the number of cells where the device is set in the cell area.
6.2 When "Logging" is Selected
6.2.2 Setting of the <<Access Data>> tab
49
6.2.3
Setting of the <<Operation Interval>> tab
This section explains the setting of the <<Operation Interval>> tab for use of the logging function.
On the <<Operation Interval>> tab, set the day, time and time zone of the activation of the function for the cell area.
Screen display
1)
Display contents
Item
Set the Operation Interval
Set the operation of the cell area valid or invalid.
Operation day
Set the operation day of the logging activation.
Operation time
Set the operation time of the logging activation.
Logging Time zone*1
Set the time zone of the logging activation.
1) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
*1 :
Reference
Page 51, (1)
in this section
Page 51, (2)
in this section
Page 52, (3)
in this section
Page 53, (4)
in this section
Page 37,
Section 6.2.1
If the logical station number selected in "Logical Station Number" of the <<Access Data>> tab is the one for modem
communication, "Logging Time zone" is switched to "Telephone line connectivity time zone".
Item
Telephone line connectivity
time zone
50
Description
Description
Sets the timing of connection and disconnection of the telephone line.
Reference
Page 53, (5)
in this section
CHAPTER 6 CELL SETTING
(1) "Set the Operation Interval"
To set the settings of cell area invalid or to use the function of cell area for 1 shot communication only, clear the
check box. (Do not clear the check mark for the case of ordinary operation.)
(2) "Operation day"
Set the operation day of device data collection.
(a) When "Daily" is selected
Operation is performed every day.
(b) When "Weekly" is selected
Operation is performed on the specified day of the week only.
Multiple days of the week can be set.
(c) When "Monthly" is selected
6
Operation is performed on the specified days only.
If the specified day does not exist in some months, an alternate day can be specified.
Number of days that can be set: 31
<When "15th" is set>
Operation is performed on the 15th every month, e.g. January 15, February 15, March 15.
<When "31st" is set>
Excepting February, April, June, September and November, operation is performed on the 31st every month.
For February, April, June, September and November, set the alternate day and processing in "Alternate day
when a date does not exist".
The following table shows the setting items of "Alternate day when a date does not exist".
Description
Last day of the current
Operation is performed on the last day of February, April, June, September or
month
November.
First day of the next month
Operation is performed on the first day of the next month.
No operation
Operation is not performed in February, April, June, September and November.
6.2 When "Logging" is Selected
6.2.3 Setting of the <<Operation Interval>> tab
Item
51
(3) "Operation time"
Set the operation time of device data collection.
(a) When "Regular interval" is selected
Device data is collected at the set second intervals.
When modem communication is used and "Connect each time depending " is set in "Telephone line ", set 30
seconds or more to "Regular interval".
When set for lesser "seconds" than the actual communication time, the fixed interval communication cannot be
established. Hence, set for longer than the actual communication time.
For Communication time, refer to the following performance value.
Page 156, Processing Speed of MX Sheet
Setting range: 0.001 to 0.999 (in units of 0.001 seconds), 1 to 3600 (in units of 1 second)
When the date and time are added, the date and time displayed on the Excel spreadsheet is in the "yyyy/mm/
dd ddd hh:mm:ss" format if the setting is 0.001 to 0.999 seconds.
<Example>
When 0.2 seconds interval is set
52
CHAPTER 6 CELL SETTING
(b) When "Minutely" is selected
Device data is collected at the specified second every minute.
Number of times that can be set: 60
(c) When "Hourly" is selected
Device data is collected at the specified minute every hour.
Number of times that can be set: 60
(d) When "Time table" is selected
Device data is collected at the specified time.
Number of times that can be set: 50
(4) "Logging Time zone"
Set the time zone for logging.
(a) When "Log Always" is selected
6
Logging is always performed at the specified operation time of the operation day.
(b) When "Log only during the specified time zone" is selected
Logging is performed in the specified time zone only.
Number of settings: 4
When "Operation day" is set to "Weekly" or "Monthly", do not set the following setting that is span two days.
6.2 When "Logging" is Selected
6.2.3 Setting of the <<Operation Interval>> tab
(5) "Telephone line connectivity time zone"
Set the time zone for connection with the telephone line.
(a) When "Be in connected state always from the start of the communication" is
selected
The telephone line is connected upon start of MX Sheet communication, and is kept connected until
termination of MX Sheet communication.
(b) When "Connect during the specified time zone only" is selected
The telephone line is connected only in the specified time zone.
Number of settings: 4
When "Operation day" is set to "Weekly" or "Monthly", do not set the following setting that is span two
days.
(c) When "Connect each time depending on the operation interval" is selected
The telephone line is connected and disconnected according to the settings of "Operation day" and "Operation
time".
53
(6) Setting examples
(a) When using communication other than modem communication (Log Always)
<Setting example>
Set the Operation Interval
Operation day
Daily
Operation time
Regularinterval
Logging Time zone
Log Always
: Selected
: Selected
: 60 seconds
: Selected
<Operation timing>
First
Second
60s
Third
60s
Fourth
60s
Fifth
60s
Sixth
60s
Time
Device data collection
is executed.
54
CHAPTER 6 CELL SETTING
(b) When using communication other than modem communication (Log only during the
specified time zone)
<Setting example>
Set the Operation Interval
: Selected
Operation day
Weekly
: Selected
Friday
: Selected
Operation time
Hourly
: 0 (minutes)
Logging Time zone
Log only during the specified time zone: Selected
Time zone
: 10:00 to 13:00
6
<Operation timing>
Every Friday
9:00
10:00
11:00
12:00
13:00
14:00
Time
6.2 When "Logging" is Selected
6.2.3 Setting of the <<Operation Interval>> tab
Device data collection is executed.
Device data collection is not executed.
55
(c) When using communication other than modem communication (Log only during the
specified time zone)
<Setting example>
Set the Operation Interval
: Selected
Operation day
Daily
: Selected
Operation time
Hourly
: 0 (minutes)
Telephone line connectivity time zone
Connect each time depending
on the operation interval
: Selected
<Operation timing>
9:00
10:00
11:00
Time
Connection of
telephone line
Device data
collection is
executed.
Disconnection of
telephone line
56
CHAPTER 6 CELL SETTING
6.2.4
Setting of the <<Device Trigger>> tab
This section explains the setting of the <<Device Trigger>> tab for use of the logging function.
On the <<Device Trigger>> tab, set the device conditions for the device trigger.
Screen display
1)
6
2)
Item
Description
Reference
Page 57, (1)
Set the Device Trigger
Set when the device trigger is used.
1) (Device conditions)
Set the device or label conditions.
2) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
in this section
Page 57, (2)
in this section
Page 37,
Section 6.2.1
(1) "Set the Device Trigger"
When using the device trigger, be sure to select "Set the Device Trigger".
(2) Device conditions
Set the device conditions for the device trigger.
(a) Device type
Set the type of the device used for the device trigger.
Item
Bit Device
Description
Set when using a bit device for the device trigger.
Set when using a word device or double word device for the device trigger, or the inverter
Word Device
communication setting/robot controller communication setting is set to the logical station
number.
57
6.2 When "Logging" is Selected
6.2.4 Setting of the <<Device Trigger>> tab
Display contents
(b) "Device"
Enter the device or label used for the device trigger.
• When entering a device, enter a device name and device number in this order.
• When entering a label, enter the label name.
• The applicable data types are Bit and Word.
• When entering a label, enter other than structured data type label and array type label.
(c) "the bit"
Set the corresponding bit of the word device.
Setting range: 0 to 15
(d) "Condition"
Set the device trigger condition.
Item
When ON
Available Device
Bit device
ON
Word device
OFF
When OFF
Bit device
ON
Word device
OFF
ON
Bit device
ON
Word device
OFF
OFF
Bit device
ON
Word device
OFF
=
<>
<=
<
>=
>
Range
58
Word device,
Description
Set when operation is to be performed only once when the bit device turns on.
Set when operation is to be performed only once when the corresponding bit of the word
device turns on (value: 1).
Set when operation is to be performed only once when the bit device turns off.
Set when operation is to be performed only once when the corresponding bit of the word
device turns off (value: 0).
Set when operation is to be performed while the bit device is on.
Set when operation is to be performed while the corresponding bit of the word device is
on (value: 1).
Set when operation is to be performed while the bit device is off.
Set when operation is to be performed while the corresponding bit of the word device is
off (value: 0).
Set when operation is to be performed when the device value is equal to the "Value"
Double word device
setting.
Word device,
Set when operation is to be performed when the device value is not equal to the "Value"
Double word device
setting.
Word device,
Set when operation is to be performed when the device value is equal to or less than the
Double word device
"Value" setting.
Word device,
Set when operation is to be performed when the device value is less than the "Value"
Double word device
setting.
Word device,
Set when operation is to be performed when the device value is equal to or greater than
Double word device
the "Value" setting.
Word device,
Set when operation is to be performed when the device value is greater than the "Value"
Double word device
setting.
Word device,
Set when operation is to be performed when the device value is within the specified
Double word device
"Value" setting range.
CHAPTER 6 CELL SETTING
(e) "Value"
Enter the values used for "Condition".
Setting range:
• Word device (-32768 to 32767)
• Double word device (-2147483648 to 2147483647)
• When inverter communication setting/robot controller communication setting (-2147483648 to
2147483647)
<When "Range" is to "Condition">
Enter the values in "Value" as shown below.
Enter the upper limit value
of the range.
Enter the lower limit value of the range.
6
6.2 When "Logging" is Selected
6.2.4 Setting of the <<Device Trigger>> tab
59
6.2.5
Setting of the <<Handshake>> tab
This section explains the setting of the <<Handshake>> tab for use of the logging function.
On the <<Handshake>> tab, set the handshake requesting source and handshake processing.
Screen display
1)
2)
3)
Display contents
Item
Set Handshake
1) (Requesting source
setting)
Description
Set when using a handshake.
Set the requesting source of the handshake.
2) (Handshake processing)
Set the handshake processing.
3) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 61, (1)
in this section
Page 65, (2)
in this section
Page 65, (3)
in this section
Page 37,
Section 6.2.1
When inverter communication setting or Robot controller communication setting is set to the logical station number,
handshake is not supported.
60
CHAPTER 6 CELL SETTING
(1) Setting examples and operation timing
The following shows the handshake setting examples and operation timing.
(a) When "Start with the request from the PLC" is selected (Device: Bit device)
<Setting example>
Set Handshake
Start with the request from the PLC
Responding device on the PC side
Bit device
Device
Value
Requesting device on the PLC side
Bit device
Device
Condition
Monitoring time
: Selected
: Selected
: Selected
: M100
: ON
: Selected
: M0
: When ON
: 10 seconds
6
<Operation timing>
M100
(Responding device
on the PC side)
ON
3)
OFF
5)
2)
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
Device data
collection
M0
(Requesting device
on the PLC side)
ON
OFF
4)
1)
Time-out monitoring
(Monitoring time)
1) When M0 turns on, processing in 2) is started.
2) Device data is collected.
3) After device data is collected, M100 is turned on.
4) M0 is turned off.
5) M100 is turned off.
61
(b) When "Start with the request from the PLC" is selected (Device: Word device)
<Setting example>
Set Handshake
: Selected
Start with the request from the PLC : Selected
Responding device on the PC side
Word device
: Selected
Device
: D200
Value
: 1 (left), 0 (right)
Requesting device on the PLC side
Word device
: Selected
Device
: D100
Condition
:=
Value
: 100
Monitoring time
: 10 seconds
<Operation timing>
3)
D200
(Responding device
on the PC side)
5)
1
0
2)
Device data
collection
1)
D100
(Requesting device
on the PLC side)
4)
100
Time-out monitoring
(Monitoring time)
1) When the D100 value reaches 100, processing in 2) is started.
2) Device data is collected.
3) After device data is collected, the D200 value is changed to 1.
4) The D100 value is changed to other than 100.
5) The D200 value is changed to 0.
62
CHAPTER 6 CELL SETTING
(c) When "Start with the request from the PLC" is selected (Device: Word device)
<Setting example>
Set Handshake
: Selected
Start with the request from the PC : Selected
Requesting device on the PC side
Bit device
: Selected
Device
: M100
Value
: ON
Responding device on the PLC side
Bit device
: Selected
Device
: M0
Condition
: When ON
Monitoring time
: 10 seconds
6
<Operation timing>
M100
(Requesting device
on the PC side)
4)
ON
1)
OFF
3)
Device data
collection
ON
2)
5)
OFF
Time-out monitoring
(Monitoring time)
1) M100 is turned on.
2) When M0 turns on, processing in 3) is started.
3) Device data is collected.
4) After device data is collected, M100 is turned off.
5) M0 is turned off.
Remark
Time-out monitoring is not executed between 4) and 5) above.
If the operation in 5) is not performed in the programmable controller CPU, device data collection is not executed when the
handshake conditions are satisfied at the next time.
63
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
M0
(Responding device
on the PLC side)
(d) When "Start with the request from the PC" is selected (Device: Word device)
<Setting example>
Set Handshake
Start with the request from the PC
Requesting device on the PC side
Word device
Device
Value
Responding device on the PLC side
Word device
Device
Condition
Value
Monitoring time
: Selected
: Selected
: Selected
: D200
: 1 (left), 0 (right)
: Selected
: D100
:=
: 100
: 10 seconds
<Operation timing>
D200
(Requesting device
on the PC side)
1)
4)
1
0
3)
Device data
collection
D100
(Responding device
on the PLC side)
5)
2)
100
Time-out monitoring
(Monitoring time)
1) The D200 value is changed to 1.
2) When the D100 value reaches 100, processing in 3) is started.
3) Device data is collected.
4) After device data is collected, the D200 value is changed to 0.
5) The D100 value is changed to other than 100.
Remark
Time-out monitoring is not executed between 4) and 5) above.
If the operation in 5) is not performed in the programmable controller CPU, device data collection is not executed when the
handshake conditions are satisfied at the next time.
64
CHAPTER 6 CELL SETTING
(2) "Set Handshake"
When using a handshake, be sure to select "Set Handshake".
(3) Requesting source setting
Set the requesting source for a device data collection start.
Item
Description
Set when starting device data collection at the request of the programmable controller
Start with the request from the PLC
CPU.
Start with the request from the PC
Set when starting device data collection at the request of the personal computer.
(4) Handshake processing
Set the handshake processing on the personal computer side and programmable controller CPU side.
(a) PC side processing
6
• Device type
Set the device type used for PC side processing.
Item
Description
Bit device
Set when a bit device is used for PC side processing.
Word device
Set when a word device or double word device is used for PC side processing.
• "Device"
Enter the device or label used for PC side processing.
• When entering a device, enter a device name and device number in this order.
• When specifying a bit of the word device, enter the bit number in "the bit".
• When entering a label, enter the label name.
• The applicable data types is Bit.
• When entering a label, enter other than structured data type label and array type label.
• "Value"
Set the value of the device used for PC side processing.
Item
ON
OFF
Empty (Value input)
Available Device
Description
Bit device
Set when the value of the device used for PC side processing
Word device (Bit specification)
is set for ON.
Bit device
Set when the value of the device used for PC side processing
Word device (Bit specification)
is set for OFF.
Word device
Set the value of the word device used for PC side processing.
Double word device
Set the value of the double word device used for PC side
processing.
Setting range:
• Word device (-32768 to 32767)
• Double word device (-2147483648 to 2147483647)
65
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
• Bit cannot be specified for a double word device.
(b) Programmable controller CPU side processing
• Device type
Set the device type used for programmable controller CPU side processing.
Item
Description
Bit device
Set when a bit device is used for programmable controller CPU side processing.
Set when a word device or double word device is used for programmable controller
Word device
CPU side processing.
• "Device"
Enter the device or label used for programmable controller CPU side processing.
• When inputting a device, input a device name and device number in this order.
• When specifying a bit of the word device, enter the bit number in "the bit".
• Bit cannot be specified for a double word device.
• When entering a label, enter the label name.
• The applicable data types is Bit.
• When entering a label, enter other than structured data type label and array type label.
• "Condition"
Set the conditions of the device used for programmable controller CPU side processing.
Item
ON
OFF
=
Available Device
Description
Bit device
Set when the value of the device used for programmable
Word device (Bit specification)
controller CPU side processing is set for ON.
Bit device
Set when the value of the device used for programmable
Word device (Bit specification)
controller CPU side processing is set for OFF.
Word device,
Set when the programmable controller CPU side device value is
Double word device
equal to the "Value" setting.
• "Value"
Set the value of the device used for programmable controller CPU side processing.
This can be set only when "=" is selected in "Condition".
Setting range:
• Word device (-32768 to 32767)
• Double word device (-2147483648 to 2147483647)
(c) Monitoring time
Set the time during which the PC side device monitors the programmable controller CPU side device.
Setting range: 1 to 3600
The monitoring time changes depending on the requesting source setting.
The following table shows the monitoring time.
Requesting Source Setting
Monitoring item
Monitoring is executed from the time when the PC side responding device is set to
Start with the request from the
programmable controller
the time when the programmable controller CPU side requesting device is reset. If
the programmable controller CPU side responding device is not reset after the
elapse of the monitoring time, the collected device data is discarded and the error log
is displayed on the ErrorLog sheet.
Monitoring is executed from the time when the PC side requesting device is set to
Start with the request from the PC
the time when the programmable controller CPU side responding device is set. If the
programmable controller CPU side requesting device is not set after the elapse of
the monitoring time, the error log is displayed on the ErrorLog sheet.
66
CHAPTER 6 CELL SETTING
(5) Sample ladders for handshake
The following is the sample ladders for handshake used in the setting examples in (1).
(a) When "Start with the request from the PLC" is selected (Device: Bit device)
6
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
67
(b) When "Start with the request from the PLC" is selected (Device: Word device)
(c) When "Start with the request from the PC" is selected (Device: Bit device)
68
CHAPTER 6 CELL SETTING
(d) When "Start with the request from the PC" is selected (Device: Word device)
6
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
69
6.2.6
Setting of the <<CSV Logging>> tab
This section explains the setting of the <<CSV Logging>> tab for use of the logging function.
On the <<CSV Logging>> tab, the file name and the saving content with which logging data is saved to CSV file.
Screen display
1)
Display contents
Item
70
Description
Save as CSV file
Set when using the CSV logging.
Contents to save
Set when adding the device name to the first line.
No. of lines to be saved
Set the number of lines to be saved.
File name to save
Set the file name to save.
1) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 71, (1)
in this section
Page 71, (2)
in this section
Page 71, (3)
in this section
Page 72, (4)
in this section
Page 37,
Section 6.2.1
CHAPTER 6 CELL SETTING
(1) "Save as CSV file"
When using the CSV logging, be sure to select "Save as CSV file".
(2) "Contents to save"
Activate this setting when adding the device name to the first line of the data to be saved into a CSV file.
Device name is added to first line.
If 0.001 to 0.999 seconds are set to the "Regular interval" on the <<Operation Interval>> tab, the date and time to
be written to the CSV file is in the "yyyy/mm/dd hh:mm:ss" format.
<Example>
When 0.2 seconds interval is set
6
(3) "No. of lines to be saved"
6.2 When "Logging" is Selected
6.2.6 Setting of the <<CSV Logging>> tab
Set the number of lines to be saved into a single CSV file.
Setting range: 1 to 9999999 *1
*1 :
Set any of 1 to 65535 when using the CSV file on Excel.
71
(4) "File name to save"
Set the CSV file name to save.
Item
File name to save
Description
Sets the saving location and file name of the CSV file. *1
Adds the date and time data to the file name set in "File name to save" and saves it.
In CSV logging, data is added until the data in the CSV file reach the number of lines set in "No. of
lines to be saved".
When they reach the set number of lines, a new CSV file is created.
The following shows the file name when data are saved.
*****20120523183536.csv
Add date and time to File
name
Seconds
Minutes
Hours
Day
Month
Year
File name set in "File name to save"
Adds the file number to the file name set in "File name to save" and saves it.
The serial number can be set in a range from 000 to 999.
When the number reaches the last, the data of the next file are overwritten to the file of the first
number.
In CSV logging, data is added until the data in the CSV file reach the number of lines set in "No. of
Add sequential number to
File name
lines to be saved".
When they reach the set number of lines, a new CSV file is created.
*****000.csv
File number
File name set in "File name to save"
Overwrites data to the CSV file set in "File name to save".
Fix the File name
In CSV logging, data is added until the data in the CSV file reach the number of lines set in "No. of
lines to be saved".
*1 :
72
A UNC path name (\\server name\path name) cannot be specified as a file name. After assigning the network drive, specify
the path name.
CHAPTER 6 CELL SETTING
6.3
When "Monitor" is Selected
This section explains the Cell Settings screen when "Monitor" is selected from "Use" on the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 74,
Page 77,
Section 6.3.1
Section 6.3.2
6
<<Operation Interval>> tab
<<Device Trigger>> tab
Required
Set as
setting
necessary
Page 78,
Page 80,
Section 6.3.3
Section 6.3.4
<<CSV Logging>> tab
Set as
Set as
necessary
necessary
Page 81,
Page 82,
Section 6.3.5
Section 6.3.6
73
6.3 When "Monitor" is Selected
<<Handshake>> tab
6.3.1
Setting of the <<Use>> tab
This section explains the setting of the <<Use>> tab for use of the monitor function.
On the <<Use>> tab, set the cell area and monitor data display direction.
Screen display
1)
Display contents
Item
Use
Cell Area Name
Cell Area
Set the Color of Grid line
Set the Color for Filling
Clear cell area at the start
of communication
Description
Reference
Set the function to be used for the specified cell area. Select "Monitor" when
using the monitor function.
Set the name of the specified cell area.
-
(Maximum number of cell area names : 1000)
Enter the value to specify the cell area.
Set whether the specified cell area is provided with grid lines (including color
designation) or not.
Set whether the specified cell area is colored or not.
When "Clear cell area at the start of communication" is selected, the data in the
cell area specified at the start of communication is cleared.
(Default: cleared)
Page 75, (1)
in this section
Page 37,
Section 6.2.1
Page 75, (2)
in this section
Set the monitor data display sequence.
• Left to Right
Cell Display Direction
Monitor data are displayed from left to right in the specified cell area in order.
• Top to Bottom
Page 76, (3)
in this section
Monitor data are displayed from top to bottom in the specified cell area in order.
1) (Preset cell areas)
74
The settings of the cell areas preset to the Excel book are displayed.
Page 37,
Section 6.2.1
CHAPTER 6 CELL SETTING
(1) "Cell Area"
Set the cell area to be used by the monitor function.
(a) Setting examples
For the "Cell Area" setting examples, refer to the following section.
Page 37, Section 6.2.1
(b) Setting ranges
The following explains the possible setting ranges of the cell area and number of specified cell areas.
Number of cells : 2000
Number of specified cell areas : 16
(2) "Clear cell area at the start of communication"
Set whether the cell area is cleared or not at the start of communication.
(a) Display example in the case where "Clear cell area at the start of communication" is
selected
6
<Before the start of communication>
1005
35
102
10
1002
30
200
15
990
36
151
25
111
15

<At the start of communication>
910
33
880
34
180
22
925
31
135
18
(b) Display example in the case where "Clear cell area at the start of communication" is
not selected
<Before the start of communication>
1005
35
102
10
1002
30
200
15
990
36
151
25
35
102
10
1002
30
200
15
990
36
151
25

<At the start of communication>
1005

<At the completion of the first collection>
910
33
111
15
880
34
180
22
925
31
135
18
75
6.3 When "Monitor" is Selected
6.3.1 Setting of the <<Use>> tab

<At the completion of the first collection>
(3) "Cell Display Direction"
Set the monitor data display sequence.
(a) When "Left to Right" is selected
<When cell area (B2:D5) is set to "Left to Right">
Monitor data are displayed in order of 1 to 12.
(b) When "Top to Bottom" is selected
<When cell area (B2:D5) is set to "Top to Bottom ">
Monitor data are displayed in order of 1 to 12.
76
CHAPTER 6 CELL SETTING
6.3.2
Setting of the <<Access Data>> tab
This section explains the setting of the <<Access Data>> tab for use of the monitor function.
On the <<Access Data>> tab, set the logical station number required for communication with the programmable
controller CPU and the device data to be collected in the cell area.
Screen display
1)
6
2)
3)
Item
Logical Station Number
Description
Reference
Select the logical station number required for performing communication.
Used to start the communication setup utility to set a new logical station number
and change the settings.
button
Remote password *1
1) (Access data)
Enter the password when the password is set to the connection target
programmable controller CPU.
Page 44,
Section 6.2.2
Set the devices or labels to be monitored.
2) (Number of set devices) The number of devices currently set is displayed.
3) (Preset cell areas)
*1 :
The settings of the cell areas preset to the Excel book are displayed.
Page 37,
Section 6.2.1
"Remote password" is displayed when the logical station number selected in "Logical Station Number" of the <<Access
Data>> tab is the one for the password function compatible module.
77
6.3 When "Monitor" is Selected
6.3.2 Setting of the <<Access Data>> tab
Display contents
6.3.3
Setting of the <<Operation Interval>> tab
This section explains the setting of the <<Operation Interval>> tab for use of the monitor function.
On the <<Operation Interval>> tab, set the day, time and time zone of the activation of the function for the cell area.
Screen display
1)
Display contents
Item
Set the Operation Interval
Set the operation of the cell area valid or invalid.
Operation day
Set the operation day of the monitor function activation.
Operation time
Set the operation time of the monitor function activation.
Telephone line connectivity
time zone *1
1) (Preset cell areas)
*1 :
78
Description
Set the telephone line connection timing and disconnection timing.
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 50,
Section 6.2.3
Page 79, (1)
in this section
Page 50,
Section 6.2.3
Page 37,
Section 6.2.1
"Telephone line connectivity time zone" is displayed when the logical station number selected in "Logical Station
Number" on the <<Access Data>> tab is the one for modem communication.
CHAPTER 6 CELL SETTING
(1) "Operation time"
The setting except for "Regular interval" is the same as that of the logging function.
For the setting except for "Regular interval", refer to the following section.
Page 50, Section 6.2.3
(a) When "Regular interval" is selected
Device data is collected at the set second intervals.
When modem communication is used and "Telephone line connectivity time zone" is set to "Connect each time
depending on the operation interval", set "Regular interval" to 30 seconds or more.
When set for lesser "seconds" than the actual communication time, the fixed interval communication cannot be
established. Hence, set for longer than the actual communication time.
For Communication time, refer to the following performance value.
Page 156, Processing Speed of MX Sheet
Setting range: 0.001 to 0.999 (in units of 0.001 seconds), 1 to 3600 (in units of 1 second)
6
6.3 When "Monitor" is Selected
6.3.3 Setting of the <<Operation Interval>> tab
79
6.3.4
Setting of the <<Device Trigger>> tab
This section explains the setting of the <<Device Trigger>> tab for use of the monitor function.
On the <<Device Trigger>> tab, set the device conditions for the device trigger.
Screen display
1)
2)
Display contents
Item
Set the Device Trigger
80
Description
Set when the device trigger is used.
1) (Device conditions)
Set the device or label conditions.
2) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 57,
Section 6.2.4
Page 37,
Section 6.2.1
CHAPTER 6 CELL SETTING
6.3.5
Setting of the <<Handshake>> tab
This section explains the setting of the <<Handshake>> tab for use of the monitor function.
On the <<Handshake>> tab, set the handshake requesting source and handshake processing.
Screen display
1)
2)
6
3)
Item
Description
Set Handshake
Set when using a handshake.
1) (Requesting source setting)
Set the requesting source of the handshake.
2) (Handshake processing)
Set the handshake processing.
3) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 60,
Section 6.2.5
Page 37,
Section 6.2.1
81
6.3 When "Monitor" is Selected
6.3.5 Setting of the <<Handshake>> tab
Display contents
6.3.6
Setting of the <<CSV Logging>> tab
This section explains the setting of the <<CSV Logging>> tab for use of the monitor function.
On the <<CSV Logging>> tab, set the file name and the saving content with which the monitor data is saved into the
CSV file.
Screen display
1)
Display contents
Item
82
Description
Save as CSV file
Set when using the CSV logging.
Contents to save
Set when adding the device name to the first line.
No. of lines to be saved
Set the number of lines to be saved.
File name to save
Set the file name to save.
1) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 70,
Section 6.2.6
Page 37,
Section 6.2.1
CHAPTER 6 CELL SETTING
6.4
When "Write" is Selected
This section explains the Cell Settings screen when "Write" is selected from "Use" on the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 84,
Page 86,
Section 6.4.1
Section 6.4.2
6
<<Operation Interval>> tab
<<Device Trigger>> tab
Required
Set as
setting
necessary
Page 88,
Page 90,
Section 6.4.3
Section 6.4.4
6.4 When "Write" is Selected
<<Handshake>> tab
Set as
necessary
Page 91,
Section 6.4.5
83
6.4.1
Setting of the <<Use>> tab
This section explains the setting of the <<Use>> tab for use of the write function.
On the <<Use>> tab, set the cell area and display direction of written data.
Screen display
1)
Display contents
Item
Use
Cell Area Name
Cell Area
Set the Color of Grid line
Set the Color for Filling
Clear cell area at the
start of communication
Description
Reference
Set the function to be used for the specified cell area. Choose "Write" when
using the write function.
Set the name of the specified cell area.
-
(Maximum number of cell area names : 1000)
Enter the value to specify the cell area.
Set whether the specified cell area is provided with grid lines (including color
designation) or not.
Set whether the specified cell area is colored or not
When "Clear cell area at the start of communication" is selected, the data in
the cell area specified at the start of communication is cleared.
(Default: cleared)
Page 85, (1)
in this section
Page 37,
Section 6.2.1
Page 74,
Section 6.3.1
Set the input cells for the write data.
• Left to Right
Cell Display Direction
Write data are set from left to right in the specified cell area in order.
• Top to Bottom
Page 85, (2)
in this section
Write data are set from top to bottom in the specified cell area in order.
1) (Preset cell areas)
84
The settings of the cell areas preset to the Excel book are displayed.
Page 74,
Section 6.3.1
CHAPTER 6 CELL SETTING
(1) "Cell Area"
Set the cell area to be used by the write function.
(a) Setting examples
For the "Cell Area" setting examples, refer to the following section.
Page 37, Section 6.2.1
(b) Setting ranges
The following explains the possible setting ranges of the cell area and number of specified cell areas.
Number of cells : 2000
Number of specified cell areas : 16
(2) "Cell Display Direction"
Set the display sequence of written data
(a) When "Left to Right" is selected
6
<When cell area (B2:D5) is set to "Left to Right">
6.4 When "Write" is Selected
6.4.1 Setting of the <<Use>> tab
Written data are displayed in order of 1 to 12.
(b) When "Top to Bottom" is selected
<When cell area (B2:D5) is set to "Top to Bottom ">
Written data are displayed in order of 1 to 12.
85
6.4.2
Setting of the <<Access Data>> tab
This section explains the setting of the <<Access Data>> tab for use of the write function.
On the <<Access Data>> tab, set the logical station number required for communication with the programmable
controller CPU and the device data to be written from the cell area.
Screen display
1)
2)
3)
Display contents
Item
Logical Station Number
Description
Select the logical station number required for performing communication.
Used to start the communication setup utility to set a new logical station number
and change the settings.
button
Remote password*1
86
Page 44,
Section 6.2.2
Enter the password when the password is set to the connection target
programmable controller CPU.
1) (Access data)
Set the devices or labels to be written.
2) (Number of set devices)
The number of devices currently set is displayed.
3) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
*1 :
Reference
Page 87, (1)
in this section
Page 44,
Section 6.2.2
Page 37,
Section 6.2.1
"Remote password" is displayed when the logical station number selected in "Logical Station Number" on the <<Access
Data>> tab is the one for the password function compatible module.
CHAPTER 6 CELL SETTING
(1) "Access data"
The setting except for "Zoom" is the same as that of the logging function.
For the setting except for "Zoom", refer to the following section.
Page 44, Section 6.2.2
(a) "Zoom"
The value entered into the cell is multiplied by the zoom ratio and written to the programmable controller CPU
device.
When "Data Type" is set to "Bit" or "Character string", the "Zoom" setting is not possible.
When the "Value" is set to "HEX", the "Zoom" setting is not possible.
Setting range: 0.001 to 1000
Excel
Set "Zoom" to "0.1".
Programmable controller CPU
D0
100
Enter 1000 into cell.
6
100 is written to programmable controller CPU.
When "Zoom" is set for the write data and fractional decimals occurs in the data to be actually written to the programmable
controller CPU, set "Real number" in "Data type".
6.4 When "Write" is Selected
6.4.2 Setting of the <<Access Data>> tab
87
6.4.3
Setting of the <<Operation Interval>> tab
This section explains the setting of the <<Operation Interval>> tab for use of the write function.
On the <<Operation Interval>> tab, set the day, time and time zone of the activation of the function for the cell area is
activated.
Screen display
1)
Display contents
Item
Reference
Set the operation of the cell area valid or invalid.
Operation day
Set the operation of the cell area valid or invalid.
Operation time
Set the operation time of the write function activation.
Page 89, (1)
in this section
Set the telephone line connection timing and disconnection timing.
Page 50,
Section 6.2.3
The settings of the cell areas preset to the Excel book are displayed.
Page 37,
Section 6.2.1
Telephone line connectivity
time zone*1
1) (Preset cell areas)
*1 :
88
Description
Set the Operation Interval
Page 50,
Section 6.2.3
"Telephone line connectivity time zone" is displayed when the logical station number selected in "Logical Station
Number" on the <<Access Data>> tab is the one for modem communication.
CHAPTER 6 CELL SETTING
(1) "Operation time"
The setting except for "Regular interval" is the same as the that of the logging function.
For the setting except for "Regular interval", refer to the following section.
Page 50, Section 6.2.3
(a) When "Regular interval" is selected
Device data is written at the set second intervals.
When modem communication is used and "Telephone line connectivity time zone" is set to "Connect each time
depending on the operation interval", set "Regular interval" to 30 seconds or more.
When set for lesser "seconds" than the actual communication time, the fixed interval communication cannot be
established. Hence, set for longer than the actual communication time.
For Communication time, refer to the following performance value.
Page 156, Processing Speed of MX Sheet
Setting range: 0.001 to 0.999 (in units of 0.001 seconds), 1 to 3600 (in units of 1 second)
6
6.4 When "Write" is Selected
6.4.3 Setting of the <<Operation Interval>> tab
89
6.4.4
Setting of the <<Device Trigger>> tab
This section explains the setting of the <<Device Trigger>> tab for use of the write function.
On the <<Device Trigger>> tab, set the device conditions for the device trigger.
Screen display
1)
2)
Display contents
Item
Set the Device Trigger
90
Description
Set when the device trigger is used.
1) (Device conditions)
Set the device or label conditions.
2) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 57,
Section 6.2.4
Page 37,
Section 6.2.1
CHAPTER 6 CELL SETTING
6.4.5
Setting of the <<Handshake>> tab
This section explains the setting of the <<Handshake>> tab for use of the write function.
On the <<Handshake>> tab, set the handshake requesting source and handshake processing.
Screen display
1)
2)
6
3)
Item
Description
Set Handshake
Set when using a handshake.
1) (Requesting source setting)
Set the requesting source of the handshake.
2) (Handshake processing)
Set the handshake processing.
3) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 60,
Section 6.2.5
Page 37,
Section 6.2.1
91
6.4 When "Write" is Selected
6.4.5 Setting of the <<Handshake>> tab
Display contents
6.5
When "Alarm Summary" is Selected
This section explains the Cell Settings screen when "Alarm summary" is selected from "Use" on the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 93,
Page 96,
Section 6.5.1
Section 6.5.2
<<Alarm Data>> tab
<<Operation Interval>> tab
Required
Set as
setting
necessary
Page 98,
Page 100,
Section 6.5.3
Section 6.5.4
<<Device Trigger>> tab
Set as
necessary
Page 101,
Section 6.5.5
92
CHAPTER 6 CELL SETTING
6.5.1
Setting of the <<Use>> tab
This section explains the setting of the <<Use>> tab for use of the alarm summary function.
On the <<Use>> tab, set the cell area, display position of alarm data and operation in the case where cell is full.
Screen display
6
1)
Item
Use
Cell Area Name
Cell Area
Set the Color of Grid line
Set the Color for Filling
Clear cell area at the start
of communication
Description
Reference
Set the function to be used for the specified cell area.
Select "Alarm summary" when using the alarm summary function.
Set the name of the specified cell area.
-
(Maximum number of cell area names : 100)
Enter the value to specify the cell area.
Page 94, (1)
in this section
Set whether the specified cell area is provided with grid lines (including color
designation) or not.
Set whether the specified cell area is colored or not.
When "Clear cell area at the start of communication" is checked, the data in the cell
area specified at the start of communication is cleared.
(Default: selected)
Page 37,
Section 6.2.1
Set the latest data display position of the alarm summary.
• Last Line
New data location
The latest data is displayed at the last of the specified cell area.
• First Line
The latest data is displayed at the first of the specified cell area.
Display Contents
Set whether the title, elapsed time, and number of occurrences is added to the Alarm
Page 94, (2)
Summary or not.
in this section
93
6.5 When "Alarm Summary" is Selected
6.5.1 Setting of the <<Use>> tab
Display contents
Item
Description
Reference
Set the operation to be performed when the specified cell area is full.
• To scroll
The displayed content is scrolled and displayed.
• Display from the first without clearing the cell area
The data currently displayed in the cell area are overwritten and the alarm summary
Operating when cell is full
is resumed.
Page 37,
Before the alarm summary is resumed, the Excel spreadsheet can be printed and
Section 6.2.1
saved.
• Display from the first after clearing the cell area
The data displayed in the cell area are erased and the alarm summary is resumed.
Before the alarm summary is resumed, the Excel spreadsheet can be printed and
saved.
1) (Preset cell areas)
Page 37,
The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
(1) "Cell Area"
Set the cell area to be used by the alarm summary function.
(a) Setting examples
For the "Cell Area" setting examples, refer to the following section.
Page 37, Section 6.2.1
(b) Setting examples
The following shows the possible setting ranges of the cell area and number of specified cell areas.
Number of cells : 4 columns (indispensable) 65536 rows*1
Number of specified cell areas : 16
*1 :
When displaying the elapsed time and number of occurrences in the Alarm Summary, increase the number of columns
by 1 respectively.
6 columns are required to display both.
(2) "Display Contents"
(a) "Add title" check box
Set whether the title for the column item shown in the following table is displayed or not on the first line of the
set "Cell Area". When displaying the title, select the check box.
Column item
Title
• On time String/Off time String (Page 98, Section 6.5.3)
The On time String is displayed when the device turns from OFF to ON, or the Off time String is
ON/OFF
displayed when the device turns from ON to OFF.
Date and time when the device turns from OFF to ON or from ON to OFF
Date time
Alarm String set to the device (Page 98, Section 6.5.3)
Alarm
Status String set to the device (Page 98, Section 6.5.3)
Status
Elapsed time from when the device turns ON until it turns OFF (Page 95, (2)(b) in this section)
Elapsed time
Number of times when the device turned from OFF to ON after the start of communication.
Number of
(Page 95, (2)(c) in this section)
occurrences
● The title display line is not the target of cell area clear at the start of communication or clear when cell is full.
● When the Cell Area is set at multiple locations, the title is displayed for only the Cell Area specified first.
94
CHAPTER 6 CELL SETTING
(b) "Add elapsed time" check box
Set whether the elapsed time from when the device set on the <<Access Data>> tab turns ON until it turns OFF
is displayed on the Alarm Summary or not.
When displaying the elapsed time, select the check box.
The display format is "hour:minute:second".
<Example>
Display when the elapsed time is 1 minute 25 seconds 0:01:25
When the device is ON at the start of communication, the time from when communication starts until the device turns OFF is
displayed as the elapsed time.
(c) "Add number of occurrences" check box
Set whether the number of times when the device set on the <<Access Data>> tab turns from OFF to ON after
the start of communication is displayed on the Alarm Summary or not.
6
When displaying the number of occurrences, select the check box.
In this case, the "Clear cell area at the start of communication" check box must be selected.
● When the device is ON at the start of communication, it is counted as the first alarm.
● When the number of occurrences exceeds 65535, it returns to 0.
<Example>
Display content on the Excel spreadsheet when "Add title", "Add elapsed time", and "Add number of
ON/OFF
Status
Elapsed
Number of
time
occurrences
Date time
Alarm
Generation
2012/06/25 Mon 15:05:20
Parts1 Abnormal fault
Major failure
Generation
2012/06/25 Mon 15:05:31
Parts 2 Quantity error
Minor failure
Restoration
2012/06/25 Mon 15:06:48
Parts1 Abnormal fault
Major failure
0:01:28
1
Restoration
2012/06/25 Mon 15:07:52
Parts 2 Quantity error
Minor failure
0:02:21
1
6.5 When "Alarm Summary" is Selected
6.5.1 Setting of the <<Use>> tab
occurrences" are all selected
1
1
95
6.5.2
Setting of the <<Access Data>> tab
This section explains the setting of the <<Access Data>> tab for use of the alarm summary function.
On the <<Access Data>> tab, set the logical station number required for communication with the programmable
controller CPU and the device data to be used for the alarm summary function.
Screen display
1)
2)
3)
Display contents
Item
Description
Logical Station Number
button
Remote password*1
96
Select the logical station number required for performing communication.
Used to start the communication setup utility to set a new logical station
number and change the settings.
Enter the password when the password is set to the connection target
Page 44,
Section 6.2.2
programmable controller CPU.
1) (Access data)
Set the devices or labels use for the alarm summary function.
2) (Number of set devices)
The number of devices currently set is displayed.
3) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
*1 :
Reference
Page 97, (1)
in this section
Page 97, (2)
in this section
Page 44,
Section 6.2.2
"Remote password" is displayed when the logical station number selected in "Logical Station Number" on the <<Access
Data>> tab is the one for the password function compatible module.
CHAPTER 6 CELL SETTING
(1) Access data
(a) Registration order
Data are displayed on the <<Alarm Data>> tab in the order of the numbers shown on the left of the <<Access
Data>> tab.
Setting example of <<Access Data>> tab
Data numbers
The device data are displayed on the <<Alarm Data>> tab as shown below.
Data No. 1
Displayed in order
of data numbers.
6
Data No. 2
Data No. 3
(b) "Device"
Only the bit device can be specified for the alarm summary.
Enter the device name and device number in this order.
(c) "Dev. Points"
The points of the devices to be consecutively registered starting with the device number set in "Device" are
(2) The number of set devices
The number of device points registered to the cell area and the number of device points that can be registered are
displayed
Indicates the number of device points
that can be registered to the cell area.
Indicates the number of device points that is
registered to the cell area.
97
6.5 When "Alarm Summary" is Selected
6.5.2 Setting of the <<Access Data>> tab
displayed.
6.5.3
Setting of the <<Alarm Data>> tab
This section explains the setting of the <<Alarm Data>> tab for use of the alarm summary function.
On the <<Alarm Data>> tab, set the character strings to be displayed in the cell area.
Screen display
1)
2)
Display contents
Item
Description
1) (Alarm data)
Set the alarm data to be used for the alarm summary function.
2) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
(1) "Device"
The device registered on the <<Access Data>> tab is displayed.
(2) "ON time String"
Enter the character string to be displayed in the cell when the registered device turns on.
Number of characters: Up to 16
(3) "OFF time String"
Enter the character string to be displayed in the cell when the registered device turns off.
Number of characters: Up to 16
(4) "Alarm String"
Enter an alarm character string.
Number of characters: Up to 40
98
Reference
Page 98, (1) in
this section to
Page 99, (5) in
this section
Page 37,
Section 6.2.1
CHAPTER 6 CELL SETTING
(5) "Status String"
Enter a status character string.
Number of characters: Up to 16
(6) Setting example
The following shows the <<Alarm Data>> tab setting example and the data displayed on the Excel spreadsheet.
The <<Alarm Data>> tab setting example
Device
ON time String
OFF time String
Alarm String
Status String
: M0
: Generation
: Restoration
: Material storage
: Minor failure
6
<Operation of M0>
ON
1)
2)
OFF
<Data displayed on Excel spreadsheet>
Displayed in order of "date and time of
occurrence", "alarm character string" and
"status character string".
6.5 When "Alarm Summary" is Selected
6.5.3 Setting of the <<Alarm Data>> tab
1) Displayed in the cell (when M0 is on).
2) Displayed in the cell (when M0 is off).
99
6.5.4
Setting of the <<Operation Interval>> tab
This section explains the setting of the <<Operation Interval>> tab for use of the alarm summary function.
On the <<Operation Interval>> tab, set the operation interval for the function of the cell area.
Screen display
1)
Display contents
Item
Description
Regular interval
Set the operation interval of the alarm summary function.
Telephone line connectivity time zone*1
Set the telephone line connection timing and disconnection timing.
1) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
*1 :
Reference
Page 100, (1)
in this section
Page 50,
Section 6.2.3
Page 37,
Section 6.2.1
"Telephone line connectivity time zone" is displayed when the logical station number selected in "Logical Station Number"
on the <<Access Data>> tab is the one for modem communication.
(1) "Regular interval"
Device data is collected at the set second intervals.
Setting range: 0.001 to 0.999 (in units of 0.001 seconds), 1 to 3600 (in units of 1 second)
If 0.001 to 0.999 seconds are set to the "Regular interval" on the <<Operation Interval>> tab, the ON/OFF time
displayed on the Excel spreadsheet is in the "yyyy/mm/dd ddd hh:mm:ss" format.
(Example) When 0.2 seconds interval is set and the ON time is 20 hours 41 minutes 12 seconds 80
100
CHAPTER 6 CELL SETTING
6.5.5
Setting of the <<Device Trigger>> tab
This section explains the setting of the <<Device Trigger>> tab for use of the alarm summary function.
On the <<Device Trigger>> tab, set the device conditions for the device trigger.
Screen display
1)
6
2)
Item
Set the Device Trigger
Description
Set when the device trigger is used.
1) (Device conditions)
Set the device or label conditions.
2) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 57,
Section 6.2.4
Page 37,
Section 6.2.1
101
6.5 When "Alarm Summary" is Selected
6.5.5 Setting of the <<Device Trigger>> tab
Display contents
6.6
When "Comment" is Selected
This section explains the Cell Settings screen when "Comment" is selected from "Use" on the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 103,
Page 104,
Section 6.6.1
Section 6.6.2
<<Comment Data>> tab
<<Operation Interval>> tab
Required
Set as
setting
necessary
Page 106,
Page 109,
Section 6.6.3
Section 6.6.4
<<Device Trigger>> tab
102
<<Handshake>> tab
Set as
Set as
necessary
necessary
Page 111,
Page 112,
Section 6.6.5
Section 6.6.6
CHAPTER 6 CELL SETTING
6.6.1
Setting of the <<Use>> tab
This section explains the setting of the <<Use>> tab for use of the comment display function.
On the <<Use>> tab, set the cell area.
Screen display
6
1)
Item
Use
Cell Area Name
Cell Area
Set the Color of Grid line
Set the Color for Filling
Clear cell area at the
start of communication
1) (Preset cell areas)
Description
Reference
Set the function to be used for the specified cell area.
Select "Comment" when using the comment display function.
Set the name of the specified cell area.
-
(Maximum number of cell area names : 500)
Enter the value to specify the cell area.
Set whether the specified cell area is provided with grid lines (including color
designation) or not.
Set whether the specified cell area is colored or not.
When "Clear cell area at the start of communication" is selected,
the data in the cell area specified at the start of communication is cleared.
(Default: cleared)
The settings of the cell areas preset to the Excel book are displayed.
Page 103, (1)
in this section
Page 37,
Section 6.2.1
Page 74,
Section 6.3.1
Page 37,
Section 6.2.1
(1) "Cell Area"
Set the cell area to be used by the comment display function.
Setting range: 1
103
6.6 When "Comment" is Selected
6.6.1 Setting of the <<Use>> tab
Display contents
6.6.2
Setting of the <<Access Data>> tab
This section explains the setting of the <<Access Data>> tab for use of the comment display function.
On the <<Access Data>> tab, set the logical station number required for communication with the programmable
controller CPU and the device data to be used for the comment display function.
Screen display
1)
2)
3)
Display contents
Item
Description
Logical Station Number
button
Remote password*1
104
Select the logical station number required for performing communication.
Used to start the Communication Setup Utility to set a new logical station
number and change the settings.
Enter the password when the password is set to the connection target
Page 44,
Section 6.2.2
programmable controller CPU.
1) (Access data)
Set the devices or labels use for the comment display function.
2) (Number of set devices)
The number of devices currently set is displayed.
3) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
*1 :
Reference
Page 105, (1)
in this section
Page 44,
Section 6.2.2
Page 37,
Section 6.2.1
"Remote password" is displayed when the logical station number selected in "Logical Station Number" on the <<Access
Data>> tab is the one for the password function compatible module.
CHAPTER 6 CELL SETTING
(1) Access data
(a) "Device"
Set the device or label used for the comment display function.
• When entering a device, enter a device name and device number in this order.
• When entering a label, enter the label name.
• The applicable data types are Bit and Word.
• When entering a label, enter other than structured data type label and array type label.
For the accessible devices, refer to the following section.
Page 30, Section 3.2 Accessible CPUs and Accessible Device Ranges
(b) "Data Type"
Set the data type of the device used for the comment display function.
Item
Device That Can be
Bit device
Bit
Description
Specified
The bit devices set in "Device" are displayed in a single cell in
units of one bit.
Word device
Designated bits for word device set in "Device" are displayed in
(Bit specification)
a single cell in units of one bit (e.g. D0.0).
6
Set when 1 word (16 bits), starting from the device number set
16 bit integer
Bit device
function.
(-32768 to 32767)
Word device
Bit device
(-2147483648 to 2147483647)
Word device
Double word device
Set when the word device set in "Device" is used for the
comment display function.
Set when 2 words (32 bits), starting from the device number set
in "Device", are used for the comment display function.
Set when 2 words, starting from the device number set in
"Device", are used for the comment display function.
Set when double word devices set in "Device" are used for the
comment display function.
105
6.6 When "Comment" is Selected
6.6.2 Setting of the <<Access Data>> tab
32 bit integer
in 16 bit integer "Device", is used for the comment display
6.6.3
Setting of the <<Comment Data>> tab
This section explains the setting of the <<Comment Data>> tab for use of the comment display function.
On the <<Comment Data>> tab, set the comment data to be displayed in the cell area.
Screen display
1)
2)
Display contents
Item
Device
106
Description
Reference
The device set in "Device" on the <<Access Data>> tab is displayed.
Data Type
The data type set in "Data Type" on the <<Access Data>> tab is displayed.
Value
The content set to the "Value" on the <<Access Data>> tab is displayed.
1) (Comment data)
Set the comment data to be used for the comment display function.
2) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
-
Page 107, (1)
in this section
Page 37,
Section 6.2.1
CHAPTER 6 CELL SETTING
(1) Comment data
(a) "Range (Lower)" and "Range (Upper)"
Set the lower and upper limit values of the device.
The setting range changes depending on the data type.
The following table shows the setting range of each data type.
Data Type
Setting Range
Bit
1(ON), 0(OFF)
16 bit integer
-32768 to 32767
32 bit integer
-2147483648 to 2147483647
(b) "Comment String"
Enter the comment character string to be displayed in the cell.
Number of characters: up to 40
6
(c) "Character Color"
Set the color of the comment character string displayed in the cell.
Depending on the specified colors, all colors may turn to gray.
For details, refer to the following consideration.
Page 7, OPERATING CONSIDERATIONS
If multiple comment data are set and their setting ranges are overlapped, the comment character string with the lowest data
number is displayed.
Be sure to prevent double setting of the setting ranges.
6.6 When "Comment" is Selected
6.6.3 Setting of the <<Comment Data>> tab
107
(2) Setting example
The following shows the setting examples in the cases where the data type is set to "Bit" and "16 bit integer".
(a) When data type is set to "Bit"
<<Comment data>> tab setting example
Operation of M0
1)
1)
ON
OFF
2)
1) While M0 is on, "Error occurrence" is displayed in the cell.
2) While M0 is off, "Normal operation" is displayed in the cell.
(b) When data type is set to "16 bit integer"
<<Comment data>> tab setting example
Operation of D0
1)
2)
10000
1500
1) If the D0 value is 10000 or more, "Temperature upper limit over" is
displayed in the cell.
2) If the D0 value is less than 10000, no comment character string is
displayed.
108
CHAPTER 6 CELL SETTING
6.6.4
Setting of the <<Operation Interval>> tab
This section explains the setting of the <<Operation Interval>> tab for use of the comment display function.
In the <<Operation Interval>> tab, set the day, time and time zone of the activation of the function for the cell area.
Screen display
6
1)
Item
Description
Set the Operation Interval
Set the operation of the cell area valid or invalid.
Operation day
Set the operation day of the comment display function activation.
Operation time
Set the operation time of the comment display function activation.
Telephone line connectivity
time zone*1
1) (Preset cell areas)
*1 :
Set the telephone line connection timing and disconnection timing.
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 50,
Section 6.2.3
Page 110, (1)
in this section
Page 50,
Section 6.2.3
Page 37,
Section 6.2.1
"Telephone line connectivity time zone" is displayed when the logical station number selected in "Logical Station
Number" on the <<Access Data>> tab is the one for modem communication.
109
6.6 When "Comment" is Selected
6.6.4 Setting of the <<Operation Interval>> tab
Display contents
(1) "Operation time"
The setting except for "Regular interval" is the same as that of the logging function.
For the setting except for "Regular interval", refer to the following section.
Page 50, Section 6.2.3
(a) When "Regular interval" is selected
Device data is collected at the set second intervals.
When modem communication is used and "Telephone line connectivity time zone" is set to "Connect each time
depending on the operation interval", set "Regular interval" to 30 seconds or more.
When set for lesser "seconds" than the actual communication time, the fixed interval communication cannot be
established. Hence, set for longer than the actual communication time.
For Communication time, refer to the following performance value.
Page 156, Processing Speed of MX Sheet
Setting range: 0.001 to 0.999 (in units of 0.001 seconds), 1 to 3600 (in units of 1 second)
110
CHAPTER 6 CELL SETTING
6.6.5
Setting of the <<Device Trigger>> tab
This section explains the setting of the <<Device Trigger>> tab for use of the comment display function.
In the <<Device Trigger>> tab, set the device conditions for the device trigger.
Screen display
1)
6
2)
Item
Set the Device Trigger
Description
Set when the device trigger is used.
1) (Device conditions)
Set the device or label conditions.
2) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 57,
Section 6.2.4
Page 37,
Section 6.2.1
111
6.6 When "Comment" is Selected
6.6.5 Setting of the <<Device Trigger>> tab
Display contents
6.6.6
Setting of the <<Handshake>> tab
This section explains the setting of the <<Handshake>> tab for use of the comment display function.
On the <<Handshake>> tab, set the handshake requesting source and handshake processing.
Screen display
1)
2)
3)
Display contents
Item
Set Handshake
1) (Requesting source
setting)
112
Description
Reference
Set when using a handshake.
Set the requesting source of the handshake.
2) (Handshake processing)
Set the handshake processing.
3) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Page 60,
Section 6.2.5
Page 37,
Section 6.2.1
CHAPTER 7 AUTOMATIC SAVE SETTING
CHAPTER 7
AUTOMATIC SAVE SETTING
The following explains the setting content for saving the Excel book or Excel spreadsheet (CSV format) during MX
Sheet operation (hereafter abbreviated to the Automatic save setting data).
7.1
Operation of Automatic Save List Screen
Manage the automatic save conditions in the form of a list In the Automatic Save List screen.
Screen display
 [MX Sheet]  [Automatic Save List] (
)
2)
3)
4)
1)
7
Display contents
Item
1) Automatic save name list
Reference
Display a list of automatic save names created in the Automatic save screen
(Page 114, Section 7.2).
Select the one to be automatically saved. Selected when new data is created.
Automatic save name
Display the automatic save names created in the Automatic save screen.
Display whether the "Save at the end of communication" check box in the
Automatic save screen is selected or not in the form of Settings or No settings.
-
Display whether the "Set the date and time" check box in the Automatic save
Date time
screen is selected or not in the form of Settings or No settings.
Device trigger
Clear cell area
button
3)
button
4)
button
Display whether the "Set the Device trigger" check box in the Automatic save
screen is selected or not in the form of Settings or No settings.
Display whether the " Clear cell area after automatic save" check box in the
Automatic save screen is selected or not in the form of Settings or No settings.
Display the Automatic save screen and create new automatic save setting data.
Display the Automatic save screen and change the content of the existing
Page 114,
Section 7.2
automatic save setting data.
Delete the selected automatic save name from the automatic save name list
-
● When the automatic save name list is double-clicked or the key is pressed with the clicked line highlighted, that
operation has the same function as the
button.
● When the key is pressed with the clicked line highlighted, that operation has the same function as the
button.
113
7.1 Operation of Automatic Save List Screen
Enable
End of communication
2)
Description
7.2
Setting of Automatic Save Screen
Set the save timing and file name on the Automatic Save screen.
● Save timing
The following three save timings are available for the automatic save setting. (All of them can be set at a time.)
• Automatic save is performed at the end of communication.
• Automatic save is performed at a specified time.
• Automatic save is performed using the device trigger.
Screen display
•
114
Click the
button or the
button on the Automatic Save List screen.
CHAPTER 7 AUTOMATIC SAVE SETTING
Display contents
Item
Automatic save name
Save at the end of
communication
Set the date and time
Operation day
Operation time
Description
Attach specific names to the automatic save setting data.
Up to 50 automatic save names can be registered.
Set when performing automatic save at the end of communication.
Set the operation day when automatic save is performed at the specified date
Page 116, (1)
and time.
in this section
Set the operation time when automatic save is performed at the specified date
Page 116, (2)
and time.
in this section
Set when performing automatic save using the device trigger.
1) (Device conditions)
Set the device conditions for the device trigger.
automatic save
Specify the cell area name
2) (Save file setting)
Add device data to File
name
3) (Device setting)
*1 :
*2 :
Set when clearing the cell area data after automatic save.
Page 116, (3)
in this section
Page 117, (4)
in this section
Page 118, (5)
in this section
From the list, select the cell area name that is the target of "Clear cell area after
Page 118, (6)
automatic save".
in this section
Set the file name to automatically save
data.*1
Set when adding device data to the file name automatically saved.*2
Set device data to be added to the file name automatically saved.
Page 118, (7)
7
in this section
Page 119, (8)
in this section
Page 119, (9)
in this section
Register the newly created or edited "Automatic save name" to the Automatic
Page 120, (10)
Save List screen.
in this section
A UNC path name (\\server name\path name) cannot be specified as a file name. After assigning the network drive,
specify the path name.
Can be selected only when "Fix the File name" is set for 2) (Save file setting).
When "Clear cell area at the start of communication" is checked on the <<Use>> tab of the Cell Settings screen, MX Sheet
clears the target cell area data at the start of communication and starts data collection.
In order to save the data at the end of communication, select "Save at the end of communication".
115
7.2 Setting of Automatic Save Screen
button
-
Set when performing automatic save at the specified date and time.
Set the device trigger
Clear cell area after
Reference
(1) "Operation day"
Set the operation day of the automatic save function.
(a) When "Daily" is selected
Save is performed every day.
(b) When "Weekly" is selected
Save is performed on the specified day of the week only.
Multiple days of the week can be set.
(c) When "Monthly" is selected
Save is performed on the specified days only.
If the specified day does not exist in some months, an alternate day can be specified.
Number of days that can be set: 31
<When "15th" is set>
Operation is performed on the 15th every month, e.g. January 15, February 15, March 15.
<When "31st" is set>
Excepting February, April, June, September and November, operation is performed on the 31st every month.
For February, April, June, September and November, set the alternate day and processing in "Alternate day
when a date does not exist".
The following table shows the setting items of "Alternate day when a date does not exist".
Item
Description
Last day of the current month
Operation is performed on the last day of February, April, June, September or November.
First day of the next month
Operation is performed on the first day of the next month.
No operation
Operation is not performed in February, April, June, September and November.
(2) "Operation time"
Set the operation time of automatic save.
(a) When "Regular interval" is selected
The Excel book is saved at the set minute intervals.
Setting range: 1 to 1440
<When "Regular interval" is set to "5">
The Excel book is saved at intervals of 5 minutes, e.g. 8:05, 8:10, 8:15.
(b) When "Hourly" is selected
Automatic save is performed at the specified minute every hour.
Number of times that can be set: 60
(c) When "Time table" is selected
Automatic save is performed at the specified time.
Number of times that can be set: 50
(3) "Set the Device trigger"
Set this when performing automatic save using the device trigger.
Whether the device trigger conditions are satisfied or not is checked at intervals of 1 second.
116
CHAPTER 7 AUTOMATIC SAVE SETTING
(4) Device conditions
(a) "Logical Station Number"
Select the logical station number used for the device trigger.
If the logical station number is already set, the number is displayed in the list box and can be selected.
If the logical station number is not set, click the
button and set a new logical station number.
The Remote password screen is displayed when the setting of the logical station number selected in "Logical Station
Number" includes information on the connection to the module with the password function.
When the password is set to the connection target programmable controller CPU, enter the password.
It need not be entered when the password is not set.
(b)
button
This button is used to start the communication setup utility to set a new logical station number and change the
settings.
Select "Run as administrator" when the screen is displayed asking if execute programs with administrator
authority or not.
After starting the communication setup utility, click the
button and set a new logical station number
7
and change the settings with the Communication Setting Wizard.
For the detailed explanation of the communication setup utility and Communication Setting Wizard, refer to the
following manual.
MX Component Version 4 Operating Manual
(c) Device type
Item
7.2 Setting of Automatic Save Screen
Set the type of the device used for the device trigger.
Description
Bit Device
Set when using a bit device for the device trigger.
Word Device
Set when using a word device for the device trigger.
(d) "Device"
Enter a device or label used for the device trigger.
When using a device: Enter a device name and device number in this order.
When using a label:
Enter a label name.
The applicable data types is Bit.
When entering a label, enter other than structured data type label and array type label.
(e) "Condition"
Set the device trigger conditions
Item
When ON
Available Device
Bit device
ON
Word device
OFF
When OFF
Bit device
ON
Word device
OFF
Description
Set when automatic save is to be performed when the bit device turns on.
Set when automatic save is to be performed when the corresponding bit
of the word device turns on (value: 1).
Set when automatic save is to be performed when the bit device turns off.
Set when automatic save is to be performed when the corresponding bit
of the word device turns off (value: 0).
117
(f) "the bit"
Set the corresponding bit of the word device.
Setting range: 0 to 15
(5) "Clear cell area after automatic save"
Set whether the data of the cell area selected in the "Specify the cell area name" is cleared or not after automatic
save is performed.
To clear the cell area data after automatic save, select the check box.
(6) "Specify the cell area name"
From the list box, select the "Cell Area Name" of the cell area whose data is cleared after automatic save.
(Multiple names can be selected.)
The list box displays all "Cell Area Names" set in the Cell Settings screen.
(7) Save file setting
(a) "File name to save"
Set the storage location and file name of the Excel book to be saved automatically.
The Excel file (.xls, .xlsx*1, .xlsm*1, .xlsb*1) or HTML file (.htm)*2 or CSV file (.csv) is available as the file type.
*1 :
*2 :
xlsx, .xlsm, and .xlsb are Workbook-format extensions added to Microsoft® Excel® 2007 or later.
For the continuous operation when saving data automatically in HTML format, refer to the following appendix.
Page 170, Appendix 6
(b) "Specify the sheet name"
Select the sheet name to be saved from the combo box.
It can be specified only when the "File name to save" is a CSV file.
(c) "Add date and time to File name"
The data and time data are added to the file name set in "File name to save".
The following shows the file name format when data is saved.
*****20120523183536.extension
Extension set to "File name to save"
Seconds
Minutes
Hours
Day
Month
Year
File name set in "File name to save"
(d) "Add sequential number to File name"
The file number is added to the file name set in "File name to save".
A serial number can be set within the range from 000 to 999.
When the number reaches the last, the data of the next file are overwritten to the file of the first number.
The following shows the file name format when data is saved.
*****000.extension
Extension set in "File name to save"
File number
File name set in "File name to save"
118
CHAPTER 7 AUTOMATIC SAVE SETTING
(e) "Fix the File name"
Data is overwritten to the file set in "File name to save".
(8) "Add device data to File name"
*** aaaaa.extension
Extension set in "File name to save"
Character string created by data specified for "Device"
File name set in "File name to save"
(9) Device setting
(a) "Logical Station Number"
Select the logical station number of the device used for the file name.
If the logical station number is already set, the number is displayed in the list box and can be selected.
If the logical station number is not set, click the
button and set a new logical station number.
The Remote password screen is displayed when the setting of the logical station number selected in "Logical Station
Number" includes information on the connection to the module with the password function.
When the password is set to the connection target programmable controller CPU, enter the password.
It need not be entered when the password is not set.
(b)
7
button
This button is used to start the communication setup utility to set a new logical station number and change the
Select "Run as administrator" when the screen is displayed asking if execute programs with administrator
authority or not.
After starting the communication setup utility, click the
button and set a new logical station number
and change the settings with the Communication Setting Wizard.
For the detailed explanation of the communication setup utility and Communication Setting Wizard, refer to the
following manual.
MX Component Version 4 Operating Manual
(c) "Device"
Specify the device name or label name to be used for the file name.
Bit devices cannot be specified.
(d) "Data type"
Select the type of data to be read from the device in the following:
• 16 bit integer
• 32 bit integer
• Character string
When "Character string" is selected for "Data type", the read data is processed as Shift JIS code.
(e) "Value"
Select the display format of the value to be displayed from DEC and HEX.
When "Character string" is selected for "Data type", it cannot be specified.
119
7.2 Setting of Automatic Save Screen
settings.
(f) "No. of characters"
Specify the number of characters to be read to one unit of data from the specified device.
It can be specified only when selecting "Character string" for "Data type".
Setting range: 1 to 40
(10)
button
Register the newly created or edited automatic save setting data.
When the registration is completed, the automatic save name and settings are displayed as shown below in the
Automatic Save List screen.
Operation
Create New
Edit
Display in "Automatic save list"
The automatic save name and settings are additionally displayed at the bottom of the list,
and "enable" is selected.
When automatic save
The automatic save name and settings are additionally displayed at the bottom of the list,
name is changed
and "enable" is selected.
When automatic save
The automatic save name and settings are displayed in the same position of the list.
name is the same
When the settings are changed, the new settings are displayed.
When registering the existing automatic save setting data under a different automatic save name, change the automatic
save name in the Automatic save screen.
120
CHAPTER 8 AUTOMATIC PRINT SETTING
CHAPTER 8
AUTOMATIC PRINT SETTING
The following explains the setting content for printing the Excel book or Excel spreadsheet (CSV format) during MX
Sheet operation (hereafter abbreviated to the Automatic print setting data).
8.1
Operation of Automatic Print List screen
Manage the automatic print conditions in the form of a list in the Automatic Print List screen.
Operating procedure
 [MX Sheet]  [Automatic Print Setting] (
)
2)
3)
4)
1)
Display contents
Item
1) Automatic print name list
Description
(Page 122, Section 8.2).Automatic print
8.1 Operation of Automatic Print List screen
Checked when new data is created.
Automatic print name
End of communication
Display the automatic print names created on the Automatic print screen.
Display whether the "Print at the end of communication" check box in the
Automatic print screen is checked or not in the form of Settings or No settings.
-
Display whether the "Set the date and time" check box in the Automatic print
Date time
screen is checked or not in the form of Settings or No settings.
Device trigger
Clear cell area
8
Display a list of automatic print names created on the Automatic print screen
Check the one to be automatic printed.
Enable
Display whether the "Set the Device trigger" check box in the Automatic print
screen is checked or not in the form of Settings or No settings.
Display whether the "Clear cell area after automatic print" check box in the
Automatic print screen is checked or not in the form of Settings or No settings.
button
Display the Automatic print screen and create new automatic print setting
data.
3)
button
Display the Automatic print screen and change the content of the existing
automatic print setting data.
4)
button
Delete the selected automatic print name from the automatic print name list.
2)
Reference
Page 122,
Section 8.2
-
● When the automatic print name list is double-clicked or the key is pressed with the clicked line highlighted, that
operation has the same function as the
button.
● When the key is pressed with the clicked line highlighted, that operation has the same function as the
button.
121
8.2
Setting of Automatic Print Screen
Set the print timing and print area in the Automatic Print screen.
● Print timing
The following three timings are available for the automatic print setting. (All of them can be set at a time.)
For the details, refer to the following chapter.
Page 113, CHAPTER 7
• Automatic print is performed at the end of communication.
• Automatic print is performed at a specified time.
• Automatic print is performed using the device trigger.
Screen display
•
Click the
button or the
button on the Automatic Print List screen.
1)
Display contents
Item
Automatic save name
Save at the end of
communication
Set the date and time
Operation day
Operation time
122
Description
Manage the automatic print setting data with specific names.
Up to 50 automatic print names can be registered.
Reference
-
Set when performing automatic print at the end of communication.
Set when performing automatic print at the specified date and time.
Set the operation day when automatic print is performed at the specified date and
time.
Set the operation time when automatic print is performed at the specified date
and time.
Set the device trigger
Set when performing automatic print using the device trigger.
1) (Device conditions)
Set the device conditions for the device trigger
Page 113,
Section 7.1
CHAPTER 8 AUTOMATIC PRINT SETTING
Item
Clear cell area after
automatic save
Specify the cell area name
Print Area
Description
Make setting when clearing the cell area data after automatic print.
Page 123, (1)
in this section
From the list, select the cell area name that is the target of "Clear cell area after
Page 123, (2)
automatic print".
in this section
Set the area where automatic print is performed.
button
Reference
Page 123, (3)
in this section
Register the newly created or edited "Automatic Print Name" in the Automatic
Page 123, (4)
Print List screen.
in this section
(1) "Clear cell area after automatic print"
Set whether the data of the cell area selected in the "Specify the cell area name" is cleared or not after
automatic print is performed.
To clear the cell area data after automatic print, select the check box.
(2) "Specify the cell area name"
From the list box, select the "Cell Area Name" of the cell area whose data is cleared after automatic print.
(Multiple names can be selected.)
The list box displays all "Cell Area Names" set in the Cell Settings screen.
(3) "Print Area"
Set the area where automatic print is performed.
8
(a) "Entire workbook"
The entire Excel book (all sheets) where automatic print setting is set is printed automatically.
Automatic print is executed for the specified sheet only.
Multiple sheets can be selected and printed simultaneously.
(4)
button
Register the newly created or edited automatic print setting data.
When the registration is completed, the automatic print name and settings are displayed in the Automatic Print
List screen as described below.
Operation
Create New
Edit
Display in "Automatic print list"
The automatic print name and settings are additionally displayed at the bottom of the list,
and "enable" is selected.
When automatic print name is
changed
The automatic print name and settings are additionally displayed at the bottom of the list,
and "enable" is selected.
When automatic print name is
the same
The automatic print name and settings are displayed in the same position of the list.
When the settings are changed, the new settings are displayed.
● When registering the existing automatic print setting data under a different automatic print name, change the automatic
print name in the Automatic print screen.
● When multiple printers are set to a single personal computer, the Excel spreadsheet where automatic print is set is output
from the printer specified to "Set as Default" in [Start]  [Control Panel]  [Hardware and Sound]  [Devices and Printers].
123
8.2 Setting of Automatic Print Screen
(b) "Specify the sheet"
CHAPTER 9
AUTOMATIC COMMUNICATION
STARTUP/CANCEL SETTING
This chapter explains the settings for starting communication with the programmable controller CPU automatically at
the start of the Excel book. Also, explains the method for cancelling the automatic communication setting to be set.
(1) Automatic Communication Startup Setting
Operating procedure
1.
2.
 [MX Sheet]  [Automatic Communication Startup Setting] (
The following message is displayed.
Click the
edited.
3.
)
button to set the automatic communication startup setting to the Excel book being
The following message is displayed.
Click the
button.
After editing the Excel book, restart the Excel book to set the automatic communication startup setting to valid.
(2) Automatic Communication Startup Disabled
Operating procedure
1.
2.
 [MX Sheet]  [Automatic Communication Startup Setting] (
The following message is displayed.
Click the
edited.
124
)
button to disable the automatic communication startup setting of the Excel book being
CHAPTER 9 AUTOMATIC COMMUNICATION STARTUP/CANCEL SETTING
● For the automatic communication startup setting, do not save the Excel book under the hidden status. An error occurs
when starting the Excel book and MX Sheet cannot be used. In such case, save the Excel book under the display status,
and restart Excel. For the method to display the Excel book, refer to the following consideration.
Page 13, (7)(b) Corrective action
● When a workbook that has been configured for "Automatic Communication Startup" using MX Sheet is opened using
Microsoft® Excel® 2007 or later, the following anomalous situations may occur.
• Excel stops responding.
• One of the following error messages is displayed.
If the symptoms described above occur, refer to the following appendix and install the COM add-in "MXShRibbon".
Page 178, Appendix 8
125
9
CHAPTER 10 START COMMUNICATION AND END
COMMUNICATION
This chapter explains the start and end of MX Sheet communication.
10.1
Start Communication
This section explains the procedure to start MX Sheet communication manually.
Operating procedure
1.
 [MX Sheet]  [Start Communication] (
)
The following message is displayed.
2.
Click the
button.
Start communication between the Excel book being edited, and the programmable controller CPU and
read/write device data.
● When using Microsoft® Excel® 2003, select [MX Sheet]  [Start Communication] on the menu bar to start communication.
● The communication can be also started by clicking the created start communication button. (Page 138, Section 14.1)
● Do not operate other Excel book during communication.
126
CHAPTER 10 START COMMUNICATION AND END COMMUNICATION
(1) Display of Excel book and task bar during communication
The following shows how the Excel book, which is communicating with the programmable controller CPU using
MX Sheet, and the task bar are displayed.
10
(a) Display of Excel book
Screen display
1)
2)
Item
1) (Icon)
Status during Communication
Only the Communication End and 1 Shot Communication icons can be selected.
2) (MX Sheet menu) Only [Communication End], [1 Shot Communication], and [Version Info] can be selected.
When using Microsoft® Excel® 2003, the <<Add-Ins>> tab is not displayed.
(b) Display of task bar
During communication with the programmable controller CPU using MX Sheet, the following icon is displayed
on the task bar of Windows®.
Icon is displayed on task bar.
127
10.1 Start Communication
Display contents
(2) Confirmation at communication error
If an error occurs at the start of communication or during communication, the error information is displayed on the
"ErrorLog" sheet.
When a communication error has occurred, end MX Sheet communication and correct the error in accordance
with the corrective action on the "ErrorLog" sheet.
For details of the "ErrorLog" sheet, refer to the following chapter.
Page 154, CHAPTER 19
At occurrence of communication
error, error information is
displayed on the "ErrorLog" sheet.
128
CHAPTER 10 START COMMUNICATION AND END COMMUNICATION
10.2
End Communication
This section explains the procedure to end MX Sheet communication.
10
Operating procedure
 [MX Sheet]  [End Communication] (
)
● When using Microsoft® Excel® 2003, select [MX Sheet]  [End Communication] on the menu bar to end communication.
● The communication can be also ended by clicking the end communication button. (Page 142, Section 14.2)
(1) Confirmation at communication end
At the end of communication, MX Sheet displays the communication end message on the "ErrorLog" sheet.
Confirm the message on the "ErrorLog" sheet at the end of communication.
For details of the "ErrorLog" sheet, refer to the following chapter.
Page 154, CHAPTER 19
At end of communication, communication end
message is displayed on "ErrorLog" sheet.
10.2 End Communication
129
CHAPTER 11 1 SHOT COMMUNICATION
This chapter explains 1 shot communication function that makes communication with the selected cell area only once
at any timing.
The 1 Shot Communication screen is used to set a cell area and execute 1 shot communication for the cell area.
● 1 shot communication function ignores the device trigger and handshake settings set to the cell area, and performs
communication only once.
● 1 shot communication function cannot work with the alarm summary function.
Screen display
•
•
[MX Sheet]  [1 Shot Communication] (
)
Click the 1 shot communication button. (Page 143, Section 14.3)
Screen display
Display contents
Item
Description
Select the cell area for 1 shot communication.
Cell Area Name
Only the cell area name set in the currently selected Excel spreadsheet is displayed in "Cell Area
Name".
button
Execute 1 shot communication.
The button can be clicked after the cell area is selected in "Cell Area Name".
Remark
● When 1 Shot Communication screen is activated after selecting the cell area set on the Excel spreadsheet with the
mouse, the cell area name of the selected cell area is displayed on "Cell Area Name".
● Setting the cell area name in "Cell Area Name" displays the cell area on the Excel spreadsheet.
130
CHAPTER 11 1 SHOT COMMUNICATION
Memo
11
131
CHAPTER 12 CELL EDITING
This chapter explains how to edit the cell area set using MX Sheet.
12.1
Cutting Cell Area
This section explains the procedure to delete the settings of the selected cell area and paste them to another cell area.
Screen display
[MX Sheet]  [Cut Cell Area] (
)
Display contents
Item
Cell Area Name
button
Description
Select the cell area name to be cut.
Cut the cell area.
The button can be clicked after the cell area name is selected in "Cell Area Name".
Remark
For pasting the cell area, refer to the following section.
Page 134, Section 12.3
132
CHAPTER 12 CELL EDITING
12.2
Copying Cell Area
This section explains the procedure to copy the settings of the selected cell area to another cell area.
Screen display
[MX Sheet]  [Copy Cell Area] (
)
12
Display contents
Item
Cell Area Name
button
Description
Select the cell area name to be copied.
Copy the cell area.
The button can be clicked after the cell area name is selected in "Cell Area Name".
Remark
For pasting the cell area, refer to the following section.
Page 134, Section 12.3
12.2 Copying Cell Area
133
12.3
Pasting Cell Area
This section explains the procedure to paste the cut or copied cell area to another cell area.
Screen display
[MX Sheet]  [Paste Cell Area] (
)
Display contents
Item
Target Cell area for
Paste operation
Target Cell area name
for Paste operation
Source Cell area for the
Paste operation
Description
Enter the cell area to be pasted.
Enter the cell area name to be pasted.*1
The cut or copied cell area is displayed.
Paste the cell area.
button
The button can be clicked after setting "Target Cell area for Paste operation" and "Target Cell
area name for Paste operation".
*1 :
When pasting the cell area after copying it, enter into "Target Cell area name for Paste Operation" the cell area name
that differs from the copied cell area name.
Remark
The cell area cannot be pasted unless the cell area is selected by cutting or copying it.
134
CHAPTER 12 CELL EDITING
(1) Considerations for pasting the cell
Consider the following when pasting a cell area.
(a) Paste starting cell in cell area
The paste starting cell in the cell area is the cell selected on the Excel spreadsheet.
1) Select cell and past cell area.
12
2) Paste cell area using selected
cell as paste starting cell.
(b) Overlap of cell areas
If the paste area overlaps the other cell area that is already set, the selected cell cannot be pasted.
Paste the cell after checking the other cell area.
12.3 Pasting Cell Area
Cell area to be pasted
Already set cell area
As cell area enclosed by dotted lines
overlaps, cell area cannot be pasted.
The cell can be pasted when both of the following conditions are met: the area of "Already set cell area" and "Cell area to be
pasted" are completely matched, and "Monitor" and "Write" are set to "Use" on each Cell Settings screen.
135
12.4
Deleting Cell Area
This section explains the procedure to delete the settings of the cell area.
Screen display
[MX Sheet]  [Delete Cell Area] (
)
Display contents
Item
Cell Area Name
button
136
Description
Select the cell area name to be deleted.
Delete the cell area.
The button can be clicked after the cell area name is selected in "Cell Area Name".
CHAPTER 13 CHANGING SHEET NAME
CHAPTER 13 CHANGING SHEET NAME
This chapter explains the changing the sheet name of the Excel sheet where MX Sheet is set.
In the Change Sheet Name screen, select an Excel sheet and set a new name for the sheet.
Always change the sheet name of the Excel sheet, where MX Sheet is set, from the Change Sheet Name screen.
If the sheet name is changed from Excel directly or from a VBA program, MX Sheet is not operate normally
Screen display
[MX Sheet]  [Change Sheet Name] (
13
)
Display contents
Item
Sheet name before
change
Sheet name after change
Description
Select the Excel spreadsheet of which sheet name to be changed.
Enter a new sheet name.
Change the sheet name.
button
The button can be clicked after the "Sheet name before change" and "Sheet name after
change" are selected.
(1) Changing the sheet name
If the sheet name of the Excel spreadsheet, where MX Sheet is set, is changed from Excel directly or from a VBA
program, return the sheet name to the old one from Excel.
If the sheet name is changed from the VBA program, delete the program part that changes the sheet name.
137
CHAPTER 14 CREATING BUTTONS
The following explains the Start Communication, End Communication and 1 Shot Communication execution button
creation procedures and the property setting.
By merely clicking the created button, Start Communication, End Communication or 1 Shot Communication operation
can be performed and easily operated.
14.1
Start Communication Button
Create the button for execution of Start Communication and paste it to an Excel spreadsheet.
(1) Button pasting method
1.
Specify the cell on the Excel spreadsheet
where the button is placed, and select the
<<Add-Ins>> tab  [MX Sheet]  [Create
Button]  [Start Communication Button]
on the menu bar*1.
*1 :
When using Microsoft® Excel® 2003, select
[MX Sheet]  [Create Button] 
[Start Communication Button] on the menu bar.
2.
The button is placed in the specified cell
position.
The following settings about the placed button can be changed in the property setting.
• Change the display characters on the button (font, size, etc.)
• Change if the start message is displayed/hidden displayed when executing the button
For the details of the property setting, refer to Page 139, (2) in this section and Page 140, (3) in this section.
138
CHAPTER 14 CREATING BUTTONS
(2) Property page starting method
1.
Select the [Design Mode] in the <<Developer>> tab
to enter the design mode.
In order to display the <<Developer>> tab, select the
<<File>> tab  [Options]*1.
Select "Customize Ribbon" and check the "Developer"
check box, and then click the
button.
<When using Microsoft® Excel® 2003>
Check the "Control Toolbox" on the <<Toolbars>> tab in
the screen that is displayed by selecting [Tools] 
14
[Customize] in the Excel menu.
<When using Microsoft® Excel® 2007>
Select the Office button 
button.
Select "Show Developer tab in the Ribbon" in the Excel
Options screen.
2.
Select [MXShBtnStart Control Object]  [Properties]
in the menu displayed by right-clicking the created
button.
14.1 Start Communication Button
3.
Start the property page.
For the property settings, refer to Page 140, (3) in
this section.
When the property setting is completed, select the [Design Mode] again to exit from the design mode.
139
(3) Property setting
Set the "Caption", "Show Message" and "Font properties".
(a) <<Caption>> tab
Edit the "Caption" (display characters on the button) of the button.
(b) <<Show Message>> tab
Set if the following message is displayed or not when clicking the start communication button.
TRUE : Display
FALSE : Not display
(c) <<Font>> tab
Set the type and size of the caption font.
140
CHAPTER 14 CREATING BUTTONS
● Save the Excel book when the button is created or any property is changed.
● Do not execute [Grouping]  [Ungroup] from the right-click menu of the button.
Executing Ungroup disables the button from functioning.
● If the font size is set on the <<Font>> Tab of the property, a value (error) different from the set font size may be displayed
when the <<Font>> Tab is displayed next time.
<Example>
When the font size is set to 8, 8.25 is displayed next time.
● If [Split], [Freeze Panes] or [New Window] in the [Window] menu is executed for the Excel spreadsheet where buttons is
placed, correct operation may not be performed, e.g. the buttons remain displayed or the buttons cannot be clicked.
● If the zoom of Excel is set to a large magnification, the button may be displayed above the row/column number. If it
occurs, click the button. The button is then move to the correct position.
14
● When moving a button or changing button size after creating it, the button is not checked for its position.
● If the button position exceeds the supported range (256 columns  65536 rows) when Excel from 97 to 2003 version is
saved in book format, any of the following occurs depending on the button size, button position, height of the row and/or
cell width.
• When saved Book is reopened, the button is reduced or moved so that it is fit within the supported range.
• The button is deleted when saved Book is reopened.
• The Compatibility Checker screen is displayed on the Excel at saving the Book.
141
14.1 Start Communication Button
● If a button is created in design mode and then the mode is ended and set repeatedly, the button may not be clicked.
In this case, minimize and restore the Excel book window. This enables the button to be clicked.
14.2
End Communication Button
Create the button for execution of End Communication and paste it to an Excel spreadsheet.
(1) Button pasting method
Same as the Start Communication Button.
Select in the menu.
Page 138, Section 14.1 (1)
Operating procedure
[MX Sheet]  [Create Button]  [End Communication Button]
(2) Property page starting method
Same as the Start Communication Button.
Page 139, Section 14.1 (2)
Operating procedure
[MXShBtnEnd Control Object]  [Properties]
(3) Property setting
Set the Caption and Font properties.
Page 140, Section 14.1 (3)
142
CHAPTER 14 CREATING BUTTONS
14.3
1 Shot Communication Button
Create the button for execution of 1 Shot Communication and paste it to an Excel spreadsheet.
(1) Button pasting method
Same as the Start Communication Button.
Page 138, Section 14.1 (1)
Operating procedure
[MX Sheet]  [Create Button]  [1 Shot Communication Button]
(2) Property page starting method
Same as the Start Communication Button.
Page 139, Section 14.1 (2)
14
Operating procedure
[MXShBtnEnd Control Object]  [Properties]
(3) Property setting
Set the Caption, CellAreaName and Font properties.
Same as the Start Communication Button.
Page 140, Section 14.1 (3)
(a) <<CellAreaName>> Tab
book.
Select the check box for the Cell Area Name that is the target of 1 Shot Communication.
Up to 10 Cell Area Names can be selected.
143
14.3 1 Shot Communication Button
The Cell Area Name list displays all Cell Area Names of Logging, Monitor, Write and Comment in the Excel
CHAPTER 15 PROTECTING/UNPROTECTING MX
Sheet SETTING
The following explains Protect MX Sheet setting and Unprotect MX Sheet setting by a password.
15.1
Protecting MX Sheet Setting
Protect the MX Sheet setting by a password so that the setting content cannot be changed.
The setting content cannot be edited until the MX Sheet setting is unprotected.
When Protect MX Sheet setting is set, the [Unprotect MX Sheet setting] is displayed instead of the [Protect MX Sheet
setting].
Screen display
[MX Sheet]]  [Protect MX Sheet setting]
Display contents
Item
Enable check setting data
Password (optional)
Description
Page 145, (1)
depending on if a check mark exists.
in this section
Enter the password for protecting the setting contents.
The password may also be registered as a blank.
The Confirm Password screen is displayed.
button
When the password is blank, however, the Confirm Password screen is not
displayed and the MX Sheet setting is protected.
144
Reference
The menu that can be selected when Protect MX Sheet setting is set changes
Page 146, (2)
in this section
CHAPTER 15 PROTECTING/UNPROTECTING MX Sheet SETTING
(1) "Enable check setting data"
Depending on whether "the item is cleared" (setting content cannot be confirmed) or "Selected" (setting content
can be confirmed), the menu that can be selected when Protect MX Sheet setting is set changes as shown in the
following table.
:Can be selected
: Cannot be selected
MX Sheet menu
Selected
Cell Settings

*1
Automatic Save Setting

*1
Automatic Print Setting

*1
Automatic Communication Startup Setting


Communication Start


Communication End


1 Shot Communication


Cutting the Cell Area


Copying the Cell Area


Pasting the Cell Area


Deleting the Cell Area


Changing the Sheet Name


Create Button


Unprotect MX Sheet setting


Options


Setting data export


Version Info.


*1 :
15
[Read only] is displayed after the title of the following screen related to the cell settings, automatic save setting
and automatic print setting.
The setting content can be confirmed but cannot be changed.
• Cell settings
• Automatic save list
• Automatic save
• Automatic print list
• Automatic print
145
15.1 Protecting MX Sheet Setting
Cleared
(2)
button
The Confirm Password screen is displayed.
Enter the password entered in the Protect MX Sheet setting screen again.
Display contents
Item
button
Description
Close the Confirm Password screen and protect the MX Sheet settings.
If the MX Sheet setting is protected, the properties of the start communication button, end communication button, and the 1
shot communication button can be edited.
146
CHAPTER 15 PROTECTING/UNPROTECTING MX Sheet SETTING
15.2
Unprotecting MX Sheet Setting
The MX Sheet setting is unprotected, and the setting content can be changed.
● When Protect MX Sheet setting is not set, the [Unprotect MX Sheet setting] menu is not displayed.
● When the password is blank, the Unprotect MX Sheet setting screen is not displayed and the MX Sheet setting is
unprotected.
Screen display
[MX Sheet]]  [Unprotect MX Sheet setting]
15
Display contents
Item
Password
button
Description
Enter the password set in the Protect MX Sheet setting screen.
The Unprotect MX Sheet setting screen is closed, and the MX Sheet setting is unprotected.
The MX Sheet menu selection and setting screen editing restriction are canceled.
15.2 Unprotecting MX Sheet Setting
147
CHAPTER 16 OPTIONS
Set option setting for specifying such as an Error log sheet output format.
16.1
Setting Error Logs
Set the Error log sheet output format on the <<Error log>> tab on the Options screen.
For details of the Error log sheet, refer to the following chapter.
Page 154, CHAPTER 19
Screen display
[MX Sheet] [Options]
Display contents
Item
Description
Set whether the information/warning/error that occurred during the execution of communication is
Display error log
displayed on the Error log sheet or not.
Selected: Displayed / No selected: Not displayed
Set whether the information message (blue) during the execution of communication is displayed on the
Information (Blue) *1
Error log sheet or not.
Selected: Displayed / No selected: Not displayed
Set whether the warning message (pink) during the execution of communication is displayed on the
Warning (Pink)*1
Error log sheet or not.
Selected: Displayed / No selected: Not displayed
Set whether the error message (red) during the execution of communication is displayed on the Error
Error (Red)
*1
log sheet or not.
Selected: Displayed / No selected: Not displayed
Set whether the display is switched to the Error log sheet or not if a warning or error occurs during the
Display Error Log sheet when
execution of communication.
an error occurs
Selected: Display is switched to the Error log sheet.
No selected: Display is not switched to the Error log sheet.
Clear error log at the start of
Set whether the Error log is cleared or not at the start of communication.
communication
Selected: cleared / No selected: Not cleared
*1 :
148
Setting can be set only when the "Display error log" check box is selected.
CHAPTER 16 OPTIONS
Memo
16
16.1 Setting Error Logs
149
CHAPTER 17 SETTING DATA EXPORT
This chapter explains the procedure to output the settings of MX Sheet to a CSV file.
(1) "Setting Data Export" procedure
Operating procedure
[MX Sheet]  [Setting Data Export]
The details of MX Sheet set in the Excel book are output to the CSV file.
After setting data export, the following message is displayed.
(2) Save destination of CSV file
After setting data export, MX Sheet saves the CSV file in the folder where the original Excel book is saved.
(3) File name of CSV file
The following shows the file name of the CSV file.
SET*******.csv
Excel book name that executed
setting data export
150
CHAPTER 17 SETTING DATA EXPORT
17
(4) Saved content of CSV file
The following shows the content of the CSV file saved by the setting data export.
1)
2)*1
3)
4)
Display contents
Item
Description
1) (Cell Setting)
The settings of the sheet name and cell setting are displayed.
2) (Automatic Save)
The settings of automatic save are displayed.
3) (Automatic Print)
The settings of automatic print are displayed.
4) (Automatic Communication Startup)
The settings of automatic communication startup are displayed.
*1 :
When adding device data to the saved file name, the following contents are added at the end of <Automatic Save>.
(When selecting "Character string" for "Data type")
151
CHAPTER 18 SAMPLE PROGRAMS
This chapter explains the sample programs registered at MX Sheet installation.
(1) Sample programs
(a) Sample programs
The sample programs are attached for reference when creating user programs.
Use them on customer's own responsibility.
(b) Logical station number
"1" is assigned to all sample programs as logical station number by default.
To use the sample programs, set the settings for the logical station number "1" or assign other logical station
number and set the setting for the number.
(2) Sample program list
The following table shows the sample programs (Sample1.xls, Sample2.xls) that are registered by selecting
install destination folder (C:\MELSEC) [Sheet]  [Sample] at MX Sheet installation.
Sample Program
Excel book name
Logging
Sample1.xls
Sample2.xls
Description
Excel spreadsheet name
Logging is performed for D0 to D4 at 1 second intervals.
Monitor, display their assigned comments and write the device data.
Monitor, Comment, Write
D10 to D12 at intervals of 5 seconds.
Alarm Summary
Alarm summary is performed using M0 to M4.
Monitor, Write (Conditioning)
Monitor and write the device data using device trigger.
Logging (Conditioning)
Logging is performed using handshake.
Automatic Save
Save the data on the Excel spreadsheet automatically when M20 turns on.
(Automatic save is described in Excel spreadsheet.)
Logging Sheet
Monitor, Comment, Write Sheet
Alarm Summary Sheet
Monitor, Write (Conditioning) SheetMonitor
Logging (Conditioning) Sheet
Automatic Save Sheet
152
CHAPTER 18 SAMPLE PROGRAMS
Memo
18
153
CHAPTER 19 ERROR LOG SHEET
This chapter explains the ErrorLog sheet that displays the communication status of MX Sheet.
The communication status, error information and corrective action of MX Sheet are displayed on the ErrorLog sheet.
Troubleshooting can be performed by confirming the corrective action displayed on the ErrorLog sheet.
Screen display
•
Select "ErrorLog" sheet in an Excel book.
Display contents
Item
Kind
Description
Reference
Page 155, (2)
The type of the communication status is displayed.
in this section
The date and time when the communication status is changed are displayed.
Date
The displayed time is the date and time of the personal computer where MX Sheet is
operating.
Cell Area Name
The cell area name where the communication status is changed is displayed.
Error No.
The error number of the error that has occurred is displayed.
occurs.
(1) ErrorLog sheet
The following table indicates the ErrorLog sheet specifications.
Maximum number of display lines
154
Page 155, (4)
in this section
in this section
The error definition, error code and corrective action are displayed when an error
Item⁄
in this section
Page 155, (5)
The details of the communication status is displayed.
Contents
Page 155, (3)
Description
2000 lines (fixed)
New data location
The last line has the latest data.
Operating when cell is full
Overwritten in due order, starting with the first line.
Page 155, (6)
in this section
CHAPTER 19 ERROR LOG SHEET
(2) "Kind"
The following table shows the communication status displayed in "Kind".
Communication Status
Description
Displayed when the communication with the programmable controller CPU starts and ends
Information
during 1 shot communication.
Error
Displayed when a fatal error occurred and the function of the cell area stopped.
Warning
Displayed when communication error or collection delay occurs.
19
(3) "Date"
"Date" displays the date and time of the personal computer at ErrorLog sheet registration.
2012/06/28 Thu 15:14:34
Indicates the time as "hour: minute: second".
Indicates the day of the week as "Sun (Sunday),
Mon (Monday), Tue (Tuesday), Wed (Wednesday),
Thu (Thursday), Fri (Friday), Sat (Saturday)".
Indicates the date as "year/month/day".
(4) "Cell Area Name"
The cell area name registered to the ErrorLog sheet is displayed.
It is not displayed when the communication starts and ends.
(5) "Error No"
The error number is displayed.
Specify the error number when inquiring about errors.
Contact us with the error number.
(6) "Contents"
The data displayed in "Contents" are shown below.
Error definition is displayed.
Corrective action for error is displayed.
● If the same error occurs twice or more successively in the same cell area, only the error information of the first error is
registered to the ErrorLog sheet. (The error information of the second error or later is not displayed.)
● Set the setting related to the Error Log sheet output format in the Options screen (Page 148, Section 16.1).
155
APPENDIX
Appendix 1
Version Confirmation
This section explains how to confirm the MX Sheet version.
Confirm the MX Sheet version in the Product information about MX Sheet screen.
Screen display
[MX Sheet][Version Info.]
Appendix 2
Appendix 2.1
Processing Speed of MX Sheet
Performance values and scroll processing
performance
This section explains the performance values and the scroll processing performance of Excel when the monitor and
logging functions is executed using the personal computer of the following performance.
The performance values indicate the numbers of device points where no collection delay occurs when only one cell
area is set to the Excel book and the device data of D device are collected by the monitor or logging function. (If
multiple cell areas is set, reduce the number of device points per cell to maintain the same performance.)
The actual performance values vary depending on the performance or similar of the personal computer.
Use the performance values explained in this section as reference values.
Operating system : Windows 7 Professional SP1(64bit)
: Intel Core i7-2790(3.60GHz)
CPU
: 8.00GB
Memory
: Microsoft Office Professional Plus 2010(32bit)
Excel
: Only one
Cell area
R
R
R
<Setting example 1>
The setting example 1 shows the case where only one access data is set.
<Setting example 2>
The setting example 2 shows the case where two or more access data are set.
156
APPENDIX
(1) Performance values for Ethernet communication
The following table shows the performance values when the monitor and logging functions are executed using
Ethernet communication.
CPU type: R120CPU
Connected module: RJ71E71
Function
Monitor function
Logging function
*1 :
Operation Interval
Number of Device Points*1
Setting example 1
Setting example 2
0.005s(5ms)
Collection delay occurs
Collection delay occurs
0.05s(50ms)
450points
50points
0.5s(500ms)
9500points
3000points
1s
18000points
7500points
5s
18000points
18000points
0.005s(5ms)
4000points
4points
0.05s(50ms)
5080points
750points
0.5s(500ms)
5080points
5080points
1s
5080points
5080points
5s
5080points
5080points
A
This number of device points applies to the case the data type is set to a character string.
(2) Performance values for USB communication
The following table shows the performance values when the monitor and logging functions are executed using
USB communication.
Appendix 2 Processing Speed of MX Sheet
Appendix 2.1 Performance values and scroll processing performance
CPU type: R120CPU
Function
Monitor function
Logging function
*1 :
Operation Interval
Number of Device Points*1
Setting example 1
Setting example 2
0.005s(5ms)
4000points
100points
0.05s(50ms)
18000points
1000points
0.5s(500ms)
18000points
6000points
1s
18000points
14000points
5s
18000points
18000points
0.005s(5ms)
4000points
4points
0.05s(50ms)
5080points
750points
0.5s(500ms)
5080points
5080points
1s
5080points
5080points
5s
5080points
5080points
This number of device points applies to the case the data type is set to a character string.
157
(3) Scroll processing performance of Excel
The following table shows the times required by Excel for scroll processing when the logging function is used.
The following times applies to the case only Excel is started on the personal computer.
Scroll Range
Time Required for Scroll Processing
10 columns  1000 rows
0.95s
10 columns  2000 rows
1.1s
10 columns  65536 rows
6.1s
256 columns  1000 rows
4.5s
256 columns  2000 rows
6.8s
256 columns  65536 rows
20min and 30s
Measurement environment: Pentium III 800MHz, 256MB, Windows XP® Professional, Microsoft® Excel® 2007
(4) File size at save and required time
The following table shows references for file size at save and time taken for saving a file depending on Excel
version (Book format).
In Microsoft® Excel® 2007 or later (especially in standard format), file size may increase or time taken for saving a
file may lengthen.
Cell range
12 columns 30 rows
Excel version
Size (MB)
®
®
Microsoft Excel 2007
(standard format)
Microsoft® Excel® 2007
(binary format)
Microsoft® Excel® 2010
(standard format)
Microsoft® Excel® 2010
(binary format)
Microsoft® Excel® 2013
(standard format)
Microsoft® Excel® 2013
(binary format)
Microsoft® Excel® 2016
(standard format)
Microsoft® Excel® 2016
(binary format)
Time
(second)
128 columns 32768 rows
Size (MB)
Time
(second)
255 columns 65535 rows
Size (MB)
Time
(second)
0.034
Less than 1
11.1
7
42.5
23
0.022
Less than 1
0.45
3
14.3
11
0.035
Less than 1
11.1
4
42.5
14
0.022
Less than 1
0.46
2
14.3
8
0.032
Less than 1
10.9
8
41.8
14
0.020
Less than 1
0.459
4
13.9
8
0.033
Less than 1
10.9
5
41.7
14
0.020
Less than 1
0.458
2
13.9
9
Measurement condition: 1 type is set for cell settings (application: logging)
Measurement environment:
• Intel® Core™ 2 Duo E8400 3.0GHz, 1GB MM Windows® XP Professional SP3(Microsoft® Excel® 2007,
Microsoft® Excel® 2010)
• Intel® Core™ Quad Q9550 2.83GHz, 4GB MM Windows® 8.1(Microsoft® Excel® 2013)
• Intel® Core™ Quad Q9550 2.83GHz, 4GB MM Windows® 10 Enterprise (Microsoft® Excel® 2016)
158
APPENDIX
Appendix 2.2
Number of processable device points when using
system labels
This section shows the performance values (the number of processable device points) when executing the monitor
and logging functions by using a personal computer with the following performance.
The actual performance values vary depending on the performance or similar of the personal computer.
Use the performance values explained in this section as reference values.
OS
: Windows Vista R
CPU
: Intel Core 2Duo(2GHz)
Memory
: 2.00GB
Target CPU : R120P
(Connecting personal computer and target CPU on 1:1 basis)
Cell area
: Only one
A
<Setting example#>
The setting example# shows the case where only one access data is set.
<Setting example$>
The setting example$ shows the case where two or more access data are set.
Appendix 2 Processing Speed of MX Sheet
Appendix 2.2 Number of processable device points when using system labels
Only one cell can be specified with a system label on the <<Access Data>> tab in the cell settings screen.
Up to 256 cells can be specified for the logging function.
159
(1) Performance values for Ethernet communication
The following table shows the performance values when the monitor and logging functions are executed using
Ethernet communication.
Function
Monitor function
Logging function
*1 :
Operation Interval
Number of Device Points*1
Setting example 1
Setting example 2
0.005s(5ms)
Collection delay occurs
Collection delay occurs
0.05s(50ms)
1points
60points
0.5s(500ms)
1points
600points
1s
1points
1300points
5s
1points
2000points
0.005s(5ms)
Collection delay occurs
Collection delay occurs
0.05s(50ms)
1points
60points
0.5s(500ms)
1points
256points
1s
1points
256points
5s
1points
256points
This number of device points applies to the case the data type is set to a character string.
(2) Performance values for USB communication
The following table shows the performance values when the monitor and logging functions are executed using
USB communication.
Function
Operation Interval
0.005s(5ms)
Monitor function
Logging function
*1 :
160
Number of Device Points*1
Setting example 1
Setting example 2
Collection delay occurs
Collection delay occurs
0.05s(50ms)
1points
70points
0.5s(500ms)
1points
900points
1s
1points
1700points
5s
1points
2000points
0.005s(5ms)
Collection delay occurs
Collection delay occurs
0.05s(50ms)
1points
60points
0.5s(500ms)
1points
256points
1s
1points
256points
5s
1points
256points
This number of device points applies to the case the data type is set to a character string.
APPENDIX
Appendix 3
Processing MX Sheet
This section explains the processing of MX Sheet.
Appendix 3.1
Collection delay and data dropout
On MX Sheet, collection delay, data dropout or similar problem may occur depending on the communication time with
the programmable controller CPU and the collection timing of device data.
A
The following explains the collection delay and data dropout.
(1) Collection delay
Device data collection delay occurs depending on the communication time with the programmable controller CPU
and the corresponding processing time.
Collection delay occurs only when "Operation time" is set to "Regular interval".
When a collection delay occurs, it is registered to the ErrorLog sheet as error information.
When a collection delay occurs, check the ErrorLog sheet.
The following explains the cases where a collection delay occurs.
(a) When the actual communication time is longer than the specified operation interval
When the communication time with the programmable controller CPU is longer than the operation interval of
MX Sheet, a device data collection delay occurs.
<Example>
"Operation time" is set to "Regular interval (3s)" but the communication time with the programmable controller
CPU is 5s
Appendix 3 Processing MX Sheet
Appendix 3.1 Collection delay and data dropout
Operation interval
set to 3s
2s waiting time
occurs.
3s
Time
Communication
time: 5s
Since communication
time is longer, actual
operation interval is 5s.
161
(b) Collection delay when device trigger function is used
When the sum of the device trigger condition check time and the communication time with programmable
controller CPU is longer than the operation interval of MX Sheet, a collection delay occurs during the next
device trigger condition check.
<Example>
When "B0" = "When ON" is set as the device trigger condition (operation interval is 3s)
Operation interval
set to 3s
2s waiting time
occurs.
3s
Time
1)
2)
Time necessary for communication: 5s
1) Device trigger condition check time
2) Communication time
ON
B0
OFF
1) + 2) is time necessary
for communication.
(c) Collection delay when handshake function is used
When the sum of the requesting device check time, the communication time with programmable controller CPU
and the handshake processing time is longer than the operation interval of MX Sheet, a collection delay occurs
during the next requesting device check.
<Example>
When the programmable controller CPU side requesting device is set to "M0" and the PC side responding
device to "M100" (operation interval is 3s)
2s waiting time
occurs.
Operation interval
set to 3s
3s
Time
1)
2)
3)
Time necessary for communication: 5s
ON
M100
OFF
ON
M0
OFF
1) + 2) + 3) is time necessary
for communication.
162
1) Requesting device check time
2) Communication time
3) Handshake processing time
APPENDIX
(2) Data dropout
The data to be collected may dropout depending on the communication time with the programmable controller
CPU and the collection timing of device data.
The following explains the cases where a data dropout occurs.
(a) When the actual communication time is longer than the specified operation interval
When the communication time with the programmable controller CPU is longer than the operation interval, the
data to be collected dropouts.
If a data dropout has occurred, increase the operation interval setting of MX Sheet.
A
<Example>
When "Operation time" is set to "Hourly (0min, 1min, 2min)" but the communication time with the
programmable controller CPU is longer than 1min If previous data collection is still being executed when it is
reached the operation time as shown below, a data dropout occurs on MX Sheet.
12:00
12:01
12:02
Time
Communication time: 1min 30s
Since data at 12:00 is
being collected, data at
12:01 is not collected.
(b) Data dropout when device trigger function is used
condition cannot be checked and the data to be collected dropouts.
<Example>
When "B0" = "When ON" is set as the device trigger condition (operation interval is 60s)
If the device trigger condition holds for the specified operation time as shown below, a data dropout occurs on
MX Sheet.
Device trigger condition
is checked at every
operation time.
12:00
12:01
12:02
12:03
Time
ON
B0
OFF
Data collection is executed
when condition holds.
Condition has held but data
collection is not executed
since condition does not
hold for condition check.
Remark
Note that if a data dropout occurs during use of the device trigger, error information is not displayed on the ErrorLog sheet.
163
Appendix 3 Processing MX Sheet
Appendix 3.1 Collection delay and data dropout
If a data dropout occurs during use of the device trigger, decrease the operation interval setting of MX Sheet.
(c) Data dropout when handshake function is used
When the requesting device condition holds for the specified operation time, the data to be collected dropouts.
If a data dropout occurs during use of the handshake, decrease the operation interval setting of MX Sheet.
<Example>
When the programmable controller CPU side requesting device is set to "M0" and the PC side responding
device to "M100" (operation interval is 60s)
If the requesting device condition holds for the operation time as shown below, a data dropout occurs on MX
Sheet.
Requesting device is checked
at every operation time.
12:00
12:01
12:02
12:03
Time
ON
M100
OFF
ON
M0
OFF
Data collection is executed
when requesting device
condition holds.
Requesting device condition
is held but data collection
is not executed since
condition does not hold
for condition check.
Remark
Note that if a data dropout occurs during use of the handshake, error information is not displayed on the ErrorLog sheet.
164
APPENDIX
(3) Data dropout when modem communication function is used
When modem communication function is used and "Telephone line connectivity time zone" is set for "Connect
each time depending on the operation interval", a data dropout occurs due to use of a modem.
To collect the programmable controller CPU device data using modem communication function, set MX Sheet
while considering the modem connection time.
If a data dropout occurs during modem communication, increase the operation interval setting of MX Sheet.
As operation interval,
set time longer than
sum of 1) + 2) + 3).
A
Operation interval
Time
1)
2)
3)
1) Time to connect to modem
2) Communication time
3) Time to disconnect from modem
Time necessary for modem
communication
Appendix 3.2
Date and time
When the logging function and CSV logging are used, the date and time in the cell area and the CSV file may not be
The following explains an example of the incorrect display, the causes and corrective actions.
<Example (when "Regular interval" is set to 1s)>
Although communication is made at the specified interval, the date and time are not displayed correctly as shown
below, since the time when data is actually read exceeds the regular interval.
(Unlike with collection delay, the error information is not displayed in the ErrorLog sheet.)
Time of 20:41:08 is incorrectly
displayed as 20:41:07.
<Causes>
• Multiple cell areas is set to the Excel book.
• Multiple cell areas use the same communication path.
• "Operation time" of the <<Operation Interval>> tab is set to "Regular interval".
<Corrective actions>
• Decrease the number of cells set to the Excel book.
• Increase the "Regular interval" setting.
• Reexamine the cell area settings. ( Page 166, Appendix 4.)
165
Appendix 3 Processing MX Sheet
Appendix 3.2 Date and time
displayed correctly.
Appendix 4
Creating the Excel spreadsheet for MX Sheet
When collecting/writing device data by using MX Sheet, the efficiency of communication with the programmable
controller CPU varies depending on the cell area settings.
The following provides the example of setting cell area for more effective communication.
(1) Communication efficiency and cell area specifying method
When multiple cell areas is set, MX Sheet executes communication with the programmable controller CPU in
order of the cell areas.
When the same communication path is set to multiple cell areas, communication efficiency decreases since all
cell areas use one communication path to communicate with the programmable controller CPU.
The following setting example shows the case where the same communication path is set to multiple cell areas.
<Setting example>
(a) Inefficient setting
When the above setting example is divided into four cell areas as shown in the following table, MX Sheet
executes communication four times. This causes communication load to increase, decreasing communication
efficiency.
Access data settings
Cell area name
Cell area
Logical station
number
Device setting
Product type
C2
D0 Character string
Lot No.
C3
D5 Character string
A
C5: C7
B
E5: E7
0: Ethernet
D10 16-bit integer
D20 16-bit integer
Operation
Number of
Interval
cells
1
1s interval
3
(b) Efficient setting
When the above setting example is integrated into one cell area as shown in the following table, the collection/
write of device data is completed by performing communication once. This enables communication load to
decrease, improving communication efficiency.
Access data settings
Cell area name
Cell area
Logical station
number
Device setting
D0 Character string
Product information
C2, C3, C5:C7, E5:E7
0: Ethernet
D5 Character string
D10 16-bit integer
D20 16-bit integer
166
Number of
cells
Operation
Interval
1
1s interval
3
APPENDIX
(2) Communication efficiency and access data setting
When one type of device is set as multiple devices, the efficiency of communication with the programmable
controller CPU decreases.
The following setting example shows the case where one type of device is specified consecutively.
<Setting example>
A
(a) Inefficient setting
If the above setting example is divided into three access data as shown below, MX Sheet recognizes them as
three types of devices and executes communication, decreasing communication efficiency.
(b) Efficient setting
If the above setting example is integrated into one access data as shown below, MX Sheet recognizes it as one
type of device and executes communication, improving communication efficiency
Appendix 4 Creating the Excel spreadsheet for MX Sheet
Remark
Any of the following settings prevents the improvement of communication efficiency even if efficient setting is set.
• When "Data Type" is set to "Bit", the device number setting of "Device" is not a multiple of 16.
• CN200 (current value of 32-bit counter device) or later of the FXCPU is set.
167
(3) Communication efficiency and use of Excel function (cell reference)
When inconsecutive device data are displayed on Excel, the efficiency of communication with the programmable
controller CPU decreases if multiple cell areas are set.
The following setting example shows the case where inconsecutive device data are displayed on Excel.
<Setting example>
(a) Inefficient setting
When the above setting example is divided into four cell areas as shown in the following table, MX Sheet
executes communication four times. This causes communication load to increase, decreasing communication
efficiency.
Access data settings
Cell area name
Cell area
Logical station
number
Line A
C3: E3
Line B
C4: E4
Line C
C5: E5
Line D
C6: E6
Device setting
Number of
cells
Operation
Interval
D0 Character string
D5 Character string
0: Ethernet
D10 16-bit integer
3
1s interval
D15 16-bit integer
(b) Efficient setting
When the above setting example is integrated into one cell area as shown in the following table and device
data are collected in the other Excel spreadsheet (Sheet 2), this decreases communication load, improving
communication efficiency.
Set cell reference so that Excel spreadsheet 1, which actually displays the device data, is refer to the
corresponding cells within Excel spreadsheet 2, which collects the device data.
(MX Sheet need not be set in the Excel spreadsheet where device data is displayed actually (Sheet 1).)
Access data settings
Cell area
name
Cell area
Logical
station
Device setting
Number of
cells
number
Line information
A2: E5 (Area set to Sheet 2) 0:Ethernet
Sheet 1 (Excel spreadsheet where device data is displayed actually)
D0 16-bit integer
Interval
1s interval
Sheet 2 (Excel spreadsheet where device data is collected)
Set Sheet 1 to refer to cells of Sheet 2.
168
20
Operation
APPENDIX
Appendix 5
Procedure to Transport Data to Other
Personal Computer
This section explains the procedure to transport the settings of MX Sheet from a development personal computer to an
on-site personal computer.
MX Sheet and MX Component must be installed in the personal computer where the settings of MX Sheet is transported.
A
Start *1
Start the communication setup utility and execute the
export of the communication settings. *2
Operation on
development
personal computer
Copy the following files to the on-site personal computer.
Excel book of MX Sheet
Export file of communication setup utility
Start the communication setup utility and import the export
file created on the development personal computer. *2
Operation on on-site
personal computer
Start the Excel book of MX Sheet and recheck the settings.
Appendix 5 Procedure to Transport Data to Other Personal Computer
Complete.
*1: The Excel book for MX Sheet should be created on
the development personal computer.
*2: For the import and export operations of communication
settings, refer to MX Component Version 4 Operating Manual.
169
Appendix 6
HTML Files
This section explains the HTML file saved during MX Sheet operation.
(1) HTML file
MX Sheet allows an HTML file to be saved automatically into the folder specified when any of the following
functions is used.
• Logging function (when cell is full)
• Alarm summary function (when cell is full)
• Automatic save setting
(2) Convenient use of HTML file
The data collected by MX Sheet can be snapshot-monitored from a business destination, office or other place via
the Internet/intranet, with the plant side personal computer (personal computer where MX Sheet is operating)
used as a Web server.
Web server
Plant
HTML file is created
by automatic save
function of MX Sheet.
Internet
Intranet
MX Sheet is
unnecessary.
Plant conditions can be
snapshot-monitored from
office and business destination.
(3) Continuous operation when saving data automatically in HTML format
Do not operate MX Sheet continuously when the Automatic save function is set to save data in HTML format.
For operating MX Sheet continuously, exit and reactivate Excel periodically.
If data are saved repeatedly in HTML format with the Automatic save function,
Excel may not operate properly.
The time for allowable continuous operation differs according to the operating environment.
170
APPENDIX
Appendix 7
Warning Messages on Windows®
Appendix 7.1
Overview of warning messages
The user account control function is added to Windows Vista® or later.
By this function, a warning message is displayed when executing Excel with Administrator authority. (Page 31,
CHAPTER 4)
<Windows Vista®>
A
<Windows® 7 or later>
Appendix 7 Warning Messages on Windows®
Appendix 7.1 Overview of warning messages
171
Appendix 7.2
Methods for disabling the warning messages
● The user account control (UAC) function prevents a crash (e.g. prevention of startup of a program which executes
unintended operation).
Before setting this function, grasp that the security function offered by UAC is disabled and fully understand the risk.
● The method of allowing the setting without displaying the warning message cannot be attempted for Windows® 8 or later.
The following two methods are available for disabling a warning message.
(1) Disabling the user account control function
The following shows a procedure for disabling the user account control function.
(a) When using Windows Vista®
Operating procedure
To the next page
172
1.
Select [Start]  [Control Panel].
2.
Select [User Accounts].
APPENDIX
From the previous page
3.
Select [User Accounts].
A
Select [Turn User Account Control on or off].
5.
Clear [Use User Account Control (UAC) to help
protect your computer] and click the
button.
Complete
173
Appendix 7 Warning Messages on Windows®
Appendix 7.2 Methods for disabling the warning messages
4.
(b) When using Windows® 7
Operating procedure
To the next page
174
1.
Select [Start]  [Control Panel].
2.
Select [System and Security].
3.
Select [Change User Account Control settings].
APPENDIX
From the previous page
4.
Set the slide bar "Never notify" and click the
button.
A
Complete
Appendix 7 Warning Messages on Windows®
Appendix 7.2 Methods for disabling the warning messages
175
(2) Allowing the warning message without showing it
The following shows a procedure for allowing a warning message without showing it.
1.
Select [Start]  [Control Panel].
2.
Select [System and Security].
When using Windows Vista®, select [Classic View].
3.
To the next page
176
Select [Administrative Tools].
APPENDIX
From the previous page
4.
Select [Local Security Policy].
When user account control is enabled, the following
screen is displayed.
Click the Continue button or the Yes button.
<Windows Vista®>
<Windows® 7 or later>
A
Select [Local Policies].
6.
Select [Security Options].
7.
Select [User Account Control: Behavior of the
elevation prompt for administrators in Admin
Approval Mode Prompt for consent].
8.
Select [Elevate without prompting] on the <<Local
Security Setting>> tab, and click the
button.
Complete
177
Appendix 7 Warning Messages on Windows®
Appendix 7.2 Methods for disabling the warning messages
5.
Appendix 8
Countermeasures for Errors as a Result of
Using the Automatic Communication Setting
of MX Sheet in Microsoft® Excel® 2007 or
Later
When a workbook that has been configured for "Automatic Communication Startup" using MX Sheet is opened using
Microsoft® Excel® 2007 or later, the following anomalous situations may occur. (Page 124, CHAPTER 9)
Appendix 8.1
Situations
(1) Excel stops responding.
(2) One of the following error messages is displayed.
Appendix 8.2
Cause of anomalous situations
These situations may occur if the following conditions are met.
(1) An Excel book is opened after setting MX Sheet automatic communication
startup.
(2) An Excel book is opened with Microsoft® Excel® 2007 or later.
178
APPENDIX
Appendix 8.3
Corrective action
Use the following flowchart to determine the course of action.
Start
... Check the Service Pack for the operating environment.
Is Windows XP SP2 or earlier or
Windows Vista SP1 or earlier used?
Yes
A
No
... Page 180, (1) in this section
Install the required Service Pack.
Check the .NET Framework and the
related module not yet installed, and
install it.
... Page 180, (2) in this section
Execute "MXShRegRCom. exe".
... Page 182, (3) in this section
Check that the action works.
... Page 183, (4) in this section
Complete
179
Appendix 8 Countermeasures for Errors as a Result of Using the Automatic Communication Setting of
MX Sheet in Microsoft® Excel® 2007 or Later
Appendix 8.3 Corrective action
Update MX Sheet or install Service Pack, .NET Framework, and the related module using the administrator account.
(1) Installation of Service Pack
Install the Service Pack required for the used operating system.
For details of required service pack, refer to the following section.
Page 26, Section 2.1 Operating Environment
(2) Checking and installation of .NET Framework and the related module
The following tables list .NET Frameworks and the related modules required for each operating environment.
If they are not installed, install them in the order listed in the table.
The file is in the "DOTNET" folder.
(a) When using Windows XP®
Excel version
.NET Framework and the related module
dotnetfx35.exe
®
dotNetFx40_Full_x86_x64.exe
Microsoft .NET Framework 3.5 SP1
Microsoft® Excel® 2007
Microsoft .NET Framework 4.0 Extended
®
Microsoft Visual Studio 2010
Tools for Office Runtime (x86)
Microsoft® .NET Framework 4.0 Extended
Microsoft
®
Excel®
2010
File name on the CD-ROM
®
Microsoft® Visual Studio 2010
Tools for Office Runtime (x86)
vstor_redist.exe
dotNetFx40_Full_x86_x64.exe
vstor_redist.exe
(b) When using Windows Vista®
Excel version
.NET Framework and the related module
®
Microsoft® Excel® 2007
Microsoft® Excel® 2010
Microsoft .NET Framework 4.0 Extended
Microsoft® Visual Studio 2010
Tools for Office Runtime (x86)
File name on the CD-ROM
dotNetFx40_Full_x86_x64.exe
vstor_redist.exe
(c) When using Windows® 7
 32-bit version
Excel version
Microsoft® Excel® 2007
Microsoft®
.NET Framework and the related module
Microsoft® .NET Framework 4.0 Extended
File name on the CD-ROM
dotNetFx40_Full_x86_x64.exe
®
Excel 2010
®
Microsoft Excel® 2013
Microsoft® Excel® 2016
Microsoft® Visual Studio 2010
Tools for Office Runtime (x86)
vstor_redist.exe
 64-bit version
Excel version
Microsoft® Excel® 2007
®
Microsoft® .NET Framework 4.0 Extended
File name on the CD-ROM
dotNetFx40_Full_x86_x64.exe
®
Microsoft Excel 2010
Microsoft® Excel® 2013
Microsoft® Excel® 2016
180
.NET Framework and the related module
Microsoft® Visual Studio 2010
Tools for Office Runtime (x64)
vstor_redist.exe
APPENDIX
(d) When using Windows® 8 and Windows® 8.1 *1
 32-bit version
Excel version
Microsoft®
Excel®
2007
Microsoft® Excel® 2010
Microsoft® Excel® 2013
Microsoft®
®
Excel 2016
.NET Framework and the related module
Microsoft®
.NET Framework 4.5 Extended
Microsoft® Visual Studio 2010
Tools for Office Runtime (x86)
File name on the CD-ROM
dotNetFx40_Full_x86_x64.exe
vstor_redist.exe
 64-bit version
Excel version
Microsoft® Excel® 2007
Microsoft®
Excel®
2010
Microsoft® Excel® 2013
®
®
Microsoft Excel 2016
*1 :
.NET Framework and the related module
Microsoft® .NET Framework 4.5 Extended
Microsoft® Visual Studio 2010
Tools for Office Runtime (x64)
File name on the CD-ROM
dotNetFx40_Full_x86_x64.exe
A
vstor_redist.exe
".NET Framework 4.5 Advanced Services" needs to be enabled in "Turn Windows features on or off" on Control Panel.
(e) When using Windows® 10*1
 32-bit version
Excel version
Microsoft® Excel® 2007
Microsoft® Excel® 2010
Microsoft® Excel® 2013
®
®
Microsoft Excel 2016
.NET Framework and the related module
Microsoft® .NET Framework 4.6 Extended
Microsoft® Visual Studio 2010
Tools for Office Runtime (x86)
File name on the CD-ROM
dotNetFx40_Full_x86_x64.exe
vstor_redist.exe
 64-bit version
Excel version
Excel®
2007
Microsoft® Excel® 2010
Microsoft® Excel® 2013
Microsoft®
*1 :
®
Excel 2016
.NET Framework and the related module
Microsoft®
.NET Framework 4.6 Extended
Microsoft® Visual Studio 2010
Tools for Office Runtime (x64)
File name on the CD-ROM
dotNetFx40_Full_x86_x64.exe
vstor_redist.exe
".NET Framework 4.6 Advanced Services" needs to be enabled in "Turn Windows features on or off" on Control Panel.
181
Appendix 8 Countermeasures for Errors as a Result of Using the Automatic Communication Setting of
MX Sheet in Microsoft® Excel® 2007 or Later
Appendix 8.3 Corrective action
Microsoft®
Check if the required .NET Framework and the related module are installed or not by the following operations.
• When using Windows XP®
Select [Start]  [Control Panel]  [Add or Remove Programs].
• When using Windows Vista® or later
Select [Start]  [Control Panel]  [Uninstall a program].
Check if the "Add or Remove Programs" screen or the "Uninstall or a change a program" screen displays the required .NET
Framework and the related module.
(3) Execution of "MXShRegRCom.exe"
After installing .NET Framework and the related module, execute "MXShRegRCom.exe" in the folder where MX
Sheet is installed ("C:\MELSEC\Sheet\" when the installation location folder was not changed at installation).
When the user account control is enabled, the following screen is displayed.
Click the
button or the
<Windows Vista®>
button.
<Windows® 7 or later>
The message shown in the figure to the left is displayed to notify the completion.
Click the
182
button.
APPENDIX
(4) Checking if the action works
The following explains how to check if the action works or not.
1.
2.
Start Excel.
When either of the screens on the left is displayed,
click the
button.
A
3.
Select the <<File>> tab  [Options].
The Excel Options screen is displayed.
Select "Add- Ins", change the item in "Manage" to "COM
Add-ins", and click the
button.
Select the office button
4.
button.
"MXShRibbon" is displayed on the COM Add-Ins
screen.
Check that "MXShRibbon" check box is selected.
Complete
183
Appendix 8 Countermeasures for Errors as a Result of Using the Automatic Communication Setting of
MX Sheet in Microsoft® Excel® 2007 or Later
Appendix 8.3 Corrective action
< When using Microsoft® Excel® 2007 >
Appendix 9
Differences with Previous Version of MX Sheet
(1) Comparison with MX Sheet Version 1
This section explains the differences between MX Sheet Version 2 and MX Sheet Version 1.
(a) Operating environment (Applicable software)
MX Sheet Version 1
MX Sheet Version 2
®
Microsoft Windows XP® Professional
Microsoft® Windows XP® Home Edition
Microsoft® Windows Vista® Home Basic
Microsoft®
Windows®
®
®
Microsoft® Windows Vista® Home Premium
98
Microsoft Windows Millennium Edition
Microsoft® Windows Vista® Business
Microsoft® Windows® NT® Workstation
Microsoft® Windows Vista® Ultimate
Microsoft
®
Windows®
2000 Professional
®
Microsoft® Windows® 7 Starter
®
®
Microsoft Windows XP Home Edition
Microsoft® Windows® 7 Home Premium
Microsoft® Windows Vista® Home Basic
Microsoft® Windows® 7 Professional
Microsoft®
Microsoft Windows XP Professional
OS*1
Microsoft® Windows Vista® Enterprise
®
Windows
Vista®
Home Premium
Microsoft® Windows® 7 Ultimate
Microsoft Windows
Vista®
Business
Microsoft® Windows® 7 Enterprise
®
Microsoft® Windows Vista® Ultimate
®
Microsoft Windows
Vista®
Enterprise
Microsoft® Windows® 8
Microsoft® Windows® 8 Pro
Microsoft
®
Windows®
7 Starter
Microsoft® Windows® 8 Enterprise
Microsoft
®
Windows®
7 Home Premium
Microsoft® Windows® 8.1
Microsoft® Windows® 7 Professional
Microsoft® Windows® 8.1 Pro
®
®
Microsoft® Windows® 8.1 Enterprise
®
®
Microsoft® Windows® 10 Home
Microsoft Windows 7 Ultimate
Microsoft Windows 7 Enterprise
Microsoft® Windows® 10 Pro
Microsoft® Windows® 10 Enterprise
Microsoft® Windows® 10 Education
Microsoft® Excel® 2000 (English version)
®
Microsoft® Excel® 2007 (English version)
®
®
Microsoft Excel 2003 (English version)
Microsoft® Excel® 2010 (English version)
Microsoft® Excel® 2007 (English version)
Microsoft® Excel® 2013 (English version)
Microsoft®
Microsoft® Excel® 2016 (English version)
Microsoft Excel 2002 (English version)
Excel
*1 :
®*1
Microsoft® Excel® 2003 (English version)
®
Excel®
2010 (English version)
Limitations on the supported Service Pack
Remark
● Using the unsupported operating environment
Use MX Sheet Version 1 when using the operating environment which is not supported by MX Sheet Version 2.
MX Sheet Version 1 is included on the CD-ROM of MX Sheet Version 2.
● Details of operating environment
Refer to the following section and manual.
Page 26, Section 2.1 Operating Environment
MX Component Version 4 Operating Manual
The manual is included on the CD-ROM of MX Sheet Version 2 in a PDF file format.
184
APPENDIX
(2) Compatibility
(a) Installation
MX Sheet Version 2 cannot be installed with MX Sheet Version 1.
Install MX Sheet Version 2 after uninstalling MX Sheet Version 1
(b) Utilizing Excel books
Excel books created in MX Sheet Version 1 can be used in MX Sheet Version 2 without modifications.
A
Appendix 9 Differences with Previous Version of MX Sheet
185
Appendix 10 Version Compatibility
(1) Combination of the version with MX Component
Function
MX Component
MX Sheet
Ethernet module (LJ71E71) of LCPU is supported.
GX Simulator3 of FX5CPU is supported.
A connection to RnCPU by using the following boards is supported.
• CC-Link IE Controller Network board
4.13P
2.10L
4.12N
2.09K
4.11M
2.08J
4.10L
2.07K
4.09K
2.06G
• CC-Link IE Field Network board
• CC-Link Ver.2 board
• MELSECNET/H board
Visual Studio® 2016 is supported.
VBA is supported by Microsoft® Excel® 2016(32-bit version) and Microsoft® Access®
2016(32-bit version).
Windows® 10 is supported.
The connection to FX5UCPU using CC-Link IE Field Network by specifying other
station on the following communication route is supported.
• The Ethernet communication whose connected station are FX5CPU and RCPU
• The CPU COM communication whose connected station is FX5CPU
• The USB COM communication whose connected station are RCPU
• The GOT transparent communication with Ethernet connection whose connected
station is FX5CPU and RCPU
The redundant mode of RnPCPU is supported.
Q26DHCCPU-LS is supported.
Q24DHCCPU-VG is supported.
R12CCPU-V is supported.
The GOT transparent communication for RnPCPU, RnSFCPU, and FX5UCPU is
supported.
The GOT transparent communication for the following CPUs is supported.
• A target CPU is RnPCPU, RnSFCPU, or FX5UCPU
• A target CPU is RnPCPU or RnSFCPU which relays R series supported C24/Q
series supported C24
RnENCPU is supported.
GX Simulator3 is supported.
The structures can be specified to the structure type of system label Ver.2.
The following connections are supported.
• The Ethernet communication whose connected station are RnPCPU and RnSFCPU
• The CPU COM communication whose connected station are RnPCPU and
RnSFCPU
• The CPU USB communication whose connected station are RnPCPU and
RnSFCPU
R08SFCPU/R16SFCPU/R32SFCPU/R120SFCPU is supported.
R08PCPU/R16PCPU/R32PCPU/R120PCPU is supported.
FX5UCPU is supported.
The problem of memory consumption when using read/write function for .NET control
repeatedly is solved.
4.08J
Visual Studio® 2013 is supported.
The system label Ver.2 is supported.
CR750-D/CRnD-700 are supported.
186
2.05F
4.07H
APPENDIX
Function
The problem when the execution result of the alarm summary function is not displayed
at the start of communication is solved.
MX Component
-
MX Sheet
2.04E
The problem when using multiple .NET controls in one program, a property cannot be
set to the respective controls is solved.
®
Windows 8.1 is supported.
2.03D
4.06G
R16MTCPU/R32MTCPU are supported.
R04CPU/R08CPU/R16CPU/R32CPU/R120CPU are supported.
Gateway function(GOT2000) is supported.
The GOT transparent function with GOT2000 is supported.
A
FX3SCPU is supported.
2.02C
Q12DCCPU-V (Extended mode) is supported.
Q24DHCCPU-LS is supported.
4.05F
QnUDPVCPU is supported.
VBA is supported by Microsoft® Excel® 2013(32-bit version) and Microsoft® Access®
2013(32-bit version).
FR-A800 is supported.
The following connections are supported.
• The CPU COM communication (via CC-Link other station) whose connected station
is FXCPU
• The CPU USB communication (via CC-Link other station) whose connected station
is FXCPU
• The Ethernet communication whose connected station is Ethernet adapter
• MT Simulator2 Communication
• The GOT transparent communication (via CC-Link other station) with serial
connection whose connected station is FXCPU
• The GOT transparent communication (via CC-Link other station) with USB
4.04E
2.01B
Appendix 10 Version Compatibility
connection whose connected station is FXCPU
• The GOT transparent communication whose connected station is Ethernet adapter/
module
• The GOT transparent communication with Ethernet connection whose connected
station is FXCPU
FX3U-ENET-ADP is supported.
L02SCPU/L06CPU/L26CPU are supported.
Visual Studio® 2012 is supported.
Windows® 8 is supported.
Visual C#®.NET is supported.
The problem of vulnerability in an ActiveX control, used in the communication setup
utility, is solved.
4.03D
The problem of unintended memory consumption when Label Utility has never been
activated after the installation is solved.
FX3GC is supported.
4.02C
Q24DHCCPU-V is supported.
2.00A
QnUDVCPU is supported.
The problem that a remote password lock cannot be unlocked is solved.
Q17nCPU/Q17nHCPU/Q17nDCPU/Q17nDSCPU is supported.
The system label is supported.
4.01B
4.00A
187
(2) Symptoms
(a) System error for MXShComnInitialize
The following message is displayed.
• Acquisition of Excel sheet Information failed.
• Operation of Excel sheet failed.
The possible cause of the error is as follows.
• MX Component is not supported by the connection target device that MX Sheet supports.
(b) Device specification error in MX Sheet
An error message is displayed for the device specified on the <<Access Data>> tab.
The possible cause of the error is as follows.
• The communication route of the logical station number assigned to the cell range is not supported by MX
Sheet.
(c) The error at the start of communication of MX Sheet
The following message is displayed on the ErrorLog sheet at the start of communication.
• Communication error has occurred in the open/close of communication.
The possible cause of the error is as follows.
• The communication route which is not supported by MX Component is used.
• The communication route has been changed to the one, which is not supported by MX Sheet after a
logical number is assigned in MX Sheet.
188
REVISIONS
*The manual number is written at the bottom left of the back cover.
Print date
*Manual number
Jul., 2012
SH-081080ENG-A
Revision
First edition
Addition
Mar., 2013
SH-081080ENG-B
Appendix 9
Correction
Section 3.1
Correction
Aug., 2013
SH-081080ENG-C
Considerations for using operating system and personal computer, TERMS, Section 1.2,
Section 2.1, Appendix 2, Appendix 7.1, Appendix 7.2, Appendix 8.3, Appendix 9
Correction
Dec., 2013
SH-081080ENG-D
TERMS, Section 2.1, Section 6.1, Section 6.2.2, Section 6.2.4, Section 6.2.5, Chapter 11,
Section 12.3, Appendix 2, Appendix 8.3, Appendix 9
Correction
May, 2014
SH-081080ENG-E
TERMS, Section 2.1, Section 6.2, Section 6.2.2, Section 6.2.4, Section 6.2.5, Section 6.3,
Section 6.3.2, Section 6.4, Section 6.4.2, Section 6.5, Section 6.5.2, Section 6.6,
Section 6.6.2, Appendix 7.2, Appendix 8.3, Appendix 9
Addition
Appendix 10
Dec., 2014
SH-081080ENG-F
Correction
Considerations for using operating system and personal computer, TERMS, Section 6.1,
Section 6.2.2, Section 6.2.4, Section 6.2.5
Apr., 2015
SH-081080ENG-G
Correction
Considerations for using operating system and personal computer, TERMS, Appendix 10
Correction
Aug., 2015
SH-081080ENG-H
Jan., 2016
SH-081080ENG-I
TERMS, Section 6.2.3, Section 6.2.6, Section 6.3.3, Section 6.4.3, Section 6.5.4,
Section 6.6.4, Appendix 2
Correction
INTRODUCTION, TERMS, Appendix 2.2, Appendix 10
Correction
Jul., 2016
SH-081080ENG-J
Jan., 2017
SH-081080ENG-K
Considerations for using operating system and personal computer, TERMS, Section 2.1,
Chapter 4, Appendix 2.1, Appendix 7.2, Appendix 8.3, Appendix 9, Appendix 10
Correction
Considerations for using operating system and personal computer, Section 6.2.2,
Section 6.2.4, Section 6.4.1, Section 7.2, Chapter 17, Appendix 10
Japanese Manual Version SH-081078-K
This manual confers no industrial 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.
© 2012 MITSUBISHI ELECTRIC CORPORATION
189
Microsoft, Microsoft Access, Excel, Visual Basic, Visual C++, Visual Studio, Windows, Windows Server, Windows Vista,
and Windows XP are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or
other countries.
Intel is either registered trademarks or trademarks of Intel Corporation in the United States and/or other countries.
The company names, system names and product names mentioned in this manual are either registered trademarks or
trademarks of their respective companies.
In some cases, trademark symbols such as '™' or '®' are not specified in this manual.
190
SH(NA)-081080ENG-K(1701)KWIX
MODEL:
SW2DNC-SHEET-O-E
MODEL CODE: 13JU73
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , 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.
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising