beautypg.com

2 reading and writing block attributes, 3 commands – Micromod MOD: 30ML and Modcell Maintenance for 2001N, 2002N, and 1800R User Manual

Page 42

background image

MOD30ML and Modcell Maintenance

VIEWING DIAGNOSTIC DATA

messages, and use the block type and event code to find description/action information in
Section 7.3


3.4.2

Reading and Writing Block Attributes

The command format for reading or writing block attributes is as follows:

Figure 3.24. Command Format for Reading and Writing



Examples of typical commands are:

• Read the value of the PID Control Block Base Gain attribute:

R PID1,BGAIN

• Write a baud rate value of 38400 to the Modcell Serial Communications Block Baud

Rate attribute:

W MSC1,BAUDRATE 8 (8 is the entry code for 38400 baud)

All attribute data required for composing the read and write commands is provided in the data
base reference books listed in Section 1.4. The block identifiers for the database blocks are
listed at the beginning of Section 7.3, and the block occurrence numbers are listed in the
.CRF file for your data base (see IB-23H141, Appendix A).


3.4.3

Commands

In addition to the read/write commands for diagnostics and block attributes, the status display
supports several other commands which provide for, reading the instrument version number,
setting the instrument time and date, etc. A list of all commands is shown in the next table
and the associated notes provide additional descriptive information. The commands must be
typed exactly as shown in the command column. Note that an underscore is required in those
commands, which are not prefixed with an R or W. The letters R (Read) and W (write) are
always followed by a space.

3 -26