Configuration of Driver's [P] Parameters

<< Click to Display Table of Contents >>

 

Configuration of Driver's [P] Parameters

The P1 parameter defines the port used for serial communication RS-232. Possible values are 1: COM1 (default), 2: COM2, 3: COM3, 4: COM4, or n: COMn.

The P2 parameter defines stop bits, parity, size of character, and baud rate, in bps. Possible values are the following:

00000: 1 (one) stop bit

10000: 2 (two) stop bits

00000: No parity

01000: Odd parity

02000: Even parity

00000: Character with 8 (eight) bits

00100: Character with 7 (seven) bits

00000: 110 bps

00001: 300 bps

00002: 600 bps

00003: 1200 bps

00004: 2400 bps

00005: 4800 bps

00006: 9600 bps

00007: 19200 bps

00008: 38400 bps

00009: 56000 bps

00010: 57600 bps

00011: 115200 bps

 

To configure this parameter, sum the values of stop bits, parity, character size, and baud rate. For example, the value 01006 configures 1 (one) stop bit, odd parity, character with 8 (eight) bits, and a baud rate of 9600 bps.

The P3 and P4 parameters are not used and must be left in 0 (zero).

Was this page useful?