Rd_Sinfo (Read Current Ob Start Information) - Siemens SIMATIC S7-1200 System Manual

Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

Extended instructions
9.7 Diagnostics (PROFINET or PROFIBUS)
9.7.2

RD_SINFO (Read current OB start information)

Description
Table 9- 127 RD_SINFO instruction
LAD / FBD
Parameter
The following table shows the parameters of the "RD_SINFO" instruction:
Parameter
Declaration
RET_VAL
Return
TOP_SI
Output
START_UP_SI
Output
You will find more detailed information on valid data types in "Data types (Page 125)".
SDTs of the TOP_SI parameter
The following table shows the possible SDTs for the TOP_SI parameter:
Organization blocks (OB)
Any
ProgramCycleOB
TimeOfDayOB
TimeDelayOB
CyclicOB
ProcessEventOB
ProfileEventOB
StatusEventOB
UpdateEventOB
SynchronousCycleOB
IOredundancyErrorOB
CPUredundancyErrorOB
440
SCL
ret_val := RD_SINFO(
TOP_SI=>_variant_out_,
START_UP_SI=>_variant_out_)
;
Data type
Memory area
INT
I, Q, M, D, L
VARIANT
D, L
VARIANT
D, L
System data types (SDT)
SI_classic*
SI_none
SI_ProgramCycle
SI_TimeOfDay
SI_Delay
SI_Cyclic
SI_HWInterrupt
SI_Submodule
SI_SynchCycle
SI_IORedundancyError
SI_CPURedundancyError
Description
You use the instruction "RD_SINFO" to read the
start information of the following OBs:
Last OB called that has not yet been com-
pletely executed
Last startup OB that the CPU started
There is no time stamp in either case. If the call is
in OB 100, OB 101 or OB 102, two identical start
information messages will be returned.
Description
Error information
Start information of the current OB
Start information of the startup OB 
 l ast
started
System data type numbers
592*
593
594
595
596
597
598
601
602
604
605
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMATIC S7-1200 and is the answer not in the manual?

Table of Contents

Save PDF