beautypg.com

Byte 1, Bits 5 and 6 are unused, For rs-232, send 1200, 4800, 9600, or 19200 – Apex Digital 5708009-C User Manual

Page 94: For rs-485, send 9600, 19200, 38400, or 57600, Read back with cmd 212, 3 data bytes 8-bit value 16-bit value

background image

4-48

5708009-C

Advanced Energy

®

69

set serial

port

address

and baud

rate

Sets the serial port address and baud rate.
Send 3 data bytes:

• byte 1:

bits 0 through 4 set serial port address
(addresses 1 through 31 are
supported)

bits 5 and 6 are unused

bit 7 selects communication protocol
(0 = RS-232, 1 = RS-485)

• Bytes 2 and 3 = baud rate (send least

significant byte first)

Valid baud rates depend on the
communication protocol selected in
byte 1:

For RS-232, send 1200, 4800, 9600,
or 19200

For RS-485, send 9600, 19200,
38400, or 57600

Read back with CMD 212.

3 data bytes

8-bit value

16-bit value

Table 4-6. Host Port Commands for RS-232 with AE Bus (Continued)

Command

Description

Number of

Host Data

Bytes

Number of

Response

Data Bytes