Toshiba T2N User Manual Page 259

  • Download
  • Add to my manuals
  • Print
  • Page
    / 272
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 258
5. Programming Language
246
PROSEC T2N
(A) B + (B) (C)
(A) B – (B) (C)
(A) B (B) (C) +1·(C)
(A) B / (B) (C)
(A) +1·(A) DB + (B) +1·(B) (C)+1· (C)
(A) +1·(A) DB – (B) +1·(B) (C)+1· (C)
(A) +1·(A) DB* (B) +1·(B) (C)+1· (C)
(A) +1·(A) DB / (B) +1·(B) (C)+1· (C)
(A) B +C (B) (C)
(A) B – C (B) (C)
(A) +1· (A) DB +C (B) +1·(B) (C) +1· (C)
(A) +1· (A) DB – C (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
BCD
operation
192 BCD additon
Carries out BCD addition of the contents of (A) and
(B), and stores the result in (C).
4~6 205
193 BCD subtraction
Subtracts the contents of (B) from the contents of (A)
in BCD, and stores the result in (C).
4~6 197
194 BCD multiplication
Multiplies the contents of (A) and (B) together in
BCD, and stores the result in (C)+1•(C).
4~6 247
195 BCD division
Divides the contents of (A) by the contents of (B) in
BCD, and stores the quotient in (C) and the
remainder in (C)+1.
4~6 250
196
Double-length BCD
addition
Adds the contents of (B)+1 •(B) to the contents of
(A)+1 and (A) in BCD, and stores the result in
(C)+1 •(C).
4~8 372
197
Double-length BCD
subtraction
Subtracts the contents of (B)+1•(B) from the
contents of (A)+1 and (A) in BCD, and stores the
result in (C)+1•(C).
4~8 365
198
Double-length BCD
multiplication
Multiplies the contents of (A)+1•(A) by the contents
of (B)+1•(B) in BCD, and stores the result in (C)+3,
(C)+2, (C)+1•(C).
4~8 672
199
Double-length BCD
division
Divides the contents of (A)+1•(A) by the contents of
(B)+1•(B) in BCD, and stores the quotient in (C)+1
•(C) and the remainder in (C)+3•(C)+2.
4~8 539
200 BCD addition with carry
Adds (B) plus the contents of the carry flag to (A) in
BCD, and stores the result in (C). The carry flag
changes according to the operation result.
4~6 222
201 BCD subtraction with carry
Subtracts (B) plus the contents of the carry flag from
(A) in BCD, and stores the result in (C). The carry
flag changes according to the operation result.
4~6 216
202
Double-length BCD
addition with carry
Adds the contents of (B)+1•(B), plus the contents of
the carry flag, to (A)+1•(A) in BCD, and stores the
result in (C)+1•(C). The carry flag changes
according to the operation result.
4~8 390
203
Double-length BCD
subtraction with carry
Subtracts (B)+1 and (B) plus the contents of the carry
flag from (A)+1•(A) in BCD, and stores the result in
(C)+1•(C). The carry flag changes according to the
operation result.
4~8 383
Page view 258
1 2 ... 254 255 256 257 258 259 260 261 262 263 264 ... 271 272

Comments to this Manuals

No comments