2. Expanded Functions

2.4.5 Network data send (SEND)

FUN 239

SEND

Network data send

Expression

Input [ A SEND B ]Output

Function

This instruction sends the designated range of register data to another T3H through the network. (Network: TOSLINE-S20LP or Ethernet)

The transfer source register (self-station) is designated by A+3 and A+4.

The transfer destination register (target-station) is designated by A+5 and A+6.

The transfer size (number of words) is designated by A+2. The maximum transfer size is 128 words (S20LP), or 485 words (Ethernet).

The designation method of the target-station is different between S20LP and Ethernet.

This instruction is also used for other functions of the Ethernet module. Refer to the Ethernet module (EN311) manual for detailed functions used for the EN311.

Execution condition

Input

Operation

Output

ERF

OFF

No execution

OFF

ON

During execution

OFF

 

Normal complete

ON

 

When error is occurred (see Note)

ON

Set

Operand

 

Name

 

 

 

Device

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

Con-

Index

 

 

X

Y

S

L

R

Z

T.

C.

I

O

X

Y

S

L

 

R

W

 

T

 

C

D

 

F

I

O

I

J

K

stant

 

 

 

 

 

 

 

 

 

 

 

 

 

W

W

W

W

W

 

 

 

 

 

 

 

 

W

W

 

 

 

 

 

A

Transfer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B

Status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

< In case of S20LP >

 

 

 

 

 

 

 

 

 

< In case of Ethernet >

 

 

 

 

F

C B

8 7

 

 

 

 

0

 

 

 

 

F

 

C B

 

 

8 7

 

 

 

 

0

 

A A+1 A+2 A+3 A+4 A+5 A+6 A+7

MID

CH

Target station No.

 

0 (fixed)

 

Transfer size

Register type (self-station)

Leading address (self-station)

Register type (target-station)

Leading address (target-station)

Response time limit

A A+1 A+2 A+3 A+4 A+5 A+6 A+7 A+8 A+9

A+10

MID

CH

0 (fixed)

Request command

Transfer size

Register type (self-station)

Leading address (self-station)

Register type (target-station)

Leading address (target-station)

Response time limit

Target-station IP address

Target-station UDP port No.

Note) Parameters for the Ethernet varies depending on the request command. Above figure shows the parameters for the register read/write command (H0021). Refer to the EN311 manual.

62 PROSEC T3H

Page 64
Image 64
Toshiba PROSEC T3H user manual Network data send Send, Mid