LoginWithMiFare
async function LoginWithMiFare(ctx: any, usernameAddress: number, usernameBlockAmount: number, passwordAddress: number, passwordBlockAmount: number, reloadOnLogin: boolean, persistentLogin: boolean, usbConfig: any)
The asynchronous function LoginWithMiFare is used to enable the user to log in with a MiFare Classic Standard card. A corresponding user must be created in TwinCAT HMI Engineering for this (read more). The password and user name must be stored on the card and suitably coded. The WriteMiFareData
function should therefore be used to write the card.
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 |
---|---|
void | No return value. |
NuGet package: Beckhoff.TwinCAT.HMI.Plastic.RFID
Available: from version 12.14.0
Usage: TC3 Plastic Application HMI projects