beautypg.com

22baud rate \(“baud”\), 23serial communications configuration \(“ser, Baud rate (“baud”) – Cooper Instruments & Systems DFI INFINITY Digital Force Indicator/Controller User Manual

Page 70: Serial communications configuration (“ser.cnf”)

background image

Byte 1 (Least) = seconds, Max 59
Byte 2 (Middle) = minutes, Max 59
Byte 3 (Most) = hours, Max 99

EXAMPLE: You want to assign TIME of meter #15 to 7:25:30. Send the command *15P2807191E.

2. BATCH count, BAT NO, and TOTAL. BATCH count and TOTAL are 4 bytes each, and BAT NO is 3 bytes.
There is no decimal point for these items. The sign bit is the most significant bit of each item (0 for positive and
1 for negative). Therefore, max and min values for BAT NO are ±(7FFFFF) ±Hex=8,388607, and min values for
Batch count and TOTAL are ±(7FFFFFFF) Hex = ±2,147,483,647.

EXAMPLE: You’re in Batch Mode and want to read BATCH count, BAT NO, and TOTAL. Send the following
commands:

BATCH: *15G2A. The meter responds with 15G2A003050.

BAT NO: *15G2B. The meter responds with 15G2B000038.

TOTAL: *15G29. The meter responds with 15G29000D0190.

Since the meter is in ECHO and Multipoint modes, the first 5 characters comprise the ECHO response.

The BATCH Hex value 003050 = 12368 in decimal.

The BAT NO Hex value 000038 = 56 in decimal.

The TOTAL Hex value 000D0190 = 852368 in decimal.

11.22 Baud Rate (“BAUD”)

This item is 1 byte (2 characters). It specifies the communication rate over the bus. It uses prefixes R and W
and the suffix 19. Table 11.20 shows data values and their corresponding baud rates.

Table 11.20. Baud Rate (“BAUD”) Data Values

DATA VALUE

BAUD RATE

0 300
1 600
2 1200
3 2400
4 4800
5 9600
6 19200


EXAMPLE: You want to set the baud rate of meter #15 to 9600. Send the command *15W1905. The
meter responds with 15W19. You should then reset the meter with *15Z05. The meter will respond
with 15Z05.

11.23 Serial Communications Configuration (“SER.CNF”)

This item is 1 byte (2 characters). It uses prefixes R and W with the suffix 1A according to Table 11.21.

CF 125 INFINITY SC GUIDE

66

M1519/N/0605