Repeated) – Siemens 500 NIM User Manual

Page 92

Advertising
background image

NIM Primitives

4-39

SIMATIC TIWAY I Series 500 NIM User Manual

Availability: Releases 1.1, 2.1, 2.2, and 3.0

Primitive 30 is the Write Block Primitive, which will replace contiguous
data element locations from a given data element location with the data
specified in the Request.

Request: LLLL 30 TT AAAA DD ... DD

(repeated)

Symbol

Value

Definition

TT

Data element type

AAAA

Data element location

DD

Data

Response: LLLL 30 HH

Symbol

Value

Definition

HH

Attached device operational status

Availability: Releases 2.1, 2.2, and 3.0

Primitive 31 replaces the specified blocks of data element locations with the
data included in the request.

Request: LLLL 31 TT NNNN AAAA DD ... DD

(repeated)

Symbol

Value

Definition

TT

Data element type

NNNN

Number of locations

AAAA

Data element location

DD

Data

Response: LLLL 31 HH XX BB ... BB

(BB is repeated XX times)

Write Block
Primitive – Code 30

Write Random
Block Primitive –
Code 31

Advertising