Connecting to a personal computer (continued) / Command codes

RS-232C terminal

1 5

Pin NO.

Letters

Transmition Contents

Pin NO.

Letters

Transmition Contents

RS-232C

2

RSD

Receiving Data

6

DSR

Data Set Ready

 

3

TXD

Transmission Data

7

RTS

Transmission

 

4

DTR

Data Terminal Ready

 

 

Requirement

6 9

5

GND

Signal Groung

8

CTS

Transmission Clear

RS-232C cable

Please use the following RS-232C Crossover cable to connect your personal computer to the Unit.

1)When RS-232C terminal of personal computer is D-SUB 25 pin

FRAME

1 FG

RSD 2

2 TXD

TXD 3

3 RSD

DTR 4

4 RTS

SG 5

5 CTS

DSR 6

6 DSR

RTS 7

7 SG

CTS 8

20 DTR

D-SUB 9 pin (unit)

D-SUB 25 pin(Personal computer)

2)When Pesonal cpmputers RS-232C terminal is D-SUB 9 pin

FRAME

FRAME

RSD 2

2 RSD

TXD 3

3 TXD

DTR 4

4 DTR

SG 5

5 SG

DSR 6

6 DSR

RTS 7

7 RTS

CTS 8

8 CTS

D-SUB 9 pin

D-SUB 9 pin

Setting the communicating mode

The settings can be made on RS-232C SETTING of the <REAR TERMINAL> menu. Set the Unit and the modem or a personal computer with same settings. Please refer to the diagram for possible setting rate.

 

Synchronization

 

NameAsynchronousMenu

 

 

 

 

 

 

 

# Set other functions on the personal

1

Transmission rate at

 

 

TRANSMISSION1200/2400/4800/

computer as shown below.

 

the data received/

 

 

 

 

 

 

 

 

 

sent

RATE

9600

 

 

 

2 Data bit lengthDATABIT LENGTH8BIT/7 BIT

 

 

 

Synchronization

Name on Menu

 

 

 

 

 

 

3 Parity bit settingPARITY BITNONE/ODD/EVEN

 

1X control Not available

4 Stop bit lengthSTOP BIT

 

 

 

 

 

 

1 BIT/2 BIT

 

2S parameter Not available

5 Line feed settingDELIMITERCR/CR•LF

 

 

 

 

3CS-RS hamd-shakeAvailable

 

 

 

 

 

 

 

 

Command code and status

Operation and setting of this unit by a personal computer is executed by command codes and error codes.

1) Command : an order from a personal computer to the unit

Command code

 

Parameter 1

 

,

 

Parameter 2

 

,

• • • • • • • • • •

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• • • • • • • • • •

 

,

 

Parameter n

 

Delimeter

 

 

 

 

 

 

(sending) #1

 

 

 

 

 

 

 

 

 

 

 

2) Command : a reply from the unit ( indicated on a personal computer)

Status

 

Parameter 1

 

,

 

Parameter 2

 

,

• • • • • • • • • •

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• • • • • • • • • •

 

 

 

Parameter n

 

Delimeter

 

 

 

 

,

 

 

(receiving) #2

 

 

 

 

 

 

 

 

 

 

 

#1: If you set the CR/CR • LF setting to "CR" on the RS-232C setting menu, input a Carrige return code (0DH).

If you set the CR/CR • LF setting to "CR • LF" on the RS-232C setting menu, input a carrige return code (0DH) and a line ****code (0AH).

#2: If you set the CR/CR • LF setting to "CR" on the RS-232C setting menu, output a Carrige return code (0DH).

If you set the CR/CR • LF setting to "CR • LF" on the RS-232C setting menu, output a carrige return code (0DH) and a line ****code (0AH).

Make sure to send commands in an interval of 1 second.

Example of Command operation

Example 1) Turn the Unit on.( when CR/CR•LF is set to "CR" on the RS-232C setting menu)

 

Command from

Replied status code from uint

Meaning

 

 

personal computerto a personal computer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sending a command to turn the Unit on.

 

 

PW1

CR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The unit received a comand.

 

 

 

 

 

RC

CR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The unit received a comand and executed.

 

 

 

 

 

EX

 

CR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

•••••••••••• •

58