6F8C0904
73
5.3 PC Link Protocol Transmission (Data write)
5
Register write request (using the USEND_T instruction)
The register data specified by the local station is written to the specified register on the
remote station.
(1) Request command structure and error status
<Request command>
• Local station register is specified by the input operand P of the USEND_T function
block.
• Transfer register size is specified by the input operand N of the USEND_T function
block.
Specify in words: 1 to 485 words
T register and C register: 1 to 323 words
<Error status>
Error status examples
F
0
CMD
Destination EN311 module slot number
CMD+1
Command (16#0321)
CMD+2
DRID
Remote station register type code
CMD+3
DregNo
Remote station register number
CMD+4
TimeCnt
Timeout time
CMD+5
D-IP address: The input format is the same
as that for parameter setup
requests.
Remote station IP address
CMD+6
CMD+7
D-UDP PortNo
Remote station message
transmission UDP port number
F
0
STATUS
=
0: Normal completion,
≠
0: Error status
Error status number
Description
-5001(16#EC77)
Command type error
-5002(16#EC76)
Timeout (detected by the S controller)
2848(16#B20)
Timeout (detected by the EN311)
Supplemental Remarks
When the PC link is used and the EN311 detects an error, it means that the error occurred in the
local station if the highest bit of the error status shows 0 or it means that error occurred in the
remote station if the bit shows 1. Therefore, the error is in local station if the error status value is
positive or the error is in remote station if the value is negative.
Summary of Contents for V Series
Page 1: ...6F8C0904 Integrated Controller V Series Ethernet module EN311 User s Manual Sep 30 2004 ...
Page 12: ......
Page 16: ......
Page 34: ......
Page 40: ......
Page 106: ......
Page 180: ......
Page 199: ...6F8C0904 179 7 5 RAS Information Readout 7 Figure 7 1 Packet Format IP Datagram ...
Page 200: ...180 Ethernet module User s Manual Chapter 7 RAS Information 7 ...
Page 224: ......
Page 240: ......
Page 244: ......
Page 248: ......
Page 250: ......
Page 256: ......
Page 258: ......