6F3B0250

7. Instructions

FUN 238

WRITE

Special module data write

Expression

Input -[ A WRITE B ® C ]- Output

Function

When the input is ON, this instruction transfers data stored in registers starting with operand A into the buffer memory of the special module that is designated by operand C.

The destination address (buffer memory address) is designated by operand B. The transfer size (number of words) is designated by operand B+1.

This instruction is only effective for the T2 I/O modules connected to the T1-40 or T1-40S.

Execution condition

Input

Operation

Output

ERF

OFF

No execution

OFF

-

ON

Normal execution

ON

-

 

When error is occurred (see Note)

ON

Set

Operand

 

Name

 

 

Device

 

 

 

 

 

 

Register

 

 

 

 

Constant

Index

 

 

X

Y

R

S

T.

C.

XW

YW

RW

SW

T

C

D

I

J

K

 

 

A

Source

 

 

 

 

 

 

Ö

Ö

Ö

Ö

Ö

Ö

Ö

 

 

 

 

 

B

Transfer

 

 

 

 

 

 

Ö

Ö

Ö

Ö

Ö

Ö

Ö

 

 

 

 

 

 

parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

Special module

 

 

 

 

 

 

Ö

Ö

 

 

 

 

 

 

 

 

H0004 -

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H0007

 

Example

When R011 is ON, the register data of the size indicated by RW56, starting with D0200, are transferred to the buffer memory starting with the address indicated by RW55 of the special module allocated to YW08.

RW55

RW56

 

 

 

 

 

 

 

 

 

 

 

T1/T1S

 

 

 

 

 

 

 

 

YW08 special module

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H80B0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Buffer memory

 

150

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D0200

1234

WRITE

 

 

 

H80B0

 

 

 

 

 

 

 

 

1234

D0349

5678

150 words

 

 

 

 

 

 

H8145

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5678

Basic Hardware and Function 265

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

Page 267
Image 267
Toshiba 6F3B0250, PROSEC T1 T1S user manual Write, Special module data write