Omron CJ1W-ETN11 Operation Manual page 173

Sysmac cs/cj series ethernet units
Hide thumbs Also See for CJ1W-ETN11:
Table of Contents

Advertisement

Using Socket Services with CMND(490)
Continued from previous page.
000002
000002
000202
A020200
000002
000202
A20200
150902
000002
000202
A20200
150902
000003
000003
000203
A020200
000003
000203
A020200 150901
000003
000203
A20200
150901
152
@RSET
@SET
CMND(490)
RSET
150914
SET
<>(305)
D03010
#0000
A021900
RSET
@RSET
@SET
CMND(490)
RSET
150914
SET
<>(305)
D4020
#0000
A021900
RSET
END(001)
TCP Send
When the TCP Send Bit (CIO 000002) turns ON, the
000102
TCP Send Error Flag (CIO 000102) is turned OFF and
the TCP Sending Flag (CIO 000202) is turned ON to
initialize processing.
000202
When the TCP Sending Flag (CIO 000202) turns ON,
the status of the Port Enabled Flag (A20200) is checked
D02000
to be sure it is ON and a TCP SEND REQUEST com-
D03000
mand is sent using CMND(490).
D02000: First command word
D00020
D03000: First response word
D00020: First control data word
The TCP Sending Flag (CIO 000202) is also turned
000202
OFF.
If the Port Enabled Flag (A20200) turns ON and the
000102
Sending Flag (CIO 150902) turns OFF while the TCP
Sending Flag (CIO 000202) is OFF, checks are made
and if any of the following are true, the TCP Send Error
Flag (CIO 000102) is turned ON.
The Results Storage Error Flag (CIO 150914) is ON.
The contents of the Response Storage Area set in the
command code (D03010) is not 0000 Hex (normal end).
The Network Communications Error Flag (A21900) is
ON.
000002
After the execution results have been checked, the TCP
Send Bit (CIO 000002) is turned OFF.
TCP Receive
When the TCP Receive Bit (CIO 000003) turns ON, the
000103
TCP Receive Error Flag (CIO 000103) is turned OFF
and the TCP Receiving Flag (CIO 000203) is turned ON
to initialize processing.
000203
When the TCP Receiving Flag (CIO 000203) turns ON,
the status of the Port Enabled Flag (A20200) is checked
D04000
to be sure it is ON and a TCP RECEIVE REQUEST
D04010
command is sent using CMND(490).
D04000: First command word
D00030
D04010: First response word
D00030: First control data word
The TCP Receiving Flag (CIO 000203) is also turned
OFF.
000203
If the Port Enabled Flag (A20200) turns ON and the Re-
000103
ceiving Flag (CIO 150901) turns OFF while the TCP Re-
ceiving Flag (CIO 000203) is OFF, checks are made and if
any of the following are true, the TCP Receive Error Flag
(CIO 000103) is turned ON.
The Results Storage Error Flag (CIO 150914) is ON.
The contents of the Response Storage Area set in the
command code (D04020) is not 0000 Hex (normal end).
The Network Communications Error Flag (A21900) is ON.
After the execution results have been checked, the TCP
000003
Receive Bit (CIO 000003) is turned OFF.
Section 6-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-etn11Cs/cj seriesCs1w-etn01W343-e1-07

Table of Contents