EnableAutoLogin
function EnableAutoLogin(ctx: any, usernameAddress: number, usernameBlockAmount: number, passwordAddress: number, passwordBlockAmount: number, reloadOnLogin: boolean, persistentLogin: boolean, usbConfig: any)
The EnableAutoLogin function is used to enable automatic login via MiFare Classic Standard RFID card. For this purpose, the LoginWithMiFare
function is triggered cyclically. This means that the login does not have to be triggered via an event.
![]() | Browser compatibility The function is only compatible with Google Chrome and Microsoft Edge. |
Parameter
Name | Type | Description |
---|---|---|
ctx | any, Context | Asynchronous context object |
usernameAddress | Sector in which the block with the user name is located. | |
usernameBlockAmount | Number of blocks to be read. | |
passwordAddress | Sector in which the block with the password is located. | |
passwordBlockAmount | Number of blocks to be read. | |
reloadOnLogin | If the value is | |
persistentLogin | If the value is | |
usbConfig | Configuration data of the connected serial interface. |
Return value
Type | Description |
---|---|
ID of the registered interval. |
NuGet package: Beckhoff.TwinCAT.HMI.Plastic.RFID
Available: from version 12.14.0
Usage: TC3 Plastic Application HMI projects