A&D GX-1603A Communications Manual

Gx-a series / gf-a series
Hide thumbs Also See for GX-1603A:

Advertisement

GX-A Series / GF-A Series Communication Manual
En Ver. 1.01
GX-A Series/GF-A Series Communication Manual 1 / 41

Advertisement

Table of Contents
loading

Summary of Contents for A&D GX-1603A

  • Page 1 GX-A Series / GF-A Series Communication Manual En Ver. 1.01 GX-A Series/GF-A Series Communication Manual 1 / 41...
  • Page 2: Table Of Contents

    Table of Contents 1. Introduction …………………………………………………………………………………………………. 3 1-1. Applicable models ……………………………………………………………………………. 3 1-2. Features of the communication function………………………………………………….………. 3 2. Interface specifications………………………………………………………………………………………. 4 2-1. RS-232C ……………………………………………………………………………………………….. 4 2-2. USB ……………………………………………………………………………………………………. 5 3. Connection diagrams………………………………………,,………………………………………………. 6 3-1. Connecting the balance to the printer ……………………………………………………………. 6 3-2.
  • Page 3: Introduction

    PCs and printers through the use of its communication function. 1-1. Applicable models Models to which this the contents of this communication manual is applicable are as follows. □ GX-A Series GX-1603A, GX-1003A, GX-603A, GX-403A, GX-303A, GX-203A GX-10002A, GX-6002A, GX-4002A, GX-3002A, GX-2002A GX-10001A, GX-6001A □ GF-A Series...
  • Page 4: Interface Specifications

    2. Interface specifications 2-1. RS-232C Connector: D-Sub9-pin(male) Method of transmission: EIA RS-232C Format of transmission: Asynchronous, two-way, half-duplex transmission Data transmission rate: 5 times per second(ca. 5.21Hz), 10times per second(ca. 10.42Hz) 、 20 times per second(ca. 20.83Hz) Linked with the setting value of the internal setting’s display rewrite cycle Signal format Baud rate 600, 1200, 2400, 4800, 9600, 19200, 38400 bps...
  • Page 5: Usb

    2-2. USB Connector: miniB(female) Standard: USB 2.0 Device class: HID(Human interface device) :Quick USB CDC(Communication device class) :Virtual COM miniB, pin arrangement Pin No. Signal Direction Meaning, remarks name VBUS Input Power (connection confirmation) Data transmission and reception Data transmission and reception N.C.
  • Page 6: Connection Diagrams

    3. Connection diagrams It is possible to connect the balance to peripheral devices, PCs, PLCs, etc. by using the RS-232C connector and the USB miniB connector which are provided as standard with the balance. 3-1. Connecting the balance to a printer To print the weighing result measured with the balance on paper, connect a specialized balance printer (e.g.
  • Page 7: Connecting The Balance To A Pc Or A Plc

    □ When connecting the balance to an external display unit and a printer, connect the balance with the external display unit (external controller AD-8922A only) with a RS-232C cable and connect the external display unit and the printer with a RS-232C cable. RS-232C RS-232C Balance...
  • Page 8 □ When connecting the balance to a PC and a printer, connect the balance to the PC with a USB cable and connect the balance to the printer with an RS-232C cable. RS-232C Balance Printer □ When connecting the balance to a PC and to the external display unit, connect the balance to the PC with a USB cable and connect the balance to the printer with an RS-232C cable.
  • Page 9 □ When connecting the balance with a PLC and the printer or the external display unit, in both cases you must use RS-232C cables. When the balance is equipped with the GXA–03 special option (2nd RS-232C cable, insulated type), connect the PLC with a cable to the RS-232C connector of the GXA-03, and connect the printer or the external indicator unit with a cable to the standard RS-232C connector of the balance.
  • Page 10: Connecting To The Printer

    4. Connecting to the printer When connecting the printer to the balance for printing measured values, configure the printer and the balance as follows according to these usage examples. Internal settings of the printer Usage example AD-8127 Compact printer Printing mode settings When printing values measured by EXT.KEY the balance with the balance’s PRINT...
  • Page 11: Connecting To The External Display Unit

    5. Connecting to the external display unit When connecting the external display unit to the balance, configure the external display unit and the balance as follows according to these usage examples. Internal settings of the external display unit and the balance Usage example AD-8920A AD-8922A...
  • Page 12: Connecting To A Pc Or A Plc

    6. Connecting to a PC or a PLC 6-1. Quick USB mode The quick USB mode is a function used to connect the balance with the PC using a USB cable to directly input the output data of the balance into PC software such as Excel or Word. Windows XP or later is supported.
  • Page 13: Rs-232C

    6-3. RS-232C The RS-232C interface of the balance is the DCE (Data Communication Equipment) that can be connected to a PC. The RS-232C cable used for connection is the straight type. If there is no RS-232C connector on the PC, please connect in USB Virtual COM mode. 6-4.
  • Page 14: Data Output

    7. Data output 7-1. Data output mode As for the balance’s data output timing, it can be changed with the internal setting (data output mode). Key mode Internal setting If the PRINT key is pressed when the stable value mark is displayed, the weighing value will be output once.
  • Page 15 Key mode B mode Internal setting Regardless of the presence or absence of the stable value mark, when the PRINT key is pressed, the weighing value will be output once. At that time the displayed weighing value will blink once to indicate that it had been output. Key mode C mode Internal setting When the PRINT key is pressed and the stable value mark is displayed, the weighing value will be...
  • Page 16: Weighing Data Format

    7-2. Weighing data format As for the balance’s weighing data output, for USB it can be changed by the internal setting U-tP (USB data format) and for RS-232C – by the internal setting (data format). Standard format A&D RS-232C connection:internal setting USB setting:...
  • Page 17 KF format RS-232C connection: internal setting USB connection: no function □ This is the Karl-Fischer moisture meter format. □ Consists of 14 characters (excluding the terminator). □ Has no header characters. □ The polarity sign (1 character) is placed before the data if the data is not overloaded or zero. □...
  • Page 18 CSV format RS-232C connection: internal setting USB connection: internal setting □ Separates the data of A&D standard format and the unit by a comma (,). □ Outputs the unit even when the data is overloaded. □ When the decimal point is set to comma (,), semicolon (;) will be used as the separator. g CR LF □...
  • Page 19: Output Examples Of Weighing Data Format

    7-3. Output examples of weighing data format When stable A&D g CR LF g CR LF CR LF g CR LF 6 CR LF When unstable A&D g CR LF g CR LF CR LF g CR LF 7 CR LF When overloaded (plus)...
  • Page 20: Other Data Formats

    7-4. Other data formats In addition to weighing data, other data can be added. Switch each internal setting on / off as necessary. Data number Internal setting □ When the data memory function is used, the data number is output. □...
  • Page 21: Commands

    8. Commands By sending a specified command from a PC or a PLC to the balance, you can control the balance such as by requesting weighing data, manipulating various keys and changing the setting value. To send a command to the balance, add a terminator (<CR> <LF> or <CR> in the internal setting ) to the command character string.
  • Page 22 Commands for presetting the tare value Command string Function PT:****.** g Sets the tare value. The unit added is the unit that is output in the A&D standard format (3 characters). For the counting or percent mode, gram is used. In the case of setting the preset tare value to 1234.56 g, the input will be PT:1234.56 g.
  • Page 23 Command to control the data memory function Command string Function Outputs all data in memory. ?MQnnn Outputs weighing data with the data number nnn. Input a value from 001 to 200 before nnn. Outputs the number of weighing data in memory. MD:nnn Deletes weighing data with the data number nnn.
  • Page 24: The Code And Error Codes

    8-2. The <AK> code and error codes When the internal setting (AK、error code on)is set、the balance always responds to reception of all commands sent from a PC or a PLC. Communication reliability is improved by checking the responding code. When the internal setting (AK、error code on)is set, the balance responds with the following.
  • Page 25: Command Usage Examples

    8-3. Command usage examples In this example in order to force an output of the <AK> code the internal setting (AK、 error code on)is set. <AK> code is the ASCII 06h code. Example of the ON command (display on) Time PC side Balance side ON command...
  • Page 26 CAL command Example of the (GX-A Series)Calibration with built-in weight) Time PC side Balance side CAL command Before execution L CR LF Command received AK CR LF Executing(processing) Command completed AK CR LF Zero display □ For an example of the CAL command for the GF-A series, see the example of the EXC command. Example of error code output of the R command (re-zero) Time PC side...
  • Page 27 Example of the EXC command Calibration with a separate weight(GF-A Series) Time PC side Balance side EXC command Before execution C CR LF Command received AK CR LF PRT command Waiting for the zero setting T CR LF Command received AK CR LF Inputting the zero setting (processing)...
  • Page 28 Example of measuring using a container Time PC side Balance side R command Before execution R CR LF Command received AK CR LF Waiting for re-zero stability (processing) Command completed AK CR LF Zero display Action: Place a container T command Measured value of the container T CR LF...
  • Page 29 Example of setting a negative target value and filling with a sample until the display becomes zero Time PC side Balance side R command Action: Place a container R CR LF Command received AK CR LF Waiting for re-zero stability (processing)...
  • Page 30: Error Codes

    9. Error codes 9-1. Error codes list Error codes and how to resolve Error code Description and how to resolve EC,E00 Communications error A protocol error occurred in communications. Check the format and the baud rate. EC,E01 Undefined command error An undefined command was received.
  • Page 31 Error code Details and ways to address EC,E16 Built-in weight error There was no change in load even when the built-in weight was raised and lowered. Perform the weighing operation from the beginning without placing anything on the pan. EC,E17 Built-in weight error There was an error in the mechanism of raising and lowering the built-in weight.
  • Page 32: The Ufc Function

    10. The UFC function By using the UFC (Universal Flex Coms) function, it is possible to arbitrarily output contents of your choice when outputting the weighing data. You can also output a character string when printing a barcode with a label printer or the like. In order to use the UFC function, it must be set to internal setting (UFC function on).
  • Page 33 <LF> ASCII 0Ah code GX-A Series/GF-A Series Communication Manual 33 / 41...
  • Page 34: Examples Of Creating Ufc Program Commands

    □ Enclose any ASCII code string in single quotation marks. The character strings that can be output are alphanumeric characters and symbols. In addition, the single quotation marks themselves are enclosed in two single quotation marks. Example: To output the character string ABC: 'ABC' To output the character string 'ABC': '”ABC”' □...
  • Page 35 10-2. Examples of creating UFC program commands Output example 1 Output example 2 2017/01/23 12:34:56 +2000.00 g SAMPLE ABC-123 TARE WEIGHT +3456.78 g +345.67 g GROSS Content +2345.67 g PF, command, date, time, line break Character string "SAMPLE ABC-123", line Description break command,...
  • Page 36: Internal Settings

    11. Internal settings By changing internal settings of the balance, you can customize balance usage. The contents of the settings are saved even when the AC adapter is unplugged and they are effective until set again. In the internal settings menu structure each setting entry is placed in its classification item and one setting value is registered for each setting entry.
  • Page 37 Configuration example Example of setting "Time/Date output" to "outputting Time/Date" and "Data format" to "DP format". Start, weighing display Keep pressing(Procedure 1) Classification item Press several times (Procedure2) Setting item Press several times (Procedure 3) Changing the (Procedure 4) setting value Press twice(Procedure 5)...
  • Page 38: List Of Items(Communication Entries Only

    11-2. List of items (communication entries only) This is a list of items related to communication of internal setting values. For other items, refer to the GX-A / GF-A instruction manual. Classification Setting item Setting Contents, usage item value … Refer to the GX-A / GF-A instruction manual Key mode Data output with the PRINT...
  • Page 39 Classification Setting item Setting Contents, usage item value No used ■ Data output Data memory function Stores unit mass (Cont.) Stores weighing data, and calibration data Used when outputting Every measurement with intervals set in Interval time Every 2 seconds ■...
  • Page 40 Classification Setting item Setting Contents, usage item value ■ Serial Connection Printer interface destination and stream External display output 600 bps Baud rate 1200 bps 2400 bps ■ 4800 bps 9600 bps 19200 bps 38400 bps 7 bit EVEN ■ Data bit, parity bit 7 bit ODD 8 bit NONE...
  • Page 41 Caution 1) Unauthorized reproduction of any part or all of the contents of this document is strictly prohibited. 2) The contents of this document are subject to change without notice. 3) If you have any doubts about or notice any mistakes in the contents of this document, please contact your dealer or our nearest sales office.

Table of Contents