Toshiba PROSEC T1-16S User Manual page 113

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

Compare instructions (continued)
FUN
Name
No.
108 Unsigned
[ A U> B ]
greater than
109 Unsigned
[ A U>= B ]
greater than or
equal
110 Unsigned
[ A U= B ]
equal
111 Unsigned
[ A U<> B ]
not equal
112 Unsigned
[ A U< B ]
less than
113 Unsigned
[ A U<= B ]
less than or
equal
Special data processing
FUN
Name
No.
114 Device/register
[ SET A ]
set
115 Device/register
[ RST A ]
reset
118 Set carry
[ SETC ]
119 Reset carry
[ RSTC ]
120 Encode
[ A ENC (n) B ]
121 Decode
[ A DEC (n) B ]
122 Bit count
[ A BC B ]
147 Flip-flop
S
R
149 Up-down
U
C
counter
E
Expression
Turns ON output if A
(Unsigned integer compare)
Turns ON output if A
(Unsigned integer compare)
Turns ON output if A
(Unsigned integer compare)
Turns ON output if A
(Unsigned integer compare)
Turns ON output if A
(Unsigned integer compare)
Turns ON output if A
(Unsigned integer compare)
Expression
If A is a device:
Sets device A to ON.
If A is a register:
Stores HFFFF in register A.
If A is a device:
Resets device A to OFF.
If A is a register:
Stores 0 in register A.
Sets the carry flag to ON.
Resets the carry flag to OFF.
Finds the uppermost ON bit
position in the bit file of size 2
bits starting with register A, and
stores it in B.
In the bit file of size 2
starting with register B, sets ON
the bit position indicated by
lower n bits of A, and resets
OFF all other bits.
Counts the number of ON bits
of A and stores it in B.
F/F
Q
Sets ON device A when set
A
input (S) is ON, and resets OFF
device A when reset input (R) is
ON.
(Reset takes priority)
U/D
Q
While enable input (E) is ON,
counts up or down the number
A
of cycles the count input (C)
comes ON, depending on the
up/down select input (U).
Up when U is ON, down when U
is OFF.
Function
Steps
B.
3
B.
3
B.
3
B.
3
B.
3
B.
3
Function
Steps
2
2
1
1
n
4
n
bits
4
3
2
2
Basic Hardware and Function
6F3B0253
7. Instructions
Speed
Page
( s)
190
191
192
193
194
195
Speed
Page
( s)
4.2
196
4.2
197
4.2
198
4.2
199
57.0 -
200
141.4
69.5 -
201
99.1
202
26.7
215
30.1
216
111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents