Procedures before operation
MELSEC-WS
84
The command and parameters for reading input data sets are stored to the
BUFSND instruction send data areas (D700 to D705), and the BUFSND
instruction is executed (refer to 1) in Figure 47).
The WS0-GETH responds to the command. The response data (input data sets)
are stored to the BUFRCV instruction receive data areas (D900 to D976) (refer to
2) in Figure 47). (The BUFRCV instruction is executed automatically upon data
reception.)
The byte order of the receive data
*1
is changed, and input data sets are stored to
the corresponding input data set storage areas (W0 to W4D) (refer to 3) in Figure
47).
*1 Since the QJ71E71-100 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.
Table 30:
Data to be sent at
reading
Содержание Melsec WS Series
Страница 1: ...Safety Controller Ethernet Interface Module User s Manual WS0 GETH ...
Страница 2: ......
Страница 89: ...Procedures before operation MELSEC WS 86 ...
Страница 90: ...MELSEC WS Procedures before operation 87 ...
Страница 91: ...Procedures before operation MELSEC WS 88 ...
Страница 97: ...Procedures before operation MELSEC WS 94 ...
Страница 98: ...MELSEC WS Procedures before operation 95 ...
Страница 99: ...Procedures before operation MELSEC WS 96 ...
Страница 108: ...MELSEC WS Procedures before operation 105 Sample program auto update mode Figure 62 Sample program auto update mode ...
Страница 141: ......