Micromod MOD: 1800P - MOD 30ML Identity Module (Version 2) System, I/O and Communications Functions User Manual

Page 49

Advertising
background image

Logic Functions - Book 1

INTERFACE BLOCK

3-23

140

Next Instrument State (NXTISTAT) ................................................................................ – W R
Under steady state conditions, next instrument state will be equal to instrument state. Writing
to it constitutes a command to go to a new state. Be aware that changing the instrument state
from RUN to DEFAULT or BEING CONFIGURED causes the instrument to stop sending
foreground data and communications will be lost to any runtime front end. Values accepted
are:

DEFAULT

2 See Instrument State.

BEING CONFIGURED

3 See Instrument State.

HOLD

4 See Instrument State.

RUN

6 See Instrument State.

HOLD WARM START

7 Used to switch from the default to the main database without

forcing cold start initialization of the main database.

RUN WARM START

8 Used to switch from the default to the main database without

forcing cold start initialization of the main database. The I/O
mismatch condition is ignored.

141

Command (CMD) .............................................................................................................. – WR
This provides a dummy location in the database to which commands can be addressed using
a long state variable. The value read from this location will always be 0. The following values,
when written to this location, will be interpreted as commands. The command is executed
when the instrument finds an appropriate processing point.

Ack Shutdown Fault

1 Acknowledges that the user has seen the information relating to

a previous shutdown fault and reinitializes the Shutdown Info
area by doing a reset. This puts the instrument in a state it
would have been in had there been no fault.

Upload to Module

2 Uploads database to memory module. Valid anytime.

Download from Module

3 Instrument must be in the Being Configured state before the

database can be downloaded from the memory module.

Set Write Protect

4 Sets a software write protect of the memory module.

Clear Write Protect

5 Clears software write protect and uploads to the memory

module. Valid even in upload, where a failed upload will be
completed and the red LED will stop flashing.

Delete Main Database

6 Marks the main database bad and sets the instrument state to

DEFAULT. Valid anytime.

Restore Main Database

7 Marks the main database good (in case delete main database

was issued by mistake). Note that the database will actually be
good only if it passes normal verification, e.g. when attempting
to go to the RUN instrument state. Valid anytime.

Reset

8 Completes tasks and then does a power-up.

Kill

9 Performs an immediate power-up.

Clear MTIMEs

10 Clear the maximum scan time for all scan groups.

142

Time of Day (TIMEDAY).................................................................................................... – WR
A millisecond time variable that gives the time of day in milliseconds (up to 86400000).

143

Time of Day Quality (TIMEDAYQ).....................................................................................– – R
Quality byte for time of day attribute.

Advertising