A&D GH-120/GH-200/GH-300/GH-202/GH-252 Standard Input and Output Interface, RS-232C Interface

Page 63

15.Standard Input and Output Interface

15.1.RS-232C Interface

The balance is a DCE device. Connect the balance to a personal computer (DTE) using a

straight through cable.

 

 

 

 

 

 

 

 

 

 

 

Transmission system

: EIA RS-232C

 

 

 

Transmission form

: Asynchronous, bi-directional, half duplex

Transmission rate

: 10 times/second or 5 times/second (same as data refresh rate)

Data format

: Baud rate

: 600, 1200, 2400, 4800, 9600, 19200bps

 

Data bits

: 7 or 8 bits

 

 

 

 

Parity

: Even, Odd

(Data bits 7 bits)

 

 

 

 

 

None

(Data bits 8 bits)

 

Stop bit

: 1 bit

 

 

RS-232C

 

Code

: ASCII

 

 

 

 

 

 

 

 

 

 

 

 

 

-5V to -15V

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+5V to +15V

 

 

 

 

 

 

 

 

 

 

 

Data bits Start bit

Stop bit Parity bit

D-Sub 25 pin assignments

Pin No.

Signal name

Direction

Description

1

-

-

No connection

2

TXD

Output

Transmit data

3

RXD

Input

Receive data

4

-

-

No connection

5

SG

-

Signal ground

6

DSR

Output

Data set ready

7

RTS

Input

Request to send

8

CTS

Output

Clear to send

9

-

-

No connection

Signal names of the balance side are the same as the DTE side with TXD and RXD reversed.

#4-40UNC

Balance side

 

 

Computer side

DCE

 

 

DTE

 

TXD

2

RXD

 

RXD

3

+5V

TXD

RTS

7

 

RTS

Ω

CTS

8

 

3.3k

 

 

CTS

 

DSR

6

 

DSR

 

SG

5

 

SG

 

 

 

Inside of balance

 

Terminal example

 

 

 

61

Image 63
Contents 1WMPD4000891C GH-120 GH-200 GH-300 GH-202 GH-252Page Contents Interface And Communication Underhook Density MeasurementAbout This Manual IntroductionCompliance With EMC Directives FeaturesCompliance Compliance With FCC RulesPage Unpacking the Balance Precautions Installing the BalanceBefore Use Shock During UseAfter Use Power SupplyKey operation Display Symbols and Key OperationKey When pressed and released When pressed and held DisplayUnits Weighing Units101 00001 Balance displays Counting mode Pcs Percent mode Densitymode Press the PrintChanging the Units Examples Unit Display GramUnit setting example Weighing Precautions for the weighing operationBasic Operation Gram Mode Read . Display symbols and Key operation before operation1mg Dual RangeWeighing range Available minimum display 01mgCounting Mode PCS Storing a sample unit mass Weighing input modeCounting operation Mark turns off after Unit mass is improved Repeat Counting mode using the Acai functionReading the percentage Percent Mode %Selecting the percent mode Storing the 100% reference massResponse Adjustment Automatic Response AdjustmentAdvise Press Key again quickly Manual Response AdjustmentKey until Displayed, then release the keyCalibration Group CalibrationMark Automatic self calibration due to changes in temperatureAutomatic Self Calibration One-Touch CalibrationPress and hold the CAL Key until is CC Calibration Test Using the Internal MassCalibration Using an External Weight Even if the AC adapter is removed, Calibration Test Using an External WeightKey................. The key To cancel the operation Key ..............The key to store the new mass valueCorrecting the Internal Mass Value Permit or Inhibit Function Switch and InitializationPress the Print key To cancel this operation, press Initializing the BalanceKey to display Function Table Setting the Function Table Display symbol and keysKey to enter the class Key to select a item Press Setting procedureFunction table is displayed Press Key to select a class PressSetting example Details of the Function Table ID number output Factory settingsInt Data output Time/Date outputInterface Ct5 5if TimeoutAK, Error code ErCdDescription of the Class Environment, Display Auto print modes a and B Description of the Item Data Output ModeKey mode Stream modeDP Dump print format Interval memory modeDescription of the Item Data Format Standard formatData Unit Terminator Stable value Unstable value KF formatMT format NU numerical formatTime CSV formatData number DateStable Unstable Overload Positive errorNegative error Space Data Format ExamplesUnits Confirming the time Setting the timeClock and Calendar Function OperationSetting the date Quitting the operationSet the date Store ID Number and GLP Report Setting the ID NumberCalibration report using the internal mass GLP ReportKey operation Calibration test report using an internal mass Balance returns to weighing mode after this testCommad Calibration report using an external weight When using preset target value, proceed to step Calibration test report using an external weightTitle block and end block Title blockWeighing data Press and hold the Print key until the key Returns to the weighing modeData Memory Releasing Clr or errInterval memory Data Memory for Weighing DataStoring the weighing data Memory fullEnabling the data memory function Setting the function tableParameter settings for each output mode are as follows Additional parameter settings, as followsRecalling the memory data Transmitting all memory data at one timeDeleting all memory data at one time Deleting data stored in memory Data Memory for Calibration and Calibration TestStoring the calibration and calibration test data Transmitting the memory dataUnderhook Density of a liquid Density MeasurementFormula to obtain the density Prior to measurement Changing the function tableEntering the density of a liquid Relation between the water temperature and densityKey to proceed to other Measuring the densityOutput or store Density display Turns off. lights Press the modesStandard Input and Output Interface RS-232C InterfaceSub 25 pin assignments Connection to an AD-8121B printer Connection to Peripheral EquipmentRsCom Using Windows Communication Tools Software WinCTUsing the WinCT software, the balance can do the following Connection to a computer and the use of WinCTCommand List CommandsAcknowledge Code and Error Codes Control Using CTS and RTSSettings Related to RS-232C Command Examples On command turning on the balanceCommand Re-zeroing the display Error code CAL command Calibration with internal massWeighing with a tare Command ?PT command Net value Tare valueCommand Execution PT command to set a target weight of 10 g Zero displayZero Maintenance Error CodesTreatment of the Balance Automatic response adjustment unstable error Sample mass errorUnit mass error Automatic response adjustment zero errorOther Display Checking the Balance Performance and Environment Checking that the balance performs properlyAsking for Repair Specifications Unit mm External DimensionsAD-8121B Printer Options and Peripheral EquipmentGH-02 USB interface GH-08 Ethernet Interface9970 g/cm3 AD-1653 Density Determination KitAD-1683 DC Static Eliminator AX-USB-9P-EX USB ConverterAX-T-314A-S External key Plug AX-SW128 Foot switchOther options Terms Terms/IndexIndex Tare PU5e Options5pd Out 5tartMemo Memo