
4. Functions
COM-1PDH-LPE
29
4.
Functions
This section describes the functions of the board.
Communication Function
Serial Data Transmission
Sends and receives data in accordance with the RS-422A/485 standard.
The baud rate for each channel can be set independently in the range30 - 921,600bps by software.
Send and Receive Data Buffers
Each channel has a separate 128-byte send and 128-byte receive buffer.
The buffers operate as FIFO buffers and help reduce the load on the CPU for high-speed
communications or system operation.
The data buffer settings (Use FIFO ON/OFF and FIFO trigger size) are set by the Device Manager.
The FIFO trigger size specifies the data buffer size and determines the timing for generating hardware
interrupts.
Setting a large FIFO trigger size lightens the load on the CPU by reducing the number of hardware
interrupts generated by sending or receiving data.
However, as data is not actually sent or received until a certain amount of data has accumulated, the
timing at which the data reaches the opposing device is slightly delayed. Similarly, there is also a
delay in the timing between data being received and the data being passed the application.
Alternatively, setting a small FIFO trigger size or disabling FIFO operation increases the speed of data
sending and receiving but increases the load on the CPU and risks received data being missed.
As the FIFO buffer size is variable, you can adjust this setting to achieve optimum performance for your
system.
Содержание COM-1PDH-LPE
Страница 31: ...2 Setup 26 COM 1PDH LPE...
Страница 37: ...4 Functions 32 COM 1PDH LPE...