Programming language, User's manual – Toshiba T2N User Manual

Page 244

Advertising
background image

User's manual

231

5. Programming Language

(A) +1· (A) F+(B)+1·(B)

(C) +1·(C)

(A) +1· (A) F-(B)+1·(B)

(C) +1·(C)

(A) +1· (A) F*(B)+1·(B)

(C) +1·(C)

(A) +1·(A) F/(B)+1·(B)

(C) +1·(C)

(A) AND (B)

(C)

(A) +1· DAND (B)+1·(B)

(C) +1·(C)

(A) OR (B)

(C)

(A) +1·(A) DOR (B)+1·(B)

(C)+1·(C)

(A) EOR (B)

(C)

(A)+1·(A) DEOR (B)+1·(B)

(C)+1·(C)

(A) ENR (B)

(C)

(A)+1·(A) DENR (B)+1·(B)

(C)+1·(C)

Ladder Diagram Instructions (Function Instructions)

Group

FUN

No.

Name

Representation

Summary

Number of

steps

required

Execution

time

required

(

µ

s)

Remarks

Arithmetic
operations

208

Floating point addition

Adds the floating point data of (A)+1 • (A) and (B)+1
•(B), and stores the result in (C)+1 • (C).

4

107

396

µ

s

(max)

209

Floating point subtraction

Subtracts the floating point data of (B)+1•(B)from
(A)+1 • (A) ,and stores the result in (C)+1 • (C).

4

108

399

µ

s

(max)

210

Floating point multiplication

Multiplies the floating point data of (A)+1 • (A) by
(B)+1•(B), and stores the result in (C)+1 • (C).

4

132

533

µ

s

(max)

211

Floating point division

Divides the floating point data of (A)+1 • (A) by
(B)+1•(B), and stores the result in (C)+1 • (C).

4

133

728

µ

s

(max)

Logical
operations

48

AN D

Finds the logical AND of (A) and (B) and stores it in
(C).

4~6

67

49

Double-length AND

Finds the logical AND of (A)+1 and (A) and (B)+1
•(B) and stores it in (C)+1 and (C).

4~8

100

50

OR

Finds the logical OR of (A) and (B) and stores in (C).

4~6

66

51

Double-length OR

Finds the logical OR of (A)+1 and (A) and (B)+1•(B)
and stores it in (C)+1 and (C).

4~8

100

52

Exclusive OR

Finds the exclusive logical OR of (A) and (B) and
stores it in (C).

4~6

66

53

Double-length exclusive
OR

Finds the exclusive logical OR of (A)+1• (A) and
(B)+1 and (B) and stores it in (C)+1•(C).

4~8

100

54

Not exclusive OR

Fins the negative exclusive logical OR of (A) and (B)
and stores it in (C).

4~6

66

55

Double-length
Notexclusive OR

Finds the negative exclusive logical OR of (A)+1•(A)
and (B)+1 and (B) and stores it in (C)+1•(C).

4~8

101

Advertising