MX Sheet Operating Manual Software

MX Sheet Operating Manual Software
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 Mitsubishi integrated FA software, MELSOFT series.
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
MEANINGS AND DEFINITIONS OF TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
PACKING LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
CHAPTER 1 OVERVIEW
1.1
Overview of MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.2
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
CHAPTER 2 SYSTEM CONFIGURATIONS
2.1
23
Operating Environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
CHAPTER 3 FUNCTION LIST OF MX Sheet
25
3.1
Function List of MX Sheet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.2
Accessible CPUs and Accessible Device Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
CHAPTER 4 MX Sheet OPERATION PROCEDURE
27
CHAPTER 5 MX Sheet MENU SELECTION METHOD
29
CHAPTER 6 CELL SETTING
31
6.1
Operation of Cell Setting Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.2
When "Logging" is Selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.3
6.4
4
19
6.2.1
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6.2.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.2.3
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.2.4
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.2.5
Setting of the <<Handshake>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.2.6
Setting of the <<CSV Logging>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
When "Monitor" is Selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.3.1
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.3.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
6.3.3
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
6.3.4
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.3.5
Setting of the <<Handshake>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.3.6
Setting of the <<CSV Logging>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
When "Write" is Selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.4.1
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
6.4.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.4.3
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
6.5
6.6
6.4.4
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.4.5
Setting of the <<Handshake>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
When "Alarm Summary" is Selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.5.1
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
6.5.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
6.5.3
Setting of the <<Alarm Data>> tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
6.5.4
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
6.5.5
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
When "Comment" is Selected. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
6.6.1
Setting of the <<Use>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
6.6.2
Setting of the <<Access Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
6.6.3
Setting of the <<Comment Data>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
6.6.4
Setting of the <<Operation Interval>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
6.6.5
Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
6.6.6
Setting of the <<Handshake>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
CHAPTER 7 AUTOMATIC SAVE SETTING
103
7.1
Operation of Automatic Save List Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
7.2
Setting of Automatic Save Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
CHAPTER 8 AUTOMATIC PRINT SETTING
110
8.1
Operation of Automatic Print List screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
8.2
Setting of Automatic Print Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
CHAPTER 9 AUTOMATIC COMMUNICATION STARTUP/CANCEL SETTING
113
CHAPTER 10 START COMMUNICATION AND END COMMUNICATION
115
10.1
Start Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
10.2
End Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
CHAPTER 11 1 SHOT COMMUNICATION
119
CHAPTER 12 CELL EDITING
120
12.1
Cutting Cell Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
12.2
Copying Cell Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
12.3
Pasting Cell Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
12.4
Deleting Cell Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
CHAPTER 13 CHANGING SHEET NAME
125
CHAPTER 14 CREATING BUTTONS
126
14.1
Start Communication Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
14.2
End Communication Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
5
14.3
1 Shot Communication Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
CHAPTER 15 PROTECTING/UNPROTECTING MX Sheet SETTING
132
15.1
Protecting MX Sheet Setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
15.2
Unprotecting MX Sheet Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
CHAPTER 16 OPTIONS
16.1
136
Setting Error Logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
CHAPTER 17 SETTING DATA EXPORT
137
CHAPTER 18 SAMPLE PROGRAMS
139
CHAPTER 19 ERROR LOG SHEET
140
APPENDIX
142
Appendix 1 Version Confirmation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Appendix 2 Processing Speed of MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Appendix 3 Processing MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Appendix 3.1
Collection delay and data dropout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Appendix 3.2
Date and time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Appendix 4 Creating the Excel spreadsheet for MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Appendix 5 Procedure to Transport Data to Other Personal Computer. . . . . . . . . . . . . . . . . . . . . . 153
Appendix 6 HTML Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Appendix 7 Warning Messages on Windows® . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Appendix 7.1
Overview of warning messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Appendix 7.2
Methods for disabling the warning messages. . . . . . . . . . . . . . . . . . . . . . . . . 156
Appendix 8 Countermeasures for Errors as a Result of Using the Automatic Communication Setting
of MX Sheet in Microsoft® Excel® 2007 or Later. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Appendix 8.1
Situations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Appendix 8.2
Cause of anomalous situations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Appendix 8.3
Corrective action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
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
Considerations for using operating system and personal computer
(1) When using Microsoft® Windows® XP Professional Operating System, Microsoft® Windows® XP
Home Edition Operating System, Windows Vista® , and Windows® 7
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
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.
(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.
8
(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
Considerations for editing 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 144, 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.
10
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).
11
(5) 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.
(6) 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.)
12
(7) 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.
Quick access toolbar
Office button
• Microsoft® Excel® 2010 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
(8) 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".
13
(9) 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.
(10) 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.
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.
Considerations for using other MELSOFT products
(1) 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.
(2) 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.
14
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
•
•
 [MX Sheet]  [Start Communication] (
)
Click the start communication button (Page 126, Section 14.1).
15
• Symbols used in this manual
The following shows the symbols used in this manual with descriptions and examples.
'
#
$
%
&
(
No.


Notation
[
]
(Underline)
Menu name on menu bar
Screen name
Toolbar icon
Example
[MX Sheet]  [Cell Setting]
Cell Settings screen
(
)

"
"
Item name on screen
"Operation when cell is full"

<<
>>
Tab name on screen
<<Add-Ins>> tab

Button on screen

-
16
Description

Keyboard key
(
)
button
 key
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)
Generic term for FX0, FX0S, FX0N, FX1, FX1N, FX1NC, FX1S, FXU, FX2C, FX2N, FX2NC, FX3G, FX3U, and
FXCPU
FX3UC
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
Serial communication module
GOT
Generic term for FX0N-485ADP, FX2NC-485ADP, FX1N-485-BD, FX2N-485-BD, FX3G-485-BD, FX3U-485-BD,
and FX3U-485ADP
Generic term for Q series-compatible C24, L series-compatible C24, and FX extended port
Abbreviation for Graphic Operation Terminal
Serial communication
Ethernet communication
Modem communication
Windows® XP
Abbreviation for communication with programmable controller CPU using the serial communication
module
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 Microsoft® Windows® XP Professional Operating System and
Microsoft® Windows® XP Home Edition Operating System
Generic term for Microsoft® Windows Vista® Home Basic Operating System,
Microsoft® Windows Vista® Home Premium Operating System,
Windows Vista®
Microsoft® Windows Vista® Business Operating System,
Microsoft® Windows Vista® Ultimate Operating System, and
Microsoft® Window Vista® Enterprise Operating System
Generic term for Microsoft® Windows® 7 Starter Operating System,
Microsoft® Windows® 7 Home Premium Operating System,
Microsoft® Windows® 7 Professional Operating System,
®
Windows 7
Microsoft® Windows® 7 Ultimate Operating System, and
Microsoft® Windows® 7 Enterprise Operating System
Windows® 7(32-bit version) is used for indicating 32-bit version only, and Windows® 7(64-bit version) is
used for indicating 64-bit version only.
Excel
System label
Generic term for Microsoft® Excel® 2003, Microsoft® Excel® 2007, and Microsoft® Excel® 2010 (32-bit
version).
Generic term for label names assigned to each device.
It can be used instead of devices in programs.
17
MEANINGS AND DEFINITIONS OF TERMS
The following are the terms used in this manual.
(3) 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)
*1 :
18
Product Name
MX Sheet CD-ROM
Quantity
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
The number of included license agreements is equivalent to the number of licenses.
n*1
CHAPTER 1 OVERVIEW
CHAPTER 1
1.1
OVERVIEW
1
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
1.1 Overview of MX Sheet
MX Sheet
Programmable controller CPU
19
1.2
Features
(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
computer.
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
20
Gateway function communication
CHAPTER 1 OVERVIEW
1
(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
Microsoft
Excel R
R
MX Sheet
MX Component
Label Utility
System label
database
(4) Each function can be controlled by device condition.
1.2 Features
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
Device data is
collected/written
ON
OFF
Corresponding functions
Logging
Monitor
Write
Alarm summary
Comment display
Automatic save
Automatic print
21
(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.
After displaying the MX Sheet menu,
select Start Communication.
Create a
button
Easy click
operation
22
CHAPTER 2 SYSTEM CONFIGURATIONS
CHAPTER 2
SYSTEM CONFIGURATIONS
2
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
CPU
Required memory
PC CPU module
Available hard disk capacity
Display
Description
PC/AT compatible machine supporting the following operating systems.
Refer to the table "Operating systems and hardware requirements".
MELSEC-Q series-compatible PC CPU module (CONTEC CO., LTD. product)
1GB or more
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
Operating system *1,*2
Microsoft® Windows Vista® Ultimate Operating System (English version) SP2 or later
Microsoft® Windows Vista® Enterprise Operating System (English version) SP2 or later
2.1 Operating Environment
Microsoft® Windows® 7 Starter Operating System (English version) *3
Microsoft® Windows® 7 Home Premium Operating System (English version) *3
Microsoft® Windows® 7 Professional Operating System (English version) *3
Microsoft® Windows® 7 Ultimate Operating System (English version) *3
Microsoft® Windows® 7 Enterprise Operating System (English version) *3
Required software
Excel*4
MX Component
*1 :
*2 :
*3 :
*4 :
Microsoft® Excel® 2003 (English version), Microsoft® Excel® 2007 (English version)*5, or
Microsoft® Excel® 2010 (32-bit version) (English version)*6
MX Component Version 4 or later
.NET Framework 2.0 and .NET Framework 2.0 English Language Pack installation is required.
The following functions cannot be used. If used, this product may not operate normally.
• Activating the application with Windows® compatible mode.
• Simplified user switch-over
• Remote desktop
• Large font size (Advanced setting of Display Properties)
• DPI setting other than 100 %
The following functions cannot be used.
• Windows XP Mode
• Windows Touch
Excel spreadsheets created in the English environment are applicable to the English environment only, cannot be used in the
other environment.
*5 :
When using Microsoft® Excel® 2007, Microsoft® Windows® XP Service Pack 2 or later is required.
*6 :
When using Microsoft® Excel® 2010 (32-bit version), Microsoft Windows® XP Service Pack 3, Microsoft® Windows Vista®
Service Pack 1, or Microsoft® Windows® 7 or later is required. Microsoft® Excel® 2010 (64-bit version) is not supported.
23
Operating systems and hardware requirements
Hardware requirements
Operating system
CPU
Memory
Intel®
1GB or more
Windows® XP
Windows Vista®
Windows® 7 (32-bit version)
Core™2 Duo 2GHz or higher is
recommended.
Windows® 7 (64-bit version)
2GB or more
● Considerations when using Microsoft® Excel® 2010
In order to use MX Sheet, install Microsoft® Excel® 2010 (32-bit version).
When installing MX Sheet on the personal computer where Microsoft® Excel® 2010 (64-bit version) is installed, the
following error message is displayed.
After MX Sheet is installed, Microsoft® Excel® 2010 (64-bit version) is installed and started, then an add-in is installed, the
following error message is displayed.
24
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
Comment
Converts bit or word device values into comment character strings
display
that are set separately and displays them on Excel spreadsheet.
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*1,*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 66,
Section 6.3
Page 75,
Section 6.4
6 columns
Page 83,
65536 rows
Section 6.5
1
-
Automatically starts communication with programmable controller
Page 32,
65536 rows
2000
Automatically saves Excel book.
communication
256 columns
2000 points*1,*4
Automatic save
Automatic
Section
Page 93,
Section 6.6
Page 51,
Section 6.2.4
Page 53,
Section 6.2.5
Page 63,
Section 6.2.6
Page 103,
CHAPTER 7
Page 110,
CHAPTER 8
Page 113,
CHAPTER 9
Page 115,
Section 10.1
Page 118,
Section 10.2
Page 119,
CHAPTER 11
Page 126,
CHAPTER 14
Page 132,
CHAPTER 15
Page 136,
CHAPTER 16
Page 137,
CHAPTER 17
25
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.
Device trigger
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 31, 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.
26
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)
Start Excel and save the Excel book. *1
4
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 31, CHAPTER 6
Page 103, CHAPTER 7
Page 110, CHAPTER 8
Start communication.
Page 115, Section 10.1
End communication.
Page 118, 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 142, Appendix 2 Page 150,
Appendix 4.)
Remark
Refer to the Excel manual for how to operate Excel.
27
(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 :
28
When executing Excel with administrator authority, the operations such as opening the file by dragging and dropping
cannot be executed.
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.
29
(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 :
30
Can be selected after start of communication.
Can be selected after the cell area is cut or copied.
Page 118,
Page 119,
Cut a cell area
-
Page 115,
Section 10.1
CHAPTER 11
[MX Sheet] Cut Cell Area
Button
Page 113,
CHAPTER 9
communication.
Cut Cell Area
-
Page 110,
Perform 1 shot
[MX Sheet] 1 Shot Communication
Start Communication
Page 103,
Section 10.2
*1
1 Shot Communication
Create Button
Page 31,
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 120,
Section 12.1
Page 121,
Section 12.2
Page 122,
Section 12.3
Page 124,
Section 12.4
Page 125,
CHAPTER 13
Page 126,
Section 14.1
Page 130,
Section 14.2
Page 131,
Section 14.3
Page 132,
Section 15.1
Page 135,
Section 15.2
Page 136,
Section 16.1
Page 137,
CHAPTER 17
Display the MX Sheet
Page 142,
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 Setting Screen
This section explains the displaying procedure and setting item change of the Cell Setting screen.
In the Cell Setting screen, its setting items change automatically depending on the selected function.
Screen display
[MX Sheet]  [Cell Setting] (
)
The setting of the Cell Setting screen can be changed by selecting "Use" of the <<Use>> tab.
6
Selecting "Use" changes setting items.
6.1 Operation of Cell Setting 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 32, Section 6.2
Monitor
Set when using the monitor function.
Page 66, Section 6.3
Write
Set when using the write function.
Page 75, Section 6.4
Alarm summary
Set when using the alarm summary function.
Page 83, Section 6.5
Comment
Set when using the comment display function.
Page 93, Section 6.6
31
6.2
When "Logging" is Selected
This section explains the Cell Setting screen when "Logging" is selected from "Use" of the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 33,
Page 40,
Section 6.2.1
Section 6.2.2
<<Operation Interval>> tab
<<Device Trigger>> tab
Required
Set as
setting
necessary
Page 45,
Page 51,
Section 6.2.3
Section 6.2.4
<<Handshake>> tab
32
<<CSV Logging>> tab
Set as
Set as
necessary
necessary
Page 53,
Page 63,
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 34, (1)
in this section
Page 35, (2)
in this section
Page 35, (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 36, (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 36, (5)
logging data or not.
in this section
33
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 38, (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 39, (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
34
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>
35
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
D101
D100
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)
36
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
37
(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).
38
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 154, 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
Setting 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.
39
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 41, (1)
in this section
Used to start the communication setup utility to set a new logical station
Page 41, (2)
number and change the settings.
in this section
Enter the password when the password is set to the connection target
Page 41, (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 :
40
Select the logical station number required for performing communication.
Reference
Page 41, (4)
in this section
Page 44, (5)
in this section
Page 33,
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
(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 other than structured data type label and array type label.
For the accessible devices, refer to the following manual.
Page 26, Section 3.2
41
6.2 When "Logging" is Selected
6.2.2 Setting of the <<Access Data>> tab
(a) Order of display
(c) "Data Type"
Set the data type to be displayed in the cell.
Item
Available Device
Bit device
Bit
(-32768 to 32767)
Designated bits for word device set in "Device" are displayed in a
single cell in units of one bit (e.g. D0.0).
Bit device
(-2147483648 to
2147483647)
Word device
Bit device
Character string
Word device
Bit device
Real number
Word device
*1 :
*2 :
*3 :
of one bit.
(Bit specification)
Word device
32 bit integer
The bit devices set in "Device" are displayed in a single cell in units
Word device
Bit device
16 bit integer *1
Description
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
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 the data type other than bit type device is specified to "Device", 16 bit integer is set to "Data type".
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.
(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
Bit
16 bit integer
Zoom
Not applicable
Not applicable
DEC
Applicable
Cell data display
0 or 1
Displayed in decimal
Display in 4-digit hexadecimal
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)
32 bit integer
42
Value
(Example: 03EB)
Displayed in decimal
Display in 8-digit hexadecimal
(Example: 03EB03EA)
CHAPTER 6 CELL SETTING
(e) "No. of characters"
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
D0
b15 to b8 b7 to b0
B
A
D1
D
C
D2
F
E
D3
H
G
6
<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).
6.2 When "Logging" is Selected
6.2.2 Setting of the <<Access Data>> tab
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.
<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.
43
(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 specified the system labels to "Device", "1" is displayed and cannot be changed.
<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.
(h) "Dev. Points"
The points of the devices to be consecutively read starting with the device number set in "Device" are
displayed.
(i) "In unit"
The unit of the device to be shown in the cell is displayed.
(5) The number of set devices
The number of device points and others set to the cell area are displayed.
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.
44
CHAPTER 6 CELL SETTING
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
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 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 46, (1)
in this section
Page 46, (2)
in this section
Page 46, (3)
in this section
Page 47, (4)
in this section
Page 33,
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
Description
Sets the timing of connection and disconnection of the telephone line.
Reference
Page 47, (5)
in this section
45
6.2 When "Logging" is Selected
6.2.3 Setting of the <<Operation Interval>> tab
Display contents
(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
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".
Item
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.
(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".
Setting range: 0.1 to 0.9 (in units of 0.1 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.1 to 0.9 seconds.
<Example>
When 0.2 seconds interval is set
46
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".
47
(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.
48
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.
49
(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
50
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 51, (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 51, (2)
in this section
Page 33,
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
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.
51
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 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
Bit device
ON
Word device
OFF
When OFF
Bit device
ON
Word device
OFF
ON
Bit device
ON
Word device
OFF
OFF
Description
Device
Bit device
ON
Word device
OFF
=
Word device
<>
Word device
<=
Word device
<
Word device
>=
Word device
>
Word device
Range
Word device
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" setting.
Set when operation is to be performed when the device value is not equal to the "Value"
setting.
Set when operation is to be performed when the device value is equal to or less than the
"Value" setting.
Set when operation is to be performed when the device value is less than the "Value" setting.
Set when operation is to be performed when the device value is equal to or greater than the
"Value" setting.
Set when operation is to be performed when the device value is greater than the "Value"
setting.
Set when operation is to be performed when the device value is within the specified "Value"
setting range.
(e) "Value"
Enter the values used for "Condition".
Setting range: -32768 to 32767
<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.
52
CHAPTER 6 CELL SETTING
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)
6
3)
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 54, (1)
in this section
Page 58, (2)
in this section
Page 58, (3)
in this section
Page 33,
Section 6.2.1
53
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
Display contents
(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
<Operation timing>
M100
(Responding device
on the PC side)
ON
3)
OFF
5)
2)
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.
54
CHAPTER 6 CELL SETTING
(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
6
<Operation timing>
3)
D200
(Responding device
on the PC side)
5)
1
0
2)
Device data
collection
4)
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
1)
D100
(Requesting device
on the PLC side)
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.
55
(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
<Operation timing>
M100
(Requesting device
on the PC side)
4)
ON
1)
OFF
3)
Device data
collection
M0
(Responding device
on the PLC side)
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.
56
CHAPTER 6 CELL SETTING
(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
6
<Operation timing>
D200
(Requesting device
on the PC side)
1)
4)
1
0
3)
Device data
collection
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.
57
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
D100
(Responding device
on the PLC side)
(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
• 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 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 entering a label, enter other than structured data type label and array type label.
When specifying a bit of the word device, enter the bit number in "the bit".
• "Value"
Set the value of the device used for PC side processing.
Item
ON
OFF
Empty (Value input)
58
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.
CHAPTER 6 CELL SETTING
(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.
Word device
Set when a word device is used for programmable controller CPU side processing.
• "Device"
Enter the device or label used for programmable controller CPU side processing.
Enter the device name and device number in this order.
When specifying a bit of the word device, enter the bit number in "the bit".
• "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.
6
Set when the programmable controller CPU side device value is
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".
(c) Monitoring time
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.
59
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
Set the time during which the PC side device monitors the programmable controller CPU side device.
(5) Sample ladders for handshake
The following is the sample ladders for handshake used in the setting examples in (2).
(a) When "Start with the request from the PLC" is selected (Device: Bit device)
60
CHAPTER 6 CELL SETTING
(b) When "Start with the request from the PLC" is selected (Device: Word device)
6
6.2 When "Logging" is Selected
6.2.5 Setting of the <<Handshake>> tab
(c) When "Start with the request from the PC" is selected (Device: Bit device)
61
(d) When "Start with the request from the PC" is selected (Device: Word device)
62
CHAPTER 6 CELL SETTING
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
6
1)
Item
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 64, (1)
in this section
Page 64, (2)
in this section
Page 64, (3)
in this section
Page 65, (4)
in this section
Page 33,
Section 6.2.1
63
6.2 When "Logging" is Selected
6.2.6 Setting of the <<CSV Logging>> tab
Display contents
(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.1 to 0.9 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
(3) "No. of lines to be saved"
Set the number of lines to be saved into a single CSV file.
Setting range: 1 to 9999999 *1
*1 :
64
Set any of 1 to 65535 when using the CSV file on Excel.
CHAPTER 6 CELL SETTING
(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"
6
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.
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 :
A UNC path name (\\server name\path name) cannot be specified as a file name. After assigning the network drive, specify
the path name.
65
6.2 When "Logging" is Selected
6.2.6 Setting of the <<CSV Logging>> tab
*****000.csv
6.3
When "Monitor" is Selected
This section explains the Cell Setting screen when "Monitor" is selected from "Use" on the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 67,
Page 70,
Section 6.3.1
Section 6.3.2
<<Operation Interval>> tab
<<Device Trigger>> tab
Required
Set as
setting
necessary
Page 71,
Page 72,
Section 6.3.3
Section 6.3.4
<<Handshake>> tab
66
<<CSV Logging>> tab
Set as
Set as
necessary
necessary
Page 73,
Page 74,
Section 6.3.5
Section 6.3.6
CHAPTER 6 CELL SETTING
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
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 "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 68, (1)
in this section
Page 33,
Section 6.2.1
Page 68, (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 69, (3)
in this section
Monitor data are displayed from top to bottom in the specified cell area in order.
1) (Preset cell areas)
The settings of the cell areas preset to the Excel book are displayed.
Page 33,
Section 6.2.1
67
6.3 When "Monitor" is Selected
6.3.1 Setting of the <<Use>> tab
Display contents
(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 33, 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
<Before the start of communication>
1005
35
102
10
1002
30
200
15
990
36
151
25
↓
<At the start of communication>
↓
<At the completion of the first collection>
910
33
111
15
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
1005
35
102
10
1002
30
200
15
990
36
151
25
↓
<At the start of communication>
↓
<At the completion of the first collection>
68
910
33
111
15
880
34
180
22
925
31
135
18
CHAPTER 6 CELL SETTING
(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
6
<When cell area (B2:D5) is set to "Top to Bottom ">
Monitor data are displayed in order of 1 to 12.
6.3 When "Monitor" is Selected
6.3.1 Setting of the <<Use>> tab
69
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)
2)
3)
Display contents
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
programmable controller CPU.
1) (Access data)
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)
The settings of the cell areas preset to the Excel book are displayed.
*1 :
70
Enter the password when the password is set to the connection target
Page 40,
Section 6.2.2
Page 33,
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
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
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 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 :
Set the telephone line connection timing and disconnection timing.
The settings of the cell areas preset to the Excel book are displayed.
Reference
Page 45,
Section 6.2.3
Page 71, (1)
in this section
Page 45,
Section 6.2.3
Page 33,
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) "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 45, 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.
Setting range: 0.1 to 0.9 (in units of 0.1 seconds), 1 to 3600 (in units of 1 second)
71
6.3 When "Monitor" is Selected
6.3.3 Setting of the <<Operation Interval>> tab
Display contents
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
72
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 51,
Section 6.2.4
Page 33,
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 53,
Section 6.2.5
Page 33,
Section 6.2.1
73
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
74
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 63,
Section 6.2.6
Page 33,
Section 6.2.1
CHAPTER 6 CELL SETTING
6.4
When "Write" is Selected
This section explains the Cell Setting screen when "Write" is selected from "Use" on the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 76,
Page 78,
Section 6.4.1
Section 6.4.2
6
<<Operation Interval>> tab
<<Device Trigger>> tab
Required
Set as
setting
necessary
Page 80,
Page 81,
Section 6.4.3
Section 6.4.4
6.4 When "Write" is Selected
6.3.6 Setting of the <<CSV Logging>> tab
<<Handshake>> tab
Set as
necessary
Page 82,
Section 6.4.5
75
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 77, (1)
in this section
Page 33,
Section 6.2.1
Page 67,
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 77, (2)
in this section
Write data are set from top to bottom in the specified cell area in order.
1) (Preset cell areas)
76
The settings of the cell areas preset to the Excel book are displayed.
Page 67,
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 33, 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 written data cell sequence
(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
Cell sequence is set in order of 1 to 12.
(b) When "Top to Bottom" is selected
<When cell area (B2:D5) is set to "Top to Bottom ">
Cell sequence is set in order of 1 to 12.
77
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
78
Page 40,
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 79, (1)
in this section
Page 40,
Section 6.2.2
Page 33,
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 40, 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
79
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
Description
Reference
Set the Operation Interval
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 80, (1)
in this section
Set the telephone line connection timing and disconnection timing.
Page 45,
Section 6.2.3
The settings of the cell areas preset to the Excel book are displayed.
Page 33,
Section 6.2.1
Telephone line connectivity
time zone*1
1) (Preset cell areas)
*1 :
Page 45,
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.
(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 45, 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.
Setting range: 0.1 to 0.9 (in units of 0.1 seconds), 1 to 3600 (in units of 1 second)
80
CHAPTER 6 CELL SETTING
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)
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 51,
Section 6.2.4
Page 33,
Section 6.2.1
81
6.4 When "Write" is Selected
6.4.4 Setting of the <<Device Trigger>> tab
Display contents
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)
3)
Display contents
Item
82
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 53,
Section 6.2.5
Page 33,
Section 6.2.1
CHAPTER 6 CELL SETTING
6.5
When "Alarm Summary" is Selected
This section explains the Cell Setting screen when "Alarm summary" is selected from "Use" on the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 84,
Page 87,
Section 6.5.1
Section 6.5.2
6
<<Alarm Data>> tab
<<Operation Interval>> tab
Required
Set as
setting
necessary
Page 89,
Page 91,
Section 6.5.3
Section 6.5.4
6.5 When "Alarm Summary" is Selected
6.4.5 Setting of the <<Handshake>> tab
<<Device Trigger>> tab
Set as
necessary
Page 92,
Section 6.5.5
83
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
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 "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 85, (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 33,
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
84
Set whether the title, elapsed time, and number of occurrences is added to the Alarm
Page 85, (2)
Summary or not.
in this section
CHAPTER 6 CELL SETTING
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 33,
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 33,
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.
6
(a) Setting examples
For the "Cell Area" setting examples, refer to the following section.
Page 33, 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 :
(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 89, 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 89, Section 6.5.3)
Alarm
Status String set to the device (Page 89, Section 6.5.3)
Status
Elapsed time from when the device turns ON until it turns OFF (Page 86, (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 86, (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.
85
6.5 When "Alarm Summary" is Selected
6.5.1 Setting of the <<Use>> tab
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.
(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.
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
occurrences" are all selected
ON/OFF
86
Status
Elapsed
Number of
time
occurrences
Date time
Alarm
Generation
2012/06/25 Mon 15:05:20
Parts1 Abnormal fault
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
Major failure
1
1
CHAPTER 6 CELL SETTING
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
6
1)
2)
3)
Item
Description
Logical Station Number
button
Remote password*1
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 40,
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 88, (1)
in this section
Page 88, (2)
in this section
Page 40,
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.
87
6.5 When "Alarm Summary" is Selected
6.5.2 Setting of the <<Access Data>> tab
Display contents
(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.
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
displayed.
(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.
88
CHAPTER 6 CELL SETTING
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)
6
2)
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.
Reference
Page 89, (1) in
this section to
Page 90, (5) in
this section
Page 33,
Section 6.2.1
(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
89
6.5 When "Alarm Summary" is Selected
6.5.3 Setting of the <<Alarm Data>> tab
Display contents
(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
<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".
1) Displayed in the cell (when M0 is on).
2) Displayed in the cell (when M0 is off).
90
CHAPTER 6 CELL SETTING
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
6
1)
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 91, (1)
in this section
Page 45,
Section 6.2.3
Page 33,
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.1 to 0.9 (in units of 0.1 seconds), 1 to 3600 (in units of 1 second)
If 0.1 to 0.9 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 11 hours 5 minutes 2 seconds 80
91
6.5 When "Alarm Summary" is Selected
6.5.4 Setting of the <<Operation Interval>> tab
Display contents
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)
2)
Display contents
Item
Set the Device Trigger
92
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 51,
Section 6.2.4
Page 33,
Section 6.2.1
CHAPTER 6 CELL SETTING
6.6
When "Comment" is Selected
This section explains the Cell Setting screen when "Comment" is selected from "Use" on the <<Use>> tab.
<<Use>> tab
<<Access Data>> tab
Required
Required
setting
setting
Page 94,
Page 95,
Section 6.6.1
Section 6.6.2
6
<<Comment Data>> tab
<<Operation Interval>> tab
Required
Set as
setting
necessary
Page 97,
Page 100,
Section 6.6.3
Section 6.6.4
<<Handshake>> tab
Set as
Set as
necessary
necessary
Page 101,
Page 102,
Section 6.6.5
Section 6.6.6
93
6.6 When "Comment" is Selected
6.5.5 Setting of the <<Device Trigger>> tab
<<Device Trigger>> tab
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
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
1) (Preset cell areas)
Description
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.
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.
Set the cell area to be used by the comment display function.
94
-
(Maximum number of cell area names : 500)
(1) "Cell Area"
Setting range: 1
Reference
Page 94, (1)
in this section
Page 33,
Section 6.2.1
Page 67,
Section 6.3.1
Page 33,
Section 6.2.1
CHAPTER 6 CELL SETTING
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)
6
2)
3)
Item
Description
Logical Station Number
button
Remote password*1
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 40,
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 96, (1)
in this section
Page 40,
Section 6.2.2
Page 33,
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.
95
6.6 When "Comment" is Selected
6.6.2 Setting of the <<Access Data>> tab
Display contents
(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 other than structured data type label and array type label.
For the accessible devices, refer to the following section.
Page 26, 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).
Set when 1 word (16 bits), starting from the device number set
16 bit integer
Bit device
function.
(-32768 to 32767)
Word device
32 bit integer
(-2147483648 to 2147483647)
96
in 16 bit integer "Device", is used for the comment display
Bit device
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.
CHAPTER 6 CELL SETTING
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)
6
2)
Item
Device
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 98, (1)
in this section
Page 33,
Section 6.2.1
97
6.6 When "Comment" is Selected
6.6.3 Setting of the <<Comment Data>> tab
Display contents
(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
(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.
98
CHAPTER 6 CELL SETTING
(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
6
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
6.6 When "Comment" is Selected
6.6.3 Setting of the <<Comment Data>> tab
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.
99
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
1)
Display contents
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 45,
Section 6.2.3
Page 100, (1)
in this section
Page 45,
Section 6.2.3
Page 33,
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) "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 45, 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.
Setting range: 0.5 to 0.9 (in units of 0.1 seconds), 1 to 3600 (in units of 1 second)
100
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 51,
Section 6.2.4
Page 33,
Section 6.2.1
101
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)
102
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 53,
Section 6.2.5
Page 33,
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 104, 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 104,
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.
103
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
•
Click the
button or the
button on the Automatic Save List screen.
1)
2)
Display contents
Item
Automatic save name
Save at the end of
communication
Set the date and time
Operation day
Operation time
104
Description
Reference
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 when performing automatic save at the specified date and time.
Set the operation day when automatic save is performed at the specified date
Page 106, (1)
and time.
in this section
Set the operation time when automatic save is performed at the specified date
Page 106, (2)
and time.
in this section
Set the device trigger
Set when performing automatic save using the device trigger.
1) (Device conditions)
Set the device conditions for the device trigger.
Page 106, (3)
in this section
Page 107, (4)
in this section
CHAPTER 7 AUTOMATIC SAVE SETTING
Item
Clear cell area after
automatic save
Specify the cell area name
2) (Save file setting)
button
*1 :
Description
Set when clearing the cell area data after automatic save.
Reference
Page 108, (5)
in this section
From the list, select the cell area name that is the target of "Clear cell area after
Page 108, (6)
automatic save".
in this section
Set the file name to automatically save data.*1
Page 108, (7)
in this section
Register the newly created or edited "Automatic save name" to the Automatic
Page 109, (8)
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.
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".
7
7.2 Setting of Automatic Save Screen
105
(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.
106
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.
(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).
(f) "the bit"
Set the corresponding bit of the word device.
Setting range: 0 to 15
107
(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 154, 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"
(e) "Fix the File name"
Data is overwritten to the file set in "File name to save".
108
CHAPTER 7 AUTOMATIC SAVE SETTING
(8)
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.
7
7.2 Setting of Automatic Save Screen
109
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 111, Section 8.2).Automatic print
Check the one to be automatic printed.
Enable
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
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
Display a list of automatic print names created on the Automatic print screen
Page 111,
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.
110
CHAPTER 8 AUTOMATIC PRINT SETTING
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 103, 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.
8
8.2 Setting of Automatic Print Screen
1)
Display contents
Item
Automatic save name
Save at the end of
communication
Set the date and time
Operation day
Operation time
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
Page 103,
Section 7.1
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
111
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 112, (1)
in this section
From the list, select the cell area name that is the target of "Clear cell area after
Page 112, (2)
automatic print".
in this section
Set the area where automatic print is performed.
button
Reference
Page 112, (3)
in this section
Register the newly created or edited "Automatic Print Name" in the Automatic
Page 112, (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.
(a) "Entire workbook"
The entire Excel book (all sheets) where automatic print setting is set is printed automatically.
(b) "Specify the sheet"
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].
112
CHAPTER 9 AUTOMATIC COMMUNICATION STARTUP/CANCEL SETTING
CHAPTER 9
AUTOMATIC COMMUNICATION
9
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.
button to disable the automatic communication startup setting of the Excel book being
113
● 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 12, (5)(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 162, Appendix 8
114
CHAPTER 10 START COMMUNICATION AND END COMMUNICATION
CHAPTER 10 START COMMUNICATION AND END
COMMUNICATION
10
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.
● The communication can be also started by clicking the created start communication button. (Page 126, Section 14.1)
115
10.1 Start Communication
● When using Microsoft® Excel® 2003, select [MX Sheet]  [Start Communication] on the menu bar to start 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.
(a) Display of Excel book
Screen display
1)
2)
Display contents
Item
Status during Communication
1) (Icon)
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.
116
CHAPTER 10 START COMMUNICATION AND END COMMUNICATION
(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
10
with the corrective action on the "ErrorLog" sheet.
For details of the "ErrorLog" sheet, refer to the following chapter.
Page 140, CHAPTER 19
At occurrence of communication
error, error information is
displayed on the "ErrorLog" sheet.
10.1 Start Communication
117
10.2
End Communication
This section explains the procedure to end MX Sheet communication.
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 130, 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 140, CHAPTER 19
At end of communication, communication end
message is displayed on "ErrorLog" sheet.
118
CHAPTER 11 1 SHOT COMMUNICATION
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.
11
● 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 131, 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
● After selecting the cell area set on the Excel spreadsheet with the mouse and 1 Shot Communication screen is activated,
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.
119
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 122, Section 12.3
120
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 122, Section 12.3
12.2 Copying Cell Area
121
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.
122
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.
123
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
124
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.
125
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 127, (2) in this section and Page 128, (3) in this section.
126
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 128, (3) in
this section.
When the property setting is completed, select the [Design Mode] again to exit from the design mode.
127
(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.
128
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.
129
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 126, 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 127, Section 14.1 (2)
Operating procedure
[MXShBtnEnd Control Object]  [Properties]
(3) Property setting
Set the Caption and Font properties.
Page 128, Section 14.1 (3)
130
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 126, 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 127, 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 128, 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.
131
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 133, (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.
132
Reference
The menu that can be selected when Protect MX Sheet setting is set changes
Page 134, (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
133
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.
134
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
135
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 140, 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
*1
Error (Red)
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 :
136
Setting can be set only when the "Display error log" check box is selected.
CHAPTER 17 SETTING DATA EXPORT
CHAPTER 17 SETTING DATA EXPORT
17
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
137
(4) Saved content of CSV file
The following shows the content of the CSV file saved by the setting data export.
1)
2)
3)
4)
Display contents
Item
138
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.
CHAPTER 18 SAMPLE PROGRAMS
CHAPTER 18 SAMPLE PROGRAMS
18
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
139
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 141, (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
140
Page 141, (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 141, (5)
The details of the communication status is displayed.
Contents
Page 141, (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 141, (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 136, Section 16.1).
141
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
Processing Speed of MX Sheet
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.
R
Operating system : Windows XP Professional
: Pentium III(800MHz)
CPU
: 256MB
Memory
: Microsoft Excel 2002
Excel
: Only one
Cell area
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.
142
APPENDIX
(1) Performance values for serial communication
The following table shows the performance values when the monitor and logging functions are executed using
serial communication.
CPU type: A3ACPU
Connected module: AJ71UC24 (19200bps)
Function
Monitor function
Logging function
*1 :
Number of Device Points
Operation Interval
Setting example 1
Setting example 2
0.5s
120points
30points
1s
260points
70points
5s
1400points*1
400points
1s
200points
70points
5s
*1
A
400points*1
1024points
This number of device points applies to the case the data type is set to a character string.
(2) 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: Q25HCPU
Connected module: QJ71E71 (10Mbps)
Function
Logging function
Setting example 1
Setting example 2
0.5s
4000points*1
800points
1s
12000points*1
1792points*1
5s
20000points*1
10000points*1
1s
5120points*1
1792points*1
5s
5120points*1
5120points*1
Appendix 2 Processing Speed of MX Sheet
Monitor function
*1 :
Number of Device Points
Operation Interval
This number of device points applies to the case the data type is set to a character string.
(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
143
(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
Excel version
12 columns 30 rows
Size (MB)
®
®
Microsoft Excel 2007
(standard format)
Microsoft® Excel® 2007
(binary format)
Microsoft® Excel® 2010
(standard format)
Microsoft® Excel® 2010
(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
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
144
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.
145
(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.
146
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.
147
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.
148
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 150, Appendix 4.)
149
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
150
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.
151
(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.
152
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.
153
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.
154
APPENDIX
Appendix 7
Warning Messages on Windows®
Appendix 7.1
Overview of warning messages
The user account control function is added to Windows Vista® and Windows® 7.
By this function, a warning message is displayed when executing Excel with Administrator authority. (Page 150,
Appendix 4)
<Windows Vista®>
A
<Windows®7>
Appendix 7 Warning Messages on Windows®
Appendix 7.1 Overview of warning messages
155
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 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
156
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
157
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
158
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
159
(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
160
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>
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
161
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 113, 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.
162
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 164, (1) in this section
Install the required Service Pack.
Check the .NET Framework and the
related module not yet installed, and
install it.
... Page 164, (2) in this section
Execute "MXShRegRCom. exe".
... Page 165, (3) in this section
Check that the action works.
... Page 166, (4) in this section
Complete
163
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 23, 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)
vstor40_x86.exe
dotNetFx40_Full_x86_x64.exe
vstor40_x86.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
vstor40_x86.exe
(c) When using Windows® 7
 32-bit version
Excel version
Microsoft® Excel® 2007
Microsoft® Excel® 2010
.NET Framework and the related module
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
vstor40_x86.exe
 64-bit version
Excel version
Microsoft® Excel® 2007
Microsoft® Excel® 2010
164
.NET Framework and the related module
Microsoft R .NET Framework 4.0 Extended
Microsoft R Visual Studio 2010
Tools for Office Runtime (x64)
File name on the CD-ROM
dotNetFx40_Full_x86_x64.exe
vstor40_x64.exe
APPENDIX
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 Windows® 7
Select [Start]  [Control Panel]  [Uninstall a program].
A
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).
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 the user account control is enabled, the following screen is displayed.
Click the
button or the
<Windows Vista®>
button.
<Windows®7>
The message shown in the figure to the left is displayed to notify the completion.
Click the
button.
165
(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
3.
button.
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.
< When using Microsoft® Excel® 2007 >
Select the office button⇒
4.
button.
"MXShRibbon" is displayed on the COM Add-Ins
screen.
Check that "MXShRibbon" check box is selected.
Complete
166
APPENDIX
Memo
A
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
167
REVISIONS
*The manual number is written at the bottom left of the back cover.
Print date
*Manual number
July, 2012
SH-081080ENG-A
Revision
First edition
Japanese Manual Version SH-081078-A
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
168
MITSUBISHI ELECTRIC
HEADQUARTERS
EUROPEAN REPRESENTATIVES
EUROPEAN REPRESENTATIVES
MITSUBISHI ELECTRIC EUROPE B.V.
EUROPE
German Branch
Gothaer Straße 8
D-40880 Ratingen
Phone: +49 (0)2102 / 486-0
Fax: +49 (0)2102 / 486-1120
MITSUBISHIELECTRICEUROPEB.V.-org.sl. CZECH REP.
Czech Branch
Avenir Business Park, Radlická 714/113a
CZ-158 00 Praha 5
Phone: +420 - 251 551 470
Fax: +420 - 251-551-471
MITSUBISHI ELECTRIC EUROPE B.V.
FRANCE
French Branch
25, Boulevard des Bouvets
F-92741 Nanterre Cedex
Phone: +33 (0)1 / 55 68 55 68
Fax: +33 (0)1 / 55 68 57 57
MITSUBISHI ELECTRIC EUROPE B.V.
IRELAND
Irish Branch
Westgate Business Park, Ballymount
IRL-Dublin 24
Phone: +353 (0)1 4198800
Fax: +353 (0)1 4198890
MITSUBISHI ELECTRIC EUROPE B.V.
ITALY
Italian Branch
Viale Colleoni 7
I-20864 Agrate Brianza (MB)
Phone: +39 039 / 60 53 1
Fax: +39 039 / 60 53 312
MITSUBISHI ELECTRIC EUROPE B.V.
POLAND
Poland Branch
Krakowska 50
PL-32-083 Balice
Phone: +48 (0)12 / 630 47 00
Fax: +48 (0)12 / 630 47 01
MITSUBISHI ELECTRIC EUROPE B.V.
RUSSIA
52, bld. 3 Kosmodamianskaya nab 8 floor
RU-115054 Мoscow
Phone: +7 495 721-2070
Fax: +7 495 721-2071
MITSUBISHI ELECTRIC EUROPE B.V.
SPAIN
Spanish Branch
Carretera de Rubí 76-80
E-08190 Sant Cugat del Vallés (Barcelona)
Phone: 902 131121 // +34 935653131
Fax: +34 935891579
MITSUBISHI ELECTRIC EUROPE B.V.
UK
UK Branch
Travellers Lane
UK-Hatfield, Herts. AL10 8XB
Phone: +44 (0)1707 / 27 61 00
Fax: +44 (0)1707 / 27 86 95
MITSUBISHI ELECTRIC CORPORATION
JAPAN
Office Tower “Z” 14 F
8-12,1 chome, Harumi Chuo-Ku
Tokyo 104-6212
Phone: +81 3 622 160 60
Fax: +81 3 622 160 75
MITSUBISHI ELECTRIC AUTOMATION, Inc.
USA
500 Corporate Woods Parkway
Vernon Hills, IL 60061
Phone: +1 847 478 21 00
Fax: +1 847 478 22 53
GEVA
AUSTRIA
Wiener Straße 89
AT-2500 Baden
Phone: +43 (0)2252 / 85 55 20
Fax: +43 (0)2252 / 488 60
TECHNIKON
BELARUS
Oktyabrskaya 19, Off. 705
BY-220030 Minsk
Phone: +375 (0)17 / 210 46 26
Fax: +375 (0)17 / 210 46 26
ESCO DRIVES & AUTOMATION
BELGIUM
Culliganlaan 3
BE-1831 Diegem
Phone: +32 (0)2 / 717 64 30
Fax: +32 (0)2 / 717 64 31
Koning & Hartman b.v.
BELGIUM
Woluwelaan 31
BE-1800 Vilvoorde
Phone: +32 (0)2 / 257 02 40
Fax: +32 (0)2 / 257 02 49
INEA RBT d.o.o.
BOSNIA AND HERZEGOVINA
Aleja Lipa 56
BA-71000 Sarajevo
Phone: +387 (0)33 / 921 164
Fax: +387 (0)33/ 524 539
AKHNATON
BULGARIA
4, Andrei Ljapchev Blvd., PO Box 21
BG-1756 Sofia
Phone: +359 (0)2 / 817 6000
Fax: +359 (0)2 / 97 44 06 1
INEA RBT d.o.o.
CROATIA
Losinjska 4 a
HR-10000 Zagreb
Phone: +385 (0)1 / 36 940 - 01/ -02/ -03
Fax: +385 (0)1 / 36 940 - 03
AutoCont C.S. s.r.o.
CZECH REPUBLIC
Technologická 374/6
CZ-708 00 Ostrava-Pustkovec
Phone: +420 595 691 150
Fax: +420 595 691 199
Beijer Electronics A/S
DENMARK
Lykkegårdsvej 17
DK-4000 Roskilde
Phone: +45 (0)46/ 75 76 66
Fax: +45 (0)46 / 75 56 26
Beijer Electronics Eesti OÜ
ESTONIA
Pärnu mnt.160i
EE-11317 Tallinn
Phone: +372 (0)6 / 51 81 40
Fax: +372 (0)6 / 51 81 49
Beijer Electronics OY
FINLAND
Peltoie 37
FIN-28400 Ulvila
Phone: +358 (0)207 / 463 540
Fax: +358 (0)207 / 463 541
UTECO
GREECE
5, Mavrogenous Str.
GR-18542 Piraeus
Phone: +30 211 / 1206 900
Fax: +30 211 / 1206 999
MELTRADE Kft.
HUNGARY
Fertő utca 14.
HU-1107 Budapest
Phone: +36 (0)1 / 431-9726
Fax: +36 (0)1 / 431-9727
Beijer Electronics SIA
LATVIA
Ritausmas iela 23
LV-1058 Riga
Phone: +371 (0)784 / 2280
Fax: +371 (0)784 / 2281
Beijer Electronics UAB
LITHUANIA
Savanoriu Pr. 187
LT-02300 Vilnius
Phone: +370 (0)5 / 232 3101
Fax: +370 (0)5 / 232 2980
ALFATRADE Ltd.
MALTA
99, Paola Hill
Malta- Paola PLA 1702
Phone: +356 (0)21 / 697 816
Fax: +356 (0)21 / 697 817
INTEHSIS srl
MOLDOVA
bld. Traian 23/1
MD-2060 Kishinev
Phone: +373 (0)22 / 66 4242
Fax: +373 (0)22 / 66 4280
HIFLEX AUTOM.TECHNIEK B.V.
NETHERLANDS
Wolweverstraat 22
NL-2984 CD Ridderkerk
Phone: +31 (0)180 – 46 60 04
Fax: +31 (0)180 – 44 23 55
Koning & Hartman b.v.
NETHERLANDS
Haarlerbergweg 21-23
NL-1101 CH Amsterdam
Phone: +31 (0)20 / 587 76 00
Fax: +31 (0)20 / 587 76 05
Beijer Electronics AS
NORWAY
Postboks 487
NO-3002 Drammen
Phone: +47 (0)32 / 24 30 00
Fax: +47 (0)32 / 84 85 77
Fonseca S.A.
PORTUGAL
R. João Francisco do Casal 87/89
PT - 3801-997 Aveiro, Esgueira
Phone: +351 (0)234 / 303 900
Fax: +351 (0)234 / 303 910
Sirius Trading & Services srl
ROMANIA
Aleea Lacul Morii Nr. 3
RO-060841 Bucuresti, Sector 6
Phone: +40 (0)21 / 430 40 06
Fax: +40 (0)21 / 430 40 02
INEA RBT d.o.o.
SERBIA
Izletnicka 10
SER-113000 Smederevo
Phone: +381 (0)26 / 615 401
Fax: +381 (0)26 / 615 401
SIMAP s.r.o.
SLOVAKIA
Jána Derku 1671
SK-911 01 Trencín
Phone: +421 (0)32 743 04 72
Fax: +421 (0)32 743 75 20
PROCONT, spol. s r.o. Prešov
SLOVAKIA
Kúpelná 1/A
SK-080 01 Prešov
Phone: +421 (0)51 7580 611
Fax: +421 (0)51 7580 650
INEA RBT d.o.o.
SLOVENIA
Stegne 11
SI-1000 Ljubljana
Phone: +386 (0)1 / 513 8116
Fax: +386 (0)1 / 513 8170
Beijer Electronics AB
SWEDEN
Box 426
SE-20124 Malmö
Phone: +46 (0)40 / 35 86 00
Fax: +46 (0)40 / 93 23 01
Omni Ray AG
SWITZERLAND
Im Schörli 5
CH-8600 Dübendorf
Phone: +41 (0)44 / 802 28 80
Fax: +41 (0)44 / 802 28 28
GTS
TURKEY
Bayraktar Bulvari Nutuk Sok. No:5
TR-34775 Yukarı Dudullu-Ümraniye-İSTANBUL
Phone: +90 (0)216 526 39 90
Fax: +90 (0)216 526 3995
CSC Automation Ltd.
UKRAINE
4-B, M. Raskovoyi St.
UA-02660 Kiev
Phone: +380 (0)44 / 494 33 55
Fax: +380 (0)44 / 494-33-66
EURASIAN REPRESENTATIVES
TOO Kazpromavtomatika
Ul. Zhambyla 28
KAZ-100017 Karaganda
Phone: +7 7212 / 50 10 00
Fax: +7 7212 / 50 11 50
KAZAKHSTAN
MIDDLE EAST REPRESENTATIVES
I.C. SYSTEMS LTD.
EGYPT
23 Al-Saad-Al-Alee St.
EG-Sarayat, Maadi, Cairo
Phone: +20 (0) 2 / 235 98 548
Fax: +20 (0) 2 / 235 96 625
ILAN & GAVISH Ltd.
ISRAEL
24 Shenkar St., Kiryat Arie
IL-49001 Petah-Tiqva
Phone: +972 (0)3 / 922 18 24
Fax: +972 (0)3 / 924 0761
GIRIT CELADON LTD
ISRAEL
12 H'aomanut Street
IL-42505 Netanya
Phone: +972 (0)9 / 863 39 80
Fax: +972 (0)9 / 885 24 30
CEG INTERNATIONAL
LEBANON
Cebaco Center/Block A Autostrade DORA
Lebanon - Beirut
Phone: +961 (0)1 / 240 430
Fax: +961 (0)1 / 240 438
AFRICAN REPRESENTATIVE
CBI Ltd.
Private Bag 2016
ZA-1600 Isando
Phone: + 27 (0)11 / 977 0770
Fax: + 27 (0)11 / 977 0761
SOUTH AFRICA
Mitsubishi Electric Europe B.V. /// FA - European Business Group /// Gothaer Straße 8 /// D-40880 Ratingen /// Germany
Tel.: +49(0)2102-4860 /// Fax: +49(0)2102-4861120 /// [email protected] /// www.mitsubishi-automation.com
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

advertisement