Dear Rahul,
Lenvica HRMS can dedicate machines for a particular sort of punching. User can set a machine only to deliver IN punches or to deliver OUT punches alone and to accept both IN and OUT punches.
In your case, I presume you are using only one device in which case you will have option in the hardware itself to switch between IN and OUT punches. For e.g. if to put IN punch then you have to press on 'F1' button and then punch, else to OUT punch you should press on 'F2' button.
I hope this clarifies your queries.