Download User`s Manual

Transcript
CHAPTER 7 GMWIN FUNCTION BLOCK
LD
IL
LD
ST
CAL
1
CON
E_CONN
CON_ACT
EN:=
CON
NET_NO:=
0
IP_ADDR:
‘165.244.149.190’
SD_PORT:
5000
METHOD:= GLOFA_TCPACT’
CH_NO:=
1
If the ‘CON’ contact turns ‘ON’ as Function Block condition, it demands connection with the
number ’1’ channel among the 16 channels of the local station and the port number 5000 of
the destination station. In this case, it is performed through the TCPACT method (METHOD)
which sends the data from the destination station to the local station on the demond. If the
destination station responds to the connection demand of the local station, the connection is
completed between the two stations. In this case, it shows the results through the ‘CH_EN’
output.
The
user
can
use
this
bit
to
communicate,
using
‘TCP_SEND’, ’TCP_RCV’, ’UDP_SEND’, ’UDP_RCV’ Enable Condition.
7-9