Siemens 500 NIM User Manual

Page 102

Advertising
background image

NIM Primitives

4-49

SIMATIC TIWAY I Series 500 NIM User Manual

The first request also contains the “between response to request” time-out
value. This value corresponds to the number of seconds that the attached
device will wait for the next upload request. If the time expires, the
attached device will exit upload mode. The first response also returns the
actual time-out value that will be used, since some attached devices may
support a maximum time-out value less than the value requested.

Upload Request Parameter Descriptions. The basic format of the
request is as follows:

LLLL 58 XX

LLLL 58 00 RRRR MMMM OOOO
LLLL 58 01 RRRR YYYY DD ... DD
LLLL 58 02 RRRR
LLLL 58 03 RRRR

where:

Symbol

Value

Definition

CC

00

Initial upload request

01

Next block upload request

02

End upload request acknowledge

03

Abort upload operation

YYYY

(number)

Requested block sequence number starting with 0
(present when CC = 1)

RRRR

(number)

Host defined reference field returned with response

MMMM

(binary)

Upload configuration bit map present only when
CC = 0. A1 in a bit position indicates that the
corresponding segment will be included in the upload.
The chart below illustrates this concept.

OOOO

(number)

Time-out value in one second increments (present only
when CC = 0)

A B C D E F G H I J K L M N O P

A and B are reserved and must be set to 0.

O specifies the data segment.

P specifies the program segment.

Setting bits C - P will request all available data.

Advertising