6F3B0250

7. Instructions

FUN

Name

 

 

Expression

Function

Steps

Speed

Available

Page

No.

 

 

 

 

 

 

 

 

 

(ms)

T1

T1S

 

-

Counter

C

 

 

CNT

 

Q

Counts the number of cycles

2

22.6

Ö

Ö

150

 

 

 

 

 

E

 

 

A B

 

 

the count input (C) comes ON

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

while the enable input (E) is

 

 

 

 

 

 

 

 

 

 

 

 

 

ON, and turns ON output (Q)

 

 

 

 

 

 

 

 

 

 

 

 

 

when the count reaches to the

 

 

 

 

 

 

 

 

 

 

 

 

 

value specified by A. B is a

 

 

 

 

 

 

 

 

 

 

 

 

 

counter register.

 

 

 

 

 

-

Master control set

ú--[ MCS ]

 

 

Turns OFF power rail between

1

3.75

Ö

Ö

151

-

Master control

ú--[ MCR ]

 

 

MCS and MCR when MCS

1

(in a

 

 

 

 

reset

 

 

 

 

 

 

input is OFF.

 

pair)

 

 

 

-

Jump control set

ú--[ JCS ]

 

 

Jumps from JCS to JCR when

1

2.75

Ö

Ö

152

-

Jump control reset

ú--[ JCR ]

 

 

JCS input is ON.

1

(in a

 

 

 

 

 

 

 

 

 

 

 

 

 

pair)

 

 

 

-

End

ú--[ END ]

 

 

Indicates end of main program

1

1.4

Ö

Ö

153

 

 

 

 

 

 

 

 

or sub-program.

 

 

 

 

 

Data transfer instructions

FUN

Name

Expression

Function

Steps

Speed

Available

Page

No.

 

 

 

 

 

 

(ms)

T1

T1S

 

018

Data transfer

-[ A MOV B ]-

Transfers data of A to B.

3

4.2

Ö

Ö

154

019

Double-word

-[A+1×A DMOV B+1×B ]-

Transfers double-word data of

3

7.2

Ö

Ö

155

 

data transfer

 

 

 

A+1×A to B+1×B.

 

 

 

 

 

020

Invert transfer

-[ A NOT B ]-

Transfers bit-inverted data of

3

4.6

Ö

Ö

156

 

 

 

 

 

A to B.

 

 

 

 

 

022

Data exchange

-[ A XCHG B ]-

Exchanges data of A with B.

3

6.5

Ö

Ö

157

024

Table initialize

-[ A TINZ (n)

B ]-

Transfers data of A to n

3

 

 

Ö

158

 

 

 

 

 

registers starting with B.

 

 

 

 

 

025

Table transfer

-[ A TMOV (n) B ]-

Transfers data of n registers

3

 

 

Ö

159

 

 

 

 

 

starting with A to n registers

 

 

 

 

 

 

 

 

 

 

starting with B.

 

 

 

 

 

026

Table invert

-[ A TNOT (n)

B ]-

Transfers bit-inverted data of

3

 

 

Ö

160

 

transfer

 

 

 

n registers starting with A to n

 

 

 

 

 

 

 

 

 

 

registers starting with B.

 

 

 

 

 

090

Multiplexer

-[ A MPX

(n)

B ® C ]-

Transfers data from the

5

70.6

Ö

Ö

194

 

 

 

 

 

register specified by B in the

 

 

 

 

 

 

 

 

 

 

table, size n starting with A, to

 

 

 

 

 

 

 

 

 

 

C.

 

 

 

 

 

091

Demultiplexer

-[ A DPX

(n)

B ® C ]-

Transfers data from A to the

5

71.5

Ö

Ö

195

 

 

 

 

 

register specified by B in the

 

 

 

 

 

 

 

 

 

 

table, size n starting with C.

 

 

 

 

 

Basic Hardware and Function 125

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

Page 127
Image 127
Toshiba 6F3B0250, PROSEC T1 T1S user manual Data transfer instructions, Cnt