![](/images/new-backgrounds/1300968/300968179x1.webp)
6 F 3 B 0 3 6 2
f.UDP transmission processing example
Ladder program flowchart
UDP transmission processing start
Socket status read/verify
Are bits C and E both 1? | No |
(Opened state?) |
|
Yes |
|
Execute a UDP send request
(CMD = 0032H).
Hold the input of function block in the on state until the SEND instruction completes.
Instruction completion
Error result
The processing in this section can be performed at this stage or at the point the instruction terminates abnormally.
The specified UDP socket is in the closed state. (Open processing is required.)
Verify the status
Normal complete?
Yes
No
An error occurred in transmission processing.
Transmission from the specified socket is not possible.
Handle the error according to the completion and socket status.
Terminate UDP transmission
processing
⎯ 89 ⎯