Working with scales in an I/O Tag.

Question:

How can I apply a scale in an I/O Tag? Can I retrieve, via scale, its value without the scale?

Solution:

To use a value scale in an I/O tag, enable the Scale column (via checkbox), as well as  Min. UE, Max. UE, Min. I/O, Max. I/O, and inform these values to the scale. The Min. UE and Max. UE columns represent the value settings displayed in the supervisory; the Min. I/O and Max. I/O columns are the values expected in the PLC (device).

For example, to show these values divided by 10:

Min. UE = 0                       Min. I/O = 0
Max. UE = 100                  Max. I/O = 1000

In this example, when the device sends 500, the supervisory will show valor 50.

NOTE: the values set up as limits do not influence the communication, and will only be used to calculate the scale. For example, when Max. UE = 100 and Max. I/O = 1000, and the device sends 2000, no error will be generated: the communication will work normally, and the supervisory will display 200.

For the I/O tag’s value before the scale, access its RawValue property.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

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

Leave a Reply

Your email address will not be published.Required fields are marked *