Jetter AG
493
JC-120MC
Programming
When using TCP/IP, data are sent via a previously opened connection.
Therefore, specification of the IP address and IP port number is not required
anymore and can be ignored in the function.
In the following cases, the task is not processed further after issuing the
function call:
The data have been sent and their reception confirmed.
An error has occurred.
If, with a client, data are to be sent via a UDP/IP connection, you can invoke
the function and assign the return value of a variable for further evaluation as
follows:
Result := ConnectionSendData(hConnection,
IP#192.168.75.123
,
46000
,
SendBuffer,
SendLen);
With UDP/IP there is no connection between two given network clients.
Therefore, with each function call data can be sent to another client or another
port. The task will pause at the function call until the data are sent.
You will not get any acknowledgment of the remote network client having
received the data.
Initializing the user-programmable IP interface
(see page 487)
Establishing a connection
(see page 488)
Terminating a connection
(see page 497)
Receiving data
(see page 494)
Functioning principle
with a TCP/IP connection
Using this function with
a UDP/IP client
Functioning principle
with a UDP/IP client
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: ......