5-154
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5.4.24 MRECV instruction
ZP_MRECV
C
ont
r
o
l Da
t
a
Device
Item
Setting data
Setting range
Setting side
*1
[0]
Execution/Error completion
type
Execution type (bit 9)
*2
Specify whether to inquire about existence of mails in the server after
reading received mails.
0: Not requested (not read)
1: Requested (read)
Error completion type (bit 7)
Specify the clock data setup status at the time of error completion.
0: Clock data at the time of error completion is not set in the area
starting from
[11].
1: Clock data at the time of error completion is set in the area
starting from
[11].
0000
H
,
0080
H
,
0200
H
,
0280
H
User
[1]
Completion status
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
–
System
[2]
E-mail No. to be read
Specify the number of a mail to be read when multiple mails are
received.
0
: First mail
1 or more
: Specified mail
0 or more
User
[3]
[8]
System area
–
–
–
[9]
Receive data
length
For
instruction
execution
Specify the data length ( attached file) of the mail that can be
stored in
to
+n. (Header: 1 to 373, attached file: 1 to 6144)
0
: Adjust data length to that of the received mail.
1 to 6517
: The number of data that can be stored in (
to
+ n)
0 to 6517
(word)
* Includes the
header length
explained
below.
User
At instruction
completion
Data length ( attached file) of the mail stored in
to
+ n is
stored.
1 to 6517: The number of receive data stored in (
to
+ n)
System
[10]
Header
length
For
instruction
execution
Specify the header data length of the mail that can be stored in
to
+ n.
0
: Adjust header data length to that of the received
mail.
1 to 373
: The number of data that can be stored in (
to
+ n)
0 to 373
(word)
User
At instruction
completion
Header data length of the mail stored in
to
+ n is stored.
1 to 373: Number of receive data stored in (
to
+ n)
System
[11]
Clock set flag
Valid/invalid status of the data in the area starting from
[12] is stored.
0: Invalid
1: Valid
0,1
System
S
b15
b7
b0
to
to
0
0
①
②
b10 b9
b8
0
○
S
○
S
S
S
S
to
S
S
○
d1
○
d1
○
d1
○
d1
○
d1
○
d1
○
d1
○
d1
S
○
d1
○
d1
○
d1
○
d1
○
d1
○
d1
○
d1
○
d1
S
○
S
Содержание QCPU
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Special Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 28: ...2 10 MEMO ...
Страница 32: ...3 4 MEMO ...
Страница 38: ...4 6 MEMO ...
Страница 234: ...5 196 MEMO ...
Страница 238: ...Index 4 MEMO ...
Страница 241: ......