Skip to main content

subscribe

short summary

This method adds the subscriber to a subscribption list. All subscribers are going to be notified, if the safety release changes.

legal notes

| SPDX-FileCopyrightText: © 2022 ekvip automation GmbH <info@ekvip.de> | SPDX-License-Identifier: Apache-2.0 | For details check: Apache-2.0_

.. _Apache-2.0: https://www.apache.org/licenses/LICENSE-2.0

.. </legal notes>

Parameters

NameTypeCommentKind
subscriberISafetySwitchclass with the Interface ISafetySwitch, that can be switched on/offinput

Code

Declaration

METHOD subscribe
VAR_INPUT
(* class with the Interface ISafetySwitch, that can be switched on/off *)
subscriber :ISafetySwitch;
END_VAR