Toshiba PROSEC T3H User Manual page 68

Toshiba programmable controller user's manual
Table of Contents

Advertisement

2. Expanded Functions
2.4.6 Network data receive (RECV)
FUN 240
RECV
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
OFF
No execution
ON
During execution
Normal complete
When error is occurred (see Note)
Operand
Name
X Y S L R Z T. C. I
A Transfer
parameter
B Status
< In case of S20LP >
F
C B
A
MID
CH
A+1
A+2
Transfer size
A+3
Register type (self-station)
A+4
Leading address (self-station)
A+5
Register type (target-station)
A+6
Leading address (target-station)
A+7
Response time limit
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
Network data receive
Operation
Device
O X
8 7
0
Target station No.
0 (fixed)
Output
OFF
OFF
ON
ON
Register
Y
S
L
R
W T C D F
W
W
W
W
W
< In case of Ethernet >
F
C B
A
MID
A+1
Request command
A+2
Transfer size
A+3
Register type (self-station)
A+4
Leading address (self-station)
A+5
Register type (target-station)
A+6
Leading address (target-station)
A+7
Response time limit
A+8
Target-station IP address
A+9
A+10
Target-station UDP port No.
ERF
Set
I
O
I
J
K
W
W
8 7
CH
0 (fixed)
Con- Index
stant
0

Advertisement

Table of Contents
loading

Table of Contents