Skip to main content

Wyświetlanie kwadratu i koła – MT8070iH3/MT8070iE

Streszczenie: Panele MT8070iH3, MT6070iH3, MT8070iE i MT6070iE mają nieproporcjonalne piksele, więc aby wyświetlić kwadrat lub koło, wysokość obiektu ustawia się w proporcji 1 : 1,076 do szerokości (np. 80×86 dla kwadratu 80×80).
EN: How to display a true square or circle on MT8070iH3/MT6070iH3/MT8070iE/MT6070iE: use a width:height ratio of 1:1.076.

Dotyczy: panele HMI Weintek MT8070iH3, MT6070iH3, MT8070iE, MT6070iE
Źródło: Weintek FAQ (materiały producenta), oryginalny tytuł: „How to display square/circle on MT8070iH3/MT8070iE?”

For the particular size of MT8070iH3/MT6070iH3/MT8070iE/MT6070iE, before displaying square or circle, users have to calculate the width and height of the object.
The formula for width and height is: WIDTH : HEIGHT = 1 : 1.076
For example: To make an 80x80 square.
First, to create a toggle switch, select the picture and press ok.

Ilustracja: Wyświetlanie kwadratu i koła – MT8070iH3/MT8070iE – To make an 80x80 square.First, to create a toggle switch, select the picture and press ok.

And then double click this object to call up Toggle Switch Object's Properties / Profile tab.

Ilustracja: Wyświetlanie kwadratu i koła – MT8070iH3/MT8070iE – And then double click this object to call up Toggle Switch Object's Properties / Profile tab.

The formula for width and height is: WIDTH : HEIGHT = 1 : 1.076, so fill in the width: 80 and height: 86. (Height: 80*1.076 = 86)

Ilustracja: Wyświetlanie kwadratu i koła – MT8070iH3/MT8070iE – 80*1.076 = 86)

Press ok, the object looks like a rectangle at this moment. After downloading project to HMI, the object will become a square.

Ilustracja: Wyświetlanie kwadratu i koła – MT8070iH3/MT8070iE – After downloading project to HMI, the object will become a square.

The formula of circle is the same as square setting as shown below. On the upper side of screen, the width : height = 80:80, these 2 objects look like a rectangle and an ellipse.
On the lower side of screen, the width : height = 80:86, these 2 objects look like a square and a circle.

Ilustracja: Wyświetlanie kwadratu i koła – MT8070iH3/MT8070iE – height = 80:86, these 2 objects look like a square and a circle.

 

 

 

Słowa kluczowe

kwadrat, koło, proporcje, aspect ratio, 1:1.076, zniekształcenie, MT8070iH3, MT6070iH3, MT8070iE, MT6070iE, How to display square/circle on MT8070iH3/MT8070iE?