Jetter AG
225
JVM-407B
Programming
The task stops at the program line until the connection is established or the
specified timeout has elapsed. This function is processed in the following
steps:
Step
Description
1
The device JVM-407B sets up TCP/IP port 46000 for receiving connection
requests.
2
If ...
... then ...
the network client has established
a connection,
no further connection requests to
this port are accepted, the function
is terminated and a positive value is
returned as handle for further
access to the connection.
the connection could not be
established and the timeout of 100
seconds has not elapsed yet,
the system waits for a connection to
be established.
an error has occurred or the
timeout has elapsed,
the function is terminated and a
negative value is returned.
If a client is to establish a UDP/IP connection to a server, you can invoke the
function and assign the return value of a variable for further evaluation as
follows:
Result := ConnectionCreate(CONNTYPE_CLIENT,
IPTYPE_UDP,
0
,
0
,
0
);
UDP is a connectionless communication mode. For this reason, the device
JVM-407B opens only one communication channel for sending data to a
network client. This function is processed in the following steps:
Step
Description
1
The device JVM-407B sets up a UDP/IP communication channel for
sending data.
2
If ...
... then ...
no error has occurred,
the function is terminated and a
positive value is returned as handle
for further access to the connection.
an error has occurred,
the function is terminated and a
negative value is returned.
Functioning principle
with a TCP/IP server
Using this function with
a UDP/IP client
Functioning principle
with a UDP/IP client
Содержание JVM-407B-HMI
Страница 1: ...User Manual JVM 407B HMI 60879892 We automate your success...
Страница 14: ......
Страница 26: ...26 Jetter AG 2 Product description and design Rear view...
Страница 34: ......
Страница 80: ......
Страница 98: ...98 Jetter AG 5 Initial commissioning Initial commissioning in JetViewSoft see page 86 Related topics...
Страница 106: ......
Страница 144: ......
Страница 168: ......
Страница 178: ......
Страница 182: ......
Страница 196: ...196 Jetter AG 10 Programming If Merker1 Then Inc Status_LEDs Delay T 100ms End_If End_Loop End_Task...
Страница 220: ...220 Jetter AG 10 Programming Topic Page Programming 221 Registers 233 Sample programs 238 Contents...
Страница 258: ......
Страница 268: ......
Страница 274: ......
Страница 294: ...294 Jetter AG Appendix Rear view...
Страница 299: ......