-Y enstop S pin no volts

Hello everyone, I could really use some help with my Klipper Firmware. I am using a trigorilla mainboard from an old i3 mega. I got the klipper firmware flashed (eventually) and my pi has Fluidd running nicely, they hook up without errors and i am just starting to get things moving on my printer, its early days and i am working through the endstops. X and Z work fine but Y doesn’t work. I’ve swapped switches around and they’re all good, so I checked the voltage between the ground pin and the Sense pin for X, Y & Z. X & Z both show about 4.8v but my Y pin shows nothing. So I reflashed to the i3 firmware from Anycubic and Y pin suddenly has 4.8v. Flashed back to the Klipper firmware and its nothing again. Any suggestions gratefully recieved…

Please attach your klippy.log file. Check the endstop pin configuration. Maybe a ^ (pullup) is missing.

He Sineos, thanks for your reply, here’s the log. My config has the pullup in it - is it the correct pin number? I used the anycubic i3 config as a start.
klippy.log (29.6 KB)

Solved!
The endstop_pin in the sample Anycubic Megai3 is shown as ^!PL7 it should be ^!PJ1 - at least on this board.
I looked at the anycubic-4max-config and picked up the different pin designation from there.
Thanks for your help Sineos.