Receiving side
■Labels
Classification
Label name
Module label
RCPU.stSM.bAlways_ON
GN11_SE_1.uCompletion_EthernetInitialized_D.0
GN11_SE_1.bnCompletion_ConnectionOpen[1]
GN11_SE_1.bnCompletion_ReceiveSocket[1]
Label to be defined
Define global labels as shown below:
FBs to be used
• M+RJ71GN11_SE_Refresh_Data
• M+RJ71GN11_SE_Recv_Socket
(0)
The refresh processing of the module label is performed. (The processing is required when using the module function block.)
When the refresh processing is completed, M0 is turned on.
(46) When M9 is turned on, the data sent by the external device of connection No.1 is received and stored in D2000.
(The device range in which data is stored varies depending on the data length of the received data.) When the data receive is completed successfully,
M11 is turned on.
Description
Always on
Initial completion status
Open completion status (connection No.1)
Socket reception status (connection No.1)
11.4 Example of Socket Communications
Device
SM400
U0\G6291480.0
U0\G6291456.0
U0\G6291472.0
11 PROGRAMMING
253
11