beautypg.com

Rs-232c port, Commands/responses – SHIMPO FGV-X 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

11111

Analog signal output

22222

Analog GND

33333

Receive data (input)

44444

Digital GND

55555

Communication enable

66666

Transmit data (output)

77777

No connection

88888

Compression overload output

99999

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

PPPPParity

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

This manual is related to the following products: