![Mitsubishi Electric Melsec WS Series User Manual Download Page 116](http://html.mh-extra.com/html/mitsubishi-electric/melsec-ws-series/melsec-ws-series_user-manual_239157116.webp)
MELSEC-WS
Procedures before operation
113
For details of data transmission and reception processing in a program for writing
output data sets in polling mode, refer to Section 8.2.3 (2).
Please replace the BUFSND and BUFRCV instructions with the SOCSND and
SOCRCV instructions.
The following table lists data to be sent at writing.
Device
Configuration
value (hex)
Byte
swapping
*1
Description
D800 003E
H
Not required
Send data length (62 bytes)
D801 00F2
H
Required
Command
D802 000A
H
Write data specification (Output data
set 1 writing (10 bytes))
D803 000A
H
Write data specification (Output data
set 2 writing (10 bytes))
D804 000A
H
Write data specification (Output data
set 3 writing (10 bytes))
D805 000A
H
Write data specification (Output data
set 4 writing (10 bytes))
D806 000A
H
Write data specification (Output data
set 5 writing (10 bytes))
D807
Any Not
required
Output data set 1: Byte 0 and Byte 1
D808
Output data set 1: Byte 2 and Byte 3
D809
Output data set 1: Byte 4 and Byte 5
D810
Output data set 1: Byte 6 and Byte 7
D811
Output data set 1: Byte 8 and Byte 9
D812 to D816 Any
Not required
Output data set 2
D817 to D821 Any
Not required
Output data set 3
D822 to D826 Any
Not required
Output data set 4
D827 to D831 Any
Not required
Output data set 5
*1 Since the QJ71E71-100 treats application data in Little Endian format, the byte-order needs to be
swapped.
The following table shows an example of the execution result of the program for
writing output data sets in polling mode.
Device
Storage value
(hex)
Byte
swapping
*1
Description
D900 0004
H
Not required
Receive data length
D901 2F00
H
Required
Response command
D902 0000
H
Status
0:
Successful
1:
Error
*1 Since the QJ71E71-100 treats application data in Little Endian format, the byte-order needs to be
swapped.
Table 39:
Data to be sent at
writing
Table 40:
Execution result
example in polling
mode (output data set
writing)
Summary of Contents for Melsec WS Series
Page 1: ...Safety Controller Ethernet Interface Module User s Manual WS0 GETH ...
Page 2: ......
Page 89: ...Procedures before operation MELSEC WS 86 ...
Page 90: ...MELSEC WS Procedures before operation 87 ...
Page 91: ...Procedures before operation MELSEC WS 88 ...
Page 97: ...Procedures before operation MELSEC WS 94 ...
Page 98: ...MELSEC WS Procedures before operation 95 ...
Page 99: ...Procedures before operation MELSEC WS 96 ...
Page 141: ......