beautypg.com

Rs-232c port, Commands/responses – Checkline FGE User Manual

Page 4

background image

4

Table 1

Figure 3

(HR12-10RC-10SDL), HIROSE

RS-232C Port

An important feature of the FGV-X family of gauges is
the RS232C communications port. Data and commands
can be linked to a PC or any other device responding to
RS232C signals for storage or further analysis. Table 1
(below) describes the function of each pin of the
connector (HR12-10RC-10SDL) shown in Fig. 3.

PIN#

PIN#

PIN#

PIN#

PIN#

DESCRIPTION

1

11

11

Analog signal output

2

22

22

Analog GND

3

33

33

Receive data (input)

4

44

44

Digital GND

5

55

55

Communication enable

6

66

66

Transmit data (output)

7

77

77

No connection

8

88

88

Compression overload output

9

99

99

Tension overload output

10

10

10

10

10

Frame GND

RS232C Output Specifications

RS232C Output Specifications

RS232C Output Specifications

RS232C Output Specifications

RS232C Output Specifications

Baud rate

Baud rate

Baud rate

Baud rate

Baud rate

2400, 4800, 9600, 19200 bps (selectable)

Data length

Data length

Data length

Data length

Data length

8 bits

P

P

P

P

Parity

arity

arity

arity

arity

None

Stop bit

Stop bit

Stop bit

Stop bit

Stop bit

One

Commands/Responses

The FGV-X series of force gauges has the ability to
recognize and respond to various commands from
outside peripherals. If for instance the gauge receives a
legitimate command from a PC, it will respond by sending
back the same code indicating to the PC that the
command was recognized. If for example the command
is a request for average data output, it will send the
data and the code NA etc. If the gauge recognizes an
error while it is receiving a command, an error symbol is
transmitted back to the PC indicating the exact nature
of the error.

Commands to FGV-X Gauge

AAcr

Tare

ABcr

Stop output

ACcr

Change to peak mode

ADcr

Change to average mode

AEcr

Peak reset

AFcr

Change units to Kg (g)

AGcr

Change units to N

AHcr

Change units to lb (oz)

BAcr

Data output request (single reading)

BBcr

Continuous data output request (10 times/sec)

BB1cr

Continuous data output request (20 times/sec)

BB2cr

Continuous data output request (50 times/sec)

BB3cr

Continuous data output request (100 times sec)

BCcr

Model name confirmation request

BDcr

Units confirmation request

BEcr

Peak data output request

BFcr

Minus Peak data output request

cr

(cr: carrige return)

Response from FGV-X gauge

NA""""""cr

Average data output

NB""""""cr

Peak data output

4-digit number with decimal point
sign (+ or –)

NE""cr

Model number

02 = FGV-0.5X
03 = FGV-1X
04 = FGV-2X
05 = FGV-5X
06 = FGV-10X
07 = FGV-20X
08 = FGV-50X
09 = FGV-100X

NH"cr

Unit

0 = N
1 = Kg (g)
2 = lb (oz)

Error Symbols

OBcr

Command error

OEcr

Parity error

OFcr

Format error

OGcr

Summing error

OHcr

Overrun error