Descargar Imprimir esta página

Micronics UF3300 Manual Del Usuario página 117

Publicidad

Micronics
timeNdate = timeNdate div 2^5;
Month = timeNdate mod 2^4;
timeNdate = timeNdate div 2^4;
year = timeNdate + 2000;
13.6.2
Resetting Forward and Reverse Totals
1. Ensure inhibit bits are not set and that the update flags (bit 0
and bit 1 of the Status Flags register) are reset.
2. Send a MASK WRITE REGISTER message (command 22 or
0x16) to register address 5 with the AND mask being set to
0xFFFE and the OR mask being 0x0001. This will set the "Lock-
out Updates" flag (bit 0) of the Instrument Control Flags register.
3. Send a WRITE MULTIPLE REGISTERS message (command
16 or 0x10) with the big-endian floating-point representation of
the value being set. (Hint: use a tool to provide the conversion
from a single precision floating point number to its hexadecimal
representation. If the value is being reset to zero, then its value
is 0x00000000)
4. Send a MASK WRITE REGISTER message (command 22 or
0x16) to register address 136 with the AND mask being set to
0xFFFC and the OR mask being 0x0003. This will initiate the
reset of totals on the unit.
5. Send a MASK WRITE REGISTER message (command 22 or
0x16) to register address 5 with the AND mask being set to
0xFFFE and the OR mask being 0x0000. This will clear the
"Lock-out Updates" flag (bit 0) of the Instrument Control Flags
register.
When totals are read, they will start from the new values.
Issue 1.1 March 2022
Page 29

Publicidad

loading

Este manual también es adecuado para:

Uf3300fmUf3300hm