Yes you can also place trigger on bargate with "Axis A 5" and "Axis B 20"
conf :
Type : None
Activation : Anybody (or what you want)
Repeatedly
Present
Condition :
this
On act :
yournamebargate animate ["Door_1_rot", 1]
On desac :
yournamebargate animate ["Door_1_rot", 0]