(5) Program example
When M4000 is turned on, connection No.1 is set to the TCP fixed-length receive mode and the receive data size
is set to 256 bytes.
After execution of the instruction and when the receive data size of connection No.1 reaches 256 bytes, the
Receive state signal is turned on.
• Device used
D400
• Program
132
Device number
Application
SP.SOCRMODE instruction control data
Setting TCP receive mode to 1
Setting receive data size to 256
Changing receive mode of
Connection No.1