Delta AS Series Programming Manual page 1085

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
5.
Establishing a connection (Network 1); When M0 is ON, the system checks whether the socket is closed (SM1274
= ON), NOT connected (SM1270 = OFF), or NOT being connected (SM1273 = OFF). If the socket is not closed,
has not been connected, and is not being connected, the system performs the connection procedure. Once the
socket is connected (SM1270 = ON), M0 is switched to OFF.
6.
Sending data (Network 3): When M1 is ON, the system checks whether the socket has been connected (SM1270
= ON), and no data is being sent yet (SM1275 = OFF). If the socket has been connected and no data is being sent,
the system starts to send the data. If the socket has not been connected, the system does not execute the
instruction. After the data has been sent (SM1272 = ON), M1 is switched to OFF.
7.
Receiving data (Network 4): When M2 is ON, the system checks whether the socket has been connected and the
flag (SM1271) for data received is ON. If the socket has been connected and the flag for data received is ON, then
the data has already been received. But that does NOT necessary mean it has reached its maximum length of
receiving. After the data has been received (SM1271 = ON), M2 and SM1271 are switched to OFF.
8.
Closing a connection (Network 5): When M3 is ON, the system checks whether the socket has been connected. If
the socket has been connected (SM1270 = ON), and the connection is not yet closed (SM1274 = OFF), the system
is going to close the connection. If the socket has not been connected, the system does not execute the
instruction. After the connection is closed (SM1274 = ON), M3 is switched to OFF.
_6
_6
6 - 8 0 6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents