Siemens 500 NIM User Manual

Page 97

Advertising
background image

NIM Primitives

4-44

SIMATIC TIWAY I Series 500 NIM User Manual

Series 500 NIM Primitive Descriptions (continued)

Availability: Releases 2.1, 2.2, and 3.0

The Record Data Acquisition Primitives allow repetitive collection of
multiple predefined blocks of data. The Define Record Primitive (55) allows
multiple blocks of data to be defined as a single record. The Gather Record
Primitive (56) collects the data blocks for the requested records. The Write
and Gather Record Primitive (57) combines the functions of the Write Block
Primitive (30) and the Gather Record Primitive (56).

NOTE: The record definitions within the NIM are destroyed in the event of a
power loss or a hardware reset (HDLC DISC). Any initialization or
re-initialization procedures must use the Define Record Primitive (55) to
re-define the data acquisition records.

Define Record Primitive – Code 55. The Define Record Primitive
specifies up to 32 records with 32 blocks per record. The records are
referenced by number, ranging from 1 (hex) to 20 (hex). A record, once
defined, can be re–defined to different data element types and for a new
record. A record may be restored to the initial state of “undefined” by
specifying the number of Data type Definitions (DD – blocks) in the record
as zero.

Request: LLLL 55 CC DD TT NNNN AAAA

DD times)

(repeated up to 32 times)

(values from 1 to 32)

(repeated

Symbol

Value

Definition

CC

Number assigned to the record. The allowable range is
1 to 20 hex.

DD

Number of data type definitions (blocks) for the record.

TT

Data element type

AAAA

Data element location

Record Data
Acquisition
Primitive Codes 55,
56, and 57

Advertising