Target UDP Send

<< Click to Display Table of Contents >>

Navigation:  Hardware Modules > aMG EthernetINF > Waijung Simulink block support > Socket >

Target UDP Send

Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?

udp_target_send_block

What can be configured?

udp_target_send_mask

Configuration item

Selectable option/ Value

Description

Destination port

Port number

Specify port of target destination for send data to.

Destination address

IP address

Specify IP address of target destination for send data to.

Transfer

Blocking | Non-blocking

Note: In this case, only Non-blocking is supported.

Data

Ports | Vector

Use Ports, for sending or receiving a small data, or use Vector for large data.

Number of data port, type DOUBLE

(specify number)

Number of data port corresponding to this data type.

Number of data port, type SINGLE

(specify number)

Number of data port corresponding to this data type.

Number of data port, type INT8

(specify number)

Number of data port corresponding to this data type.

Number of data port, type UINT8

(specify number)

Number of data port corresponding to this data type.

Number of data port, type INT16

(specify number)

Number of data port corresponding to this data type.

Number of data port, type UINT16

(specify number)

Number of data port corresponding to this data type.

Number of data port, type INT32

(specify number)

Number of data port corresponding to this data type.

Number of data port, type UINT32

(specify number)

Number of data port corresponding to this data type.

Data type

double | single | int8 | uint8 | int16 | uint16 | int32 | uint32

Note: This mask configuration available when select data port as vector.

Port width

(Specify vector port width)

Note: This mask configuration available when select data port as vector.

Sample time (sec)

(Sample time value)

Specify sample time value.

Status port

The output Status port use for indicate the status of sent data.

Status 0 is success, otherwise fail.

Demo

UDP_Send-Receive_Demo