Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 761

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Device
Item
(s1)+12
Clock setting flag
(s1)+13
Clock data
(Set only when error)
(s1)+14
(s1)+15
(s1)+16
(s1)+17
IP address of error
detected device (third
and fourth octets)
(s1)+18
IP address of error
detected device (first
and second octets)
*1 If (s1)+0 is set to "0: Without arrival check", receive data is not set. Set 0 in (s1)+0 in the following cases:
 When a command that does not return a response message is used
 When a response message is not referred to
*2 When "0" or "255" is specified to the fourth octet of the IP address of the target device, a send error occurs and the SP.SLMPSND
instruction is completed with an error.
In addition, the error code (C1CDH (SP.SLMPSND instruction message send error)) is stored in the completion status.
• When data of the error completion type (the 7th bit of (s1)+0) is set to "1" and "0", the operations are shown below.
Error completion type
(The 7th bit of (s1)+0)
0: Do not set the data at completion with an
error
1: Set the data at completion with an error
■Request frame
Device
Item
(s2)+0
Request data length
(s2)+1
Monitoring timer
(s1)+2 to
Request data
(s1)+n
■Response frame
Device
Item
(d1)+0
Response data length
(d1)+1
End code
(d1)+2 to
Response data
(d1)+n
*1 For the set error code and the corresponding error description, check the specifications of the target device.
*2 For details of the response data, refer to the MELSEC iQ-F FX5 User's Manual (SLMP).
Description
The validity status (valid or invalid) of the data in (s)+13 and later is stored.
• 0: Invalid
• 1: Valid
Upper 8 bits: Month (01H to 12H)
Lower 8 bits: Year (00H to 99H: Lower two digits of the year)
Upper 8 bits: Hour (00H to 23H)
Lower 8 bits: Day (01H to 31H)
Upper 8 bits: Second (00H to 59H)
Lower 8 bits: Minute (00H to 59H)
Upper 8 bits: Year (00H to 99H: Upper two digits of the year)
Lower 8 bits: Day of the week (00H (Sun.) to 06H (Sat.))
The IP address (third and fourth octets) of the station where an error was detected is
stored.
b15
b8
b7
3
3, 4: Indicates the octets of the IP address.
The IP address (first and second octets) of the station where an error was detected is
stored.
b15
b8
b7
1
1, 2: Indicates the octets of the IP address.
Completion status
(s1)+1
Normal completion
Error completion
Normal completion
Error completion
Description
Specify the data length from the monitoring timer to the request data. (In units of
bytes)
This timer sets the waiting time for the target device that received a request message
to wait for response to processing request issued to the request destination. (Unit:
Increments of 250 ms)
• 0: Infinite wait
• 1 to 65535: 1 to 65535  250 ms
The request data of the SLMP message is stored.
Description
The data length from the end code to the response data is stored. (In units of bytes)
The result of command processing is stored. In normal end, 0 is stored. In abnormal
end, an error code set by the target device is stored.
Execution results for the request data are set.
(Some commands do not return response data.)
b0
4
b0
2
Clock setting flag
Clock data
(s1)+12
(s1)+13 to 16
0: Invalid
0 (Clear)
0: Invalid
0 (Clear)
0: Invalid
0 (Clear)
1: Valid
Set the information at
completion with an error.
*1
10 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
10.4 SLMP Frame Send Instruction
Setting range
Set by
System
System
System
System
IP address of error
detected device
(s1)+17, 18
0 (Clear)
0 (Clear)
0 (Clear)
Set the information at
completion with an error.
Setting range
Set by
1 to 2000
User
0 to 65535
User
User
Setting range
Set by
2 to 2000
System
System
*2
System
759
10

Hide quick links:

Advertisement

loading