222
5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
Setting data
• Send data
Device
Item
Setting data
Setting
range
Setting
side
(s1)[0]
Execution/Error
completion type Send
data format
(1) 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 (s1)[11].
1: Clock data at the time of error completion is set in the area starting from (s1)[11].
(2) Send data format (bit 12 to bit 8)
Specify the data format of the send data.
(Sending the data as an attached file)
• Binary data
• ASCII data (converted from binary into ASCII)
• CSV data (converted from binary into CSV)
(Sending the data as a text)
• Binary data
[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.
0D0AH: Line feed code, CR+LF
00H: End of the text
• The number of characters per line in a text to 78 characters or less (Enter the line
feed code, CR+LF (0D0AH), at the last line of a text.)
(Refer to the
left.)
User
(s1)[1]
Completion status
The instruction completion status is stored.
0: Normal completion
Other than 0: Error completion (error code)
System
(s1)[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
(s1)[3]
(s1)[8]
System area
(s1)[9]
Send data length
Specify the data length ((s attached file) or (s text)) of the mail stored in
(s2) to (s2)+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
0 to 6517
or
1 to 1333
User
(s1)[10]
Subject length
Specify the subject data length of the mail stored in (s2) to (s2)+n.
0 to 373: Data length (word) of subject
0 to 373
User
(s1)[11]
Clock set
flag
Valid/invalid status of the data in the area starting from (s1)[12] is stored.
0: Invalid
1: Valid
System
(s1)[12]
(s1)[15]
Clock data
(set only when errors
occur)
Clock data at the time of error completion are stored in BCD format.
System
Device
Item
Setting data
Setting
range
Setting
side
(s2)+0
(s2)+n
Send data
Specify the content of ((s attached file) or (S text)) of a mail to be sent.
User
b15
b7
b0
…
(1)
(2)
0
0
…
…
b8
b12
b15
b8 b7
to
b0
to
s1
s1
s1
s1
Month (01
H
to 12
H
)
Hour (00
H
to 23
H
)
Second (00
H
to 59
H
)
Year (00
H
to 99
H
) First two digits
Year (00
H
to 99
H
) Last two digits
Day (01
H
to 31
H
)
Minute (00
H
to 59
H
)
Day of week (00
H
to 06
H
)
00v (Sun.) to 06
H
(Sat.)
[12 ]
[13 ]
[14 ]
[15 ]
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......