10 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
10.4 SLMP Frame Send Instruction
759
10
*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.
■
Request frame
■
Response frame
*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).
(s1)+12
Clock setting flag
The validity status (valid or invalid) of the data in (s)+13 and later is stored.
• 0: Invalid
• 1: Valid
System
(s1)+13
Clock data
(Set only when error)
Upper 8 bits: Month (01H to 12H)
Lower 8 bits: Year (00H to 99H: Lower two digits of the year)
System
(s1)+14
Upper 8 bits: Hour (00H to 23H)
Lower 8 bits: Day (01H to 31H)
(s1)+15
Upper 8 bits: Second (00H to 59H)
Lower 8 bits: Minute (00H to 59H)
(s1)+16
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.))
(s1)+17
IP address of error
detected device (third
and fourth octets)
The IP address (third and fourth octets) of the station where an error was detected is
stored.
3, 4: Indicates the octets of the IP address.
System
(s1)+18
IP address of error
detected device (first
and second octets)
The IP address (first and second octets) of the station where an error was detected is
stored.
1, 2: Indicates the octets of the IP address.
System
Error completion type
(The 7th bit of (s1)+0)
Completion status
(s1)+1
Clock setting flag
(s1)+12
Clock data
(s1)+13 to 16
IP address of error
detected device
(s1)+17, 18
0: Do not set the data at completion with an
error
Normal completion
0: Invalid
0 (Clear)
0 (Clear)
Error completion
0: Invalid
0 (Clear)
0 (Clear)
1: Set the data at completion with an error
Normal completion
0: Invalid
0 (Clear)
0 (Clear)
Error completion
1: Valid
Set the information at
completion with an error.
Set the information at
completion with an error.
Device
Item
Description
Setting range
Set by
(s2)+0
Request data length
Specify the data length from the monitoring timer to the request data. (In units of
bytes)
1 to 2000
User
(s2)+1
Monitoring timer
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
0 to 65535
User
(s1)+2 to
(s1)+n
Request data
The request data of the SLMP message is stored.
User
Device
Item
Description
Setting range
Set by
(d1)+0
Response data length
The data length from the end code to the response data is stored. (In units of bytes)
2 to 2000
System
(d1)+1
End code
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.
System
(d1)+2 to
(d1)+n
Response data
Execution results for the request data are set.
(Some commands do not return response data.)
System
Device
Item
Description
Setting range
Set by
b15
b7
b8
b0
3
4
b15
b7
b8
b0
1
2
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......