6F3B0250

7. Instructions

FUN

Name

Expression

Function

Steps

Speed

Available

Page

No.

 

 

 

 

(ms)

T1

T1S

 

108

Unsigned

-[ A U> B ]-

Turns ON output if A > B.

3

 

 

Ö

208

 

greater than

 

(Unsigned integer compare)

 

 

 

 

 

109

Unsigned

-[ A U>= B ]-

Turns ON output if A ³ B.

3

 

 

Ö

209

 

greater than or

 

(Unsigned integer compare)

 

 

 

 

 

 

equal

 

 

 

 

 

 

 

110

Unsigned

-[ A U= B ]-

Turns ON output if A = B.

3

 

 

Ö

210

 

equal

 

(Unsigned integer compare)

 

 

 

 

 

111

Unsigned

-[ A U<> B ]-

Turns ON output if A ¹ B.

3

 

 

Ö

211

 

not equal

 

(Unsigned integer compare)

 

 

 

 

 

112

Unsigned

-[ A U< B ]-

Turns ON output if A < B.

3

 

 

Ö

212

 

less than

 

(Unsigned integer compare)

 

 

 

 

 

113

Unsigned

-[ A U<= B ]-

Turns ON output if A £ B.

3

 

 

Ö

213

 

less than or

 

(Unsigned integer compare)

 

 

 

 

 

 

equal

 

 

 

 

 

 

 

Special data processing

FUN

Name

 

 

Expression

Function

Steps

Speed

Available

Page

No.

 

 

 

 

 

 

 

 

 

 

 

 

(ms)

T1

T1S

 

114

Device/register

-[ SET

A ]-

 

If A is a device:

2

4.2

Ö

Ö

214

 

set

 

 

 

 

 

 

 

 

 

Sets device A to ON.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If A is a register:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Stores HFFFF in register A.

 

 

 

 

 

115

Device/register

-[ RST

A ]-

 

If A is a device:

2

4.2

Ö

Ö

215

 

reset

 

 

 

 

 

 

 

 

 

Resets device A to OFF.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If A is a register:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Stores 0 in register A.

 

 

 

 

 

118

Set carry

-[ SETC ]-

 

 

 

 

 

Sets the carry flag to ON.

1

4.2

Ö

Ö

216

119

Reset carry

-[ RSTC ]-

 

 

 

 

 

Resets the carry flag to OFF.

1

4.2

Ö

Ö

217

120

Encode

-[ A ENC

(n)

B ]-

Finds the uppermost ON bit

4

57.0 -

Ö

Ö

218

 

 

 

 

 

 

 

 

 

 

 

position in the bit file of size 2n

 

141.4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

bits starting with register A, and

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

stores it in B.

 

 

 

 

 

121

Decode

-[ A DEC

(n)

B ]-

In the bit file of size 2n bits

4

69.5 -

Ö

Ö

219

 

 

 

 

 

 

 

 

 

 

 

starting with register B, sets ON

 

99.1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the bit position indicated by lower

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n bits of A, and resets OFF all

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

other bits.

 

 

 

 

 

122

Bit count

-[ A BC B ]-

 

Counts the number of ON bits of

3

 

 

Ö

220

 

 

 

 

 

 

 

 

 

 

 

A and stores it in B.

 

 

 

 

 

147

Flip-flop

S

 

F/F

 

 

 

Q

 

Sets ON device A when set input

2

26.7

Ö

Ö

233

 

 

 

 

 

 

R

 

A

 

 

 

 

 

(S) is ON, and resets OFF device

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A when reset input (R) is ON.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Reset takes priority)

 

 

 

 

 

149

Up-down

U

 

U/D

 

 

 

Q

While enable input (E) is ON,

2

30.1

Ö

Ö

234

 

 

 

 

 

counter

C

 

 

 

 

 

 

 

 

counts up or down the number of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E

 

 

A

 

 

 

 

 

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.

 

 

 

 

 

Basic Hardware and Function 129

CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Page 131
Image 131
Toshiba 6F3B0250, PROSEC T1 T1S user manual Special data processing