Write Random Block; Define Block - Siemens SIMATIC TI505 Installation And Operation Manual

S5 unlink adapter
Hide thumbs Also See for SIMATIC TI505:
Table of Contents

Advertisement

Write Random
Block

Define Block

S5 UniLink Adapter Installation and Operation
This primitive replaces the specified blocks of data element locations with
the data included in the request.
Request:
LLLL 31 TT NNNN AAAA DD ... DD
Symbol
TT
Data element type.
NNNN
Number of locations.
AAAA
Data element location.
DD
Data.
Response: LLLL 31 HH XX BB ... BB
Symbol
HH
Operational status (see Status).
XX
Number of block writes not completed due to error.
BB
Block numbers not processed due to error.
The Define Block primitive specifies up to 32 random blocks of data
elements. The blocks are referenced by number, ranging from 1 to 20 (hex).
A block, once defined, can be redefined to a different data element type and
location by simply specifying that block number, and then providing the
required information for a new block. A block can be restored to the initial
state of "undefined" by setting the NNNN field to zero.
Request:
LLLL 50 CC TT NNNN AAAA
Symbol
CC
Block number (1 – 20) Hex.
TT
Data element type.
NNNN
Number of locations.
AAAA
Data element location.
Response: LLLL 50 HH
Symbol
HH
Operational status (see Status).
Definition
Definition
(repeated)
Definition
Definition
TIWAY I Primitives Supported by S5 PIM
(repeated)
B-7

Advertisement

Table of Contents
loading

Table of Contents