Dynamic Status Flags (Stat); Meaning And Operation Of Flags; Output Update Tracking; User Storage - Mantracourt DCell User Manual

Strain gauge or load cell embedded digitiser module mantracan – 2nd generation
Hide thumbs Also See for DCell:
Table of Contents

Advertisement

Dynamic Status Flags (STAT)

Status are "live" flags, indicating current status of the device. Some of these flags have the same bit value &
description from "FLAG".

Meaning and Operation of Flags

The various bits in the STAT value are as follows
Bit
Value
0
1
1
2
2
4
3
8
4
16
5
32
6
64
7
128
8
256
9
512
10
1024
11
2048
12
4096
11
8192
14
16384
15
32768
SPSTAT indicates the state of the Open collector output, 1 being output on 0 being output off.
IPSTAT indicates the state of the digital input (Only available on DSC model). Bit set indicates input is 'closed' to
0v (-V or GND).
SCALON Used to indicate that the Shunt Calibration command, SCON, has been issued & therefore the shuntcal
resistor is now in circuit with the strain gauge bridge. SCOF command resets this bit. Note that when Shunt
Calibration is active the "Load Cell Integrity Error" will also be generated.
OLDVAL is set when the device is read via the communications. Thus indicating this value has already been
sampled. It is reset when a new result has been made available.

Output Update Tracking

The OLDVAL flag can be used for output update tracking
This allows sampling each result exactly once: To achieve this poll the STAT value until OLDVAL is cleared to
indicate a new output is ready, then read SYS, this reading will set the OLDVAL flag in STAT.
This scheme works as long as the communications speed is fast enough to keep up. With faster update rates and
slower baud rates, it may not be possible to read out the data fast enough.

User Storage

USR1...USR9
There are nine storage locations USR1 to USR9. These are floating point numbers which can be used for storage of
data. This data could be calibration time and date, operator number, customer number etc.
This data is not used in anyway by the DCell or DSC.
Mantracourt Electronics Limited DCell & DSC MantraCAN User Manual
Description
Setpoint output status
Digital Input status (DSC ONLY)
Temperature under range (TEMP)
Temperature over-range (TEMP
Strain gauge input under-range
Strain gauge input over-range
Cell under-range (CRAW)
Cell over-range (CRAW)
System under-range (SRAW)
System over-range (SRAW)
(unused – reserved)
Load Cell Integrity Error (LCINTEG)
Shunt Calibration Resistor ON
Stale output value (previously read)
(unused – reserved)
(unused – reserved)
Name
SPSTAT
IPSTAT
TEMPUR
TEMPOR
ECOMUR
ECOMOR
CRAWUR
CRAWOR
SYSUR
SYSOR
Unused
LCINTEG
SCALON
OLDVAL
Unused
Unused
36

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsc

Table of Contents