(19) @RXU

■ Operation

Outputs UDP/IP data received from the wired LAN.

The received data is only output if UDP reception is enabled in memory register (REG090). If a UDP port is specified, only the data received from that port is output.

Specify the port number as a 16-bit Little Endian value.

The maximum length of data is 1472 bytes and the data format is 16-bit, Little Endian.

■ Format

@RXU(Destination IP address)(Sender IP address)

(Destination port number)(Sender port number)(Receive data length)(Data)

■ Example

<="@RXU", 0xC0, 0xA8, 0x84, 0x01, Destination IP address

0xC0, 0xA8, 0x84, 0x02, Sender IP address

0x00, 0x10, Destination port number

0x01, 0x10, Sender port number

0x05, 0x00, Receive data length

0xAA, 0x55, 0xAA, 0x55, 0xFF  Data

Received data sent from the device with IP address 192.168.132.2 to port 1000h on the device with IP address 192.168.132.1