74
The SP.SLMPSND instruction is normally completed even if the external device returns an abnormal response. When the
SP.SLMPSND instruction is completed normally, 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 external device being used
and take corrective action.
• An available port number F000
H
to FFFE
H
is used for the SP.SLMPSND instruction as a host station port
number. Therefore, during the execution of the SP.SLMPSND instruction, do not specify F000
H
to FFFE
H
as a host station port number for other functions such as the SP.SOCOPEN instruction and the iQ Sensor
Solution function of the built-in Ethernet port. If these numbers are set, the function may not be completed
properly.
(8) Program example
When M4000 is turned on, this sample program sends "Batch read in word units (command: 0401
H
)" to the CPU
module on another station for which the IP address has been set to 192.168.20.4, and reads the values in D100
to D101 (two words).
Setting clock data at completion with an error
(with arrival check)
Specifying own station channel
IP address of external device (192.168.20.4)
Destination port number
Request destination module I/O number
Number of resends
Arrival monitoring time
Request data length
Monitoring timer
Request data
(batch read command (word unit))
Execution of the SP.SLMPSND instruction
Normal completion
Error completion
Содержание melsec q03ud(E)cpu
Страница 2: ......
Страница 11: ...9 Memo ...
Страница 209: ...207 APPENDICES A Appendix 4 Specifications Comparison with Ethernet Module Memo ...
Страница 213: ...211 Memo ...
Страница 219: ......