EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended instructions
9.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
440 System Manual, V4.2, 09/2016, A5E02486680-AK
9.7.2
RD_SINFO (Read current OB start information)
Description
Table 9- 127 RD_SINFO instruction
LAD / FBD
SCL
Description
ret_val := RD_SINFO(
TOP_SI=>_variant_out_,
START_UP_SI=>_variant_out_)
;
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.
Parameter
The following table shows the parameters of the "RD_SINFO" instruction:
Parameter
Declaration
Data type
Memory area
Description
RET_VAL
Return
INT
I, Q, M, D, L
Error information
TOP_SI
Output
VARIANT
D, L
Start information of the current OB
START_UP_SI Output VARIANT D, L Start information of the startup OB last
started
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)
System data types (SDT)
System data type numbers
Any
SI_classic*
592*
SI_none
593
ProgramCycleOB
SI_ProgramCycle
594
TimeOfDayOB
SI_TimeOfDay
595
TimeDelayOB
SI_Delay
596
CyclicOB
SI_Cyclic
597
ProcessEventOB
SI_HWInterrupt
598
ProfileEventOB
StatusEventOB
UpdateEventOB
SI_Submodule 601
SynchronousCycleOB
SI_SynchCycle
602
IOredundancyErrorOB
SI_IORedundancyError
604
CPUredundancyErrorOB
SI_CPURedundancyError
605

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals