![Mitsubishi Electric Melsec WS Series User Manual Download Page 114](http://html.mh-extra.com/html/mitsubishi-electric/melsec-ws-series/melsec-ws-series_user-manual_239157114.webp)
MELSEC-WS
Procedures before operation
111
*1 C device is used to check the operation of the communication program.
For details of data transmission and reception processing in a program for reading
input data sets in polling mode, refer to Section 8.2.2 (2).
Please replace the BUFSND and BUFRCV instructions with the SOCSND and
SOCRCV instructions.
Since the Built-in Ethernet port QCPU treats application data in Little Endian format,
the byte-order needs to be swapped. Note that the byte order of the input data set 1
and output data set 1 does not need to be changed because these data are one
byte long.
<Data need to be swapped>
Command and parameters (word data (16 bits))
Input data set 2 and 3 (double-word data (32 bits))
The following table lists data to be sent at reading.
Device
Configuration
value (hex)
Byte
swapping
*1
Description
D700 000A
H
Not required
Send data length (10 bytes)
D701 00F1
H
Required
Command
D702 0001
H
Read data specification (Input data set
1 reading)
D703 0001
H
Read data specification (Input data set
2 reading)
D704 0001
H
Read data specification (Input data set
3 reading)
D705 0000
H
Read data specification (Input data set
4 not reading)
*1 Since the QJ71E71-100 treats application data in Little Endian format, the byte-order needs to be
swapped.
C device
*1
C0 SOCOPEN
instruction
Number of executions
C1
Number of successes
C2
Number of failures
C10 SOCSND
instruction
Number of executions
C11
Number of successes
C12
Number of failures
C20 SOCRCV
instruction
Number of executions
C21
Number of successes
C22
Number of failures
C31 Verification
check
Number of successes
C32
Number of failures
C33
Number of response errors (writing)
C40 SOCCLOSE
instruction
Number of executions
C41
Number of successes
C42
Number of failures
Table 38:
Data to be sent at
reading
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: ......