ACCESSPORT USER MANUAL
TABLE OF CONTENTS
- 1 SCOPE
- 2 OVERVIEW
- 3 FEATURES
- 4 INSTALLATION OF THE ACCESSPORT SOFTWARE
- 5 ACCESSPORT USER INTERFACE
- 5.1 TERMINAL MODE
- 5.1.1 UPPER COM PORT STATUS BAR
- 5.1.2 UPPER MENU BAR
- 5.1.3 MAIN FUNCTIONS TOOLBAR
- 5.1.4 INPUT DISPLAY BOX AND INPUT DATA CONTROL TOOLBAR
- 5.1.5 OUTPUT DATA BOX & OUTPUT DATA CONTROL TOOLBAR
- 5.1.6 BOTTOM STATUS BAR
- 5.2 MONITOR MODE
- 6 APPLICATION EXAMPLES
This user manual describes the AccessPortTM Advanced Serial Port Terminal / Monitor / Debugger Freeware (AccessPort) authored by SUDT Studio to the extent of optional operation with SerialCommTM products. AccessPort is rich with serial debugging functions and not all of its functions will be covered in this manual. The AccessPort is a Microsoft Windows-based serial debugging tool used in conjunction with the hosted PC/laptop COM serial ports. This document describes the latest version of the AccessPort: Version V1.37. The examples used in this document will be presented using the Microsoft Windows 8 operating system.
AccessPort is an advanced serial terminal, monitor, simulation and data analysis tool that can be used to configure and control serial devices as well as log, view, analyze, or automate serial communication. SerialCommTM offers a number of data conversion products; primarily RS232 to RS485/RS422/TTL/Ethernet/Fiber Optic converters for your data conversion needs. AccessPortTM Advanced Serial Port Debugger Freeware is an optional robust serial terminal/monitor software. It has a simple user interface that can be used to control, monitor, test, and debug RS232/RS485/RS422/TTL/Ethernet/Fiber Optic data utilizing our serial products for serial data conversion. Although AccessPort is an advanced serial port terminal / monitoring tool with robust functionality while easy to use due to its simplistic user interface. It is used by technicians, engineers, software developers, as well asnovices for designing or debugging serial port-related projects.
AccessPort is a thoroughly tested, mature, and highly-stable product used worldwide by professional engineers, technicians and software developers. It is used as a development aid and debugging tool for RS232 / serial port related projects. Since itâ€™s so easy to use witha â€œsimpleâ€ user interface, this tool isa favorite amongst serial port novices.
The software supports Microsoft Windows 98, 2000, XP, Vista, Server 2003, 2008, 2013, Windows 7 32 bit and 64 bit and Windows 8 32 bit and 64 bit.
4 INSTALLATION OF THE ACCESSPORT SOFTWARE
The AccessPort Software should be installed on the host Windows based PC or laptop that has access to the serial port that will be controlled or monitored. The installation procedure is as follows:
5 ACCESSPORT USER INTERFACE
The AccessPort Software Interface has many advanced features yet simple to use. It has two main functions 1) Terminal Mode and 2) Monitor Mode. By selecting the Terminal tab the following screen will appear. SEE FIGURE 5.1
By selecting the Monitor tab the following screen will appear. SEE FIGURE 5.2
5.1 TERMINAL MODE
We will be documenting the Terminal Mode interface of AccessPort and not the Monitor Mode interface for simplicity. We will be using the Terminal Mode to control, monitor, debug, and test the associated serial ports and SerialComm conversion products connected to the serial ports. SEE FIGURE 5.3
The Terminal Mode Interface if divided into 6 operational sections:
1) Upper COM port status bar. SEE FIGURE 5.4
2) Upper menu bar. SEE FIGURE 5.5
3) Main functions toolbar. SEE FIGURE 5.6
4) Input display box and control toolbar. SEE FIGURE 5.7
5) Output data box and control and status toolbar. SEE FIGURE 5.8
6) Bottom status bar. SEE FIGURE 5.9
5.1.1 UPPER COM PORT STATUS BAR
This status bar shows which COM port is used and the selected attributes. This status bar will also tell you whether the port is opened or closed. SEE FIGURE 5.10
18.104.22.168 FILE CATEGORY
The â€œFileâ€ Category saves data and settings to a file, exports data and exits the program. The â€œFileâ€ Category has the â€œSaveâ€, â€œSave Asâ€, â€œExport As HexDumpâ€, andâ€œExitâ€ options. SEE FIGURE 5.12
Saves the AccessPort data and settings.
22.214.171.124.2 SAVE AS
Saves the AccessPort data and settings to a specified file name.
126.96.36.199.3 EXPORT AS HEXDUMP
The data from AccessPort can be exported to a file in Hexadecimal format. Specify the start location and stop location. There are some other parameters you can choose. The Hexadecimal formatted data can be exported to the clipboard or a file by choosing the appropriate option. SEE FIGURE 5.13
Exits the AccessPort program.
188.8.131.52 EDIT CATEGORY
The â€œEditâ€ Category can undo a function, cut, paste and delete and select data in the output display box. The â€œEditâ€ Category has the â€œUndoâ€, â€œCutâ€, â€œCopyâ€, â€œPasteâ€, â€œDeleteâ€, and â€œSelect Allâ€ options. SEE FIGURE5.14
Undo a previous function.
Cuts input display data.
Copies input display data.
Pastes input display data.
Deletes input display data.
184.108.40.206.6 SELECT ALL
Selects all of the input display data.
220.127.116.11 VIEW CATEGORY
These options control viewing of AccessPort. It allows for the selecting of unselecting view sections of AccessPort for display. SEE FIGURE 5.15
Turns on and off the Icons toolbar.
18.104.22.168.2 STATUS BAR
Turns on and off the bottom status bar.
22.214.171.124.3 SENDING BAR
Turns on and off the output data box section.
126.96.36.199.4 DISPLAY BAR
Turns on and off the input display box section.
Changes the language of AccessPort. The available options are English, Chinese (Simplified), Chinese (Traditional), and Russian.
188.8.131.52 MONITOR CATEGORY
The â€œMonitorâ€ category has functions to control the Monitor mode. The â€œMonitorâ€ category has the â€œClear Allâ€, â€œAuto Scrollâ€, â€œShow Hexâ€, â€œCapture Eventsâ€, â€œStart Monitorâ€, â€œStop Monitorâ€, and â€œPortsâ€ options. SEE FIGURE 5.16
184.108.40.206.1 CLEAR ALL
Clears all data.
220.127.116.11.2 AUTO SCROLL
Turns on or off the Auto Scroll function.
18.104.22.168.3 SHOW HEX
Turns on or off the display of HEX (Hexadecimal).
22.214.171.124.4 CAPTURE EVENTS
Turns on or off the ability to captures events.
126.96.36.199.5 START MONITOR
Starts the monitor.
188.8.131.52.6 STOPS MONITOR
Stops the monitor.
Selects the ports to monitor.
184.108.40.206 TOOLS CATEGORY
The â€œToolsâ€ category is a collection of some useful software tools. The â€œToolsâ€ category has the â€œPort Switchâ€, â€œTransfer Fileâ€, â€œConfigurationâ€, â€œStart Debugâ€, â€œSelect Fontâ€, and â€œBackground Colorâ€ menu options. SEE FIGURE 5.17
220.127.116.11.1 PORT SWITCH
Switches ports and toggles the â€œCommâ€ status on the bottom of the display.
18.104.22.168.2 TRANSFER FILE
Transfers a file. Select the file you want to transfer and press the â€œSENDâ€ button. SEE FIGURE 5.18
Configures the COM port and serial settings. There is a collection of six menu screens: â€œGeneralâ€, â€œEvent Controlâ€, â€œFlow Controlâ€, Timeout Controlâ€ and â€œMonitor Controlâ€. The default view is the â€œGeneralâ€ configuration menu option. SEE FIGURE 5.19
The â€œGeneralâ€ configuration menu option contains the main serial port settings and configuration. In order to operate AccessPort the COM port being used must be configured and opened. Selecting the presented required settings and selecting â€œOKâ€ opens the COM port. The General settings are divided into six sections: â€œCustom Baud Rateâ€, â€œSerial Port Settingsâ€, â€œSend Displayâ€, â€œReceive Displayâ€, â€œAutoSendâ€, and â€œAdvancedâ€. SEE FIGURE 5.19
22.214.171.124.3.1.1 CUSTOM BAUD RATE
The â€œCustom Baud Rateâ€ selects the baud rate data is being transmitted and received. The baud rate is the speed in which the data is be transmitted. The supported baud rates range from 110 baud to 256,000 baud. Standard baud rates are available from the dropdown menu in the Serial Port Settings section. Custom baud rates can be also entered by checking the â€œEnableâ€ option and typing the custom baud rate. SEE FIGURE 5.19
126.96.36.199.3.1.2 SERIAL PORT SETTINGS
The â€œSerial Port Settingsâ€ allow the COM Port, Baud Rate, Parity Bit, Data Bit, and Stop Bit to be configured. SEE FIGURE 5.19
188.8.131.52.3.1.3 SEND DISPLAY
The â€œSend Displayâ€ selects either Char Format (ASCII Character) or Hex Format (Hexadecimal Number) for the output data that will be sent. SEE FIGURE 5.19
184.108.40.206.3.1.4 RECEIVE DISPLAY
The â€œReceived Displayâ€ selects either Char Format (ASCII Character) or Hex Format (Hexadecimal Number) for the input data display that will be received. SEE FIGURE 5.19
The â€œAutoSendâ€ allows the output data to be continuously transmitted with a delay in ms at the end of each transmit specified by the Cycle value. To enable â€œAutoSendâ€ check the Enable AutoSend box. SEE FIGURE 5.19
The â€œAdvancedâ€ can automatically open a port as soon as the application starts, or notify of any available updates. SEE FIGURE 5.19
220.127.116.11.3.2 EVENT CONTROL
â€œEvent Controlâ€ sets trigger events, if required. Check the â€œEvent Control Settingsâ€ options you want to trigger an event. SEE FIGURE 5.20
18.104.22.168.3.3 FLOW CONTROL
The â€œFlow Controlâ€ settings can be used if flow control is necessary. Flow control is not used by default. You can select whether NONE, RTS/CTS (Hardware), DTR/DSR (Hardware), or XOFF/XON (Software) flow control will be used. Hardware and Software Flow control settings can be configured with the â€œHardware Control Settingsâ€ or â€œSoftware Control Settingsâ€. SEE FIGURE 5.21
22.214.171.124.3.4 TIMEOUT CONTROL
Input and Output timeout control settings are configured here using the â€œRead Timeoutâ€ settings and â€œWrite Timeoutâ€ settings. SEE FIGURE 5.22
126.96.36.199.3.5 MONITOR CONTROL
The â€œMonitorâ€ settings allow the maximum data buffer to be defined. SEE FIGURE 5.23
188.8.131.52.4 START DEBUG
This is an advanced feature that will not be covered in the document. The dropdown looks like this. SEE FIGURE 5.24
184.108.40.206.5 SELECT FONT
Changes the font, text attributes and color of the input display data.
220.127.116.11.6 BACKGROUND COLOR
Changes the background color of the input display box.
18.104.22.168 OPERATION CATEGORY
The â€œOperationâ€ category is a collection of operational functions. The â€œOperationâ€ category has the â€œSend Dataâ€, â€œClear Outputâ€, â€œOutput Formatâ€, â€œReset Counterâ€, â€œClear Inputâ€, and â€œDisplay Formatâ€ menu options. SEE FIGURE 5.25
22.214.171.124.1 SEND DATA
Transmits data from the output data box. Same as clicking on Send/AutoSend.
126.96.36.199.2 CLEAR OUTPUT
Clears the data from the output data box.
188.8.131.52.3 OUTPUT FORMAT
Toggles the data representation of the output data box to either ASCII characters or Hexadecimal format.
184.108.40.206.4 RESET COUNTER
The bottom status bar displays the TX count and RX count. These counts represent the number of bytes transmitted and received. Reset Counter resets these counts to zero.
220.127.116.11.5 CLEAR INPUT
Clears the data input display box.
18.104.22.168.6 DISPLAY FORMAT
Toggles the data representation of the input display box to either ASCII characters or Hexadecimal format.
22.214.171.124 HELP CATEGORY
The â€œHelpâ€ category is a collection of help related operations. The â€œHelpâ€ category has the â€œHomepageâ€, â€œCheck Newest Versionâ€, and â€œAbout AccessPortâ€ menu options. SEE FIGURE 5.26
Takes you the SUDT.com website.
126.96.36.199.2 CHECK NEWEST VERSION
Checks to see if this version of AccessPort is up-to-date.
188.8.131.52.3 ABOUT ACCESSPORT
Returns relevant information regarding AccessPort. The version and build numbers can be obtained from this page. SEE FIGURE 5.27
5.1.3 MAIN FUNCTIONS TOOLBAR
The graphic icon toolbar provides main function icons.
Initiates the serial port configuration. SEE SECTION 184.108.40.206.3
Switches ports. SEE SECTION 220.127.116.11.1
Transfers a file. SEE SECTION 18.104.22.168.2
Shows predefined data lists as well as echoes transmitted data to the input data box.
Resets the TX and RX counters. SEE SECTION 22.214.171.124.4
Displays â€œAbout SUDT AccessPortâ€ screen. SEE SECTION 126.96.36.199
5.1.4 INPUT DISPLAY BOX AND INPUT DATA CONTROL TOOLBAR
The input display box is where the data that is received by AccessPort is displayed. SEE FIGURE 5.29
On top of the input display box is an icon toolbar with common data input functions. SEE FIGURE 5.30
Saves the input data to a specified file.
Pauses displaying data on the input data display.
Changes the input data display format to Hex (Hexadecimal).
Changes the input data display format to Char (ASCII Character).
Clears the input data display.
Adds carriage returns/line feeds to the input data display.
5.1.5 OUTPUT DATA BOX & OUTPUT DATA CONTROL TOOLBAR
The output input box is where the data to be transmitted is typed in. The toolbar on topallows you to input data in Hex or Char format, plain text or hex string format and in real time or not. The toolbar also has the SEND / AUTOSEND button. SEE FIGURE 5.31
5.2 MONITOR MODE
The Monitor mode interface will not be covered in this document.
6 APPLICATION EXAMPLES
Two application examples will be presented demonstrating how AccessPort can be used to test our products. The first application is a simple loopback test of a single serial port or serial device. The second application demonstrates the data communication between two serial ports or serial devices. In both examples the terminal modes will be used.
6.1 APPLICATION 1 â€"SINGLE SERIAL PORT LOOPBACK
A single port or device loopback test is a very useful way of determining whether a serial port, attached device, or converter is functioning properly. A loopback test can be performed on aserial RS232 port or device by connecting TX and RX (pins 2 and 3) together. A loopback test can only be performed on other full duplex (simultaneous bidirectional serial devices) protocols. By using our RS232 to RS422 converter, a loopback test on RS422 can be performed by connecting TX+ to RX+ and TX- to RX-. In addition, our RS232 to TTL converters can be looped back by connecting TX to RX. Our fiber optic converters can be looped back by connecting fiber in to fiber out. RS485 is half duplex and cannot be single converter loop back tested.
In this example we will be looping back our USB-232-2 USB to RS232 adapter by connecting TX to RX(pin 2 to pin 3) on the DB9 connector. We are using a USB to RS232 adapter because the computer we are using does not have a serial port. We will only need to open one instance of AccessPort since the looped back data transmitted will be received by the same port and be displayed in the output box of the same AccessPort.
6.2 APPLICATION 2 â€" SERIAL DATA COMMUNICATION
A good way to test data communication through two ports or two converters is performing a two converter loop back with two COM ports of the PC/laptop. Transmitting data from one COM port to other COM port using our converters is a useful test to determine whether the conversion protocol is functioning properly. A test can be performed on two serial RS232 ports by using a null modem adapter/cable in between the serial ports or using our converters as well. Data transfer between two RS485 converters can be performed to test half duplex RS485 with this test method. The same type of test can be used to also test RS422, TTL, Fiber Optic, and Ethernet using our RS232 converters. Some protocols are half duplex (transfer data in one direction a time) while others are full duplex (transfer data in both directions at the same time).
In this example, we will be using two USB-232-2 USB to RS232 adapters and two CON-422-PE9 RS232 to RS422 converters to communicate from one RS232 port to the other. We are using the USB to RS232 adapters because my PC does not have serial ports.SEE FIGURE 6.8
CONTROL PANELâ†’HARDWARE AND SOUNDâ†’DEVICE MANAGERâ†’PORTS (COM & LPT)- SEE FIGURE 6.9