Toshiba S20LP User Manual

Page 48

Advertising
background image

47

6

F

3

B

0

3

5

6

The user program that

runs on the T2N/T3H of the main station is discussed below.

(1) Instruction format

The format of SEND and RECV instruction

(2) Function

SEND

This instruction sends the designated range of register data to another T2N/T3H
through the network. The transfer source register (self-station) is designated by A+3
and A+4. The transfer destination register (target-station) is designation by A+5 and
A+6. The transfer size (number of words) is designated by A+2. The maximum
transfer size is 128 words.

RECV

This instruction reads the designated range of register data from another T2N/T3H through
the network. The transfer source register (target-station) is designated by A+5 and A+6. The
transfer destination register (self-station) is designation by A+3 and A+4. The transfer size
(number of words) is designated by A+2. The maximum transfer size is 128 words.

Input

Operation

Output

ERF

OFF

No execution

OFF

OFF

ON

Execution

Transmission port instruction busy/instruction execution in

progress (response wait)

OFF

OFF

Response reception complete (normal complete)

ON

OFF

Instruction error

ON

ON

Operand

Name

Device

Register

INDEX

Index

X Y S L R Z X

W

Y

W

S

W

L

W

R

W

W T C D F

I

W

O

W

I

J K

A Transfer parameter

ь ь ь ь ь ь ь ь ь ь ь

ь

B Status

ь ь ь ь ь ь ь ь ь ь

ь

Con-
stant

[ A S E N D B ]

[ A R E C V B ]

Input

Output

Input

Output

Advertising