EasyManua.ls Logo

Toshiba PROSEC T1 - Page 131

Toshiba PROSEC T1
313 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6F3B0250
Basic Hardware and Function
129
7. Instructions
FUN Name Expression Function Steps Speed Available Pa
g
e
No.
(
m
s)
T1 T1S
108 Unsi
g
ned
g
reater than
-[
A
U>
B
]-
Turns ON output if
A
>
B
.
(Unsi
g
ned inte
g
er compare)
3
Ö
208
109 Unsi
g
ned
g
reater than or
equal
-[
A
U>=
B
]-
Turns ON output if
A
³
B
.
(Unsi
g
ned inte
g
er compare)
3
Ö
209
110 Unsi
g
ned
equal
-[
A
U=
B
]-
Turns ON output if
A
=
B
.
(Unsi
g
ned inte
g
er compare)
3
Ö
210
111 Unsi
g
ned
not equal
-[
A
U<>
B
]-
Turns ON output if
A
¹
B
.
(Unsi
g
ned inte
g
er compare)
3
Ö
211
112 Unsi
g
ned
less than
-[
A
U<
B
]-
Turns ON output if
A
<
B
.
(Unsi
g
ned inte
g
er compare)
3
Ö
212
113 Unsi
g
ned
less than or
equal
-[
A
U<=
B
]-
Turns ON output if
A
£
B
.
(Unsi
g
ned inte
g
er compare)
3
Ö
213
Special data processing
FUN Name Expression Function Steps Speed Available Pa
g
e
No.
(
m
s)
T1 T1S
114 Device/re
g
ister
set
-[ SET
A
]-
If
A
is a device:
Sets device
A
to ON.
24.2
ÖÖ
214
If
A
is a register:
Stores HFFFF in register
A.
115 Device/re
g
ister
reset
-[ RST
A
]-
If
A
is a device:
Resets device
A
to OFF.
24.2
ÖÖ
215
If
A
is a register:
Stores 0 in register
A.
118 Set carry
-[ SETC ]-
Sets the carry fla
g
to ON. 1 4.2
ÖÖ
216
119 Reset carry
-[ RSTC ]-
Resets the carry fla
g
to OFF. 1 4.2
ÖÖ
217
120 Encode
-[
A
ENC (
n
)
B
]-
Finds the uppermost ON bit
position in the bit file of size 2
n
bits starting with register
A
, and
stores it in
B.
4 57.0 -
141.4
ÖÖ
218
121 Decode
-[
A
DEC (
n
)
B
]-
In the bit file of size 2
n
bits
starting with register
B
, sets ON
the bit position indicated by lower
n
bits of
A,
and resets OFF all
other bits.
4 69.5 -
99.1
ÖÖ
219
122 Bit count
-[
A
BC
B
]-
Counts the number of ON bits of
A
and stores it in
B
.
3
Ö
220
147 Flip-flop
S F/F Q
R
A
Sets ON device
A
when set input
(S) is ON, and resets OFF device
A
when reset input (R) is ON.
(Reset takes priority)
2 26.7
ÖÖ
233
149 Up-down
counter
U U/D Q
C
E
A
While enable input (E) is ON,
counts up or down the number of
cycles the count input (C) comes
ON, dependin
g
on the up/down
select input (U).
Up when U is ON, down when U
is OFF.
2 30.1
ÖÖ
234
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Table of Contents

Related product manuals