Você está na página 1de 19

Overview 1

System Configuration 2

Functionality 3
PM-OPEN HOST/S
Connectivity Tools for SAP® R/3®

System Description Version 6

Edition: 2009/01/05
PM-CONTROL System Description

Table of Contents

1 Overview Page 1-1


1.1 General Page 1-1
1.2 R/3 System Connectivity Tool Page 1-2
1.2.1 Conception of R/3 System Connectivity Tool Page 1-2
1.3 R/3 PM Connectivity Tool Page 1-3
1.3.1 Conception of R/3 PM Connectivity Tool Page 1-3

2 System Configuration Page 2-1


2.1 System Configuration with SIMATIC WinCC Page 2-1

3 Functionality Page 3-1


3.1 General Page 3-1
3.2 PM-OPEN HOST/S Configuration Page 3-1
3.3 PM-OPEN HOST/S Applicationserver Page 3-1
3.4 Data Dictionary Objects Page 3-1

4 PM-OPEN HOST/S Configuration Page 4-1


4.1 General Page 4-1
4.2 R/3 System Connectivity Tool Page 4-1
4.2.1 Logon information for the R/3 System Connectivity Tool Page 4-1
4.2.2 Transfer job for sending tag contents Page 4-2
4.2.3 Receive interface in SAP R/3 Page 4-3
4.2.4 Send interface in SAP R/3 Page 4-4
4.3 R/3 PM Connectivity Tool Page 4-5
4.3.1 Logon information for the SAP R/3 PM Connectivity Tool Page 4-5
4.3.2 Transfer job for transmitting counter readings Page 4-6
4.3.3 Creating alarms in SAP R/3 PM Page 4-7

5 PM-OPEN HOST/S Applicationserver Page 5-1


5.1 General
5.2 Status notifications for the R/3 System Connecitvity Tool Page 5-1
5.2.1 Data transfer from WinCC to SAP R/3 Page 5-1
5.2.2 Data reception in WinCC from SAP R/3 Page 5-1
5.3 Status messages for the R/3 PM Connectivity Tool Page 5-1
5.4 RFC-Trace for PM-OPEN HOST/S Applicationserver Page 5-1

6 Data Dictionary Objects


6.1 General Page 6-1
6.2 Domains Page 6-1
6.3 Data elements Page 6-1
6.4 Database tables Page 6-1
6.5 Function modules Page 6-1
6.5.1 General Function modules Page 6-1
6.5.2 Function modules of the send module of PM-OPEN HOST/S Page 6-2
6.5.3 Function modules of the receive module of PM-OPEN HOST/S Page 6-2

7 Sample Project
7.1 WinCC sample project Page 7-1

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page I-1


PM-OPEN HOST/S System Description

1 Overview

1.1 General 1.2 R/3 System Connectivity Tool

PM-OPEN HOST/S offers a future-oriented, flexible The R/3 System connectivity tool supports a wide variety
communication solution between the automation level of scenarios in the communication between the
and SAP R/3. With PM-OPEN HOST/S, tasks in the area automation system and SAP R/3:
of vertical system integration in industrial companies can
be implemented in a efficient, flexible and economical
• Transmitting production or process jobs from the
way.
SAP R/3 Modules PP and PP-PI to the automation
system.

PM-OPEN HOST/S uses the openness of the process • Transmitting production data such as produced and
visualization system SIMATIC WinCC to receive data consumed material from the automation system to
from and to send data to the automation system. The the module SAP R/3 MM.
communication with SAP R/3 is based on the SAP
standard technology Remote Function Calls (RFC). RFC • Transmitting random sample values from the
is the base technology for the integration of several SAP production via the automation system to the module
systems and can also be utilized for bi-directional SAP R/3 QM.
communication with external systems. The remote
function call technology is a standard interface that • Transmitting machine data, especially machine
enables the execution of function modules in remote SAP conditions, from the report and alarm modules of the
systems. Function calls can also be initiated from external automation system to the module SAP R/3 CS.
systems.
A wide range of additional scenarios can also be
implemented. For all of these scenarios, the additional
PM-OPEN HOST/S contains connectivity tools that
development of customer specific ABAP/4 programs is
support different scenarios represented in SAP R/3 or
required.
business processes with data from automation systems.

The current version of PM-OPEN HOST/S contains two


connectivity tools:
• R/3 System Connectivity Tool for the flexible and
module independant communication with the SAP
R/3 base system

• R/3 PM Connectivity Tool for the communication


with the SAP R/3 maintenance module PM.

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 1-1


PM-OPEN HOST/S System Description

1 Overview

1.2.1 Conception of R/3 System Connectivity Tool To transmit data from SAP R/3 into WinCC tags, these
values are entered into the OutputTable. This occurs via
As shown in the following diagram, parameter data sets
customer specific ABAP/4 code that subsequently
(e.g. production data) can be bi-directionally exchanged
initiates the transmission of the data by calling the
between WinCC and SAP R/3.
interface module RFC Send.
For the transmission of values from WinCC to SAP R/3,
INPUT-Tables, OUTPUT-Tables and RFC modules are
the contents from WinCC tags are entered into the
included in the scope of supply of PM-OPEN HOST/S as
InputTable via the interface module RFC receive. From
data dictionary objects.
there, the distribution and further processing of the data
takes place via customer specific ABAP/4 code.

Diagram: Concept of the „R/3 System Connectivity Tools“

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 1-2


PM-OPEN HOST/S System Description

1 Overview

1.3 R/3 PM Connectivity Tool via an RFC module of the SAP standard interface PM-
PCS. In the SAP R/3 system the operating hours and
The R/3 PM Connectivity tool uses the SAP standard
switching cycles are stored as operating points which are
interface PM-PCS and supports the SAP scenario
linked to equipments or functional locations.
„Measure values/counter values“ as well as the creation
of maintenance reports.
Integration of this machine data allows the creation of
performance-based maintenance plans in SAP R/3 PM.
1.3.1 Conception of R/3 PM Connectivity Tool

Counter values such as operating hours or switching


cycles which are linked to WinCC tags can be read
cyclically or event-controlled and transferred to SAP R/3.
The transfer occurs

Diagram: Concept of the „R/3 PM Connectivity Tools“

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 1-3


PM-OPEN HOST/S System Description

2 System Configuration

2.1 System Configuration with SIMATIC WinCC Connecting automation systems from various plc
manufacturers is easily possible through the availability of
PM-OPEN HOST/S is executable on a WinCC single
numerous communication channels of the WinCC
station system or on a WinCC server.
system.
On a redundant WinCC/PCS7 server pair, PM-OPEN
HOST/S has to be installed on both servers with a
separate license. The synchronization of the configuration
data between the two installations as well as the master
management in the case of a failover has to be
implemented separately..

System configuration: PM-OPEN HOST/S with base system

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 2-1


PM-OPEN HOST/S System Description

3 Functionality

3.1 General 3.3 PM-OPEN HOST/S Applicationserver

The PM-OPEN HOST/S system software consists of two The Applicationserver runs as a background component
software modules and the data dictionary objects for data and processes the configured transfer jobs for the data
exchange: exchange between WinCC and SAP R/3. The application
has no user interface. Status reports for the processing of
• PM-OPEN HOST/S Configuration
the transfer jobs are displayed in the user interface.
The configuration components
• PM-OPEN HOST/S Applicationserver
The runtime components
• Data Dictionary Objects
Transfer files for communication between
WinCC and SAP R/3 Figure: PM-OPEN HOST/S Applicationserver

The data exchange is carried out in the form of transfer


jobs. The transfer jobs are defined in the configuration
3.4 Data Dictionary Objects
components and are automatically processed by the
runtime components. Data dictionary objects are in the scope of supply as two
transport files. These two files must be imported into the
SAP destination system via the SAP transport system.
3.2 PM-OPEN HOST/S Configuration
The data dictionary objects can be displayed in the
The connection data to the SAP R/3 system and the repository browser via the transaction >>SE80<<. They
corresponding transfer jobs are defined in the configura- are located in the development environment
tion system. ZPM_OPEN_HOST. A connection to SAP can be
To send or receive WinCC tag contents, define transfer established after initializing the database tables and
jobs for the R/3 System Connectivity Tool. defining an RFC destination.
In the R/3 Connectivity Tool, configure transfer jobs for
transferring switching cycle, operating hours and instance
messages.
All configured transfer jobs are clearly displayed in a tree
structure.

Figure: SAP System

Figure: PM-OPEN HOST/S Configuration

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 3-1


PM-OPEN HOST/S System Description

4 PM-OPEN HOST/S Configuration

4.1 General The name of the client on the SAP R/3 destination
system to which the data should be transmitted is entered
The complete configuration of PM-OPEN HOST/S is
in the tab SAP R/3 Connection. The logon data used by
done in the software module PM-OPEN HOST/S
the PM-OPEN HOST/S Applicationserver for the logon to
Configuration. The configuration mode is activated by a
the SAP R/3 system is entered in the fields Username
password protected button.
and Password. The Username must be a CPI-C or a
Logon information for the communication with SAP R/3 dialog user in the SAP R/3 Customizing. The data of the
must be set up for the R/3 System Connectivity Tool and SAP R/3 destination system is configured in the area
for the R/3 PM Connectivity Tool. The details about the System.
data transfer are defined as transfer jobs.

4.2 R/3 System Connectivity Tool

Logon information for the bi-directional data exchange is


defined in the R/3 System Connectivity Tool.
Details about the transfer of WinCC tag values to SAP
R/3 are configured in transfer jobs. A RFC module allows
the transfer jobs to write to an input table which is read-
out by the SAP system via customer specific ABAP/4
code.
The SAP system fills out an OUTPUT-table via
appropriate ABAP/4 code for the transmission of data to
WinCC. An RFC module evaluates the table contents and
writes the data into the specified WinCC tags.
Properties System Connectivity: SAP R/3 Connection

4.2.1 Logon information for the R/3 System


Connectivity Tool The settings for receiving data from SAP R/3 are
The logon information for the SAP destination system is configured in the tab SAP R/3 Receive. The Program ID
configured in Properties in the System Connectivity tab. is the defined RFC destination in the SAP R/3 destination
system. The IP address of the Gateway Host and the
Information about transmission errors and transmission name of the Gateway Service are also required entries.
status can be read-out via WinCC tags. The data reception from SAP can be permitted or blocked
via a WinCC tag.

Properties System Connectivity: System Connectivity


Properties System Connectivity: SAP R/3 Receive

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 4-1


PM-OPEN HOST/S System Description

4 PM-OPEN HOST/S Configuration

4.2.2 Transfer job for sending tag contents The contents of several WinCC tags can be transmitted
in a transfer job. The WinCC Tag Management allows the
Transfer properties and transfer values for sending tag
selection of the tags. The entry of a secondary index as a
contents are configured in a transfer job.
text attribute for each WinCC tag allows a direct
Each transfer job has a unique name. PM-OPEN allocation to a destination database cell in SAP R/3.
HOST/S automatically generates a unique job number.
The entry of a Destination Module ID allows the allocation
of a transfer job to a specific SAP R/3 module or SAP
scenario.
The execution of the transfer job can occur either
cyclically depending on an adjustable cycle period or
based on a changed WinCC tag value.

Transfer job: Transfer values

Transfer job: Properties

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 4-2


PM-OPEN HOST/S System Description

4 PM-OPEN HOST/S Configuration

4.2.3 Receive interface in SAP R/3 Attribute Description

The receive interface consists of the RFC module RFC ENTRY_NO Unique entry number (Primary Key)
Receive (ZPM_OPEN_RECEIVE) and the Input Table generated by the SAP R/3 System
(ZPM_INPUT). These data dictionary objects are
ENTRY_DATE Date stamp from PM-OPEN HOST/S (=
included in the scope of supply of PM-OPEN HOST/S.
date of measurement)
Customer specific ABAP/4 code is required to read out
the received parameters and to dispatch the values to the ENTRY_TIME Time stamp from PM-OPEN HOST/S (=
destination modules within SAP R/3. time of measurement)

TAID Transaction ID, generated by the SAP


R/3 system
Structure of the input table
TAGNAME Name of the WinCC tag
A record is stored in this table for each received WinCC
parameter. The grouping of the parameters is achieved TAGVALUE Current value of the WinCC tag
by using identical Transaction ID’s (attribute TAID). TAGSTATE Status of the WinCC tags

SECINDEX Text attribute, parameter specific


additional information

APPID Text attribute, transfer specific additional


information

STATION Additional information about the


PMOPEN HOST/S Applicationserver

Figure: Concept of the „R/3 System Connectivity Tools“

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 4-3


PM-OPEN HOST/S System Description

4 PM-OPEN HOST/S Configuration

4.2.4 Send interface in SAP R/3 Structure of the output table

The transmission of parameter values from SAP R/3 to A record is stored in this table for each parameter to be
WinCC tags occurs via the Output Table. The Output sent. The grouping of the parameters is achieved by
Table is filled via customer-specific ABAB/4 code and the using identical Transaction ID’s (attribute TAID).
module RFC Send is called to trigger the transmission to
Attribute Description
the WinCC process image.
ENTRY_NO Unique entry number (Primary Key)
The parameter values are written directly into the
generated by the SAP R/3 System
specified WinCC tags. This writing procedure can be
blocked by means of a configurable blocking tag. TAID Transaction ID generated by the SAP
R/3 system
The Data Dictionary objects ZPM_OUTPUT and
ZPM_OPEN_TRANSMIT are included in the scope of RFC_DEST RFC Destination the parameter set
supply of PM-OPEN HOST/S. should be transmitted to

TAGNAME Name of the WinCC tag


Appropriate customer-specific ABAP/4 code is required to TAGVALUE Value to be written into the WinCC tag
fill the output table with the parameters to be sent.
SECINDEX Text attribute, parameter specific
additional information

Figure: Concept of the „R/3 System Connectivity Tools“

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 4-4


PM-OPEN HOST/S System Description

4 PM-OPEN HOST/S Configuration

4.3 R/3 PM Connectivity Tool


Logon information for the data transmission to SAP R/3 is
defined for the R/3 PM Connectivity Tool.
Details about the transmission of data to SAP R/3 are
configured in transfer jobs. The transmission occurs via
an RFC module of the standard SAP interface PM-PCS.

4.3.1 Logon information for the SAP R/3 PM


Connectivity Tool
The logon information for the SAP destination system is
configured in the Properties area of the PM Connectivity
tab.

Information about transmission errors and the transmis-


sion status can be written to WinCC tags.
Properties PM-Connectivity: Notification transfer

The name of the client on the SAP R/3 destination


system is entered in the SAP R/3 Connection tab The
logon data used by the PM-OPEN HOST/S Application-
server for the logon to the SAP R/3 system is entered in
the fields Username and Password. The username must
be a CPI-C or a dialog user in the SAP R/3 Customizing.
The data of the SAP R/3 destination system is configured
in the System area.

Properties PM-Connectivity: PM-Connectivity

The notification transfer can be activated or


deactivated via the checkbox. Information about
transmission errors and the transmission status can
be written to WinCC tags. The Location data button
in the area Notification references is used to
maintain all existing Measuring Point Labels (MPL)
and their functional locations as an ASCII file. The
Damage data button is used to enter the data for
maintenance notifications. Properties PM-Connectivity: SAP R/3 Connection

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 4-5


PM-OPEN HOST/S System Description

4 PM-OPEN HOST/S Configuration

4.3.2 Transfer job for transmitting counter readings Access to the WinCC tag management allows the
selection of the tags.
Transfer properties and transfer values for transmitting
meter readings of switching cycles or operating hours are
configured in a transfer job.
Each transfer job has a unique name. PM-OPEN
HOST/S automatically generates a unique job number.
The entry of a Destination Module ID allows the allocation
of a transfer job to a specific SAP R/3 Destination Module
or SAP scenario.
The execution of the transfer job can either occur
cyclically depending on an adjustable cycle period or be
triggered by a changed WinCC tag value.

Transfer job: Measure points

Transfer job: Properties

Several values can be transferred in a single transfer job.


The following data must be entered for each value:

Attribute Description

Measure point Number of the Measure point in


SAP R/3 that receives the tag
value

Recorded unit Unit of measure as configured in


SAP R/3

Tagname Name of the WinCC tag with the


counter reading value
Configuration of a measure point
Secondary Text attribute as additional
Index information

Shorttext Comment

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 4-6


PM-OPEN HOST/S System Description

4 PM-OPEN HOST/S Configuration

4.3.3 Creating alarms in SAP R/3 PM DWORD WINAPI CreateNotificationEx(DWORD


dwWinCCMsgNo,
The C-functions CreateNotificationEx and CreateAnd-
CloseNotificationEx (called from WinCC V7) are included SYSTEMTIME stWinCCTimeStamp,
in the scope of supply of PM-OPEN HOST/S and are
TCHAR* szWinCCInstance,
used to create alarms. These functions generate alarms
by means of the certified interface BAPI in SAP R/3. TCHAR* szWinCCObjectID,
The function CreateNotificationEx creates an M2 alarm TCHAR* Plangroup,
with the status Open in SAP R/3 PM. The function
TCHAR* Planplant,
CreateAndCloseNotificationEx creates an M2 alarm with
the status Opened and Closed. TCHAR* Sender,
The corresponding function is embedded in a Global TCHAR* User,
Script Function in WinCC and supplied with the
TCHAR* Short_Text,
appropriate data.
TCHAR* Notif_Date,
Alarms from the WinCC Alarm Logging can be used in
order to supply the parameters.to call the function. TCHAR* Notiftime,
TCHAR* Strmlfndate,
Structure of the function CreateNotificationEx TCHAR* Strmlfntime,

The parameters of the function and the mapping to the TCHAR* Endmlfndate,
corresponding SAP data fields are described in detail in
TCHAR* Endmlfntime,
the PM-OPEN HOST/S online help.
TCHAR* Breakdown,
TCHAR* Longtext

);

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 4-7


PM-OPEN HOST/S System Description

5 PM-OPEN HOST/S Applicationserver

5.1 General 5.3 Status messages for the R/3 PM Connectivity


Tool
The PM-OPEN HOST/S Applicationserver is the runtime
component for the processing of the configured transfer Transfer jobs from WinCC to SAP R/3 PM are logged in
jobs and the data transfer between WinCC and SAP R/3. three messages. The first message contains the Source-
The Applicationserver operates as a background TAID that is assigned by PM-OPEN HOST/S when the
component. Status and error messages about the data transfer job is sent. The second message displays which
transfer are displayed in the Applicationserver user tag value was transferred to which measurement point
interface. and includes a measurement document number. The
third message confirms the successful data transmission.
All three messages contain the current timestamp.
5.2 Status notifications for the R/3 System
The designation (PM) in the message indicates that the
Connectivity Tool
message was generated by the R/3 PM Connectivity
5.2.1 Data transfer from WinCC to SAP R/3 Tool.

Transfer jobs from WinCC to the SAP R/3 basic system


are logged in two messages. Each transfer is identified by
a TAID (Transaction-ID). One message describes the
Messages to send to SAP R/3 PM
creation of the transfer job via PM-OPEN HOST/S with
the timestamp and the created source TAID. An
additional message entry displays the data reception from
Errors that may have occurred during data transmission
SAP R/3 with a timestamp and documents the HOST-
are displayed in the message with the appropriate RFC
TAID generated by SAP for the received data.
error code. In the case of a failed transmission RFC-
The designation (SC) in the message text indicates that EXCEPTIONS are also logged in the SAP system.
the message was generated by the R/3 System
Connectivity Tool.

5.4 RFC-Trace for PM-OPEN HOST/S Application


server

Messages to send to SAP R/3 The RFC Trace can be activated for diagnostic purposes
in the case of a problem or for startup. All sent and
received data between PM-OPEN HOST/S Application-
Errors that may have occurred during data transmission server and the SAP system is logged when the Trace is
are displayed in the message with the appropriate RFC activated. The RFC Trace should not be activated during
error code. normal operation for performance reasons.
The data of the RFC interface can also be logged in the
SAP system. Authorization problems of the interface user
5.2.2 Data reception in WinCC from SAP R/3 can be diagnosed with this.
Each parameter value that is received in WinCC is logged
in a message. SAP R/3 generates the HOST-TAID for
this parameter and this HOST-TAID is part of the
message. Parameters with the same HOST-TAID are
grouped into one parameter record.

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 5-1


PM-OPEN HOST/S System Description

6 Data Dictionary Objects

6.1 General ZPM_E_DATS Data element for an 8 character


date string (format: YYYYMMDD,
Data dictionary objects as two transport files are included
year, month, day)
in the scope of supply for the data exchange between the
PM-OPEN HOST/S R/3 System Connectivity Tool and
SAP R/3. The installation procedure has to be done in the
ZPM_E_TIMS Data element for an 8 character
SAP R/3 Transportsystem.
time string (format: HHMMSS,
The scope of supply includes the following objects: hours, minutes, seconds)
• Domains
• Data elements
• Database tables 6.3 Database tables
• Programs
ZPM_CNTRL Control table for the R/3 System
• Function modules Connectivity Tool for the
administration of database-IDs
and transaction-IDs
6.2 Domains
ZPM_INPUT Tables that the WinCC transfer
ZPM_D_C255 Domain for a 255 character string
values are entered into from the
ZPM_D_C128 Domain for a 128 character string Send Module

ZPM_D_C32 Domain for a 32 character string ZPM_OUTPUT Tables containing the SAP
parameters from the receive
ZPM_D_NC10 Domain for a 10 character module that are transmitted to
numerical string PM-OPEN HOST/S
ZPM_D_NC2 Domain for a 2 character ZPM_LOGTAB Tables that the diagnosis entries
numerical string from the receive and send
ZPM_D_DATS Domain for an 8 character date modules are entered into
string (format: YYYYMMDD, ZPM_HELP Test-Table
year, month, day)

ZPM_D_TIMS Domain for an 8 character time


string (format: HHMMSS, hours, 6.5 Function modules
minutes, seconds)
The supplied function modules are located in the function
group ZPM_OPEN_HOST_FCTS as RFC (remote
6.3 Data elements function call) – capable modules.

ZPM_E_C255 Data element for a 255


character string 6.5.1 General function modules
ZPM_E_C128 Data element for a 128 • Z_PMOPEN_INIT_CONTROL_TABLE
character string Initializes the control table ZPM_CNTRL and must be
ZPM_E_C32 Data element for a 32 called once on startup of the R/3 System Connectivity
character string Tool.

ZPM_E_NC10 Data element for a 10 • Z_PMOPEN_GET_ID


character numerical string Outputs current, unique entry numbers (Primary Keys)
and transaction IDs.
ZPM_E_NC2 Data element for a 2
character numerical string • Z_PMOPEN_LOG
Inserts a record in the Event log table ZPM_LOGTAB.

• Z_PMOPEN_GET_LOG_STAT
Checks if the Event log is activated and if events should
be written into the table ZPM_LOGTAB.

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 6-1


PM-OPEN HOST/S System Description

6 Data Dictionary Objects

6.5.2 Function modules of the send module of 6.5.3 Function modules of the receive module of
PM-OPEN HOST/S: PM-OPEN HOST/S:
• Z_PMOPEN_RECEIVE • Z_PMOPEN_PCS_RCV
This function is called by the R/3 System Connectivity Function description of the receive module of PM-OPEN
Tool to transmit parameters from WinCC to the table HOST/S. This function is called by
ZPM_INPUT. Z_PMOPEN_TRANSMIT to transmit parameters from the
• Z_PMOPEN_RECEIVE_ERR_LOG_ON table ZPM_OUTPUT to PM-OPEN HOST/S and to write
tag values into WinCC.
The logging of error events into the table ZPM_LOG_TAB
within the SAP R/3 system can be activated with this • Z_PMOPEN_TRANSMIT
function. This function is called within the SAP R/3 system and
• Z_PMOPEN_RECEIVE_ERR_LOG_OFF transmits the contents of the table ZPM_OUTPUT to the
function Z_PMOPEN_PCS_RCV located in PM-OPEN
The logging of error events into the table ZPM_LOG_TAB
HOST/S. PM-OPEN HOST/S writes these parameters to
within the SAP R/3 system can be deactivated with this
WinCC tags.
function.
• Z_PMOPEN_TRANSMIT_ERR_LOG_ON
• Z_PMOPEN_RECEIVE_LOG_ON
The logging of error events into the table ZPM_LOG_TAB
The logging of events into the table ZPM_LOG_TAB
within the SAP R/3 system can be activated with this
within the SAP R/3 system can be activated with this
function.
function.
• Z_PMOPEN_TRANSMIT_ERR_LOG_OFF
• Z_PMOPEN_RECEIVE_LOG_OFF
The logging of error events into the table ZPM_LOG_TAB
The logging of events into the table ZPM_LOG_TAB
within the SAP R/3 system can be deactivated with this
within the SAP R/3 system can be deactivated with this
function.
function.
• Z_PMOPEN_TRANSMIT_LOG_ON
The logging of events into the table ZPM_LOG_TAB
within the SAP R/3 system can be activated with this
function.
• Z_PMOPEN_TRANSMIT_LOG_OFF
The logging of events into the table ZPM_LOG_TAB
within the SAP R/3 system can be deactivated with this
function.

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 6-2


PM-OPEN HOST/S System Description

7 Sample Project

7.1 Sample project

A WinCC sample project is included in the scope of


supply to make the first time configuration of PM-OPEN
HOST/S easier. The sample project demonstrates a tag
exchange scenario with SAP R/3 and the transmission of
operating hours and switching cycle counter readings to
SAP R/3 PM. A connection to an SAP R/3 system is
required for full functionality. The appropriate data
dictionary objects and database tables must have been
imported and initialized to operate the demo. The
required installation steps and the handling of the sample
project are documented in detail in the PM-OPEN
HOST/S online help.

Subject to change without prior notice

Siemens Aktiengesellschaft Valid from 2009/01/05 Page 7-1


Process Management System
Economical Automation with Standard Software

PM-CONTROL
Recipe/Product Data Management,
Job Control

PM-QUALITY
Job/Batch-oriented Archiving and
Recording

PM-MAINT
Intelligent Maintenance Management
System

PM-ANALYZE
Analysis of Alarms and Process Data

PM-OPEN
Solutions for Communication and
Integration

SIMATIC WinCC is a trademark of Siemens AG


The other designations mentioned in this document can be trademarks, the use of which by third-parties for their own purpose can violate the respective owner’s
rights.

Do you need further technical information? Your sales partner:

Your authorized
WinCC Competence Center Mannheim

Phone: (+49) 621 456-3269


(+49) 621 456-3641
(+49) 621 456-3382
Fax: (+49) 621 456-3334
E-Mail: winccaddon.automation@siemens.com
Internet: www.siemens.com/process-
management

Siemens AG Subject to change without prior notice The information provided in this catalog contains descriptions or
Siemens Deutschland characteristics of performance which may change as a result of further
Industry Sector development of the products. An obligation to provide the respective
Industry Solutions Division characteristics shall only exist if expressly agreed in the terms of contract.
WinCC Competence Center Availability and technical specifications are subject to change without
notice.
Dynamostraße 4
All product designations may be trademarks or product names of Siemens
D-68165 Mannheim AG or supplier companies whose use by third parties for their own
purposes could violate the rights of the owners.

© Siemens AG 2010 Printed in Germany


Best.-Nr. 9AE7 113-1WE02-0BA0

Você também pode gostar