4.4 Function Block Specifications for EN311 Control
Before preparing for operations of the EN311 software, this section provides an overview
of the following instructions used to control the EN311 from the S controller user
program.
• USEND_T function block
• URCV_T function block
EN311 module control and transmission control (PC link protocol transmission and
socket interface transmission) are performed solely using above function. Refer to "The
V Series LD/FBD/SFC Instructions Manual" for MREAD instruction. See the individual
items described in the section 4.5, "EN311 Reset (Reset Request)" or after for details on
the actual requests sent to the EN311.
4.4.1
USED_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
:
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
USEND_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
1000W
39
4