Difference between revisions of "HANcoder/STM32/Blocks/UDP Client Send"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
(Created page with "{{HANcoder/block| info= With this block you can send a data packet to a UDP server at the specified IP address on the specified port. |blockImage= UDPClientSend.png |maskIm...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{HANcoder/block|
+
{{HANcoder/Block/UDP
 
+
|info=
info=
 
 
With this block you can send a data packet to a UDP server at the specified IP address on the specified port.
 
With this block you can send a data packet to a UDP server at the specified IP address on the specified port.
  
 
|blockImage=
 
|blockImage=
 
UDPClientSend.png
 
UDPClientSend.png
 
 
|maskImage=
 
|maskImage=
 
UDPClientSendMask.png
 
UDPClientSendMask.png
  
 +
}}
 +
 +
== Inputs (inports) ==
 +
Data inputs, data type and number of inputs can be changed in mask
 +
 +
== Block parameters ==
 +
{| class="wikitable"
 +
|-
 +
! style="width:150px" | Parameter
 +
! Description
 +
|-
 +
| IP address
 +
| Enter the destination IP address, numbers 1 to 4.
 +
|-
 +
| Port
 +
| Enter the destination port
 +
|-
 +
| Input ports
 +
| Select the number of inputs, this changes the amount of inports of the block.
 +
|-
 +
| Input data type
 +
| Select the data type of the inputs (all inputs must have the same data type)
 +
|-
 +
| Byte order
 +
| Set the appropriate byte ordering for your CAN message:Checkbox checked = Most Significant Bit (MSB) is send first (Motorola format).Checkbox unchecked = Least Significant Bit (LSB) is send first (Intel format).
 +
|-
 +
| Sample time
 +
| The block execution time, the amount of time between consecutive executions of the block. 0.1 means the the block will be executed at 10 Hz.
 +
|}
 +
 +
{{HANcoder/BlockFooter|
 +
|SeeAlso = [[HANcoder/STM32/Blocks/UDP_Server_Init|UDP Server init]] {{!}} [[HANcoder/STM32/Blocks/UDP_Server_New_Data_Available|UDP Server new data available]] {{!}} [[HANcoder/STM32/Blocks/UDP_Server_Receive|UDP Server receive]] {{!}} [[HANcoder/STM32/Blocks/UDP_Server_Receive_Size|UDP Server receive size]]
 
}}
 
}}

Latest revision as of 10:35, 5 May 2017

Supported Targets: E407

General information about UDP Client Send

With this block you can send a data packet to a UDP server at the specified IP address on the specified port.

Block

UDPClientSend.png

Mask

UDPClientSendMask.png

Inputs (inports)

Data inputs, data type and number of inputs can be changed in mask

Block parameters

Parameter Description
IP address Enter the destination IP address, numbers 1 to 4.
Port Enter the destination port
Input ports Select the number of inputs, this changes the amount of inports of the block.
Input data type Select the data type of the inputs (all inputs must have the same data type)
Byte order Set the appropriate byte ordering for your CAN message:Checkbox checked = Most Significant Bit (MSB) is send first (Motorola format).Checkbox unchecked = Least Significant Bit (LSB) is send first (Intel format).
Sample time The block execution time, the amount of time between consecutive executions of the block. 0.1 means the the block will be executed at 10 Hz.

See Also

UDP Server init | UDP Server new data available | UDP Server receive | UDP Server receive size