A&D GH-120/GH-200/GH-300/GH-202/GH-252 manual Acknowledge Code and Error Codes

Page 67

15.3.2.Acknowledge Code and Error Codes

When the "Serial interface function (5if)" parameter is set to "erCd 1", the balance outputs <AK> code or error code to each command as follows:

<AK> (06h) Acknowledge in ASCII code.

When the balance receives a command to request data and can not process it, the balance transmits an error code (EC, Exx).

When the balance receives a command to request data and can process it, the balance outputs the data.

When the balance receives a command to control the balance and can not process it, the balance transmits an error code (EC, Exx).

When the balance receives a command to control the balance and can process it, the balance transmits the acknowledge code.

Among commands to control the balance, the following transmit the acknowledge code both when the balance receives the command and when the balance has accomplished the command. If the command can not be processed properly, the balance transmits an error code (EC, Exx). This error can be released using the CAL command.

CAL command (Calibration command using internal mass) ON command (Display ON command)

P command (Display ON/OFF command) R command (RE-ZERO command)

TR command (Tare command)

TST command (Calibration test command)

When a communication error has occurred due to external noise, or a parity error has occurred due to transmission error, the balance transmits an error code. In this case, send the command again.

xxis error code number.

15.3.3.Control Using CTS and RTS

Depending on the "Ct5" parameter of "Serial interface (5if)", the balance performs as follows:

Ct5 0

Regardless of whether the balance can receive a command or not, the balance keeps the CTS line HI. The balance outputs data regardless of the condition of the RTS line.

Ct5 1

The CTS line is kept Hi normally. When the balance can not receive the next command (Example: while the balance is processing the last command), the balance sets the CTS line to Lo. The balance confirms the level of the RTS line before outputting a set of data. If the RTS level is Hi, the balance outputs data. If the RTS level is Lo, data is not output (The data is canceled).

15.3.4.Settings Related to RS-232C

Concerning the RS-232C, the balance has two functions: "Data output (dout)" and "Serial interface (5if)". Set each function as necessary.

65

Image 67
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 Installing the Balance PrecautionsBefore 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 01mgStoring a sample unit mass Weighing input mode Counting Mode PCSCounting 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 massAutomatic Response Adjustment 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 InitializationInitializing the Balance Press the Print key To cancel this operation, pressKey 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 OperationQuitting the operation Setting the dateSet the date Store ID Number and GLP Report Setting the ID NumberGLP Report Calibration report using the internal massKey operation Balance returns to weighing mode after this test Calibration test report using an internal massCommad Calibration report using an external weight When using preset target value, proceed to step Calibration test report using an external weightTitle block Title block and end 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 followsTransmitting all memory data at one time Recalling the memory dataDeleting 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 modesRS-232C Interface Standard Input and Output 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 CommandsControl Using CTS and RTS Acknowledge Code and Error CodesSettings Related to RS-232C On command turning on the balance Command ExamplesCommand Re-zeroing the display Error code CAL command Calibration with internal massWeighing with a tare Command ?PT command Net value Tare valuePT command to set a target weight of 10 g Zero display Command ExecutionZero Error Codes MaintenanceTreatment of the Balance Automatic response adjustment unstable error Sample mass errorUnit mass error Automatic response adjustment zero errorOther Display Checking that the balance performs properly Checking the Balance Performance and EnvironmentAsking 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