Beruflich Dokumente
Kultur Dokumente
DANGER CAUTION
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury. Indicates that incorrect handling may cause hazardous conditions, resulting in medium or slight personal injury or physical damage.
Note that the ! CAUTION level may lead to a serious consequence according to the circumstances. Always follow the instructions of both levels because they are important to personal safety.
Please save this manual to make it accessible when required and always forward it to the end user.
[Design Instructions]
DANGER
When performing data changes or status control from the personal computer to the running PLC, configure up an interlock circuit outside the PLC system to ensure that the whole system will operate safely. In addition, predetermine corrective actions for the system so that you can take measures against any communication error caused by a cable connection fault or the like in online operations performed from the peripheral device to the PLC.
CAUTION
Read the manual carefully before performing the online operations (especially forced output and operating status change) which will be executed with the personal computer connected to the running CPU module. Not doing so can damage the machine or cause an accident due to misoperation.
REVISIONS
Print Date Aug, 2008 Jun, 2009 * The manual number is given on the bottom left of the back cover. * Manual Number Revisions BAD-804Q008-A0 First edition BAD-804Q008-A1 Correction Section 1.3 Section 2.2 Section 3.2 BAD-804Q008-A2 Correction Before You Begin Section 3.1 Section 3.2 BAD-804Q008-A3 Correction Before you begin BAD-804Q008-A4 Correction Chapter 1 Chapter 2 Chapter 3 BAD-804Q008-A5 Correction Chapter 1
Feb, 2010
Jun, 2012
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
This book applies to the Mitsubishi Electric Corporation MESInterface IT product components and to all subsequent releases and modifications until otherwise indicated in new editions. Make sure you are using the correct edition for the level of the product. MITSUBISHI ELECTRIC CORPORATION PROVIDES THIS BOOK "AS IS," WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions therefore, this statement may not apply to you. This book could contain technical inaccuracies or typographical errors. Changes are made periodically to the information herein. Mitsubishi Electric Corporation may make improvements and changes at any time to the product(s) and/or program(s) described in this book. When you send information to Mitsubishi Electric Corporation, you grant Mitsubishi Electric Corporation a nonexclusive right to use or distribute the information in any way it believes appropriate, without incurring any obligation to you.
Contents
Before you begin
Assumptions ..................................................................................................................... i About the sample trigger ................................................................................................. ii Process for creating the sample trigger .......................................................................... iii Define the transport ................................................................................................ iii Build the transport map .......................................................................................... iv Create a project ....................................................................................................... iv Create the trigger .................................................................................................... iv Connecting to the MESInterface IT node ...................................................................... iv Shutting down the Workbench ........................................................................................ x
Contents
3-2-1 Adding the transport map ............................................................................. 3-9 3-2-2 Associating PLC device variables with map variables .............................. 3-11 3-3 Starting and stopping projects and triggers .......................................................... 3-18 3-4 Performing start operations from the project level ............................................... 3-19
Appendix A: Notices
Disclaimers .................................................................................................................. A-1 Trademarks .................................................................................................................. A-1
: Index
ii Contents
Chapter 0
The MESInterface IT node is a hardware module with MESInterface IT runtime software embedded. The Workbench is used to configure the MESInterface IT node. The system enables communication between the plant floor and the business enterprise. To start the interactive process, you must have a trigger. This book provides step-by-step instructions on how to create a trigger using the Workbench program.
Assumptions
This book assumes that you have completed the following tasks: Installed the MESInterface IT node on a supported PLC.
Installed the Workbench on a computer that has TCP connectivity to the MESInterface IT node. Started the Workbench, installed the appropriate the MESInterface IT license keys, and performed initial setup.
This book also assumes that you are a new user of the Workbench. Before you begin creating your first trigger, you should review the sample trigger that will be used throughout this book including the process map for creating the sample trigger. This chapter also provides the steps to start the Workbench and connect to a specific MESInterface IT node. Each Workbench feature is briefly described.
Map variables
To Enterprise
Payload
The components are named as follows: MyDatabaseTransport This is the transport that you will create. This transport provides the database table that data will be routed to. The transport is created before any of the other components. You must have a database product installed and your database
ii
administrator must have created the database tables, provided you with the IP address of the database server, and a user ID and password. For more information, see Defining the transport on page 1-1. MyFirstTransportMap This is the transport map that you will create. The transport map provides the mapping of the plant floor data into format that the enterprise system is expecting (in this case, columns in a database table). All transport maps require a transport. This transport map will use the MyDatabaseTransport transport. For more information, see Building the transport map on page 2-1. MyFirstTrigger This is the trigger you will create. This trigger provides a scheduled event that is set to execute every 5 seconds. When the event occurs and the trigger executes, the trigger data will be input for MyFirstTransportMap. For more information, see Creating the trigger on page 3-1.
iii
Create a project
Before you can create a trigger, you must create a project. A project is simply a group of triggers. The grouping enables global operations that apply to all triggers in the project. The project also serves to organize the MESInterface IT nodes work environment. For more information, see Creating a project on page 3-2.
iv
It is expected that you were also given a user ID and password for the Workbench.
To start the Workbench: 1. From the Windows Start menu, click All Programs >MELSOFT Application > MESInterface IT Workbench>Workbench. There is another way to start the Workbench on Windows. During installation, a Workbench icon was placed on your desktop.You can double-click that icon to start the Workbench. When the Workbench starts, a window similar to the following appears.
2. At the bottom of the window, type your user name and password, and then click Logon.
After the Workbench window appears, you can connect to one or more MESInterface IT nodes and begin your work. 3. From the Workbench left pane, click the Nodes icon. A list of MESInterface IT nodes appear in the left pane. These are the MESInterface IT nodes that were saved when the Workbench was last shut down.
Left pane
Right pane
The right pane provides a summary and status of each MESInterface IT node. 4. From the left pane, click the MESInterface IT node you want to connect to. MESInterface IT checks to see if you are an authorized user for this module. When your credentials are authenticated, the status window for the module appears as the default right pane. At this point, you are connected to the specific MESInterface IT node.
vi
The left pane provides an expandable tree view. Each icon is a link to that feature. Projects Displays a tab with a list of projects for the current MESInterface IT node. Each project will have its own tab. You can add a new project, edit an existing project, and start and stop individual or all projects from this tab. Once a project is created, you can double-click the project name and then add a trigger. The trigger will belong to the project tab under which it was created. Enterprise Displays Transports, Transport Maps, Listeners, and Listener Maps tabs as the right pane. Transport Maps Displays a tab with a list of transport maps and their associated transports for the current MESInterface IT node. A status of each transport map is also provided. You can add a new transport map or change an existing transport map from this window. For information about this feature, refer to the Enterprise Connectivity User's Guide available from the Workbench Help menu. Transports Displays a tab with a list of transports that are available for the current MESInterface IT node. You can edit an existing transport or add a new transport from this window. For information about this feature, refer to the Enterprise Connectivity User's Guide available from the Workbench Help menu.
vii
Listener Maps Displays a tab with a list of listener maps that are available for the current MESInterface IT node. Status and details about each listener map is provided such as the name and type of the listener the map is associated with. You can edit an existing listener map or add a new map from this window. For information about this feature, refer to the Enterprise Connectivity User's Guide available from the Workbench Help menu. Listeners Displays a tab with a list of listeners that are available for the current MESInterface IT node. You can edit an existing listener or add a new listener from this window. For information about this feature, refer to the Enterprise Connectivity User's Guide available from the Workbench Help menu. Devices Provides the Devices, Variables tabs as the right pane. The Devices tab lists of one or more local CPUs installed on the rack. You can also add a connection to a remote CPU using this feature. For more information, refer to the User's Guide available from the Workbench Help menu. Variables Displays a tab that lists all the device variables that are available in the controller's memory. From this window, you can also perform read or write operations on the appropriate device. For more information, refer to the User's Guide available from the Workbench Help menu.
viii
Logs and Reports Provides the Overview, Exceptions Log, Audit Log, Reports, and Mapping Logs tabs. The Overview tab provides a list of log files by type such as listener, system, and transport. You can doubleclick the type of logging activity or click Open. Activity is viewed by date, time, activity, message content, and so forth. Tabs let you access system exception and audit logs, and mapping logs, or generate runtime statistics. For more information, refer to the User's Guide available from the Workbench Help menu. Local Database Displays a set of tabs that let you create a database table, add an index, and type SQL commands directly to the database. The MESInterface IT node comes installed with a database product. This local database resides on the MESInterface IT node. There are six predefined transports for the database. When you create a local database table, it becomes available to use with a transport map. For more information, refer to the Enterprise Connectivity Users Guide available from the Workbench Help menu. Administration Displays a set of tabs to add users and assign privileges, configure or change general network settings, set the current time and date for an installed MESInterface IT node, and more. For more information, refer to System Administration available from the Workbench Help menu. Now that you have started the Workbench and connected to a specific MESInterface IT node, you are ready to build your first trigger. The first step is to add a transport to the system.
ix