Stx kj assign communication port, Stx ki gpio input – Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 108

Advertising
background image

Extended System-Level Command Functions






Class Series Programmer’s Manual

94

STX KJ

Assign Communication Port

(MCL Command)

This command assigns a communication port for specific use. When activating MCL, all ports are
assigned to MCL; this command allows changes to that assignment.

Syntax:

<STX>KJpf<CR>

Where:

p

- Port ID: P = Parallel

S = Serial (A)

U = USB

N = Ethernet

L = Wireless

A = Serial (B)

f

- Flag:

1 = DPL

0 = MCL

Sample:

<STX>KJN1

The sample forces the Ethernet port to bypass MCL and go directly to DPL.








STX KI

GPIO Input

This command configures the GPIO input channels of the Applicator Interface Card; see Appendix J
for details.

Syntax:

<STX>KIffnspwww<CR>

Where:

ff

-

2 character function name abbreviation (e.g., PS [Print Start],
I1 [User Input 1], etc).

n

-

Pin number, where 1 – 8 is the valid range.

s

-

Signal type, where: L = Level; P = Positive Pulse; and N =
Negative Pulse

p

-

Polarity, where: 0 = Active Low; and 1 = Active High

www

-

3 character filter pulse width, in milliseconds.




Advertising