Back

Topic

[KB180]Messages 16700 to 16705: Error while (type) converting on %s

Tags: Error, Error ID, Error messages numbers

14 years ago
By RM
Options
Print
Applies to:

PcVue all versions.


Summary:

This article explains how to deal with error messages 16700 to 16705.


Details:

French PcVue :

“16700, OPC, erreur sur conversion LOG sur %s”
“16702, OPC, erreur sur conversion ANA sur %s”
“16704, OPC, erreur sur conversion TXT sur %s”

English PcVue :

“16701, OPC, Error while LOG converting on %s”
“16703, OPC, Error while ANA converting on %s”
“16705, OPC, Error while TXT converting on %s”

“%s” is the name of the OPC item referenced by this message.

Explanation

You are trying to convert the native type of an OPC server item to another type, which is not possible.

This message appears when running your project. It generally appears after message number 16722 or 16723.

Solution

Check the following points :

  • It can be a configuration problem with variables in your application.

    Example: The type of an item is STRING and you have linked it with a PcVue variable whose type is REGISTER. Check the variable corresponding to the item, and make the types the same.

  • Your OPC server sends a wrong buffer to PcVue.
    Example: Your OPC server sends a variable whose type is 8 bytes REAL, but whose values are not all valid. Your OPC server must send back buffers with standard formats.

Created on: 19 Nov 2010 Last update: 13 May 2024