Urcv_T Function Block - Toshiba V Series User Manual

Integrated controller ethernet module, en311
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

4.4.2

URCV_T function block

Communication FB
Diagram
Modification
(1) Parameters
Parameter Operand
Input
Output
Supplementary information on input parameters
Data structure of request command
CMD
CMD+1
CMD+2
:
(2) Functions
• For the EN311, this is the function block to request module control, TCP/IP protocol,
and/or UDP/IP protocol communication.
• When an execution request(REQ) becomes TRUE(ON) from FALSE(OFF), the N
number of received data words will be routed from receive data P with the contents of
the specified transmission command (CMD).
• The number of received data words, 1-1001 can be specified (It depends on the
socket service command).
• When the reception completes, the completion output(DONE) becomes TRUE(ON) for
one scanning time and the corresponding socket number is displayed on the STATUS.
6F8C0904
Socket Communication - Send
Execution request
Transmit com mand
Transmit data
Number of data
words transm itted
EN input
Type
REQ
Boolean
CMD
Pointer
P
Pointer
N
Unsigned integer
DONE
Boolean
ERROR Boolean
STATU
Integer
S
F
Destination EN311 module slot number
Socket service command
Request parameter
(Details differ according to services.)
4.4 Function Block Specifications for EN311 Control
URCV_T
REQ
DONE
Completion output
CMD
ERROR
Error
P
STATUS
Socket number or error status
N
Put into pulses
Constant
Description
Execution request
Request command
Beginning address of the transmit
data storage area
Number of data words transmitted 1 to
Completion output
Error
Socket number or error status
0
Index modification
Scope
1001W
41
4

Advertisement

Table of Contents
loading

Table of Contents