Toshiba PROSEC T3H user manual Network data receive Recv, Expression

Page 68

2. Expanded Functions

2.4.6 Network data receive (RECV)

FUN 240

RECV

Network data receive

Expression

Input [ A RECV B ]Output

Function

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

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

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.

66 PROSEC T3H

Image 68
Contents USER’S Manual Important Information General Information Hazard ClassificationsSafety Precautions Installation WiringOperation Maintenance Safety Label About This Manual TerminologyT3 manuals VacContents Prosec T3H Section T3H Overview Introducing the T3H Differences between T3H and T3 T3H components CPU module Two types of T3H CPU modules are availableStatus LEDs RAM/ROM switchMode control switch Battery cover Programmer portComputer link port IC memory card slotExpansion interface module CPU T3H CPUCH1 CH2 Expansion cable Power supply moduleRack O module Following types of I/O modules are availableData transmission module Module internal current consumptionTOSLINE-S20LP AsciiRAS Specifications Functional specificationsSFC Instruction execution speed Teor TenrTest DtstSET RSTTset TrstPID2 SINCOS TANInstruction execution speed cont’d Shown below Section Expanded Functions Timer interrupt interval System operation Auto-RUN / Standby selectionSaving the sampling trace condition Auxiliary register Expanded registersExternal I/O register Timer Link registerLink Global File register Special registerExpanded Functions SEND/RECVTOSLINE-S20 Expanded Functions Expanded file register data read MR Starting registerExpanded file register data Write MW ADR S TExpanded Functions TOSLINE-S20LP loop support Ethernet support Instructions Double-word multiplication and division D∗ Expanded Functions Essential PID PID3 DSVControl block diagram AlgorithmParameter details Operation ASV ← ISVExpanded Functions Floating point essential PID FPID3 Digital filter PVn = 1− FT⋅ PVC+ FT⋅ PVn − Here ≤ FT ASV differential limit DSV 0 to 100 %/∆ t Data range +1 ⋅C Expanded Functions Expanded data transfer Xfer Transfer parameter table TypeCPU register ↔ Expanded F register IC memory card CPU register ↔ S20/S20LP scan memory CPU register ↔ Eeprom D register When the data writing address range exceeds page boundary Network data send Send MIDExpanded Functions S20LP T3H self-station RW100 RW101 RW227 Network data receive Recv Expanded Functions H0A Expanded Functions Prosec T3H Toshiba Corporation