KB-43882: Write via DNP driver working on Studio mode, but not via Setpoints on screen.

Question:

Why does DNP Driver 3.0 only write when in Studio mode, but it does not receive the values written on (and accepted by) the Setpoints?

Solution:

This happens because the default value format to be sent by setpoints is text, but the driver expects a number; thus, the value used is 0.  This can be fixed either by configuring the setpoint as a numeric type or via CLng function; to do so, just add the script below to the setpoint’s Validate event.

Value = CLng(NewValue)

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *