Serial Communication

<< Click to Display Table of Contents >>

 

Serial Communication

Use the [P] parameters to configure this Driver's communication in Serial mode, according to the next table.

 

P1

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

P2

Defines the transmission rate, in bits per second. Possible values for this parameter are 1: 110, 2: 300, 3: 600, 4: 1200, 5: 2400, 6: 4800, 7: 9600 (default), 8: 19200, 9: 38400, 10: 57600, or 11: 115200

P3

Defines the size of characters, parity, and stop bits, according to the next table. To configure this parameter, users must sum all size values of characters, parity, and stop bits. For example, to configure a character with 8 (eight) bits, odd parity, and 1 (one) stop bit, the value of this parameter must be equal to 811 (800 + 10 + 1)

P4

Not used, leave it in 0 (zero). Please check the next note for more information

 

NOTE

Starting with version 2.0 of this Driver, the P4 parameter is no longer used. Therefore, the time-out value must be defined on the Setup tab of this Driver's properties window.

 

Possible values for the P3 parameter

Value

Description

700

A 7-bit character

800

An 8-bit character

000

No parity

010

Odd parity

020

Even parity

001

1 (one) stop bit

002

2 (two) stop bits

Was this page useful?