Programming language, Prosec t2n – Toshiba T2N User Manual

Page 257

Advertising
background image

5. Programming Language

244

PROSEC T2N

(A) PID (B)

(C)

(A) PID2 (B)

(C)

(A) PID3 (B)

(C)

(A) SIN (B)

(A) COS (B)

(A) TAN (B)

(A) ASIN (B)

(A) ACOS (B)

(A) ATAN (B)

(A) EXP (B)+1·(B)

(A) LOG (B)

Ladder Diagram Instructions (Function Instructions)

Group

FUN

No.

Name

Representation

Summary

Number of

steps

required

Execution

time

required

(

µ

s)

Remarks

Function

170

PID

Carries out the PID calculation for the value of (A) by
the parameters starting with (B), and stores it in (C).

4

475

171

Deviation square PID

Carries out the deviation square PID calculation for
the value of (A) using the parameters starting with
(B), and stores it in (C).

4

156

Essential PID

Carries out the essential PID calculation for the value
of (A) using the parameters starting with (B), and
stores it in (C)

4

172

Sine function (SIN)

Stores in (B) the value obtained by taking the angle
(degree) obtained by dividing the value of (A) by 100
and multiplying its sine value by 10000.

3~4

110

173

Cosine function (COS)

Stores in (B) the value obtained by taking the angle
(degree) obtained by dividing the value of (A) by 100
and multiplying its cosine value by 10000.

3~4

111

174

Tangent function (TAN)

Stores in (B) the value obtained by taking the angle
(degree) obtained by dividing the value of (A) by 100
and multiplying its tangent value by 10000.

3~4

175

Arc sine function (SIN-1)

Divides the value of (A) by 10000, multiplies the arc
sine value by 100, then stores it in (B).

3~4

78

176

Arc cosine function
(COS-1)

Divides the value of (A) by 10000, multiplies the arc
cosine value by 100, then stores it in (B).

3~4

74

177

Arc tangent function
(TAN-1)

Divides the value of (A) by 10000, multiplies the arc
tangent value by 100, then stores it in (B).

3~4

178

Exponential function

Finds the exponential of 1/1000 of the absolute value
of (A) and stores it in (B)+1•(B).

3~4

179

Logarithm

Calculates the common logarithm of the absolute
value of (A), multiplies it by 1000 and stores the
result in (B).

3~4

Advertising