Mitsubishi QCPU Structured Programming Manual page 195

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

Advertisement

Control Data
Device
Item
Execution/Error completion
type
[0]
S1
Send data format
Completion status
[1]
S1
Transmission destination
[2]
S1
No.
[3]
S1
System area
to
[8]
S1
Send data length
[9]
S1
Subject length
[10]
S1
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
Setting data
b15
b12
b8
to
to
0
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].
S1
1: Clock data at the time of error completion is set in the area starting
from
[11].
S1
Send data format (bit 12 to bit 8)
Specify the data format of the send data.
(Sending the data as an attached file)
b12
b11
b10
b9
b8
0
0
0
0
0
1
0
0
0
1
0
0
(Sending the data as a text)
b12
b11
b10
b9
b8
1
0
0
0
[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
: Line feed code, CR+LF
H
00
: End of the textt
H
• The number of characters per line in a text to 78 characters or
less
• (Enter the line feed code, CR+LF (0D0A
text.)
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
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
Specify the data length ((subject + attached file) or (subject + text)) of
the mail stored in
to
+ n.
S2
S2
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
Specify the subject data length of the mail stored in
0 to 373: Data length (word) of subject
b7
to
b0
0
Data format
0
Binary data
ASCII data (converted from
0
binary into ASCII)
CSV data (converted from
1
binary into CSV)
Data format
0
Binary data
), at the last line of a
H
to
+ n.
S2
S2
5.4.25 MSEND instruction
ZP_MSEND
*1
Setting range
Setting side
(See the left
User
column.)
System
1 to 16
User
1 to 6517,
User
1 to 1333
0 to 373
User
5-157
5

Advertisement

Table of Contents
loading

Table of Contents