ENGLISH

5. CONTROL FEATURES

RS-232C CONTROL

Connect a male (D-Sub 9 Pin) to female (D-Sub 9 Pin) straight cable for RS-232C external control by host equipment.

The RS-232C host can control functions of the DN-C640 externally

The DN-C640 automatically transmits status data when status is changed.

The DN-C640 will respond to status requests by transmitting the associated status data RS-232C specifications:

(1)Interface Condition

Applicable connector : 9-pin D-sub (male)

Baud rate : 9600 bps

Data Bit : 8bit

Parity : None

Stop bit : 1bit

Flow control : None

Pin layout

RS-232C

Pin No

Signal Name

 

 

1

Ground

 

 

6

NC

 

 

2

TxD

 

 

7

NC

 

 

3

RxD

 

 

8

NC

 

 

4

NC

 

 

9

NC

 

 

5

S. Ground

 

 

(2) Control command codes

The control command packets have a data length of 7 bytes or more. ASCII codes from 0x00 to 0x7F are used to receive serial data. At the transmission end, take steps to convert the ASCII codes into HEX data to set the data in the data

packets. CR (0x0D) is added as the data packet delimiter.

Example: Control command code for number 5 (ASCII code @02005CR)

When transmitting commands consecutively, put more than 100ms blank between commands.

@

0

2

0

0

5

CR

 

 

 

 

 

 

 

0 × 40

0 × 30

0 × 32

0 × 30

0 × 30

0 × 35

0 × 0d

 

 

 

 

 

 

 

(3) Status Request and Status Information codes

The status data packets have a data length of 7 bytes or more.

ASCII codes from 0 × 00 to 0 × 7f are used to transmit serial data. For this reason, the ASCII codes are converted into HEX data before the data is set in the data packets and transmitted. CR (0 × 0d) is added as the data packet delimiter.

Example: Status Information code “Disc In” (ASCII code @0 CDCI CR)

@

0

C

D

C

I

CR

 

 

 

 

 

 

 

0 × 40

0 × 30

0 × 43

0 × 44

0 × 43

0 × 49

0 × 0d

 

 

 

 

 

 

 

36