MODE Which of the system resources occupied by SFC 107/SFC 108 are
read?
3 The system resource occupied by the call of SFC 107-/SFC 108 with
CMP_ID: = cmp_id (call of the SFC 105 with SI_ID: = ev_id)
0 Additional system resources that could not be read with the previous call in
MODE =1 or MODE =3 because you have specified a target field
SYS_INST that is too small.
If you have not selected a sufficiently large SYS_INST target area when you called the
SFC 105 in MODE =1 or MODE =3, it contains the content of all currently occupied
system resources selected via MODE parameter.
High system load on resources will cause a correspondingly high SFC runtime. That is, a
high load on CPU performance may result in overshoot of the maximum configurable
cycle monitoring time. You can work around this runtime problem as follows: Select a rel-
atively small SYS_INST target area.
RET_VAL = 0001h informs you if the SFC cannot enter all system resources to be read in
SYS_INST. In this case, call SFC 105 with MODE =0 and the same SI_ID as for the pre-
vious call until the value of RET_VAL is 0000h.
Since the operating system does not coordinate the SFC 105 calls that
belong to the read job, you should execute all SFC 105 calls with the
same priority class.
The target area for the fetched occupied system resource must lie within a DB. You
should appropriately define the target area as a field of structures, whereby a structure is
constructed as follows:
Structure element Data type Description
SFC_NO WORD No. of the SFC that occupies the system
resource
LEN BYTE Length of the structures in bytes, incl. SFC_NO
and LEN: 0Ch
SIG_STAT BOOL Signal state
ACK_STAT BOOL Acknowledgement status of the incoming event
(positive edge)
EV_ID DWORD Message number
CMP_ID DWORD Partial system ID
Operating principle
Target Area SYS_INST
VIPA SPEED7
Integrated Standard
System Functions > SFC 105 - READ_SI - Reading Dynamic System Resources
HB00 | OPL_SP7 | Operation list | en | 18-30 724