Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 763

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

Advertisement

Ex.
Sending "Device Read (command: 0401H)" which reads the value in D100 to D102
●Request data
...
...
b15
b8b7
b0
(s2)+2
04H
01H
(s2)+3
00H
00H
(s2)+4
00H
64H
(s2)+5
A8H
00H
(s2)+6
00H
03H
Precautions
Specify the arrival monitoring time ((S1)+11) of the control data and monitoring timer ((S2)+1) of the request frame so that the
arrival monitoring timemonitoring timer.
CPU module
(1)
(s1)+11
(s2)+1
(4)
(1) Request message
(2) Processing request from target device to request destination
(3) Processing response from request destination to target device
(4) Response message
The SP.SLMPSND instruction is successfully completed even if the target device returns an abnormal
response. When the SP.SLMPSND instruction is completed successfully, whether the response is normal or
abnormal can be identified by the end code of the response frame. When an abnormal response is returned,
check the manual of the SLMP-compatible device being used and take corrective action.
Operation error
Error code
Description
(SD0/SD8067)
3405H
The value set to (s1)+2 as own station channel is out of the range, 1 to 9.
The value set to (s2)+0 as the request data length is out of the range, 1 to 2000.
Upon completion with an error, the completion status indication device (d2)+1 is turned on and an error code is stored in the
completion status (s1)+1. For the error code stored in the completion status (s1)+1, refer to the following.
 MELSEC iQ-F FX5 User's Manual (Ethernet Communication)
Command
Subcommand
Head device No.
01H
04H
00H
00H
64H
00H
Request
Target device
destination
(2)
(3)
Device
No. of device
code
points
00H
A8H
03H
00H
10 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
10.4 SLMP Frame Send Instruction
10
761

Hide quick links:

Advertisement

loading