This blog has been discontinued (See latest posts)
Friday, November 22, 2013 MDA Test Report
VN:F [1.9.22_1171]
Rating: 5.0/5 (2 votes cast)

There is a report available (RCMXDATEST02) to test all MDA stuff. You can read or write OPC tags or send MDA broadcast events.

This simple report allows you to read or write any data points which are available via MDA (Manufacturing Data Access):

Report RCMXDATEST02

To test an MDA broadcast event you simply select one of the “Data Point” fields in the “Write” section and use the value help (F4):

NewImage Please replace the string “&CATEGORY&” with a string that represents your broadcast event (DEMO1 in my example above). To send the broadcast you add a value to the “New Value” field and press “Execute”. Of course you need to have a consumer to show you that the broadcast has been successfully executed. This can be done by a simple XStep:

XStep

There is one local parameter on the node “MDA Inbox” with type PPPI_SHORT_TEXT which will be displayed in the single output element (“MDA Value”). The control element (“<Manufacturing Data Access>”) looks like this:

MDA_Control - Data Access

MDA_Control - Data Points

Please note that the string “DEMO1” must be the same as the one in the test report (which replaced “&CATEGORY&”). The parameter name (“MDAVAL”) must be the one you have in the output element – of course.

Finally you can do the test. Here are 2 screens (one with the test report, one with the test PI Sheet) before the broadcast:

Demo - Before Broadcast

And this is how it looks like after the execution of the report:

Demo - After Broadcast

 

MDA Test Report, 5.0 out of 5 based on 2 ratings
Please rate the article:
VN:F [1.9.22_1171]
Rating: 5.0/5 (2 votes cast)
1 Comment Create new comment
  1. Saravana's Gravatar Saravana
    9.Sep.2015 at 22:49 | Permalink

    Hi,

    When I try to simulate this MDA test report…I am getting the below error. Could you please help me on this. Thanks

    Define variable MDAVAL for export parameter MDA:BROADCAST.PARAM.VALUE 1

News

This blog has been discontinued!

Archives

Calendar

November 2013
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930