cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PCO Notification

Former Member
0 Likes
871

I created a new Notification node and configured as following:

1 - Trigger

Enabled = true

Trigger Type = Always

I am using this configuration because I want to send always, under any condition.

2 - Output

Expression = if (LRF_N245_44> 1, LRF_N245_44, LRF_N245_44)

I am using this expression because I want to send and I know that the value of this tag is always greater than 1.

I would like assign a value directly in the expression, for example 'Test', but returns the following error: "[Fatal severity =] Expression at row [1] not Associated with system", so that's why I am using the expression above.

Testing the Output option manually in the "Test Delivery Notification" I have succeeded in sending and receiving in MII. I get the message perfectly in the MII transaction.

3 - Realiability

Maximum Retry Attempts = 0

Retry Interval = 10

Failed Message Persistence = KeepLast

Lifetime: Day 0 =

Hours = 0

Minutes = 0

4 - Destinations

Destinations settings are working perfectly, I konw because the manual test sends the message successfully and when I run the connection test get the message successfully.

With these settings the post never triggered automatically.

Appreciate any help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Marcelo,

So all you want to do is send the actual value of this tag, whenever the value of this tag changes?

If this is the case, for the trigger expression try

'LRF_N245_44' (single quotes)

and for the output, use "LRF_N245_44" (double quotes) which should give you the tagname.

If this is not the case, let me know.

Kind Regards,

Diana Hoppe

Former Member
0 Likes

Hello Diana,

Thank you for your reply, I configured as directed and the messages are being sent successfully to the MII.

Now I have another question:

In the first message sent after activate the service, I get the current value of tag perfectly, but in subsequent messages always get the value 2 where I expected to receive the current value of the tag.

Could tell me the reason why this happens?

Former Member
0 Likes

Hi Marcelo,

Please advise what version of PCo you are using, that may help in the analysis.

@Ajay - have you run across a similar issue?

- Diana

Former Member
0 Likes

Hi Diana,

We are using:

PCO 2.1.0.55

MII 12.1.0.7

Thanks.

Former Member
0 Likes

PS : OPC-DA RXLinx

Former Member
0 Likes

Hi Marcelo,

It may be a good idea to upgrade to the lastest PCo 2.1 SP 04 Patch 2.1.4.1 and see if that makes a difference. If not, you may want to enter a ticket into the SAP Support System.

Kind Regards,

Diana

Former Member
0 Likes

Hi Diana,

many sorry, but where can I find "PCo 2.1 SP 04 Patch 2.1.4.1" for download?

I am looking into "https: / / websmp110.sap-ag.de/installations" and can not find.

Thank you very much for your help.

Former Member
0 Likes

Hi Marcelo,

Try this:

Software Download -> A-Z index

X

SAP XMII -> Plant Connectivity -> Plant Connectivity 2.1 -> Win 32

The SAP Note is 1512476

Hope this helps! I know that there have been issues with RSLinx in the past. Unfortunately, I have no way to test against it.

Kind Regards,

Diana

Former Member
0 Likes

Hi Diana,

I Installed the 2.1.4 version but remains same error.

I noticed the following:

- I configured the subscription items:

Name = ABC

Source = [CALCINACAO]CONTADOR (this is a name of the tag in PLC)

DeadBand = 5

- I configured the Notification:

Trigger = ontrue / ABC > 1

Output = Expression : If I use '[CALCINACAO]CONTADOR' in my expression, then I get the error message (The given key was not present in the dictionary.). Then I use the ABC variable in my expression. If I no use single quotes then I have the error (Expected token that differes from that found. (Expected:'<EOF>', Found:'[') in experssion editor.

With this configuration, what happens is the following :

In the first message received the current value of the [CALCINACAO]CONTADOR tag, but subsequents message received the value 5 (DeadBand).

I can seamlessly access the current value of this tag using a tag query.

I believe that the issue is the tag name with [ character.

Are you know any way for work arround of this issue?

Many Thanks.

Former Member
0 Likes

Hello,

Can you please post the download link of the patch? Ik can't find it on the sap support site....

Regards,

Manfred

Former Member
0 Likes

Hello,

See Diana's post above.

Software Download -> A-Z index

X

SAP XMII -> Plant Connectivity -> Plant Connectivity 2.1 -> Win 32

The SAP Note is 1512476

Former Member
0 Likes

Hello,

I found the note, but in the software download there is no patch available with that name. SAP SUPPORT PORTAL / SOFTWARE DOWNLOADS / SUPPORT PACKAGES AND PATCHES / A-Z INDEX / X --> no downloads!

Regards,

Manfred

Former Member
0 Likes

Your user account need have permission to see download files. Check your user account.

Answers (2)

Answers (2)

former_member192939
Active Participant
0 Likes

Marcelo,

Dianas suggestion should work, what is the version of PCo?

SingleQuote - For Tag Value

DoubleQuotes for Hard coded values

if ('LRF_N245_44'> 1, 'LRF_N245_44', 'LRF_N245_44')

Regards,

Ajay.

Former Member
0 Likes

PS: 5 - The OPC Server and the PCO are running on the same PC.