6Others
RS-232C Interface
Control of this unit via a computer is possible by connecting the computer to this unit with a
RS-232C Specifications
This unit |
| Pin No. | Signal | Function | Signal Direction |
2 | RxD | Receive data | PC→This unit | ||
3 | TxD | Transmit data | This unit→PC | ||
|
|
|
| ||
|
| 5 | GND | Signal ground | - |
|
| 1,4,6 - 9 | N/C | - | - |
●PC refers to the controller such as a personal computer.
Mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Character Length | 8 bit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Parity | None |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Start Bit | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stop Bit | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 |
|
|
|
Data rate | 19200 bps |
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
| |||||||||
Data format | Binary |
| Start Bit |
| Stop Bit | |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Command Format
The command between this unit and the computer consists of “Header”, “Unit ID”, “Command”, “Data” and “End”.
●Header (1 byte), Unit ID (2 bytes), Command (2 bytes), Data (n bytes), End (1 byte)
■Header
This binary code indicates the start of communication.
Binary code | Type | Description |
|
|
|
21 | Operating command | PC→This unit |
|
|
|
3F | Reference command | PC→This unit |
|
|
|
40 | Response command | This unit→PC |
|
|
|
|
| This unit→PC |
06 | ACK | (When the command is accepted without error, it returns to |
|
| PC) |
■Unit ID
This code specifies the unit. The binary code is fixed at “8901”.
52