Using Addon P_DIn in Leve,pressure switches

Hope everything is going well with you.
I’ve question related to using addons in rockwell software studio5000, I’m using Plantpax version 4.10, Simply I want to know which add ons i have to use for digital switches like level or pressure switches, I’m tried to use P_DIn put I cant know or understand it’s behaviour, could you help me please.