Pc Link Protocol Transmission (Data Read) - Toshiba V Series User Manual

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

Advertisement

Chapter 5 Computer Link Protocol and the PC Link Protocol Transmission

5.4 PC Link Protocol Transmission (Data read)

5
76
The T series PC link protocol allows an S controller to read register data from another S
controller/T3H/T2N on the network into its own registers.
As is the case with the computer link protocol, the PC link protocol uses UDP/IP as its
transmission protocol.
The PC link main station uses a UDP socket for message transmission and transmits to
the slave station EN311 message transmission UDP socket. The user program that runs
on the main station is discussed later.
When this function is used on the PC link slave station, the controller simply performs the
following as described in Chapter 4:
• Parameter setup and
• Operating mode control (message transmission permission)
There is no need to create any special user programs on the controller.
Usage Recommendations
• Since UDP/IP does not provide control functions to guarantee communication reliability,
higher level protocols (such as retry) are required.
• No processing is performed if a PC link protocol transmission message is received at any
point other than a message transmission UDP socket.
Register read request (using the URECV_T instruction)
The register data specified by the remote station is read to the specified register on the
local station.
(1) Request command structure and error status
<Request command>
F
CMD
Destination EN311 module slot number
CMD+1
Command (16#0321)
CMD+2
DRID
CMD+3
DregNo
CMD+4
TimeCnt
CMD+5
D-IP address: The input format is the same as
that for parameter setup
CMD+6
requests.
CMD+7
D-UDP PortNo
• Local station register is specified by the input operand P of the URCV_T function
block.
• Transfer register size is specified by the input operand N of the URCV_T function.
Specify in words: 1 to 485 words
T register and C register: 1 to 323 words
0
Remote station register type code
Remote station register number
Timeout time
Remote station IP address
Remote station message
transmission UDP port number
Ethernet module User's Manual

Advertisement

Table of Contents
loading

Table of Contents