Close (Connection Close) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

17.8 CLOSE (Connection Close)

Ladder diagram
(Note 1)
The above figure shows the case that S1=U100 (built-in ET-LAN in the CPU unit) and S2=U1
(connection number 1) are specified by the UNITSEL instruction.
List of operands
Operand
Description
S
Device address storing the connection number to be closed or a constant.
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
S
Outline of operation
● This instruction closes a specified connection.
Processing
● The communication circuit of the connection specified by [S] is closed.
● When the communication circuit is already closed, this instruction is not executed.
● The completion of the close operation can be confirmed by the status (OFF) of the clear to
send flag for the master communication or general-purpose communication.
● This instruction can be executed when the IP address establishment flag (X62) is ON. As an
execution condition of the instruction, insert a program that checks the status of the flag
(X62). If this instruction is executed when the flag (X62) is OFF, the system relay SR9 (carry
flag CY) is set and the instruction is terminated without being executed.
● When the connection is occupied, the system relay SR9 (carry flag CY) is set and this
instruction is not executed.
● When the instruction is completed successfully, the system relay SR9 (carry flag CY) and the
system data register SD29 (Ethernet communication error code) are cleared.
WUME-FP7CPUPGR-12
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
17.8 CLOSE (Connection Close)
32-Bit
device:
TS
TE
U
W
WI
IX
C
C
M
O
S
E
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
F
Index
modifie
r
17-41

Advertisement

Table of Contents
loading

Table of Contents