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:
The transfer source register
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
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
Leading address
Register type
Leading address
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
Leading address
Register type
Leading address
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.