EasyManua.ls Logo

Siemens Simatic S7-1500

Siemens Simatic S7-1500
523 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...
Basics of program execution
10.4 Special instructions for S7-1500R/H redundant systems
S7-1500R/H redundant system
332 System Manual, 01/2024, A5E41814787-AF
10.4.2 Determining the primary CPU with "RH_GetPrimaryID"
You use the "RH_GetPrimaryID" instruction to read out which CPU is currently the primary
CPU. The instruction outputs the redundancy ID of the primary CPU at the Ret_Val block
parameter.
Figure 10-4 "RH_GetPrimaryID" instruction
Example: Reading maintenance information from the SIMATIC memory card of the primary CPU
Proceed as follows to read specific maintenance information from the SIMATIC memory card
of the primary CPU:
1. Get the redundancy ID of the primary CPU with "RH_GetPrimaryID".
2. Read the maintenance information from the SIMATIC memory card of the primary CPU with
"GetSMCInfo".
If the CPU with redundancy ID 1 is the primary CPU, enter "12" at the Mode block
parameter ("1" for redundancy ID, "2" for maintenance information).
If the CPU with redundancy ID 2 is the primary CPU, enter "22" at the Mode block
parameter ("2" for redundancy ID, "2" for maintenance information).
Reference
You can find more information on the "RH_GetPrimaryID" instruction in the STEP 7 online
help.

Table of Contents

Other manuals for Siemens Simatic S7-1500

Related product manuals