4. Functions
32
COM-2PD-LPE
Setting the Baud Rate
The output baud rate can be set by setting the software.
Baud rate: 30 - 921,600 bps
However, when the result contains a fractional part in the calculation of the division register listed
below, since the division register value is rounded down to the nearest integer,a setting error of the baud
rate occurs.
921600 ÷Desired baud rate = Division register setting value
Ex.) 921600 ÷ 9600bps = 96
(As the result is an integer, a setup error does not occur.)
921600 ÷ 128000bps = 7.2....
(As the result contains a fractional part, a setup error occurs.)
Refer to the following baud rate setting examples.
Table 4.1.
Baud Rate Generator Programming Table
Output baud rate [bps]
Setup error (%)
30
---
50
---
75
---
110
0.026
134.5
0.058
150
---
300
---
600
---
1200
---
1800
---
2000
0.680
2400
---
3600
---
4800
---
7200
---
9600
---
14400
---
19200
---
28800
---
38400
---
57600
---
76800
---
115200
---
153600
---
230400
---
460800
---
921600
---
As Visual Basic's communication control (MSComm) accepts any available baud rate settings,
using the MSComm functionalities limits the rate to 115,200bps maximum. For setting the baud
rate higher than 115,200bps using Visual Basic, refer to the VB sample program included in the
accompanying CD-ROM “Standard COM Driver Software COM Setup Disk”.
CAUTION
Summary of Contents for COM-2PD-LPE
Page 35: ...3 External Connection 30 COM 2PD LPE ...
Page 39: ...4 Functions 34 COM 2PD LPE ...