03.01.2013 Views

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7. Instructions<br />

Rotate operations<br />

FUN<br />

No.<br />

Name Expression Function Steps Speed<br />

(µs)<br />

Page<br />

078 1 bit rotate −[ RTR1 A ]− Rotates data of A 1 bit to the<br />

right<br />

right (LSB direction). The<br />

carry flag changes according<br />

to the result.<br />

2 6.8 172<br />

079 1 bit rotate left −[ RTL1 A ]− Rotates data of A 1 bit to the<br />

left (MSB direction). The<br />

carry flag changes according<br />

to the result.<br />

2 6.8 173<br />

080 n bit rotate −[ A RTR n → B ]− Rotates data of A n bits to<br />

right<br />

the right (LSB direction) and<br />

stores the result in B. The<br />

carry flag changes according<br />

to the result.<br />

4 10.2 174<br />

081 n bit rotate left −[ A RTL n → B ]− Rotates data of A n bits to<br />

the left (MSB direction) and<br />

stores the result in B. The<br />

carry flag changes according<br />

to the result.<br />

4 10.2 175<br />

Compare instructions<br />

FUN<br />

No.<br />

Name Expression Function Steps Speed<br />

(µs)<br />

Page<br />

096 Greater than −[ A > B ]− Turns ON output if A > B. 3 6.1 178<br />

097 Greater than or<br />

equal<br />

−[ A >= B ]− Turns ON output if A ≥ B.<br />

3 5.3 179<br />

098 Equal −[ A = B ]− Turns ON output if A = B. 3 5.0 180<br />

099 Not equal −[ A B ]− Turns ON output if A ≠ B. 3 5.0 181<br />

100 Less than −[ A < B ]− Turns ON output if A < B. 3 6.1 182<br />

101 Less than or<br />

equal<br />

−[ A B+1⋅B ]− Turns ON output<br />

if A+1⋅A > B+1⋅B.<br />

3 6.1 184<br />

103 Double-word −[ A+1⋅A D>= B+1⋅B ]− Turns ON output<br />

greater than or<br />

equal<br />

if A+1⋅A ≥ B+1⋅B. 3 5.3 185<br />

104 Double-word<br />

equal<br />

−[ A+1⋅A D= B+1⋅B ]− Turns ON output<br />

if A+1⋅A = B+1⋅B.<br />

3 5.0 186<br />

105 Double-word<br />

not equal<br />

−[ A+1⋅A D B+1⋅B ]− Turns ON output<br />

if A+1⋅A ≠ B+1⋅B.<br />

3 5.0 187<br />

106 Double-word<br />

less than<br />

−[ A+1⋅A D< B+1⋅B ]− Turns ON output<br />

if A+1⋅A < B+1⋅B.<br />

3 6.1 188<br />

107 Double-word −[ A+1⋅A D

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!