beautypg.com

Serial communications, cont’d – Extron Electronics CTL208CM User Manual

Page 22

background image

CTL208CM Control Panel Module • Serial Communications

CTL208CM Control Panel Module • Serial Communications

Serial Communications, cont’d

Command/response table for programming the CTL208 (continued)

C

o

m

m

a

n

d

ASCII Command

Response

Additional description

(host to CTL208)

(CTL208 to host)

Command/response table for programming the CTL208 (continued)

Command

ASCII Command

Response

Additional description

(host to CTL208)

(CTL208 to host)

Button group programming (continued)

V

iew all buttons’ grouping

[SWG

X8

?]

[R0•

X1

•SWG

X8

?•

X9

1

X9

2

X9

3

X9

4

X9

5

X9

6

X9

7

X9

8

]

X9

1

indicates button 1’s group,

X9

8

indicates button 8’s group.

Button timeout programming

T

imeouts cannot be assigned to buttons that are not set to operate in toggle mode or ar

e set to operate in groups.

Assign a timeout to a button

[T

O

U

T

X2

X1

0

]

[R0•

X1

•TOUT

X2

X1

0

]

Set button

X2

to timeout in

X1

0

minutes.

Example

:

[TOUT0160]

[R0•97•TOUT0160•]

Button 1 will timeout after 60 minutes.

V

iew a button’s timeout

[T

O

U

T

X2

?]

[R0•

X1

•TOUT

X2

?•

X1

0

]

Button

X2

is set to timeout in

X1

0

minutes.

Serial port parameters

Set the serial port parameters

[CPp

X1

1

X1

2

s

X1

3

X1

4

][R0•

X1

CPp

X1

1

X1

2

s

X1

3

X1

4

]

Example

:

[CPp30s00]

[R0•97•

CPp30s00

]

Set the

control panel module’s serial port to

9600 baud, no parity

, Xof

f, and half duplex

mode. The “s” in the command and response

is a separator only

.

If you change the settings, you may not be able to read the response.

Reset the serial port to default

[CPp

@

]

[R0•

X1

CPp

@•

]

Reset the control panel module to its default

serial port settings:

9600 baud, no parity

, Xof

f,

and half duplex mode.

V

iew serial port parameters

[CPp?]

[R0•

X1

CPp?

X1

1

X1

2

X1

3

X1

4

]

Button code programming (continued)

V

iew a button’s hex code

[P

C

H

p

X2

?]

R0•

X1

•PCHp

X2

?•

X6

]

Reset button code (ASCII or hex)

[PCLp

X2

@]

R0•

X1

•PCLp

X2

@

]

Clear any codes assigned to a button. The

CTL will not send any code when the button is

pressed.

Button mode programming

Set a button’s o

perating

mode

[SWM

X2

X7

]

[R0•

X1

•SWM

X2

X7

]

Sets the button’s operating mode. See

Button

Modes

in chapter 3,

Operation

for definitions of

the button modes.

X2

is valid between 01

thr

ough 08 and 1

1 thr

ough 18.

Example

:

[SWM01

1]

[R0•

X1

•SWM01

1

]

Set button 1 to toggle mode.

V

iew all buttons’ operating modes

[SWM?]

[R0•

X1

•SWM?•

X7

1

X7

2

X7

3

X7

4

X7

5

X7

6

X7

7

X7

8

X7

1

indicates button 1’s mode,

X7

8

indicates button 8’s mode.

Example

:

[SWM?]

[R0•97•SWM?•0123001

1

Buttons 1, 5, and 6 are set to single mode.

Buttons 2, 7 and 8 are set to toggle mode.

Button 3 is set to press/release mode.

Button 4 is set to continuous mode.

Button group programming

Groups cannot be assigned to buttons that are not set to operate in toggle mode or are set to operate in timeout mode.

Assign button groups

[SWG

X8

X9

1

X9

2

X9

3

X9

4

X9

5

X9

6

X9

7

X9

8

]

[R0•

X1

•SWG

X8

X9

1

X9

2

X9

3

X9

4

X9

5

X9

6

X9

7

X9

8

•]

X9

1

indicates button 1’s group,

X9

8

indicates button 8’s group.

Example

:

[SWG1

1101000]

[R0•97•SWG1

1101000•]

A

ss

ig

n

b

u

ttons 1, 2, 3, and 5 to group 1.

4-14

4-15