5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5.4.25 MSEND instruction
5-157
5
QCP
U
IN
S
T
RUCTI
O
N
DE
TA
IL
S
ZP
_MSEND
ZP_MSEND
C
ont
r
o
l Da
t
a
Device
Item
Setting data
Setting range
Setting side
*1
[0]
Execution/Error completion
type
Send data format
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].
Send data format (bit 12 to bit 8)
Specify the data format of the send data.
(Sending the data as an attached file)
(Sending the data as a text)
[Precautions for specifying a text]
• When a text is specified, setting at bit 11 to bit 8 is invalid.
• Specify the text in ASCII characters in a sequence program.
(Ethernet module does not convert text into ASCII characters.)
• The following binary code data are treated as control codes.
0D0A
H
: Line feed code, CR+LF
00
H
: End of the textt
• The number of characters per line in a text to 78 characters or
less
• (Enter the line feed code, CR+LF (0D0A
H
), at the last line of a
text.)
(See the left
column.)
User
[1]
Completion status
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
–
System
[2]
Transmission destination
No.
Specify the external device to which e-mails are to be sent by the
setting number on [Send mail address setting] of GX Works2.
1 to 16: Setting number of the external device
1 to 16
User
[3]
[8]
System area
–
–
–
[9]
Send data length
Specify the data length ((s attached file) or (s text)) of
the mail stored in
to
+ n.
Sending the data as an attached file (subject: 0 to 373, attached
file: 1 to 6144)
1 to 6517: Data length (word) of a mail
Sending the data as a text (subject: 0 to 373, text: 1 to 960)
1 to 1333: Data length (word) of a mail
1 to 6517,
1 to 1333
User
[10]
Subject length
Specify the subject data length of the mail stored in
to
+ n.
0 to 373: Data length (word) of subject
0 to 373
User
S1
b15
b7
b0
to
①
②
0
0
to
to
b8
b12
○
S1
○
S1
b12
b11
b10
b9
b8
Data format
0
0
0
0
0
Binary data
0
1
0
0
0
ASCII data (converted from
binary into ASCII)
0
1
0
0
1
CSV data (converted from
binary into CSV)
b12
b11
b10
b9
b8
Data format
1
0
0
0
0
Binary data
S1
S1
S1
to
S1
S1
○
S2
○
S2
S1
○
S2
○
S2
Содержание 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: ......