Mitsubishi Electric Melsec Q Series User Manual page 176

Ethernet interface module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

6 DEDICATED INSTRUCTIONS
Control data
Device
Execution/complete type
(S1) + 0
Send data format
(S1) + 1
Completion status
(S1) + 2
Send destination number
(S1) + 3 to (S1) + 8
System area
(S1) + 9
Send data length
(S1) + 10
Subject length
(S1) + 11
Clock set flag
(S1) + 12
(S1) + 13
Clock data
(set only when abnormal)
(S1) + 14
(S1) + 15
6 - 9
Item
b15
to
b12
0
1) Complete type (bit 7)
Designate whether or not the setting of the clock data is
required at abnormal completion.
0: Clock data setting is not required.
The clock data at error occurrence is not set in (S1) + 11
to (S1) + 15.
1: Clock data setting is required.
The clock data at error occurrence is set in (S1) + 11 to
(S1) + 15.
2) Send data format (bit 12 to bit 8)
Designate the format of data to be sent.
(When sending data as an attached file)
b12 b11 b10 b9
0
0
0
1
0
1
(When sending data as the main text)
b12 b11 b10 b9
1
0
[Precautions when designating the main text of e-mail]
• The setting of (bit 11 to bit 8) is invalid when the main text is
designated.
• Designate the main text using ASCII characters in a
sequence program (the Ethernet module does not convert it
to ASCII).
• The following binary code data is treated as control codes.
0D0A
: Line feed code, CR + LF
H
00
: End of the main text
H
• It is recommended to limit the data written in one line of the
main text to 78 characters or less.
(Be sure to add a line feed code, CR + LF (0D0A
end of lines of the main text.)
Store the status at completion of the instruction.
0: Normal
Other than 0: Abnormal (error code) (
Designate the external device to which the e-mail is sent by the
setting number of the "Ethernet send mail address setting" with a
programming tool.
1 to 16: The setting number of the destination external device
Designate the data length ((Subject + attached file) or (Subject +
main text)) of the e-mail stored in (S2) + 0 to (S2) + n.
1) When sending data as an attached file (Subject: 0 to 373,
attached file: 1 to 6144)
1 to 6517: The data length of e-mail (words)
2) When sending data as the main text
(Subject: 0 to 373, Main text: 1 to 960)
1 to 1333: The data length of e-mail (words)
Designate the data length of the Subject of the e-mail stored in
(S2) + 0 to (S2) + n.
0 to 373: The data length of the Subject (words)
This stores the valid/invalid status of the clock data in ((S1) + 12
to (S1) + 15).
0: Invalid
1: Valid
Higher 8 bits: month (01
lower 8 bits: last 2 digits of year (00
Higher 8 bits: hour (00
lower 8 bits: date (01
Higher 8 bits: second (00
lower 8 bits: minute (00
Higher 8 bits: first 2 digits of year (00
lower 8 bits: day of the week (00
Set data
b8
b7
to
2)
1)
b8
Data format
0
0
0
Binary data
ASCII data (converted from binary
0
0
0
to ASCII)
CSV data (converted from binary
0
0
1
to CSV)
b8
Data format
0
0
0
Binary data
3
)
to 12
),
H
H
to 99
)
H
H
to 23
),
H
H
to 31
)
H
H
to 59
),
H
H
to 59
)
H
H
to 99
),
H
H
(Sunday) to 06
H
MELSEC-Q/L
Setting range
to
b0
0
(As described in
the left)
), at the
H
1 to 16
1 to 6517
or
1 to 1333
0 to 373
(Saturday))
H
2
Set by (
)
User
System
User
User
User
System
System
6 - 9

Advertisement

Table of Contents
loading

Table of Contents