Introduction. Configuration: Entity and OCO Modeling. Application Version: OCO General Configuration



Similar documents
This tech note will explain how to use the following parameters in Configurator General Parameters.

Tech Note 743 Configuring Reporting Services 2008 Configuration for a New Host Name in Windows 2008 R2

1. Under Application Objects, open the $Tank object and then open the $TankDisplay as shown in Figure 1 (below).

Communication to End Device Going In and Out of Slow Poll Mode

Tech Note 751 Installing InBatch Report Contents for Wonderware Information Server (WIS)

Tech Note 338 How to Change the ActiveFactory Reporting Website Default Install Location

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

Enabling Cross-Machine Distributed Transactions (via MSDTC)

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Tech Note 663 HMI Reports: Creating Alarm Database (WWALMDB) Reports

Tech Note 1010 SQL Server Authentication and ArchestrA Network Account Restrictions When Installing Wonderware Historian

Note: Not all messages in the log are indicative of a problem. Contact Technical Support if questions arise.

Tech Note 847 Installing Wonderware Information Server (WIS) on the Windows Server Window 7 64 and 32-bit Operating System

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Introduction. Symbol Script Timeout Setting. Sample MES Custom Code in Symbol Script. Application Versions. Sample Code

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

Introduction. Application Versions. Installing Virtual SMTP Server. Tech Note 692 Using Virtual SMTP Server for SCADAlarm Notifications

Introduction. Issues. Symptoms. Application Versions. Case 1: Deploy an ArchestrA Object - UDO4DevUsers_001_001 - Has Error Messages

8/22/13 Configuring Windows SharePoint Services for PEM v1.0 to Work with SuiteVoyager v2.6

This Tech Note describes working with Microsoft Reporting Services in order to publish InBatch Reports to Wonderware Information Server.

Tech Note 920 Resolving Disabled ActiveFactory Reporting Website for Wonderware System Platform R2

Tech Note 912 Using Alternate TCP Port Numbers with Modbus Ethernet DAServer

Tech Note 868 Troubleshooting Wonderware Software Resource Issues with Performance Monitor

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Introduction. Notes. Important Considerations. Application Versions. Assumptions. 8/22/13 Setting Up Historian Servers for Tier-2 Summary Replication

Tech Note 612 Upgrading DLL Version Mismatches Between CBM Solution and System Platform

Instead, use the following steps to update system metadata that is stored in sys.servers and reported by the system function

To allow SQL Server Agent to trigger when a report is executed, we need to provide a set of report group types.

Migrating QI 8.0 Admin and Process Databases from Microsoft Access to Microsoft SQL Server

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Tech Note 400 Configuring Remote Connections for Windows 2000/2003/XP

Industrial Application Server Redundancy: Troubleshooting Guidelines

Tech Note 957 Creating Custom Password Entry on Intermec-Supported Handhelds

Tech Note 551 Configuring SQLMail or Database Mail for the Historian Event

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Tech Note 652 Changing an ArchestrA Symbol's Custom Property Expression or Reference in Runtime

Tech Note 813 Troubleshooting Wonderware Information Server (WIS) Part Four: Client License Release

Introduction. Application Versions. Assumptions. Delete $$ExportTempFolders. Tech Note 930 Wonderware System Platform Clean-up Guide

This Tech Note provides detailed guidelines and options for defragmenting and maintaining your production databases.

8/22/13 Configuring the SST5136SD PCI Card Using the New SSTDHP IO Server V8.1 or the DASDHPlus Server

Part I: Setting up Bristol Babcock's OPC Server

This Tech Note provides step-by-step procedures to install Microsoft SQL Server 2012 on a 32- or 64-bit Operating System.

Introduction. Tech Note 884 Setting Up Historian Servers for Tier-2 Summary Replication

How To Write A Summary On A Historyorian Server

Tech Note 1042 Solving Historian Memory Issue with SQL Server MemToLeave Configuration

How To Migrate Qi Analyst To A New Database On A Microsoft Access (Windows) From A New Version Of Qi.Io To A Newer Version Of A New Qi 8.0 (Windows 7.3

This Tech Note describes modem connections using DAServers and provides some guidelines on how to make the modem connection work.

Introduction. Back Up the Runtime Database. Application Versions

Tech Note 905 Troubleshooting Wonderware Information Server (WIS) Part Six: ArchestrA Graphics No Live-Data

8/23/13 Configuring SIDirect DAServer to Communicate with S7 PLC Over TCP Connection

Note: This Tech Note was formerly titled Installing Microsoft SQL Server 2008 for Wonderware Historian v10.0.

Implementing the system using these guidelines should improve your system performance for a large database while your database grows in size.

Introduction. Application Versions. Compatibility and System Requirements. Firewall and DCOM Settings

Using Network Application Development (NAD) with InTouch

Tech Note 1035 Moving the Historian Runtime Database to Another Machine Using SQL Server 2012

Tech Note 53 Configuring the Siemens SINEC H1 CP1413 for Windows NT

8/23/13 Configuring the Wonderware SECS-II/GEM Host Creator (SERIAL-RS232)

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Security Settings for Wonderware Products

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Installing the TCP/IP Network Protocol

Tech Note 213 Finding Memory Leaks in Windows 95/98/98SE Using System Monitor

8/23/13 Configuring the S7 Server for Windows NT 4.0 to Access S7-400 PLCs via the Siemens CP1613 Card for ISO (Industrial Ethernet)

Tech Note 128 Configuring InBatch For Standalone PCs With SQL Server and IndustrialSQL Server

ArchestrA Log Viewer User s Guide Invensys Systems, Inc.

TIBCO MFT BusinessWorks MFT Palette

WebSphere Business Monitor

Purpose: TechTip: Using Windows Task Scheduler to monitor if WindowViewer is Running

Wonderware Historian Client Installation Guide. Invensys Systems, Inc.

Network/Floating License Installation Instructions

8/23/13 Configuring the S7 I/O Server for Windows 95 to Access S7 PLCs Via the Profibus Network

Standard Client Configuration Requirements

Lab 05: Deploying Microsoft Office Web Apps Server

PrintFleet Local Beacon

JAVS Scheduled Publishing. Installation/Configuration... 4 Manual Operation... 6 Automating Scheduled Publishing... 7 Windows XP... 7 Windows 7...

Setting up a Scheduled task to upload pupil records to ParentPay

Lab - Configure a Windows 7 Firewall

Craig Pelkie Bits & Bytes Programming, Inc. craig@web400.com

Quick Guide to Using your Nokia Phone with Windows 95 Fax - Exchange for Windows 95 or Windows Messaging for Windows 95

Snagit 10. Snagit Add-Ins. By TechSmith Corporation

Apple Applications > Safari

WW OPS-05 Improve Production Execution Visibility, Agility & Performance with Wonderware MES

Business Process Management IBM Business Process Manager V7.5

By the Citrix Publications Department. Citrix Systems, Inc.

How to Deploy Models using Statistica SVB Nodes

Lab - Configure a Windows Vista Firewall

Support Guide. Title: Jobs and Debtors Basics. Support Note: B Title: Jobs and Debtors Basics

Working with Macros and VBA in Excel 2007

Project management integrated into Outlook

Symantec Backup Exec Management Plug-in for VMware User's Guide

Project management integrated into Outlook

Pipeliner CRM Phaenomena Guide Opportunity Management Pipelinersales Inc.

InTouch HMI Scripting and Logic Guide

PRINT FLEET MANAGER USER MANUAL

Symantec LiveUpdate Administrator. Getting Started Guide

NCD ThinPATH Load Balancing Startup Guide

FortiAuthenticator Agent for Microsoft IIS/OWA. Install Guide

Transcription:

Tech Note 711 Wonderware MES Operation Capability Object: Configuring Multiple Job Counters All Tech Notes, Tech Alerts and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information. Topic#: 002485 Created: June 2010 Introduction This Tech Note outlines how to configure the Wonderware MES Operations Capability Object (OCO) Production Counters to count against multiple jobs running on the same entity. Application Version: Wonderware MES v4.0 Configuration: Entity and OCO Modeling An OCO must be contained by a User Defined Object (UDO) that represents an MES Entity (Figure 1 below). FIGURE 1: MES ENTITY AND OCO MODELING OCO General Configuration In order for an OCO to be configured for Production Counters, you must enable the Entity Can Run Jobs and Enable Production Counters options in the General tab panel (Figure 2 below). FIGURE 2: OCO GENERAL CONFIGURATION You can configure an MES Entity to run multiple jobs simultaneously by clicking the Job Defaults tab and typing a number in the Number of Simultaneous Jobs That Can Run On This Entity field (Figure 3 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002485.htm 1/6

FIGURE 3: JOB DEFAULTS SETTINGS Note: The practical limit is about 50 jobs running on one entity at any one time. If desired, you can also indicate a default Reason, Storage Entity, Lot Number, Sublot Number, etc. for production when it is recorded to the MES database. OCO Production Counter Configuration When you configure a Production Counter, one instance of the counter is automatically created for each job position. In this example, the OCO was configured for 3 job positions. Now that a Production Counter has been created, you can see that the counter instance can be selected in the Job Position list (Figure 4 below). FIGURE 4: PRODUCTION COUNTER INSTANCES It is important to understand that the Job Position drop box is provided to select which instance to edit. The number is NOT an attribute of the counter (note the lack of the attribute lock option). When you select the instance, the editor refreshes the display to include all the attributes for that instance. For example, you may want the production from each job position to have different lot numbers. You would select each Job Position instance and configure the To Lot attribute for that instance of the counter. Figure 5 (below) shows each To Lot attribute with a different Input Source defined. https://wdnresource.wonderware.com/support/kbcd/html/1/t002485.htm 2/6

FIGURE 5: CONFIGURING PRODUCTION COUNTER INSTANCES Each instance of the Production Counter will now has its own set of attributes, indicated by JobExec.JobPos<JobPos#>.Prod.<CounterName>. <Attribute Name> (Figure 6 below). FIGURE 6: PRODUCTION COUNTER ATTRIBUTES Runtime Operation Example For Job Execution, you can start a Job via the OCO and assign it to run at a specific Job Position. If the jobs are not started by the OCO, scripting must be provided in order to Populate the attributes that the counters use to know which job to record the production against, and Which item to record as produced. Jobs started by the OCO auto-populate these attributes. The attributes are: JobExec.JobPos<JobPos#>.WorkOrder JobExec.JobPos<JobPos#>.Operation https://wdnresource.wonderware.com/support/kbcd/html/1/t002485.htm 3/6

JobExec.JobPos<JobPos#>.SequenceNumber JobExec.JobPos<JobPos#>.Item In this example, three jobs are ready to run on the MES_Entity_001 entity, viewed in the Operator client (Figure 7 below). FIGURE 7: JOBS READY TO RUN The jobs can be started by the OCO by first defining the job to start and triggering the JobExec.StartJobCmd attribute. The following attributes define what job to execute the start command against (Figure 8 below). FIGURE 8: ATTRIBUTES TO START A JOB VIA THE OCO After setting the information for each job, defining the job position to run on, and starting the job, there are now three jobs running on the entity (Figure 9 below). FIGURE 9: JOBS ARE RUNNING Looking the OCO attributes in Object Viewer, you see the attributes are now populated. Also populated are CurWoId, CurOperId, and CurSeqNo. These attributes are simply read-backs from the MES database and provided for informational purposes (Figure 10 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002485.htm 4/6

FIGURE 10: OCO ATTRIBUTES WITH RUNNING JOBS You can now add production to these running jobs. In this example, we will use the Absolute Counters. Production is added by specifying a value for the counter. Absolute Counter Value: JobExec.JobPos<JobPos#>.Prod.<CounterName>.AddProdQtyAbs Then that value is recorded to the MES database by setting the trigger to true. Absolute Counter Trigger: JobExec.JobPos<JobPos#>.Prod.<CounterName>.AddProdQtyAbsCmd A different produced quantity for each job is shown in Figure 11 (below). Note that the attribute JobExec.JobPos<JobPos#>.QtyProd is now reporting back the total quantity produced for that job. FIGURE 11: PRODUCTION REPORTED TO OBJECT ATTRIBUTES If we look at the jobs in the Operator client, we can see the production as well (Figure 12 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002485.htm 5/6

FIGURE 12: PRODUCTION VIEWED IN OPERATOR Click the following icon to view this file in.pdf format: D. Scott Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, CA 92630. There is also technical information on our software products at Wonderware Technical Support. For technical support questions, send an e-mail to support@wonderware.com. Back to top 2013 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording, broadcasting, or by anyinformation storage and retrieval system, without permission in writing from Invensys Systems, Inc. Terms of Use. https://wdnresource.wonderware.com/support/kbcd/html/1/t002485.htm 6/6