Operating modes release
Couldn't load pickup availability
Description
The function block FB_Operation Mode Release checks the activation of setup, manual and automatic mode – taking into account all relevant safety releases and acknowledgments.
Note: All modules are designed exclusively as a learning and optimization basis and are not approved for live operation. System modules, in particular, must be finally tested and commissioned by qualified personnel before productive use.
How it works
Acknowledgement
Edges at QuittEinricht
, QuittHand
and QuittAuto
set the flags QuittEinricht_OK
, QuittHand_OK
and QuittAuto_OK
.
Mode check
Only if exactly one mode bit ( ModeEinricht
, ModeHand
or ModeAuto
) is active and all associated releases in the arrays FreigabenEinricht[1..3]
, FreigabenHand[1..3]
or FreigabenAuto[1..3]
are set and the acknowledgment has taken place, the respective FreigabeEinricht
, FreigabeHand
or FreigabeAuto
is activated.
Active mode
The AktiverModus
variable is then set to "Setup Mode," "Manual Mode," or "Automatic Mode." If multiple selections are made or the enable permissions are incomplete, AktiverModus
is set to "No valid mode."
Technical details
-
Entrances:
ModeEinricht
,ModeHand
,ModeAuto
-
Arrays:
FreigabenEinricht[1..3]
,FreigabenHand[1..3]
,FreigabenAuto[1..3]
-
Acknowledgments:
QuittEinricht
,QuittHand
,QuittAuto
-
Outputs:
FreigabeEinricht
,FreigabeHand
,FreigabeAuto
,QuittEinricht_OK
,QuittHand_OK
,QuittAuto_OK
,AktiverModus
(STRING) - Logic is based on IF/ELSIF structures and AND operations
Possible applications
- Safe switching between operating modes in machine controls
- Retrofit of existing systems for central release control
- Training and visualization projects for the representation of approval processes
compatibility
- Siemens S7‑1200 & S7‑1500 controllers
- Compatible with TIA Portal from version V13
- Recommended: TIA Portal V16+ for PLCSIM & HMI
Scope of delivery
You will receive an .scl
file with declarations of all inputs and outputs and internal variables. Customization instructions for the release logic and acknowledgment query are included. The download link will be provided immediately after purchase.
Support
I am happy to support you with:
- Expansion to include additional operating modes
- Adjustment of the release conditions
- Integration of new security logic or user rights
- HMI representation of the current mode
Contact via shop message or email is possible at any time.