HR Role - an account or an employee

I have assigned my HR to HR role, now I have to generate his another id for his attendance and payroll? or HR Role can be used as both?

I don’t understand your question.

But I suggest that you try to read the user guide first to understand how HR Role works: Online HR Software :: Employee Web Account (with HR Roles for Multi-User Access)