Connecting to a personal computer (continued) / Command codes
♦ RS-232C terminal
1 5 | Pin NO. | Letters | Transmition Contents | Pin NO. | Letters | Transmition Contents |
2 | RXD | 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 Ground | 8 | CTS | Transmission Clear |
♦RS-232C cable
Please use the following
1)When
FRAME | 1 FG |
RXD 2 | 2 TXD |
TXD 3 | 3 RXD |
DTR 4 | 4 RTS |
GND 5 | 5 CTS |
DSR 6 | 6 DSR |
RTS 7 | 7 GND |
CTS 8 | 20 DTR |
2)When Pesonal cpmputers
FRAME | FRAME |
RXD 2 | 2 RXD |
TXD 3 | 3 TXD |
DTR 4 | 4 DTR |
GND 5 | 5 GND |
DSR 6 | 6 DSR |
RTS 7 | 7 RTS |
CTS 8 | 8 CTS |
♦Setting the communicating mode
The settings can be made on
Synchronization | Name on Menu | Asynchronous |
|
|
|
1 Transmission rate at | TRANSMISSION | 1200/2400/4800/ |
the data received/ | RATE | 9600 |
sent | ||
2 Data bit length | DATA BIT LENGTH | 8 BIT/7 BIT |
|
|
|
3 Parity bit setting | PARITY BIT | NONE/ODD/EVEN |
|
|
|
4 Stop bit length | STOP BIT | 1 BIT/2 BIT |
|
|
|
5 Line feed setting | DELIMITER | CR/CR•LF |
|
|
|
#Set other functions on the personal computer as shown below.
Synchronization | Name on Menu |
|
|
1X control | Not available |
|
|
2S parameter | Not available |
|
|
Available | |
|
|
Please note that the
■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 DELIMITER setting to "CR" on the
If you set the DELIMITER setting to "CR • LF" on the
#2: If you set the DELIMITER setting to "CR" on the
If you set the DELIMITER setting to "CR • LF" on the
Make sure to send commands in an interval of 0.1 second.
♦ Example of Command operation
Example 1) Turn the Unit on.( when DELIMITER is set to "CR" on the
Command from | Replied status code from uint | Meaning | |
personal computer | to a personal computer | ||
| |||
|
|
| |
PW1 CR |
| Sending a command to turn the Unit on. | |
| RC CR | The unit received a command. | |
|
|
| |
| EX CR | The unit received a command and executed. |
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• | •••••••••••• | • |
66