This function sends an array of bytes.
This functionality is supported on PDMM, PCMM, and Simulators. PACs are not supported.
| En | Description | Execute the function |
| Data type | BOOL | |
| Range | [0,1] | |
| Unit | n/a | |
| Default | — | |
| sock | Description | Socket number, return value from udpCreate |
| Data type | DINT | |
| Range | [0,+65535] | |
| Unit | n/a | |
| Default | — | |
| nb | Description | Number of bytes to be transferred |
| Data type | DINT | |
| Range | [0,+65535] | |
| Unit | n/a | |
| Default | — | |
| add[] | Description | Array which contains information about the server |
| Data type | USINT | |
| Range | [0,32] | |
| Unit | n/a | |
| Default | — | |
| data[] | Description | Array of bytes to be transferred |
| Data type | USINT | |
| Range | [0,+65535] | |
| Unit | n/a | |
| Default | — |
| OK | Description | Returns true when the function successfully executes. See Function - General rules. |
| Data type | BOOL | |
| Unit | n/a |
Success:= udpSendToArray(Socket_Number,nb,add,FrameIn networking dialect, a message is called a frame);
|
Copyright © 2015 Kollmorgen™ |
|