Chapter 4 Deployment
Manual VIPA System 300S SPEED7
4-50
HB140E - CP - RE_342-1CA70 - Rev. 09/46
Read SZL
The current state of your automation system is described by the system
status list (SZL). The SZL may only be accessed by reading the partial
list (-extracts). These lists are build by the CPU on requirement.
For the identification of a partial list there is the SZL-ID.
The SFC 51 RDSYSST (read system status) returns a SZL partial list or an
extract of an SZL partial list.
The read operation is started by setting input parameter
REQ
to 1 when
the call to SFC 51 is issued. If the read operation was execute immediately
output parameter
BUSY
returns a value of 0.
BUSY
is set to 1 as long as
the read operation is not yet finished.
Parameter
Declaration Data type
Memory block
Description
REQ
INPUT
BOOL
I,Q,M,D,L,
constant
REQ
=1: start processing
SZL_ID INPUT
WORD
I,Q,M,D,L,
constant
SZL-ID
of the partial list or the
partial list extract
INDEX INPUT
WORD
I,Q,M,D,L,
constant
Type or number of an object in a
partial list.
For 342-1CA70 the index is 6100h.
RET_VAL
OUTPUT
INT
I,Q,M,D,L
The return value contains an error
code if an error is detected when
the function is being processed.
BUSY OUTPUT
BOOL
I,Q,M,D,L
BUSY
=1: read operation has not
been completed
SZL_HEADER OUTPUT STRUCT D,L
See
below
DR
OUTPUT
ANY
I,Q,M,D,L
Target area for the SZL partial list
that was read or the SZL partial list
extract that was read:
•
If you should only have read the
header information of an SZL
partial list, then you must not use
DR, but only SZL_HEADFC
•
In all other cases the product of
LENGTHDR and N_DR indicates
the number of bytes that will be
entered into DR.
Overview
Read SZL with
SFC 51
Parameter
Содержание 300S SPEED7 - CP
Страница 1: ...VIPA System 300S SPEED7 CP 342 1CA70 Manual HB140E_CP RE_342 1CA70 Rev 09 46 November 2009...
Страница 4: ...Contents Manual VIPA System 300S SPEED7 ii HB140E CP RE_342 1CA70 Rev 09 46...
Страница 8: ...Safety information Manual VIPA System 300S SPEED7 4 HB140E CP RE_342 1CA70 Rev 09 46...
Страница 92: ...Chapter 4 Deployment Manual VIPA System 300S SPEED7 4 54 HB140E CP RE_342 1CA70 Rev 09 46...
Страница 94: ...Index Manual VIPA System 300S SPEED7 A 2 HB140E CP RE_342 1CA70 Rev 09 46 M Stich...