Herunterladen Inhalt Inhalt Diese Seite drucken

HAWE Hydraulik PLVC Technische Dokumentation Seite 216

Inhaltsverzeichnis

Werbung

III. KONFIGURATION, DIAGNOSE UND PROGRAMMIERUNG
HINWEIS
Der
Definitionsbereich
(= 0 , . . . , 180 )
Beispiel: Berechnet cos(180 ) und multipliziert diesen Wert mit 5
Variablendeklaration:
VAR
w e r t :
INT
: = 5 ;
2
l s g :
INT
;
c o s i n u s : GET_COS;
4
END_VAR
Programm:
c o s i n u s ( IN :=1800) ;
1
l s g : = mul_div ( wert , c o s i n u s . zahl , 10000) ;
Da cos(180 ) =
1, muss die Variable lsg=-5 sein.
GET_EE_DW
Liest Interne Variablen vom Graf-Syteco-Display, die 4 byte lang sind.
216 / 366
der
Variable
( * cos ( 1 8 0 ) * )
Release: 2.0.6-0-g5b0081f (2019-08-12)
GET_COS.IN
ist
{0,. . . ,1800}
B 7845 Manual

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis