cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PCo: type conversion error

janbuchmann
Contributor
0 Kudos
391

Hi

After activating this business function LOG_PP_CFB, I've done the required config under Production planning for Process Industries > Process Order > Scale Connection and Production planning for Process Industries > Process Management > SAP ODA, respectively.

In PCo, I am using Kepware and its available Simulation Examples as a source (just for test purposes for now). My destination is RFC destination of type SAP ODA. Agent instance is running, notification template is defined.

In COOPC1, I can successfully browse the namespace and choose the various Simulation Examples. Even when I perform a connection test, I can see values coming through, for example for 'Random2' (see capture01.jpg). Seems all good so far.

However, when I try to perform an actual 'Weigh' in MIGO, I keep getting message OPC-specific error; Unable to convert value supplied for tag Simulation Examples.Functions.Random2 to required type (Message no. COOPC101). capture02.jpg

The log in PCo shows:

In StoreWrapper.cs: STORE query will be canceled, due to type conversion error for item 'Simulation Examples.Functions.Random2'. Data Type of value was 'System.String', FoundItem datatype was 'System.Single'";"FormatException: Input string was not in a correct format.

Where can I do this conversion? What am I missing?

Thanks & regards

Accepted Solutions (0)

Answers (0)