Siemens SIMATIC TIWAY 1 User Manual page 95

Series 500 nim
Hide thumbs Also See for SIMATIC TIWAY 1:
Table of Contents

Advertisement

Series 500 NIM Primitive Descriptions (continued)
4-42
NIM Primitives
Symbol
Value
HH
EEEEEEEE
DD
Write and Gather Block Primitive – Code 52. The Write and Gather
Block Primitive specifies which blocks (as defined with Define Block
Primitive 50) will be read. It also allows a user to replace any contiguous
data element locations. The blocks are specified through a 32-bit mask
(EEEEEEEE).
In the bit mask position which corresponds to a block specified in Define
Primitive 50, a bit value of 1 indicates that the block is to be returned. A bit
value of 0 means that the block will not be returned.
You should not request more data than can be returned in a maximum
length Primitive frame. Following the mask are the descriptors associated
with the write function, which is performed before the gather operation.
The response will return the data associated with the requested blocks,
beginning with the lowest block number and increasing to the highest block
number. A data block separator is not provided in the response.
Request: LLLL 52 EEEEEEEE TT AAAA DD ... DD
where EEEEEEEE is 32 bits defined as:
Definition
Attached device operational status
EEEEEEEE is a mask as defined by the Request
Primtive and DDDD is defined by the data type being
accessed. The order of return of the blocks is from the
lowest numbered block to the highest. For example, if
blocks 2, 4, and A were requested, the first data block
in the response specifies data which is associated with
block 2, the next data block specifies data which is
associated with block 4, etc.
Data
SIMATIC TIWAY I Series 500 NIM User Manual
(repeated)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic tiway i series 500 nim

Table of Contents