| D. RS232/422/485 Serial
port Command and Function |
| Hardware Support: |
| 0.
PCCOM PCI 2 PORT RS232/422/485 Card |
| 1.
PCCOM PCI 4 PORT RS232/422/485 Card |
| 2.
PCCOM PCI 8 PORT RS232/422/485 Card |
| Command and Function: |
| public SerialPort(String pt, int br, int db, int
pc, int fc, int sb) throws IOException |
| Pt - port name: for example: "/dev/ttyS0" PCCOM PCI 2 port card from /dev/ttys4/ to /dev/ttys5/ PCCOM PCI 2 port card from /dev/ttys4/ to |
| Br - baud rate: for example, 115200, 38400, 9600, 4800, 2400, 1200, ...etc. |
| Db - data bits: for example, 8, 7 |
| Pc - parity check: EVEN_PARITY, ODD_PARITY, SPACE_PARITY, NO_PARITY |
| Sb - stop bit: STOP_BIT_1, STOP_BIT_2 |
|
|
| |