Herunterladen Inhalt Inhalt Diese Seite drucken

Pepperl+Fuchs 1/209 Handbuch Seite 74

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Trip Amplifier 1/209
Software Description
4.4.1.2
Mathematical Operations
Command
Add
Subtract
Multiply
Divide
Square root
Absolute
Logarithm (nat. LOG)
Exponential function
Sine
Cosine
Tangent
Arc-tangent
Move
Clear
4.4.1.3
Conditional branches
Branch on equal
Call: IEQ,op1,op2,op3
Formula: if op1 = op2 branch to op3
Branch on not equal
Call: INE,op1,op2,op3
Formula: if op1 <> op2 branch to op3
Branch on greater or equal
Call: IGE,op1,op2,op3
Formula: if op1 >= op2 branch to op3
Branch on lower
Call: ILO,op1,op2,op3
Formula: if op1 < op2 branch to op3
Unconditional branch
Call: GTO,op1
Formula: branch to op3
4.4.1.4
Timers and other operations
Command
End of program
No operation
Timer
Timer
Wait
Filter analog in
Frequency *)
*) Max gate opening 10000 ms (10 sec)
Max frequency 10 kHz
Min gate period 250 ms
74
Call
ADD,op1,op2,op3
SUB,op1,op2,op3
MUL,op1,op2,op3
DIV,op1,op2,op3
SQR,op1,op2
ABS,op1,op2
LOG,op1,op2
EXP,op1,op2
SIN,op1,op2
COS,op1,op2
TAN,op1,op2
ATN,op1,op2
MOV,op1,op2
CLR,op1
Call
Formula
END
end of program
NOP
no operation
TIM,op1
read timer and delete (time in ms)
TIN,op1
read timer (time in ms)
WAI,op1
wait so many ms (max. 10,000 ms)
FIL,op1
number of averaged input values (max. 100)
program waits for execution
FRQ,op1,op2
op1 gate in ms
op2 measured frequency in Hz
Accuracy at 4 kHz:
1 % for 25 ms, 0.1 % for 250 ms, 0.01 % for 2.5 sec
Accuracy at 100 Hz:
4 % for 250 ms, 1 % for 1 sec
Formula
op3 = op1 + op2
op3 = op1 - op2
op3 = op1 x op2
op3 = op1/op2
op2 = SQR(op1)
op2 = ABS(op1)
op2 = LOG(op1)
op2 = e^op1
op2 = SIN(op1)
op2 = COS(op1)
op2 = TAN(op1)
op2 = ATN(op1)
op2 = op1
op1 = -1

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis