Apex Digital 5708009-C 6. Host Port Commands for RS-232 with AE Bus Continued, Number of, Bytes

Models: 5708009-C

1 160
Download 160 pages 45.78 Kb
Page 94
Image 94
Response

Advanced Energy®

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

Command

 

Number of

Number of

 

Description

Host Data

Response

 

 

Bytes

Data Bytes

 

 

 

 

69

Sets the serial port address and baud rate.

3 data bytes

 

set serial

Send 3 data bytes:

8-bit value

 

port

• byte 1:

16-bit value

 

address

 

 

bits 0 through 4 set serial port address

 

 

and baud

 

 

rate

(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.

 

 

 

 

 

 

4-48

5708009-C

Page 94
Image 94
Apex Digital 5708009-C 6. Host Port Commands for RS-232 with AE Bus Continued, Number of, Description, Response, Bytes