Z + limit for laser question

I am setting up a new laser machine.
I have designed it to have limits on X Y and Z.
The controller is GRBL 1.1f and using a Uno and a CNC shield 3.0 with a GRBL buffer for the limits (817 isolators) Also it is fitted with a G-sender pendant so that I can switch from computer to stand-alone reading from an SD card and movement control.
The problem that I face is that the K30 laser module has to be connected to the Z+ limit pin, so how can I use the Z limit?
Are there work arounds to be able to use some other pin for the Z positive?

EDIT:
After checking some documents I found some settings that may work.
I am not sure about this, so please if you know better, let me know.
If I use the Z- for the limit and reverse the setting of direction for homing, maybe that would work?
$23 = 3