Mitsubishi MELSEC L Series User Manual page 76

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

(4) Error
A detection of an operation error turns on the Error flag (SM0) and a corresponding error code is stored in SD0
when:
• The connection number specified for
• The device numbers specified for
• An invalid device is specified.
(5) Program example
When M3000 is turned on, data (1234, 5678, and 8901) are sent to the target device using the socket
communication function.
• Devices used
SD1282
D3000
D300
M300
• Program
74
is other than 1 to 16.
S1
,
, and
S2
S3
Device number
exceed the device point range.
D
Open completion signal
SP.SOCSND instruction control data
Send data length and send data storage location
SP.SOCSND instruction completion device
(Error code: 4101)
(Error code: 4101)
(Error code: 4004)
Application
Setting send data length
Setting send data
Sending data to
Connection No.1
Normal completion
Error completion

Advertisement

Table of Contents
loading

Table of Contents