0% found this document useful (0 votes)
289 views172 pages

Manual MX Sheet

Uploaded by

Daniel Pinheiro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
289 views172 pages

Manual MX Sheet

Uploaded by

Daniel Pinheiro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 172

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".

Indicates that incorrect handling may cause hazardous conditions,


WARNING
resulting in death or severe injury.

Indicates that incorrect handling may cause hazardous conditions,


CAUTION resulting in minor or moderate injury or property damage.

Under some circumstances, failure to observe the precautions given under " 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) Explains the installation method, function outlines and operation
<SH-081081ENG, 13UJ74> methods of MX Sheet Version 2.
MX Component Version 4 Operating Manual Explains the setting and operation methods of each utility on MX
<SH-081084ENG, 13JU75> Component.
MX Component Version 4 Programming Manual Explains the programming procedures, details and error codes for
<SH-081085ENG, 13JW12> 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 19
1.1 Overview of MX Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

CHAPTER 2 SYSTEM CONFIGURATIONS 23


2.1 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.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

6.3 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

6.4 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

4
6.4.4 Setting of the <<Device Trigger>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.4.5 Setting of the <<Handshake>> tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

6.5 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

6.6 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 136


16.1 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


describes the screen of currently open page.
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. Click the <<Add-Ins>> tab.
2.  [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 Description Example


 [ ] Menu name on menu bar [MX Sheet]  [Cell Setting]
 (Underline) Screen name Cell Settings screen

 ( ) Toolbar icon ( )
 " " Item name on screen "Operation when cell is full"
 << >> Tab name on screen <<Add-Ins>> tab

 Button on screen button

-  Keyboard key  key

16
TERMS
This manual uses the terms listed in the following table unless otherwise noted.

Term Description
Generic product name for SWnDNC-SHEET-E and SWnDNC-SHEET-EA (n: version)
MX Sheet
-EA indicates a volume-license product.
Generic product name for SWnDNC-ACT-E and SWnDNC-ACT-EA (n: version)
MX Component
-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
Generic term for FX0N-485ADP, FX2NC-485ADP, FX1N-485-BD, FX2N-485-BD, FX3G-485-BD, FX3U-485-BD,
FX extended port
and FX3U-485ADP
Serial communication module Generic term for Q series-compatible C24, L series-compatible C24, and FX extended port
GOT Abbreviation for Graphic Operation Terminal
Abbreviation for communication with programmable controller CPU using the serial communication
Serial communication
module
Abbreviation for communication by connecting the personal computer to Ethernet module or the built-in
Ethernet communication
Ethernet port CPU
Abbreviation for communication with programmable controller CPU via modems using
Modem communication
Q series-compatible C24, L series-compatible C24 or FXCPU

Generic term for Microsoft® Windows® XP Professional Operating System and


Windows® XP
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.

Generic term for Microsoft® Excel® 2003, Microsoft® Excel® 2007, and Microsoft® Excel® 2010 (32-bit
Excel
version).
Generic term for label names assigned to each device.
System label
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
Transmission speed
Time-out period 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 Product Name Quantity
MX Sheet CD-ROM 1
SW2D5C-SHEET-E
End-user software license agreement 1
(English version package)
Software registration notice 1
(Standard license product)
License certificate 1
MX Sheet CD-ROM 1
SW2D5C-SHEET-EA
End-user software license agreement 1
(English version package)
Software registration notice 1
(Volume license product)
License certificate n*1
*1 : The number of included license agreements is equivalent to the number of licenses.

18
CHAPTER 1 OVERVIEW

CHAPTER 1 OVERVIEW 1

1.1 Overview of MX Sheet

MX Sheet is a communication support software package that allows device data collection, etc. by simple, program-
less setting using Excel.

Logging function, monitor function Write function Automatic print function

Automatic save function


Alarm summary function Comment display 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 Gateway function communication

20
CHAPTER 1 OVERVIEW

(3) The data using labels can be displayed/set. 1


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();
User application
ret=Act.GetDevice("Temperature",Data);
Act.Close();
R
Microsoft
Visual Basic R Visual C++ R Excel R

MX Sheet

MX Component
Label Utility
System label
database

(4) Each function can be controlled by device condition.


The condition of device data collection/write can be set to programmable controller CPU devices.

1.2 Features
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 Device data is


collected/written 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

The system configuration for MX Sheet is the same as that for MX Component Version 4. 2
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 Description
Personal computer PC/AT compatible machine supporting the following operating systems.
CPU
Refer to the table "Operating systems and hardware requirements".
Required memory
PC CPU module MELSEC-Q series-compatible PC CPU module (CONTEC CO., LTD. product)
1GB or more
Available hard disk capacity
Virtual memory available capacity is 512MB or more.
Display Resolution 1024 ¯ 768 dots or more
Microsoft® Windows® XP Professional Operating System (English version) SP3 or later
Microsoft® Windows® XP Home Edition Operating System (English version) SP3 or later
Microsoft® Windows Vista® Home Basic Operating System (English version) SP2 or later
Microsoft® Windows Vista® Home Premium Operating System (English version) SP2 or later
Microsoft® Windows Vista® Business Operating System (English version) SP2 or later
Microsoft® Windows Vista® Ultimate Operating System (English version) SP2 or later
Operating system *1,*2
Microsoft® Windows Vista® Enterprise Operating System (English version) SP2 or later
Microsoft® Windows® 7 Starter Operating System (English version) *3

2.1 Operating Environment


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
Microsoft® Excel® 2003 (English version), Microsoft® Excel® 2007 (English version)*5, or
Excel*4
Microsoft® Excel® 2010 (32-bit version) (English version)*6
MX Component MX Component Version 4 or later
*1 : .NET Framework 2.0 and .NET Framework 2.0 English Language Pack installation is required.
*2 : 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 %
*3 : The following functions cannot be used.
• Windows XP Mode
• Windows Touch
*4 : 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
Windows® XP

Windows Vista® Intel® 1GB or more


Core™2 Duo 2GHz or higher is
Windows® 7 (32-bit version) 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 3

Available
Function Available Reference
Description Device
Name Cells Section
Points
Accumulates device data collected from programmable controller 256 columns Page 32,
Logging 256 points *1,*2
CPU in cell range selected on Excel as history. 65536 rows Section 6.2
Displays device data collected from programmable controller CPU in Page 66,
Monitor 2000 points*1,*3 2000
cell range selected on Excel. Section 6.3
Writes values entered on Excel to programmable controller CPU Page 75,
Write 2000 points*1,*4 2000
devices. Section 6.4
Converts ON/OFF data of bit devices into alarm comment character
6 columns Page 83,
Alarm summary strings that are set separately and accumulates them on Excel 2000 points*1,*4
65536 rows Section 6.5
spreadsheet as alarm history.
Comment Converts bit or word device values into comment character strings Page 93,
1 point*5 1
display that are set separately and displays them on Excel spreadsheet. Section 6.6
Collects/Writes device data when set device conditions set for Page 51,
Device trigger -
collection/write are met. Section 6.2.4
Sets handshake with programmable controller CPU for secure device Page 53,
Handshake -
data collection/write. Section 6.2.5

3.1 Function List of MX Sheet


Displays device data on Excel spreadsheet with logging or monitor Page 63,
CSV logging -
function, and simultaneously saves collected data as a CSV file. Section 6.2.6
Page 103,
Automatic save Automatically saves Excel book. -
CHAPTER 7
Page 110,
Automatic print Automatically prints Excel book. -
CHAPTER 8
Automatic
Automatically starts communication with programmable controller Page 113,
communication -
CPU when Excel book is started. CHAPTER 9
startup
Communication This function starts communication with the programmable controller Page 115,
-
start CPU. Section 10.1
Communication This function ends communication with the programmable controller Page 118,
-
end CPU. Section 10.2
1 shot Executes functions set in the selected cell range at any desired Page 119,
-
communication timing. CHAPTER 11
This function creates buttons to facilitate Start Communication, End Page 126,
Create Button -
Communication, and 1 Shot Communication operations. CHAPTER 14
Protect/
This function sets/cancels the password for protecting the MX Sheet Page 132,
Unprotect MS -
setting. CHAPTER 15
Sheet setting
Page 136,
Options This function sets the output format of the error log sheet. -
CHAPTER 16
Setting data Page 137,
Outputs MX Sheet settings in CSV file format. -
export CHAPTER 17

25
*1 : 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.
*2 : One Excel file (one Excel book) accepts 100 - cell - area setting.
*3 : One Excel file (one Excel book) accepts 1000 - cell - area setting.
*4 : Only bit devices can be set.
*5 : 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.

Monitor function Page 31, CHAPTER 6


Logging function
Write function Alarm summary function Page 103, CHAPTER 7
Comment display function Automatic save function Page 110, CHAPTER 8
Automatic print function

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 : When executing Excel with administrator authority, the operations such as opening the file by dragging and dropping
cannot be executed.

28
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

• Select the <<Add-Ins>> tab ⇒ [MX Sheet] *1


• Specify the cell area and right-click the mouse.
*1 : 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 Right-click of mouse


5

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 Reference
Description
Menu bar Icon Right-click Section
Page 31,
Cell Setting [MX Sheet] Cell Setting Set the cell setting.
CHAPTER 6
Set the automatic save Page 103,
Automatic Save Setting -
setting. CHAPTER 7
Set the automatic print Page 110,
Automatic Print Setting -
setting. CHAPTER 8
Set the automatic
Automatic Communication Page 113,
- communication startup
Startup Setting CHAPTER 9
setting.
Page 115,
Start Communication - Start the communication.
Section 10.1
End the communication. Page 118,
End Communication -
*1 Section 10.2
Perform 1 shot Page 119,
1 Shot Communication [MX Sheet] 1 Shot Communication
communication. CHAPTER 11
Page 120,
Cut Cell Area [MX Sheet] Cut Cell Area Cut a cell area
Section 12.1
Page 121,
Copy Cell Area [MX Sheet] Copy Cell Area Copy a cell area.
Section 12.2
Page 122,
Paste Cell Area [MX Sheet] Paste Cell Area Paste a cell area*2
Section 12.3
Page 124,
Delete Cell Area [MX Sheet] Delete Cell Area Delete a cell area.
Section 12.4
Change the Excel Page 125,
Change Sheet Name -
spreadsheet name. CHAPTER 13
Create Button - - - -
Start Communication Create the Start Page 126,
- -
Button Communication Button. Section 14.1
End Communication Create the End Page 130,
- -
Button Communication Button. Section 14.2
1 Shot Communication Create the 1 Shot Page 131,
- -
Button Communication Button. Section 14.3
Protect the MX Sheet Page 132,
Protect MX Sheet Setting - -
setting. Section 15.1
Unprotect the MX Sheet Page 135,
Unprotect MX Sheet Setting - -
setting. Section 15.2
Page 136,
Options - - Set the error log options.
Section 16.1
Execute setting data Page 137,
Setting Data Export - -
export. CHAPTER 17
Display the MX Sheet Page 142,
Version Info. - -
version. Appendix 1
*1 : Can be selected after start of communication.
*2 : Can be selected after the cell area is cut or copied.

30
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 <<CSV Logging>> tab


Set as Set as
necessary necessary
Page 53, Page 63,
Section 6.2.5 Section 6.2.6

32
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

1)

6.2.1 Setting of the <<Use>> tab


6.2 When "Logging" is Selected
Display contents

Item Description Reference


Set the function to be used for the specified cell area.
Use
Select "Logging" when using the logging function.
-
Set the name of the specified cell area.
Cell Area Name
(Maximum number of cell area names : 100)
Page 34, (1)
Cell Area Enter the value to specify the cell area.
in this section
Set whether the specified cell area is provided with grid lines (including color
Set the Color of Grid line Page 35, (2)
designation) or not.
in this section
Set the Color for Filling Set whether the specified cell area is colored or not.
When "Clear cell area at the start of communication" is selected, the data in
Clear cell area at the start Page 35, (3)
the cell area specified at the start of communication is cleared.
of communication in this section
(Default: selected)
Set the latest data display position of the logging data.
• Last Line
Page 36, (4)
New data location The latest data is displayed at the lost of the specified cell area.
in this section
• First Line
The latest data is displayed at the first of the specified cell area.
Set whether the title and the date and time are added to the displayed Page 36, (5)
Display Contents
logging data or not. in this section

33
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
Page 38, (6)
Operating when cell is full resumed. Before logging is resumed, the Excel spreadsheet can be
in this section
printed and saved.
• 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.
Page 39, (7)
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
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


Specified cell areas 1 and 2
(B2 to D5)
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
6

<At the start of communication>


<At the completion of the first collection>

6.2.1 Setting of the <<Use>> tab


6.2 When "Logging" is Selected
2012/05/24 Mon 15:00:00 31 102

(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


<At 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


<At the completion of the first collection>
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

35
(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 Date Time D100 D101 D102 D103


2012/06/25 Mon 13:24:14 30 100 0 37
Collection data
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.1 Setting of the <<Use>> tab


6.2 When "Logging" is Selected

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 Scrolled up.
Fourth data Fifth data
Fifth data Sixth data

<When "New data location" is set for "First Line">

Fifth data Sixth data


Fourth data Fifth data
Third data Fourth data Scrolled down.
Second data Third data
First data Second data

(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.

Data are
First data Sixth data
overwritten,
Second data Second data beginning with
the first data.
Third data Print or save Third data
Fourth data Excel spreadsheet. Fourth data
Fifth 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.

Data are
First data Sixth data
overwritten,
Second data beginning with
Print or save the first data.
Third data
Excel spreadsheet.
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

Add date and time to File Extension set to "File name to save"
Seconds
name
Minutes 6
Hours
Day
Month
Year
File name set in "File name to save"
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.
The following shows the file name format when data is saved.
Add sequential number to
File name

6.2.1 Setting of the <<Use>> tab


6.2 When "Logging" is Selected
*****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 : .xlsx, .xlsm, and .xlsb are Workbook-format extensions added to Microsoft® Excel® 2007 or later.
*3 : For the continuous operation when saving data automatically in HTML format, refer to the following appendix.
Page 154, Appendix 6.
*4 : 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.

(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.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 Reference


Page 41, (1)
Logical Station Number Select the logical station number required for performing communication.
in this section
Used to start the communication setup utility to set a new logical station Page 41, (2)
button
number and change the settings. in this section
Enter the password when the password is set to the connection target Page 41, (3)
Remote password *1
programmable controller CPU. in this section
Page 41, (4)
1) (Access data) Set the devices or labels to be logged.
in this section
Page 44, (5)
2) (Number of set devices) The number of devices currently set is displayed.
in this section
Page 33,
3) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
*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.

40
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 button and set a new logical station number.

(2) 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.
MX Component Version 4 Operating Manual 6
(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

6.2.2 Setting of the <<Access Data>> tab


6.2 When "Logging" is Selected
(a) Order of display
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
(c) "Data Type"
Set the data type to be displayed in the cell.
Item Available Device Description
The bit devices set in "Device" are displayed in a single cell in units
Bit device
of one bit.
Bit
Word device Designated bits for word device set in "Device" are displayed in a
(Bit specification) single cell in units of one bit (e.g. D0.0).
Displayed in a single cell in units of 1 word (16 bits), starting with the
Bit device
16 bit integer *1 16 bit integer device number set in "Device". *2
(-32768 to 32767) Displayed in a single cell in units of 1 word, starting with the device
Word device
number set in "Device".*2
Displayed in a single cell in units of 2 words (32 bits), starting with
32 bit integer Bit device
the device number set in "Device".*2
(-2147483648 to
Displayed in a single cell in units of 2 words, starting with the device
2147483647) Word device
number set in "Device". *2
The data of the device number set in "Device" are displayed in the
Bit device
cell as character strings.*3
Character string
The data of the device number set in "Device" are displayed in the
Word device
cell as character strings.*3
Displayed in a single cell in units of 2 words (32 bits), starting with
Bit device
Real number Real number the device number set in "Device".*2
Displayed in a single cell in units of 2 words, starting with the device
Word device
number set in "Device".*2
*1 : When the data type other than bit type device is specified to "Device", 16 bit integer is set to "Data type".
*2 : The displayed value changes depending on the "Zoom" setting. Refer to (f) for details.
*3 : 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
Cell data display
Data Type Value Zoom
Bit Not applicable Not applicable 0 or 1
DEC Applicable Displayed in decimal
16 bit integer Display in 4-digit hexadecimal
HEX Not applicable
(Example: 03EB)
DEC Applicable Displayed in decimal
32 bit integer Display in 8-digit hexadecimal
HEX Not applicable
(Example: 03EB03EA)
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)

42
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

b15 to b8 b7 to b0
D0 B A
D1 D C
D2 F E
D3 H G

<When "No. of characters" is set to "1"> 6


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.2 Setting of the <<Access Data>> tab


6.2 When "Logging" is Selected
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 Excel
CPU Set "Zoom" to "0.1".
D0
25
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

1)

6.2.3 Setting of the <<Operation Interval>> tab


6.2 When "Logging" is Selected
Display contents

Item Description Reference


Page 46, (1)
Set the Operation Interval Set the operation of the cell area valid or invalid.
in this section
Page 46, (2)
Operation day Set the operation day of the logging activation.
in this section
Page 46, (3)
Operation time Set the operation time of the logging activation.
in this section
Page 47, (4)
Logging Time zone*1 Set the time zone of the logging activation.
in this section
Page 33,
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
*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 Description Reference


Telephone line connectivity Page 47, (5)
Sets the timing of connection and disconnection of the telephone line.
time zone in this section

45
(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


Logging is always performed at the specified operation time of the operation day. 6
(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.3 Setting of the <<Operation Interval>> tab


6.2 When "Logging" is Selected
(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 : Selected


Operation day
Daily : Selected
Operation time
Regularinterval : 60 seconds
Logging Time zone
Log Always : Selected

<Operation timing>

First Second Third Fourth Fifth Sixth


60s 60s 60s 60s 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

<Operation timing>

Every Friday

9:00 10:00 11:00 12:00 13:00 14:00

Time

6.2.3 Setting of the <<Operation Interval>> tab


6.2 When "Logging" is Selected
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)

2)

6.2.4 Setting of the <<Device Trigger>> tab


6.2 When "Logging" is Selected
Display contents

Item Description Reference


Page 51, (1)
Set the Device Trigger Set when the device trigger is used.
in this section
Page 51, (2)
1) (Device conditions) Set the device or label conditions.
in this section
Page 33,
2) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
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
(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.
Available
Item Description
Device
When ON Bit device Set when operation is to be performed only once when the bit device turns on.
ON
Set when operation is to be performed only once when the corresponding bit of the word
Word device
OFF
device turns on (value: 1).

When OFF Bit device Set when operation is to be performed only once when the bit device turns off.
ON
Set when operation is to be performed only once when the corresponding bit of the word
Word device
device turns off (value: 0).
OFF

ON Bit device Set when operation is to be performed while the bit device is on.
ON Set when operation is to be performed while the corresponding bit of the word device is on
Word device
(value: 1).
OFF

OFF Bit device Set when operation is to be performed while the bit device is off.
ON
Set when operation is to be performed while the corresponding bit of the word device is off
Word device
OFF
(value: 0).

= Word device 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"
<> Word device
setting.
Set when operation is to be performed when the device value is equal to or less than the
<= Word device
"Value" setting.
< Word device 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
>= Word device
"Value" setting.
Set when operation is to be performed when the device value is greater than the "Value"
> Word device
setting.
Set when operation is to be performed when the device value is within the specified "Value"
Range Word device
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)

3)

6.2.5 Setting of the <<Handshake>> tab


6.2 When "Logging" is Selected
Display contents

Item Description Reference


Page 54, (1)
Set Handshake Set when using a handshake.
in this section
1) (Requesting source Page 58, (2)
Set the requesting source of the handshake.
setting) in this section
Page 58, (3)
2) (Handshake processing) Set the handshake processing.
in this section
Page 33,
3) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

53
(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 : Selected


Start with the request from the PLC : Selected
Responding device on the PC side
Bit device : Selected
Device : M100
Value : ON
Requesting device on the PLC side
Bit device : Selected
Device : M0
Condition : When ON
Monitoring time : 10 seconds

<Operation timing>

ON
M100
3) 5)
(Responding device OFF
on the PC side)
2)
Device data
collection

ON
M0 4)
1)
(Requesting device OFF
on the PLC side)
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) 5)
D200 1 0
(Responding device
on the PC side)
2)
Device data
collection

1) 4)

6.2.5 Setting of the <<Handshake>> tab


6.2 When "Logging" is Selected
D100 100
(Requesting device
on the PLC side)
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>

ON 4)
M100 1)
(Requesting device OFF
on the PC side) 3)
Device data
collection

ON
M0 2) 5)
(Responding device OFF
on the PLC side)

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 : Selected


Start with the request from the PC : Selected
Requesting device on the PC side
Word device : Selected
Device : D200
Value : 1 (left), 0 (right)
Responding device on the PLC side
Word device : Selected
Device : D100
Condition :=
Value : 100
Monitoring time : 10 seconds

6
<Operation timing>

1) 4)
D200 1 0
(Requesting device
on the PC side) 3)
Device data
collection

2) 5)
D100 100

6.2.5 Setting of the <<Handshake>> tab


6.2 When "Logging" is Selected
(Responding device
on the PLC side)
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
(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 Available Device Description
Bit device Set when the value of the device used for PC side processing
ON
Word device (Bit specification) is set for ON.
Bit device Set when the value of the device used for PC side processing
OFF
Word device (Bit specification) is set for OFF.
Empty (Value input) Word device Set the value of the word device used for PC side processing.

58
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 Available Device Description
Bit device Set when the value of the device used for programmable
ON
controller CPU side processing is set for ON.
Word device (Bit specification)
Bit device
6
Set when the value of the device used for programmable
OFF
Word device (Bit specification) controller CPU side processing is set for OFF.
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


Set the time during which the PC side device monitors the programmable controller CPU side device.

6.2.5 Setting of the <<Handshake>> tab


6.2 When "Logging" is Selected
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
the time when the programmable controller CPU side requesting device is reset. If
Start with the request from the
the programmable controller CPU side responding device is not reset after the
programmable controller
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
the time when the programmable controller CPU side responding device is set. If the
Start with the request from the PC
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
(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)

(c) When "Start with the request from the PC" is selected (Device: Bit device)

6.2.5 Setting of the <<Handshake>> tab


6.2 When "Logging" is Selected

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

1)

6.2.6 Setting of the <<CSV Logging>> tab


6.2 When "Logging" is Selected
Display contents

Item Description Reference


Page 64, (1)
Save as CSV file Set when using the CSV logging.
in this section
Page 64, (2)
Contents to save Set when adding the device name to the first line.
in this section
Page 64, (3)
No. of lines to be saved Set the number of lines to be saved.
in this section
Page 65, (4)
File name to save Set the file name to save.
in this section
Page 33,
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

63
(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 : Set any of 1 to 65535 when using the CSV file on Excel.

64
CHAPTER 6 CELL SETTING

(4) "File name to save"


Set the CSV file name to save.
Item Description
File name to save 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
6
Year
File name set in "File name to save"
Adds the file number to the file name set in "File name to save" and saves it.
The serial number can be set in a range from 000 to 999.
When the number reaches the last, the data of the next file are overwritten to the file of the first
number.
In CSV logging, data is added until the data in the CSV file reach the number of lines set in "No. of
lines to be saved".
Add sequential number to
When they reach the set number of lines, a new CSV file is created.
File name

6.2.6 Setting of the <<CSV Logging>> tab


6.2 When "Logging" is Selected
*****000.csv

File number
File name set in "File name to save"
Overwrites data to the CSV file set in "File name to save".
Fix the File name In CSV logging, data is added until the data in the CSV file reach the number of lines set in "No. of
lines to be saved".
*1 : 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.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 <<CSV Logging>> tab


Set as Set as
necessary necessary
Page 73, Page 74,
Section 6.3.5 Section 6.3.6

66
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

1)

6.3.1 Setting of the <<Use>> tab


6.3 When "Monitor" is Selected
Display contents

Item Description Reference


Set the function to be used for the specified cell area. Select "Monitor" when
Use
using the monitor function.
-
Set the name of the specified cell area.
Cell Area Name
(Maximum number of cell area names : 1000)
Page 68, (1)
Cell Area Enter the value to specify the cell area.
in this section
Set whether the specified cell area is provided with grid lines (including color
Set the Color of Grid line Page 33,
designation) or not.
Section 6.2.1
Set the Color for Filling 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
Clear cell area at the start Page 68, (2)
cell area specified at the start of communication is cleared.
of communication in this section
(Default: cleared)
Set the monitor data display sequence.
• Left to Right
Page 69, (3)
Cell Display Direction Monitor data are displayed from left to right in the specified cell area in order.
in this section
• Top to Bottom
Monitor data are displayed from top to bottom in the specified cell area in order.
Page 33,
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

67
(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


<At the start of communication>
1005 35 102 10
1002 30 200 15
990 36 151 25


<At the completion of the first collection>
910 33 111 15
880 34 180 22
925 31 135 18

68
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

<When cell area (B2:D5) is set to "Top to Bottom ">


6

Monitor data are displayed in order of 1 to 12.

6.3.1 Setting of the <<Use>> tab


6.3 When "Monitor" is Selected

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 Description Reference


Logical Station Number Select the logical station number required for performing communication.
Used to start the communication setup utility to set a new logical station number
button and change the settings.
Page 40,
Enter the password when the password is set to the connection target
Remote password *1 Section 6.2.2
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.
Page 33,
3) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
*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.

70
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

1)

6.3.3 Setting of the <<Operation Interval>> tab


6.3 When "Monitor" is Selected
Display contents

Item Description Reference


Set the Operation Interval Set the operation of the cell area valid or invalid. Page 45,
Operation day Set the operation day of the monitor function activation. Section 6.2.3
Page 71, (1)
Operation time Set the operation time of the monitor function activation.
in this section
Telephone line connectivity Page 45,
Set the telephone line connection timing and disconnection timing.
time zone *1 Section 6.2.3
Page 33,
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
*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.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 Description Reference


Set the Device Trigger Set when the device trigger is used. Page 51,
1) (Device conditions) Set the device or label conditions. Section 6.2.4
Page 33,
2) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

72
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)

6.3.5 Setting of the <<Handshake>> tab


6.3 When "Monitor" is Selected
Display contents

Item Description Reference


Set Handshake Set when using a handshake.
Page 53,
1) (Requesting source setting) Set the requesting source of the handshake.
Section 6.2.5
2) (Handshake processing) Set the handshake processing.
Page 33,
3) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

73
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 Description Reference


Save as CSV file Set when using the CSV logging.
Contents to save Set when adding the device name to the first line. Page 63,
No. of lines to be saved Set the number of lines to be saved. Section 6.2.6
File name to save Set the file name to save.
Page 33,
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

74
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.3.6 Setting of the <<CSV Logging>> tab


6.4 When "Write" is Selected
<<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 Description Reference


Set the function to be used for the specified cell area. Choose "Write" when
Use
using the write function.
-
Set the name of the specified cell area.
Cell Area Name
(Maximum number of cell area names : 1000)
Page 77, (1)
Cell Area Enter the value to specify the cell area.
in this section
Set whether the specified cell area is provided with grid lines (including color
Set the Color of Grid line Page 33,
designation) or not.
Section 6.2.1
Set the Color for Filling Set whether the specified cell area is colored or not
When "Clear cell area at the start of communication" is selected, the data in
Clear cell area at the Page 67,
the cell area specified at the start of communication is cleared.
start of communication Section 6.3.1
(Default: cleared)
Set the input cells for the write data.
• Left to Right
Page 77, (2)
Cell Display Direction Write data are set from left to right in the specified cell area in order.
in this section
• Top to Bottom
Write data are set from top to bottom in the specified cell area in order.
Page 67,
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.3.1

76
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">

Cell sequence is set in order of 1 to 12.

6.4.1 Setting of the <<Use>> tab


6.4 When "Write" is Selected
(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 Description Reference


Logical Station Number Select the logical station number required for performing communication.
Used to start the communication setup utility to set a new logical station number
Page 40,
button and change the settings.
Section 6.2.2
Enter the password when the password is set to the connection target
Remote password*1
programmable controller CPU.
Page 79, (1)
1) (Access data) Set the devices or labels to be written.
in this section
Page 40,
2) (Number of set devices) The number of devices currently set is displayed.
Section 6.2.2
Page 33,
3) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
*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.

78
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 Programmable controller CPU


Set "Zoom" to "0.1".
D0
100

Enter 1000 into cell. 100 is written to programmable controller CPU. 6

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.2 Setting of the <<Access Data>> tab


6.4 When "Write" is Selected

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. Page 45,
Operation day Set the operation of the cell area valid or invalid. Section 6.2.3

Page 80, (1)


Operation time Set the operation time of the write function activation.
in this section
Telephone line connectivity Page 45,
Set the telephone line connection timing and disconnection timing.
time zone*1 Section 6.2.3

Page 33,
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
*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 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)

2)

6.4.4 Setting of the <<Device Trigger>> tab


6.4 When "Write" is Selected
Display contents

Item Description Reference


Set the Device Trigger Set when the device trigger is used. Page 51,
1) (Device conditions) Set the device or label conditions. Section 6.2.4
Page 33,
2) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

81
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 Description Reference


Set Handshake Set when using a handshake.
Page 53,
1) (Requesting source setting) Set the requesting source of the handshake.
Section 6.2.5
2) (Handshake processing) Set the handshake processing.
Page 33,
3) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

82
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.4.5 Setting of the <<Handshake>> tab


6.5 When "Alarm Summary" is Selected
<<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 Description Reference


Set the function to be used for the specified cell area.
Use
Select "Alarm summary" when using the alarm summary function.
-
Set the name of the specified cell area.
Cell Area Name
(Maximum number of cell area names : 100)
Page 85, (1)
Cell Area Enter the value to specify the cell area.
in this section
Set whether the specified cell area is provided with grid lines (including color
Set the Color of Grid line
designation) or not.
Set the Color for Filling 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
Clear cell area at the start
area specified at the start of communication is cleared.
of communication Page 33,
(Default: selected)
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.
Set whether the title, elapsed time, and number of occurrences is added to the Alarm Page 85, (2)
Display Contents
Summary or not. in this section

84
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
is resumed. Page 33,
Operating when cell is full
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.
Page 33,
1) (Preset cell areas) 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 : When displaying the elapsed time and number of occurrences in the Alarm Summary, increase the number of columns
by 1 respectively.

6.5.1 Setting of the <<Use>> tab


6.5 When "Alarm Summary" is Selected
6 columns are required to display both.

(2) "Display Contents"

(a) "Add title" check box


Set whether the title for the column item shown in the following table is displayed or not on the first line of the
set "Cell Area". When displaying the title, select the check box.
Column item Title
• On time String/Off time String (Page 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
(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
Elapsed Number of
ON/OFF Date time Alarm Status
time occurrences
Generation 2012/06/25 Mon 15:05:20 Parts1 Abnormal fault Major failure 1
Generation 2012/06/25 Mon 15:05:31 Parts 2 Quantity error Minor failure 1
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

86
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

1)
6

2)

3)

6.5.2 Setting of the <<Access Data>> tab


6.5 When "Alarm Summary" is Selected
Display contents

Item Description Reference


Logical Station Number Select the logical station number required for performing communication.
Used to start the communication setup utility to set a new logical station
button Page 40,
number and change the settings.
Section 6.2.2
Enter the password when the password is set to the connection target
Remote password*1
programmable controller CPU.
Page 88, (1)
1) (Access data) Set the devices or labels use for the alarm summary function.
in this section
Page 88, (2)
2) (Number of set devices) The number of devices currently set is displayed.
in this section
Page 40,
3) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.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.

87
(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
Data No. 2
of data numbers.

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)

2)

6.5.3 Setting of the <<Alarm Data>> tab


6.5 When "Alarm Summary" is Selected
Display contents

Item Description Reference


Page 89, (1) in
this section to
1) (Alarm data) Set the alarm data to be used for the alarm summary function.
Page 90, (5) in
this section
Page 33,
2) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
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
(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 : M0
ON time String : Generation
OFF time String : Restoration
Alarm String : Material storage
Status String : 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

1)

6.5.4 Setting of the <<Operation Interval>> tab


6.5 When "Alarm Summary" is Selected
Display contents

Item Description Reference


Page 91, (1)
Regular interval Set the operation interval of the alarm summary function.
in this section
Page 45,
Telephone line connectivity time zone*1 Set the telephone line connection timing and disconnection timing.
Section 6.2.3
Page 33,
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
*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.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 Description Reference


Set the Device Trigger Set when the device trigger is used. Page 51,
1) (Device conditions) Set the device or label conditions. Section 6.2.4
Page 33,
2) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

92
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

6.5.5 Setting of the <<Device Trigger>> tab


6.6 When "Comment" is Selected
<<Device Trigger>> tab <<Handshake>> tab
Set as Set as
necessary necessary
Page 101, Page 102,
Section 6.6.5 Section 6.6.6

93
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 Description Reference


Set the function to be used for the specified cell area.
Use
Select "Comment" when using the comment display function.
-
Set the name of the specified cell area.
Cell Area Name
(Maximum number of cell area names : 500)
Page 94, (1)
Cell Area Enter the value to specify the cell area.
in this section
Set whether the specified cell area is provided with grid lines (including color
Set the Color of Grid line Page 33,
designation) or not.
Section 6.2.1
Set the Color for Filling Set whether the specified cell area is colored or not.
When "Clear cell area at the start of communication" is selected,
Clear cell area at the Page 67,
the data in the cell area specified at the start of communication is cleared.
start of communication Section 6.3.1
(Default: cleared)
Page 33,
1) (Preset cell areas) 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 comment display function.
Setting range: 1

94
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)

2)

3)

6.6.2 Setting of the <<Access Data>> tab


6.6 When "Comment" is Selected
Display contents

Item Description Reference


Logical Station Number Select the logical station number required for performing communication.
Used to start the Communication Setup Utility to set a new logical station
button Page 40,
number and change the settings.
Section 6.2.2
Enter the password when the password is set to the connection target
Remote password*1
programmable controller CPU.
Page 96, (1)
1) (Access data) Set the devices or labels use for the comment display function.
in this section
Page 40,
2) (Number of set devices) The number of devices currently set is displayed.
Section 6.2.2
Page 33,
3) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
*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
(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.
Device That Can be
Item Description
Specified
The bit devices set in "Device" are displayed in a single cell in
Bit device
units of one bit.
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
Bit device in 16 bit integer "Device", is used for the comment display
16 bit integer
function.
(-32768 to 32767)
Set when the word device set in "Device" is used for the
Word device
comment display function.
Set when 2 words (32 bits), starting from the device number set
Bit device
32 bit integer in "Device", are used for the comment display function.
(-2147483648 to 2147483647) Set when 2 words, starting from the device number set in
Word device
"Device", are used for the comment display function.

96
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)

6.6.3 Setting of the <<Comment Data>> tab


6.6 When "Comment" is Selected
Display contents

Item Description Reference


Device 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.
Page 98, (1)
1) (Comment data) Set the comment data to be used for the comment display function.
in this section
Page 33,
2) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

97
(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
OFF 6
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.3 Setting of the <<Comment Data>> tab


6.6 When "Comment" is Selected
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 Reference


Set the Operation Interval Set the operation of the cell area valid or invalid. Page 45,
Operation day Set the operation day of the comment display function activation. Section 6.2.3
Page 100, (1)
Operation time Set the operation time of the comment display function activation.
in this section
Telephone line connectivity Page 45,
Set the telephone line connection timing and disconnection timing.
time zone*1 Section 6.2.3
Page 33,
1) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1
*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)

2)

6.6.5 Setting of the <<Device Trigger>> tab


6.6 When "Comment" is Selected
Display contents

Item Description Reference


Set the Device Trigger Set when the device trigger is used. Page 51,
1) (Device conditions) Set the device or label conditions. Section 6.2.4
Page 33,
2) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

101
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 Description Reference


Set Handshake Set when using a handshake.
1) (Requesting source Page 53,
Set the requesting source of the handshake.
setting) Section 6.2.5
2) (Handshake processing) Set the handshake processing.
Page 33,
3) (Preset cell areas) The settings of the cell areas preset to the Excel book are displayed.
Section 6.2.1

102
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)
1)
3)
4)

Display contents

Item Description Reference


Display a list of automatic save names created in the Automatic save screen
1) Automatic save name list
(Page 104, Section 7.2).

7.1 Operation of Automatic Save List Screen


Enable 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
End of communication
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.
Display whether the "Set the Device trigger" check box in the Automatic save
Device trigger
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
Clear cell area
Automatic save screen is selected or not in the form of Settings or No settings.

2) button Display the Automatic save screen and create new automatic save setting data.
Page 104,
Display the Automatic save screen and change the content of the existing Section 7.2
3) button
automatic save setting data.

4) button 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.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 Description Reference


Attach specific names to the automatic save setting data.
Automatic save name
Up to 50 automatic save names can be registered.
Save at the end of -
Set when performing automatic save at the end of communication.
communication
Set the date and time 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)
Operation day
and time. in this section
Set the operation time when automatic save is performed at the specified date Page 106, (2)
Operation time
and time. in this section
Page 106, (3)
Set the device trigger Set when performing automatic save using the device trigger.
in this section
Page 107, (4)
1) (Device conditions) Set the device conditions for the device trigger.
in this section

104
CHAPTER 7 AUTOMATIC SAVE SETTING

Item Description Reference


Clear cell area after Page 108, (5)
Set when clearing the cell area data after automatic save.
automatic save in this section
From the list, select the cell area name that is the target of "Clear cell area after Page 108, (6)
Specify the cell area name
automatic save". in this section
Page 108, (7)
2) (Save file setting) Set the file name to automatically save data.*1
in this section
Register the newly created or edited "Automatic save name" to the Automatic Page 109, (8)
button
Save List screen. in this section
*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.

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.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


Set the type of the device used for the device trigger.

7.2 Setting of Automatic Save Screen


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.

(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 Available Device Description
When ON Bit device Set when automatic save is to be performed when the bit device turns on.
ON
Set when automatic save is to be performed when the corresponding bit
Word device
of the word device turns on (value: 1).
OFF

When OFF Bit device Set when automatic save is to be performed when the bit device turns off.
ON
Set when automatic save is to be performed when the corresponding bit
Word device
of the word device turns off (value: 0).
OFF

(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 : xlsx, .xlsm, and .xlsb are Workbook-format extensions added to Microsoft® Excel® 2007 or later.
*2 : 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 Display in "Automatic save list"
The automatic save name and settings are additionally displayed at the bottom of the list,
Create New
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.
Edit
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.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)
1) 4)

Display contents

Item Description Reference


Display a list of automatic print names created on the Automatic print screen
1) Automatic print name list
(Page 111, Section 8.2).Automatic print
Check the one to be automatic printed.
Enable
Checked when new data is created.
Automatic print name Display the automatic print names created on the Automatic print screen.
Display whether the "Print at the end of communication" check box in the
End of communication
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.
Display whether the "Set the Device trigger" check box in the Automatic print
Device trigger
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
Clear cell area
Automatic print screen is checked or not in the form of Settings or No settings.
Display the Automatic print screen and create new automatic print setting
2) button
data. Page 111,
Display the Automatic print screen and change the content of the existing Section 8.2
3) button
automatic print setting data.

4) button Delete the selected automatic print name from the automatic print name list. -

● 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.2 Setting of Automatic Print Screen


1)

Display contents

Item Description Reference


Manage the automatic print setting data with specific names.
Automatic save name -
Up to 50 automatic print names can be registered.
Save at the end of
Set when performing automatic print at the end of communication.
communication
Set the date and time 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
Operation day Page 103,
time.
Section 7.1
Set the operation time when automatic print is performed at the specified date
Operation time
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 Description Reference
Clear cell area after Page 112, (1)
Make setting when clearing the cell area data after automatic print.
automatic save in this section
From the list, select the cell area name that is the target of "Clear cell area after Page 112, (2)
Specify the cell area name
automatic print". in this section
Page 112, (3)
Print Area Set the area where automatic print is performed.
in this section
Register the newly created or edited "Automatic Print Name" in the Automatic Page 112, (4)
button
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 Display in "Automatic print list"
The automatic print name and settings are additionally displayed at the bottom of the list,
Create New
and "enable" is selected.
When automatic print name is The automatic print name and settings are additionally displayed at the bottom of the list,
changed and "enable" is selected.
Edit
When automatic print name is The automatic print name and settings are displayed in the same position of the list.
the same 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.  [MX Sheet]  [Automatic Communication Startup Setting] ( )


2. The following message is displayed.

Click the button to set the automatic communication startup setting to the Excel book being
edited.

3. 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.  [MX Sheet]  [Automatic Communication Startup Setting] ( )


2. The following message is displayed.

Click the button to disable the automatic communication startup setting of the Excel book being
edited.

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.

10.1 Start Communication


● When using Microsoft® Excel® 2003, select [MX Sheet]  [Start Communication] on the menu bar to start communication.
● The communication can be also started by clicking the created start communication button. (Page 126, Section 14.1)

115
(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".
Execute 1 shot communication.
button
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 Description
Cell Area Name Select the cell area name to be cut.
Cut the cell area.
button
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 Description
Cell Area Name Select the cell area name to be copied.
Copy the cell area.
button
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 Description
Target Cell area for
Enter the cell area to be pasted.
Paste operation
Target Cell area name
Enter the cell area name to be pasted.*1
for Paste operation
Source Cell area for the
The cut or copied cell area is displayed.
Paste operation
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 Description
Cell Area Name Select the cell area name to be deleted.
Delete the cell area.
button
The button can be clicked after the cell area name is selected in "Cell Area Name".

124
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 Description
Sheet name before
Select the Excel spreadsheet of which sheet name to be changed.
change
Sheet name after change 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] 
[Customize] in the Excel menu.
14
<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.

3. Start the property page. 14.1 Start Communication Button


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

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.
● 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.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

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
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
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 Description Reference


The menu that can be selected when Protect MX Sheet setting is set changes Page 133, (1)
Enable check setting data
depending on if a check mark exists. in this section
Enter the password for protecting the setting contents.
Password (optional) -
The password may also be registered as a blank.
The Confirm Password screen is displayed.
Page 134, (2)
button When the password is blank, however, the Confirm Password screen is not
in this section
displayed and the MX Sheet setting is protected.

132
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 Cleared 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 ¯ ¯ 15
Deleting the Cell Area ¯ ¯
Changing the Sheet Name ¯ ¯
Create Button ¯ ¯
Unprotect MX Sheet setting  
Options ¯ ¯
Setting data export ¯ ¯

15.1 Protecting MX Sheet Setting


Version Info.  
*1 : [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
(2) button
The Confirm Password screen is displayed.
Enter the password entered in the Protect MX Sheet setting screen again.

Display contents

Item Description

button 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 Description
Password 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.
button
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 log sheet or not.
Error (Red)
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 : Setting can be set only when the "Display error log" check box is selected.

136
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 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.

138
CHAPTER 18 SAMPLE PROGRAMS

CHAPTER 18 SAMPLE PROGRAMS


This chapter explains the sample programs registered at MX Sheet installation. 18
(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
Description
Excel book name Excel spreadsheet name
Logging Logging is performed for D0 to D4 at 1 second intervals.
Monitor, display their assigned comments and write the device data.
Sample1.xls 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.
Sample2.xls
Save the data on the Excel spreadsheet automatically when M20 turns on.
Automatic Save
(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 Description Reference


Page 141, (2)
Kind The type of the communication status is displayed.
in this section
The date and time when the communication status is changed are displayed.
Page 141, (3)
Date The displayed time is the date and time of the personal computer where MX Sheet is
in this section
operating.
Page 141, (4)
Cell Area Name The cell area name where the communication status is changed is displayed.
in this section
Page 141, (5)
Error No. The error number of the error that has occurred is displayed.
in this section
The details of the communication status is displayed.
Page 141, (6)
Contents The error definition, error code and corrective action are displayed when an error
in this section
occurs.

(1) ErrorLog sheet


The following table indicates the ErrorLog sheet specifications.
Item⁄ Description
Maximum number of display lines 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.

140
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
Warning
Displayed when a fatal error occurred and the function of the cell area stopped.
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
CPU : Pentium III(800MHz)
Memory : 256MB
R R
Excel : Microsoft Excel 2002
Cell area : Only one

<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)
Number of Device Points
Function Operation Interval
Setting example 1 Setting example 2
0.5s 120points 30points
Monitor function 1s 260points 70points
A
5s 1400points*1 400points
1s 200points 70points
Logging function
5s *1 400points*1
1024points
*1 : 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)
Number of Device Points
Function Operation Interval
Setting example 1 Setting example 2

Appendix 2 Processing Speed of MX Sheet


0.5s 4000points*1 800points

Monitor function 1s 12000points*1 1792points*1


5s 20000points*1 10000points*1
1s 5120points*1 1792points*1
Logging function
5s 5120points*1 5120points*1
*1 : 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
12 columns 30 rows 128 columns 32768 rows 255 columns 65535 rows
Excel version
Time Time Time
Size (MB) Size (MB) Size (MB)
(second) (second) (second)
® ®
Microsoft Excel 2007
0.034 Less than 1 11.1 7 42.5 23
(standard format)

Microsoft® Excel® 2007


0.022 Less than 1 0.45 3 14.3 11
(binary format)

Microsoft® Excel® 2010


0.035 Less than 1 11.1 4 42.5 14
(standard format)

Microsoft® Excel® 2010


0.022 Less than 1 0.46 2 14.3 8
(binary format)

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.
The following explains the collection delay and data dropout. A
(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.1 Collection delay and data dropout


Appendix 3 Processing MX Sheet
Operation interval 2s waiting time
set to 3s 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 2s waiting time


set to 3s occurs.

3s

Time

1)

2)

Time necessary for communication: 5s


ON 1) Device trigger condition check time
B0 2) Communication time
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)

Operation interval 2s waiting time


set to 3s occurs.

3s
Time

1)

2)
3)

Time necessary for communication: 5s


ON
M100
OFF

ON
M0
OFF
1) Requesting device check time
1) + 2) + 3) is time necessary 2) Communication time
for communication. 3) Handshake processing time

146
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.
<Example> A
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.
If a data dropout occurs during use of the device trigger, decrease the operation interval setting of MX Sheet.

Appendix 3.1 Collection delay and data dropout


Appendix 3 Processing MX Sheet
<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 Condition has held but data


when condition holds. 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
(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 Requesting device condition


when requesting device is held but data collection
condition holds. 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
displayed correctly.

Appendix 3.2 Date and time


Appendix 3 Processing MX Sheet
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 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
Operation
Cell area name Cell area Logical station Number of
Device setting Interval
number cells
Product type C2 D0 Character string
1
Lot No. C3 D5 Character string
0: Ethernet 1s interval
A C5: C7 D10 16-bit integer
3
B E5: E7 D20 16-bit integer

(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
Operation
Cell area name Cell area Logical station Number of
Device setting Interval
number cells
D0 Character string
1
D5 Character string
Product information C2, C3, C5:C7, E5:E7 0: Ethernet 1s interval
D10 16-bit integer
3
D20 16-bit integer

150
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) 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
Operation
Cell area name Cell area Logical station Number of
Device setting Interval
number cells
Line A C3: E3 D0 Character string
Line B C4: E4 D5 Character string
0: Ethernet 3 1s interval
Line C C5: E5 D10 16-bit integer
Line D C6: E6 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 Logical Operation
Cell area Number of
name station Device setting Interval
cells
number
Line information A2: E5 (Area set to Sheet 2) 0:Ethernet D0 16-bit integer 20 1s interval

Sheet 1 (Excel spreadsheet where device data is displayed actually) Sheet 2 (Excel spreadsheet where device data is collected)

Set Sheet 1 to refer to cells of Sheet 2.

152
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 Internet Plant conditions can be


by automatic save Intranet MX Sheet is snapshot-monitored from
function of MX Sheet. unnecessary. 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®> <Windows®7>


A

Appendix 7.1 Overview of warning messages


Appendix 7 Warning Messages on Windows®

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

1. Select [Start]  [Control Panel].

2. Select [User Accounts].

To the next page

156
APPENDIX

From the previous page

3. Select [User Accounts].

4. Select [Turn User Account Control on or off].

Appendix 7.2 Methods for disabling the warning messages


Appendix 7 Warning Messages on Windows®
5. Clear [Use User Account Control (UAC) to help
protect your computer] and click the
button.

Complete

157
(b) When using Windows® 7

Operating procedure

1. Select [Start]  [Control Panel].

2. Select [System and Security].

3. Select [Change User Account Control settings].

To the next page

158
APPENDIX

From the previous page

4. Set the slide bar "Never notify" and click the


button.

Complete

Appendix 7.2 Methods for disabling the warning messages


Appendix 7 Warning Messages on Windows®

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. Select [Administrative Tools].

To the next page

160
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>

5. Select [Local Policies].

6. Select [Security Options].

7.

Appendix 7.2 Methods for disabling the warning messages


Appendix 7 Warning Messages on Windows®
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 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?
A
No
Yes
... Page 164, (1) in this section
Install the required Service Pack.

Check the .NET Framework and the


... Page 164, (2) in this section
related module not yet installed, and
install it.

Execute "MXShRegRCom. exe". ... Page 165, (3) in this section

Check that the action works. ... Page 166, (4) in this section

Complete

Appendix 8.3 Corrective action

Appendix 8 Countermeasures for Errors as a Result of Using the Automatic Communication Setting of
Update MX Sheet or install Service Pack, .NET Framework, and the related module using the administrator account.

MX Sheet in Microsoft® Excel® 2007 or Later

163
(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 File name on the CD-ROM
® dotnetfx35.exe
Microsoft .NET Framework 3.5 SP1
® dotNetFx40_Full_x86_x64.exe
Microsoft .NET Framework 4.0 Extended
Microsoft® Excel® 2007
Microsoft® Visual Studio 2010
vstor40_x86.exe
Tools for Office Runtime (x86)

Microsoft® .NET Framework 4.0 Extended dotNetFx40_Full_x86_x64.exe


® Excel®
Microsoft 2010 Microsoft® Visual Studio 2010
vstor40_x86.exe
Tools for Office Runtime (x86)

(b) When using Windows Vista®


Excel version .NET Framework and the related module File name on the CD-ROM
® dotNetFx40_Full_x86_x64.exe
Microsoft .NET Framework 4.0 Extended
Microsoft® Excel® 2007
Microsoft® Visual Studio 2010
Microsoft® Excel® 2010 vstor40_x86.exe
Tools for Office Runtime (x86)

(c) When using Windows® 7


 32-bit version
Excel version .NET Framework and the related module File name on the CD-ROM
Microsoft® .NET Framework 4.0 Extended dotNetFx40_Full_x86_x64.exe
Microsoft® Excel® 2007
Microsoft® Visual Studio 2010
Microsoft® Excel® 2010 vstor40_x86.exe
Tools for Office Runtime (x86)

 64-bit version
Excel version .NET Framework and the related module File name on the CD-ROM
Microsoft R .NET Framework 4.0 Extended dotNetFx40_Full_x86_x64.exe
Microsoft® Excel® 2007
Microsoft R Visual Studio 2010
Microsoft® Excel® 2010 vstor40_x64.exe
Tools for Office Runtime (x64)

164
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].

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.3 Corrective action

Appendix 8 Countermeasures for Errors as a Result of Using the Automatic Communication Setting of
When the user account control is enabled, the following screen is displayed.
Click the button or the button.

MX Sheet in Microsoft® Excel® 2007 or Later


<Windows Vista®> <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. Start Excel.
2. When either of the screens on the left is displayed,

click the button.

3. Select the <<File>> tab  [Options].


The Excel Options screen is displayed.
Select "Add- Ins", change the item in "Manage" to "COM
Add-ins", and click the button.

< When using Microsoft® Excel® 2007 >


Select the office button⇒ button.

4. "MXShRibbon" is displayed on the COM Add-Ins


screen.
Check that "MXShRibbon" check box is selected.

Complete

166
Appendix 8 Countermeasures for Errors as a Result of Using the Automatic Communication Setting of
A

MX Sheet in Microsoft® Excel® 2007 or Later


Appendix 8.3 Corrective action
APPENDIX

167
Memo
REVISIONS
*The manual number is written at the bottom left of the back cover.
Print date *Manual number Revision
July, 2012 SH-081080ENG-A 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 EURASIAN REPRESENTATIVES


MITSUBISHI ELECTRIC EUROPE B.V. EUROPE GEVA AUSTRIA ALFATRADE Ltd. MALTA TOO Kazpromavtomatika KAZAKHSTAN
German Branch Wiener Straße 89 99, Paola Hill Ul. Zhambyla 28
Gothaer Straße 8 AT-2500 Baden Malta- Paola PLA 1702 KAZ-100017 Karaganda
D-40880 Ratingen Phone: +43 (0)2252 / 85 55 20 Phone: +356 (0)21 / 697 816 Phone: +7 7212 / 50 10 00
Phone: +49 (0)2102 / 486-0 Fax: +43 (0)2252 / 488 60 Fax: +356 (0)21 / 697 817 Fax: +7 7212 / 50 11 50
Fax: +49 (0)2102 / 486-1120 TECHNIKON BELARUS INTEHSIS srl MOLDOVA
MITSUBISHIELECTRICEUROPEB.V.-org.sl. CZECH REP. Oktyabrskaya 19, Off. 705 bld. Traian 23/1
Czech Branch BY-220030 Minsk MD-2060 Kishinev
Avenir Business Park, Radlická 714/113a Phone: +375 (0)17 / 210 46 26 Phone: +373 (0)22 / 66 4242 MIDDLE EAST REPRESENTATIVES
CZ-158 00 Praha 5 Fax: +375 (0)17 / 210 46 26 Fax: +373 (0)22 / 66 4280
Phone: +420 - 251 551 470 I.C. SYSTEMS LTD. EGYPT
ESCO DRIVES & AUTOMATION BELGIUM HIFLEX AUTOM.TECHNIEK B.V. NETHERLANDS 23 Al-Saad-Al-Alee St.
Fax: +420 - 251-551-471 Culliganlaan 3 Wolweverstraat 22 EG-Sarayat, Maadi, Cairo
MITSUBISHI ELECTRIC EUROPE B.V. FRANCE BE-1831 Diegem NL-2984 CD Ridderkerk Phone: +20 (0) 2 / 235 98 548
French Branch Phone: +32 (0)2 / 717 64 30 Phone: +31 (0)180 – 46 60 04 Fax: +20 (0) 2 / 235 96 625
25, Boulevard des Bouvets Fax: +32 (0)2 / 717 64 31 Fax: +31 (0)180 – 44 23 55
F-92741 Nanterre Cedex ILAN & GAVISH Ltd. ISRAEL
Koning & Hartman b.v. BELGIUM Koning & Hartman b.v. NETHERLANDS 24 Shenkar St., Kiryat Arie
Phone: +33 (0)1 / 55 68 55 68 Woluwelaan 31 Haarlerbergweg 21-23
Fax: +33 (0)1 / 55 68 57 57 IL-49001 Petah-Tiqva
BE-1800 Vilvoorde NL-1101 CH Amsterdam Phone: +972 (0)3 / 922 18 24
MITSUBISHI ELECTRIC EUROPE B.V. IRELAND Phone: +32 (0)2 / 257 02 40 Phone: +31 (0)20 / 587 76 00 Fax: +972 (0)3 / 924 0761
Irish Branch Fax: +32 (0)2 / 257 02 49 Fax: +31 (0)20 / 587 76 05
Westgate Business Park, Ballymount GIRIT CELADON LTD ISRAEL
INEA RBT d.o.o. BOSNIA AND HERZEGOVINA Beijer Electronics AS NORWAY 12 H'aomanut Street
IRL-Dublin 24 Aleja Lipa 56 Postboks 487
Phone: +353 (0)1 4198800 IL-42505 Netanya
BA-71000 Sarajevo NO-3002 Drammen Phone: +972 (0)9 / 863 39 80
Fax: +353 (0)1 4198890 Phone: +387 (0)33 / 921 164 Phone: +47 (0)32 / 24 30 00 Fax: +972 (0)9 / 885 24 30
MITSUBISHI ELECTRIC EUROPE B.V. ITALY Fax: +387 (0)33/ 524 539 Fax: +47 (0)32 / 84 85 77
Italian Branch CEG INTERNATIONAL LEBANON
AKHNATON BULGARIA Fonseca S.A. PORTUGAL Cebaco Center/Block A Autostrade DORA
Viale Colleoni 7 4, Andrei Ljapchev Blvd., PO Box 21 R. João Francisco do Casal 87/89
I-20864 Agrate Brianza (MB) Lebanon - Beirut
BG-1756 Sofia PT - 3801-997 Aveiro, Esgueira Phone: +961 (0)1 / 240 430
Phone: +39 039 / 60 53 1 Phone: +359 (0)2 / 817 6000 Phone: +351 (0)234 / 303 900
Fax: +39 039 / 60 53 312 Fax: +961 (0)1 / 240 438
Fax: +359 (0)2 / 97 44 06 1 Fax: +351 (0)234 / 303 910
MITSUBISHI ELECTRIC EUROPE B.V. POLAND INEA RBT d.o.o. CROATIA Sirius Trading & Services srl ROMANIA
Poland Branch Losinjska 4 a Aleea Lacul Morii Nr. 3
Krakowska 50 HR-10000 Zagreb RO-060841 Bucuresti, Sector 6
PL-32-083 Balice AFRICAN REPRESENTATIVE
Phone: +385 (0)1 / 36 940 - 01/ -02/ -03 Phone: +40 (0)21 / 430 40 06
Phone: +48 (0)12 / 630 47 00 Fax: +385 (0)1 / 36 940 - 03 Fax: +40 (0)21 / 430 40 02 CBI Ltd. SOUTH AFRICA
Fax: +48 (0)12 / 630 47 01 Private Bag 2016
AutoCont C.S. s.r.o. CZECH REPUBLIC INEA RBT d.o.o. SERBIA
MITSUBISHI ELECTRIC EUROPE B.V. RUSSIA Technologická 374/6 Izletnicka 10 ZA-1600 Isando
52, bld. 3 Kosmodamianskaya nab 8 floor CZ-708 00 Ostrava-Pustkovec SER-113000 Smederevo Phone: + 27 (0)11 / 977 0770
RU-115054 Мoscow Phone: +420 595 691 150 Phone: +381 (0)26 / 615 401 Fax: + 27 (0)11 / 977 0761
Phone: +7 495 721-2070 Fax: +420 595 691 199 Fax: +381 (0)26 / 615 401
Fax: +7 495 721-2071
Beijer Electronics A/S DENMARK SIMAP s.r.o. SLOVAKIA
MITSUBISHI ELECTRIC EUROPE B.V. SPAIN Lykkegårdsvej 17 Jána Derku 1671
Spanish Branch DK-4000 Roskilde SK-911 01 Trencín
Carretera de Rubí 76-80 Phone: +45 (0)46/ 75 76 66 Phone: +421 (0)32 743 04 72
E-08190 Sant Cugat del Vallés (Barcelona) Fax: +45 (0)46 / 75 56 26 Fax: +421 (0)32 743 75 20
Phone: 902 131121 // +34 935653131
Fax: +34 935891579 Beijer Electronics Eesti OÜ ESTONIA PROCONT, spol. s r.o. Prešov SLOVAKIA
Pärnu mnt.160i Kúpelná 1/A
MITSUBISHI ELECTRIC EUROPE B.V. UK EE-11317 Tallinn SK-080 01 Prešov
UK Branch Phone: +372 (0)6 / 51 81 40 Phone: +421 (0)51 7580 611
Travellers Lane Fax: +372 (0)6 / 51 81 49 Fax: +421 (0)51 7580 650
UK-Hatfield, Herts. AL10 8XB
Phone: +44 (0)1707 / 27 61 00 Beijer Electronics OY FINLAND INEA RBT d.o.o. SLOVENIA
Fax: +44 (0)1707 / 27 86 95 Peltoie 37 Stegne 11
FIN-28400 Ulvila SI-1000 Ljubljana
MITSUBISHI ELECTRIC CORPORATION JAPAN Phone: +358 (0)207 / 463 540 Phone: +386 (0)1 / 513 8116
Office Tower “Z” 14 F Fax: +358 (0)207 / 463 541 Fax: +386 (0)1 / 513 8170
8-12,1 chome, Harumi Chuo-Ku
Tokyo 104-6212 UTECO GREECE Beijer Electronics AB SWEDEN
Phone: +81 3 622 160 60 5, Mavrogenous Str. Box 426
Fax: +81 3 622 160 75 GR-18542 Piraeus SE-20124 Malmö
Phone: +30 211 / 1206 900 Phone: +46 (0)40 / 35 86 00
MITSUBISHI ELECTRIC AUTOMATION, Inc. USA Fax: +30 211 / 1206 999 Fax: +46 (0)40 / 93 23 01
500 Corporate Woods Parkway
Vernon Hills, IL 60061 MELTRADE Kft. HUNGARY Omni Ray AG SWITZERLAND
Phone: +1 847 478 21 00 Fertő utca 14. Im Schörli 5
Fax: +1 847 478 22 53 HU-1107 Budapest CH-8600 Dübendorf
Phone: +36 (0)1 / 431-9726 Phone: +41 (0)44 / 802 28 80
Fax: +36 (0)1 / 431-9727 Fax: +41 (0)44 / 802 28 28
Beijer Electronics SIA LATVIA GTS TURKEY
Ritausmas iela 23 Bayraktar Bulvari Nutuk Sok. No:5
LV-1058 Riga TR-34775 Yukarı Dudullu-Ümraniye-İSTANBUL
Phone: +371 (0)784 / 2280 Phone: +90 (0)216 526 39 90
Fax: +371 (0)784 / 2281 Fax: +90 (0)216 526 3995
Beijer Electronics UAB LITHUANIA CSC Automation Ltd. UKRAINE
Savanoriu Pr. 187 4-B, M. Raskovoyi St.
LT-02300 Vilnius UA-02660 Kiev
Phone: +370 (0)5 / 232 3101 Phone: +380 (0)44 / 494 33 55
Fax: +370 (0)5 / 232 2980 Fax: +380 (0)44 / 494-33-66

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

You might also like