6F3B0250

7. Instructions

FUN 090

MPX

Multiplexer

Expression

Input -[ A MPX (n) B ® C ]- Output

Function

When the input is ON, the data of the register which is designated by B in the table, size n starting with A, is transferred to C.

Execution condition

Input

Operation

Output

OFF

No execution

OFF

ON

Normal execution

OFF

 

Pointer over (no execution)

ON

Operand

 

Name

 

 

Device

 

 

 

 

 

 

Register

 

 

 

 

Constant

Index

 

 

X

Y

R

S

T.

C.

XW

YW

RW

SW

T

C

D

I

J

K

 

 

A

Start of table

 

 

 

 

 

 

Ö

Ö

Ö

Ö

Ö

Ö

Ö

 

 

 

 

 

n

Table size

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 - 64

 

B

Pointer

 

 

 

 

 

 

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

0 - 63

 

C

Destination

 

 

 

 

 

 

 

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

 

 

Example

When R010 is ON, the register data which is designated by RW30 is read from the table D0500 to D0509 (10 registers size), and stored in D0005.

If the data of RW30 is 7, D0507 data is transferred to D0005.

Source table

 

Pointer

Destination

D0500

 

 

 

0

D0005

D0501

 

 

 

1

 

 

 

 

 

D0507

 

12345

 

7

 

D0508

 

 

 

8

 

D0509

 

 

 

9

 

12345

Note

·If the pointer data designates outside the table (10 or more in the above example), the transfer is not executed and the output comes ON.

·The table must be within the effective range of the register address.

194 T1/T1S User’s Manual

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

Page 196
Image 196
Toshiba PROSEC T1 T1S, 6F3B0250 user manual Mpx, Multiplexer