on 2020 Mar 04 3:17 PM
Hi Experts,
We are using SAP PCo 15.3 for communication between OPC UA server and SAP MII 15.3. OPC UA have certain tags defined out of which one tag ,triggerbit and MsgType is used to monitor condition in SAP PCo.
Currently we have condition in PCo like if 'Triggerbit'==true && ('MsgType'=="START" or 'MsgType'=="FINISH") then send messages to SAP MII. Moment we receive messages in MII we are resetting triggerbit to false.
With this configuration we are missing few messages from PCo to MII. When we send continuous signals from OPC UA to PCo ,only few messages land up in MII and other are lost may be at PCo level.
Communication on Pco level is async.
Can you please give me some pointers which can help me to resolve issue? may be missing configuration etc.
Thanks in advance,
Neha
Request clarification before answering.
Hi,
Closing this thread. Issue is resolved by adjusting timing issue.
Thanks,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
All eight products can start one after another by scanning product label. finish can be different time or same like start. If scan rate is very quick for all products then we will face issue like we are facing now.
This test station is in different factory and don't use labview library.
Thanks,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
Ive attempted to send you an email.
Do all eight products start and finish at the same time or are they all independent ?
If I can remember properly the last time I was in your factory your test stations are running NI Labview are they not?
Thanks
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
Yes that is correct. We are using single trigger bit for message sent and reset back.
Also we are trying to automate the starts and completes in ME and data collection.
I m unable to attach configuration .Please let me know where I can share file.
Thanks in advance,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Apologies Neha, I didnt see that you had replied until right now.
The log file doesnt really help me understand how you have configured this, you would have to send me your config file.
Let me see if I understand you, you have a test station that can test 8 products at the same time and Im guessing you are trying to automate the starts and completes in ME ?? Maybe even the test results?
From your description it looks like you have a single trigger bit that when data is sent to MII you want to be reset back to zero.
Is this correct?
Thanks
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
Can you please let me know if you have any comments on scenario we are using?
Thanks,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
I have attached verbose logs with sync communication. I passed values for all 8 channels one after other and missed few messages.
Please let me know your comments.
Thanks,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
Thanks for reply. We are working on global integration package which can be used for different types of tester/equipment/PLC's integration with SAP MII/ME.
Let me explain scenario :
One of tester on shop floor is having 8 channels. Each channel will have SFC value after scanning the product. This case tester software is sending information to OPC UA and in future we can also have connection with PLC. So currently number of messages are less but it can be more in future.
In current scenario, when product is scanned start signal will be send to PCo and condition is 'Triggerbit'==true && ('MsgType'=="START" or 'MsgType'=="FINISH"). Once it reaches to SAP MII , triggerbit is reset back to false.
I tried sync communication, 'Process Notification Messages Exactly Once in Order' on agent and notification level and still there are few messages missed to reach PCo. Let me know I m missing something for synchronous communication setup. Also we dont want with sync communication ,failure of one message stop messages after it for other SFC's.
Now the question is, as trigger bit getting written from UA server as well as SAP MII is that causing issue?
If yes then please let me know if we can use following options:
1) Once OPC UA send signal to PCo, immediate set trigger bit back to false. (Not sure if this option can cause issue of missing messages to PCo)
2) On OPC UA side, set next trigger bit high only when trigger bit for previous message is reset.
Please let me know your comments.
Thanks in advance,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This sounds like a timing issue to me. Can you set the log level to verbose and take a look at the logs to see if there is anything obvious. If you cant see anything can you export the configuration and share it and I can take a look.
Thanks
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Let me explain my timing comment a little more. Your notification will be triggered when your "Triggerbit" tag changes from false to true (changes being the important word). Its going to take X amount of time for the notification to be created, sent to MII, processed by MII, a tagQuery executed and finally PCo to write the data to the "Triggerbit". If another message arrives whilst all of this is going on then there is a chance you will miss messages. You can improve the timing by using a multicall destination where one of the destinations resets the "Triggerbit" and the other sends the data to MII.
You also mention that you want to process messages in parallel, why? and how many messages are you expecting ?
Without knowing the full scenario of what you are trying to do I would say that sync communication would be better and use the message queuing functionality to guarantee delivery.
Thanks
Kevin
Hi Mike,
Because we want different messages to be processed parallel.
Thanks,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.