Mitsubishi QCPU Structured Programming Manual page 192

Melsec-q series
Hide thumbs Also See for QCPU:
Table of Contents

Advertisement

ZP_MRECV
Control Data
Device
Item
Execution/Error completion
[0]
S
type
Completion status
[1]
S
E-mail No. to be read
[2]
S
[3]
S
System area
to
[8]
S
For
instruction
execution
Receive data
[9]
S
length
At instruction
completion
For
instruction
Header
execution
[10]
S
length
At instruction
completion
Clock set flag
[11]
S
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5-154
5.4.24 MRECV instruction
Setting data
b15
to
b10 b9
b8
0
0
*2
Execution type (bit 9)
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].
S
1: Clock data at the time of error completion is set in the area
starting from
[11].
S
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
Specify the number of a mail to be read when multiple mails are
received.
0
: First mail
1 or more
: Specified mail
Specify the data length (header + attached file) of the mail that can be
stored in
to
+n. (Header: 1 to 373, attached file: 1 to 6144)
d1
d1
0
: Adjust data length to that of the received mail.
1 to 6517
: The number of data that can be stored in (
+ n)
d1
Data length (header + attached file) of the mail stored in
stored.
1 to 6517: The number of receive data stored in (
Specify the header data length of the mail that can be stored in
+ n.
d1
0
: Adjust header data length to that of the received
mail.
1 to 373
: The number of data that can be stored in (
+ n)
d1
Header data length of the mail stored in
1 to 373: Number of receive data stored in (
Valid/invalid status of the data in the area starting from
0: Invalid
1: Valid
b7
to
b0
0
d1
to
+ n is
d1
d1
to
+ n)
d1
d1
to
d1
d1
to
+ n is stored.
d1
d1
to
+ n)
d1
d1
[12] is stored.
S
Setting range
Setting side
0000
,
H
0080
,
H
User
0200
,
H
0280
H
System
0 or more
User
0 to 6517
User
(word)
to
* Includes the
header length
explained
below.
System
User
0 to 373
to
(word)
System
0,1
System
*1

Advertisement

Table of Contents
loading

Table of Contents