Mitsubishi Electric Melsec Q Series User Manual page 171

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

Advertisement

6 DEDICATED INSTRUCTIONS
Control data
Device
(S) + 0
Execution type/complete type
(S) + 1
Completion status
(S) + 2
Mail number to be read
(S) + 3
to
System area
(S) + 8
Receive
(S) + 9
data length
Header
(S) + 10
length
(S) + 11
Clock set flag
(S) + 12
(S) + 13
Clock data
(set only when abnormal)
(S) + 14
(S) + 15
6 - 4
Item
b15
to
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 (S) + 11
to (S) + 15.
1: Clock data setting required.
The clock data at error occurrence is set in (S) + 11 to
(S) + 15.
2) Execution type (bit 9) (
Designate whether or not to inquire if there are more mails on
the server after reading receive mails.
0: Do not inquire. (Do not read the receive mail information.)
1: Inquire (Read the receive mail information)
Store the status at completion of the instruction.
0: Normal
Other than 0: Abnormal (error code) (
Designate the mail number to be read when multiple mails are
received.
0: Head mail
1 or higher: Designated mail
Designate the data length (header + attached file) of the e-mail
that can be stored in (D1) + 0 to (D1) + n (header: 1 to 373,
At instruction
attached file: 1 to 6144).
execution
0: Adjust to the data length of the received e-mail.
1 to 6517: The number of data that can be stored in (D1 to D1
This stores the data length (header + attached file) of the e-mail
At instruction
stored in (D1) + 0 to (D1) + n.
completion
1 to 6517: The number of received data stored in (D1) + 0 to
Designate the data length of the mail's header that can be stored
in (D1) + 0 to (D1) + n.
At instruction
0: Adjust to the header data length of the received mail.
execution
1 to 373: The number of data that will be stored in
(D1 to D1 + n).
Store the data length of the mail's header that was stored in (D1)
At instruction
+ 0 to (D1) + n.
completion
1 to 373: The number of receive data that was stored in (D1 to
D1 + n).
Store the valid/invalid status of the clock data in ((S) + 12 to (S) +
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
b10 b9
b8
b7
2)
0
1)
3
)
4
)
+ n)
(D1) + n
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
0000
H
0080
H
0200
H
0280
H
0 or higher
0 to 6517
(Words)
Including the
header length
described below
0 to 373
(Words)
(Saturday))
H
2
Set by (
)
User
System
User
User
System
User
System
System
System
6 - 4

Advertisement

Table of Contents
loading

Table of Contents