Maybe you dont understant me.
I wrote example:
1. touch panel is locked (is morning)
2. user comes to his shift and scans his ID card with bar code
3. PLC compare code with internal database, when matched, plc send user name, role in to some tags
4. when tags is sets, touch panel automatically unlocks (logon) with user name and privileges.