beautypg.com

Datamax-O'Neil Class Series II Programmer’s Manual User Manual

Page 111

background image

Extended System-Level Command Functions

Class Series 2 Programmer’s Manual

97

(SP) Serial PortThis command configures the serial communication port(s) as
follows:

Table 5-12: Serial Port Configuration Set Command

For EX2 models the data length, parity, and stop bits are fixed at 8, N, and 1

respectively. And, for Applicator Interface Card-equipped models, this command is
also used to configure the GPIO Auxiliary port (ID always “B”).


Example: KcSPAPB;SPApN;SPAD8;SPAS1;SPAB19

The example above configures Serial Port A to use hardware and software
handshaking, an eight-bit word, with no parity and one stop bit at 19,200 bits per
second.

Value

Serial Port Range / Interpretation

xyz

Where: x = Port Identifier: y = Function:

z = Setting

A - Serial A

B - Serial B

P - Handshaking
Protocol


B - both
H - hardware

N - none
S – software

p - Parity

E - even

N - none
O – odd

D - Data Length

7 - eight bits

8 - seven bits

S - Stop Bits

1 - one bit
2 - two bits

xyzz

Where: x = Port Identifier: y = Function:

zz = Setting:

A - Serial A
B - Serial B

B - Baud Rate

12 - 1200
24 - 2400

48 - 4800
96 - 9600

19 - 19200
28 - 28800

38 - 38400

57 - 57600
15 - 115200

This manual is related to the following products: