Edit on GitHub

Introduction

RoboPlus Terminal is a tool to help users to manipulate the controller by themselves through text-baed User-Interface. The terminal program communicates with the controller in the basis of ASCII code, and it prints various information transmitted by the controller for users.

Serial Port Setting

The communication port must be set to connect to the controller using RoboPlus Terminal.

If RoboPlus Terminal is started for the first time, the connection information is exactly restored. If the name of serial port is changed or the serial port is used in other program, it may not be connected to the controller.

If Setup > Connect are executed while the communication port is not connected, the port selection window can be seen as below. Select serial port and communication speed connected to the controller and click “OK”.

NOTE : The basic connection speed of the controller is 57,600bps.

The serial communication setting of RoboPlus is as below.

Processing Input

RoboPlus Terminal receives keyboard inputs and transmits the signals to PC and the connected controller through serial communication. The data pursuant to each key is as follows.

ASCII Key
0x08 Backspace
0x0d, 0x0a Enter
0x1b ESC
0x1b, 0x5b, 0x41 Cursor up
0x1b, 0x5b, 0x42 Cursor down
0x1b, 0x5b, 0x43 Cursor right
0x1b, 0x5b, 0x44 Cursor left
0x1b, 0x5b, 0x48 Home
0x1b, 0x5b, 0x4b End

Clearing Screen

Screen clearing function is supported in RoboPlus Terminal. Execute “Clear Screen” command in the menu to erase the complete screen.

Processing Controller Output

RoboPlus Terminal receives signals from connected controller and prints the contents on the screen.

Controlling Cursor

ASCII Key
0x08 Backspace: Moves the cursor 1 space back
0x0a /LF: Moves the cursor to the first position of the next line
0x0d /CR: Moves the cursor to the first position of the same line
0x20 Space: Moves the cursor to the next letter
0x21 ~ 0x7e Prints ASCII letters ( from ! to ~)

Transmitting/Receiving Data

RoboPlus Terminal can transmit/receive large data to/from the connected controller. There is no data transmission protocol.

Transmitting Data

RoboPlus Terminal can transmit the contents of files to the connected controller as binary format.
If the extension is hex, it is changed into binary and transmitted based on Intel HEX format. Other extensions are just transmitted without changing.
The file transmission procedure is as below.

ByteSum

The loss possibility of transmitted data can be checked using ByteSum.
ByteSum means the last 1 byte of the sum when all transmitted byte-unit data are added.
For example, if FD 23 4D 2D is transmitted, the sum of each data is 01 9A. From the sum, 9A (the lowest byte) is ByteSum.

In the menu, if Bytesum is marked, Bytesum packet is added to the last part of the file packet and when it is transmitted.
The loss possibility of data can be checked by comparing the bytesum received from RoboPlus Terminal and calculated bytesum in the data-received controller.

Receiving Data

RoboPlus Terminal can receive data from the connected controller and save them as files. The file reception procedure is as below.

Setting Option

The options of RoboPlus Terminal can be set.

Setting Colors

The background and text colors of RoboPlus Terminal can be set.