Toshiba T2N User Manual Page 252

  • Download
  • Add to my manuals
  • Print
  • Page
    / 272
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 251
User's manual
239
5. Programming Language
SET (A)
RST (A)
(A) TSET (n) (B)
(A) TRST (n) (B)
SETC
RSTC
(A) ENC (n) (B)
(A) DEC (n) (B)
(A) BC (B)
(A) DBC (B)
Ladder Diagram Instructions (Function Instructions)
Group
FUN
No.
Name Representation Summary
Number of
steps
required
Execution
time
required
(µs)
Remarks
Special data
processing
114 Set device/register
If (A) is a device:
Sets device (A) to ON.
If (A) is a register:
Stores HFFFF in register (A).
2
93
78
115 Rerest device/register
If (A) is a device:
Resets device (A) to OFF.
If (A) is a register:
Stores 0 in register (A).
2
93
78
116 Table bit set
From the bit file of n words, headed by the register
(B), the instruction takes the bit in the location
indicated by (A) and sets it to ON.
4~5 131
117 Table bit reset
From the bit file of n words, headed by the register
(B), the instruction takes the bit in the position
indicated by (A) and resets it to OFF.
4~5 131
118 Set carry Sets the carry flag. 1 41
119 Reset carry reset Resets the carry flag. 1 41
120 Encode
In the bit file of size 2
n
bits headed by (A), the
instruction stores the uppermost ON bit position in
register (B).
3~4 210
121 Decode
Takes the bit file of size 2
n
bits headed by (B), sets
the bit position indicated by the lower n bits of
register (A) to ON, and sets all the rest to OFF.
3~4 190
122 Bit count
Counts the number of ON bits in the data in (A) and
stores the result in (B).
3~4 170
123 Double-length bit count
Counts the number of ON bits in the double-length
data in (A)+1•(A), and stores the result in (B).
3~5 285
Page view 251
1 2 ... 247 248 249 250 251 252 253 254 255 256 257 ... 271 272

Comments to this Manuals

No comments