Code Lock

<< Click to Display Table of Contents >>

Navigation:  Components > Sensors >

Code Lock

With the code lock, it is possible to trigger functions by entering PIN numbers. The PIN entered is also output at the PIN data point after the OK button is pressed.

The PIN entry can be checked via the integrated display. In the display, the characters are masked by asterisks. External entry is also possible. Here, attention must be paid to the security of the PIN number because the PIN entry is only masked in the "code lock" component.

 

The appearance of this component can be varied via"WPF Theme".

 

Data points of the component

Name

Typ

function

Lock operation (display only)

Input

If this input is not used, the component can basically be operated. If the input is connected with an on signal, the component can not be operated. It then only has display function.

Last Pin was wrong

Output

Here, the signal set in the properties is transmitted after a PIN entry.

Mouseover

Output

This output can be used to start an event when the object is moved by mouseover.

Dynamic

Folder

Here, the channels defined in the channel list are displayed and made available as data points for linking to the networks.

PIN

Bidirectional

The entered PIN is output as text via the PIN data point, and the PIN entry as text over a network is also possible, for example. with the text input. Entry with the touch value input is not possible.

Visible

Input

With an off-signal the component unVisible and with an on-signal Visible is switched.

Opacity [0-255]

Input

See component independent data points

 

Properties

Name

Standard

function

Channel

0

Here the individual channels are defined in a list. These then appear as a channel in the data point Folder Dynamic.

Value to send when access denied

on

Specifies the data type for the "last pin input invalid" output sent when an invalid PIN entry is made.

Value to send when access is granted

off

Specifies the data type for the "last pin input valid" output sent when an valid PIN entry is made.

 

 

In the channel editor, the up to 999 PIN outputs are defined.

 

Channels (example)

Name

PIN

Active time(s)

Value active

Value inactive

Output001

***

0

On

Off

Output002

1234

0

17

124

 

Name

This name is displayed as the data point name on the component.

 

PIN

The PIN number with which transmission via the output is triggered is entered here.

 

Note: The PIN of an output must NOT be the master PIN.

 

Active time (s)

The active time is entered in seconds. After entering the correct PIN, the output is set to "Value active" for this time. After the time has elapsed, the output "Value inactive" is triggered. If 0 seconds are entered, the output is always active after the PIN is entered and is sent again when the PIN is entered again.

 

Value active

This value is sent when the PIN output is activated. Any values are possible.

 

Value inactive

This value is sent when the PIN output is deactivated (after the active time has elapsed). Any values are possible.

 

Mask PINs

If this check mark is deactivated, the PINs are displayed in plain text. Otherwise, all PINs are replaced by asterisks.

 

Master PIN

If a master PIN is set up, this can be used to call up the channel editor at runtime. This allows the PINs of the created channels to be changed. This is only possible in the EisBaer Windows Client!