How to calibrate tag in scada

Posted

Scada calibrate script comma tag from decimal tag:

Imports System

Imports System.IO

Imports System.Windows.Forms

Imports System.VisualBasic

Namespace WinTr

Public Class MainClass

Public Tag_1 As Uint16

Public Tag_2 As Single

Public Sub Load

Tag_2 = Val(Tag_1/10)

End Sub

End Class

End Namespace

Leave a Reply