Jetter AG
491
JC-120MC
Programming
If a server 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_SERVER,
IPTYPE_UDP,
0
,
46000
,
0
);
UDP is a connectionless communication mode. For this reason, the device
JC-120MC opens only one communication channel for receiving data from a
network client. This function is processed in the following steps:
Step
Description
1
The device JC-120MC sets up a UDP/IP communication channel at port
46000 for receiving 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.
Terminating a connection
(see page 497)
Sending data
(see page 492)
Receiving data
(see page 494)
Initializing the user-programmable IP interface
(see page 487)
Using this function with
a UDP/IP server
Functioning principle
with a UDP/IP server
Related topics
Summary of Contents for JC-120MC
Page 1: ...User Manual JC 120MC Controller 60880901 We automate your success...
Page 18: ......
Page 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...
Page 160: ......
Page 186: ......
Page 196: ......
Page 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...
Page 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...
Page 586: ......
Page 604: ......
Page 633: ......