Siemens 500 NIM User Manual

Page 104

Advertising
background image

NIM Primitives

4-51

SIMATIC TIWAY I Series 500 NIM User Manual

There are four primary forms of the upload primitive.

Initiate upload — places the attached device into upload mode.

Upload device — sequentially collects all information that defines the
operating environment for the attached device.

Terminate upload — removes the attached device from the upload mode
as soon as the attached device notifies the host that the requested
operation is complete.

Abort upload — immediately terminates an upload operation when a
higher priority operation is requested.

Initiate Upload Request and Response

Request: LLLL 58 00 RRRR MMMM OOOO

Response: LLLL 58 HH 00 RRRR MMMM OOOO

where:

Symbol

Value

Definition

RRRR

Host reference field used to identify the host

MMMM

Bit mask that defines which segments are going to be
uploaded. There are four hexadecimal values allowed in
the field (01, 02, 03, and 3FFF). If you use 3FFF, the
attached device will report which setments are supported
in the response. For example, if you send an initiate
upload command to a Series 500 NIM that is
communicating with a 560/565 controller, the NIM
response will contain a bit mask value of 3, which shows
support for the program and data segments.

OOOO

Time-out field that specifies the amount of time (in
seconds) the attached device will wait between
subsequent upload requests before it terminates the
upload requests and exits the upload mode. If a value of 0
is specified in the time-out field, the attached device will
return the default value (2 minutes). The maximum value
is dependent on the controller. If a value larger that the
maximum controller value is requested, the time-out will
be set to the controller value available.

Advertising