Fetching details from the dictionary...
(fish) weir; fish trap
「梁」 has other readings with different meanings.
beam; joist
Liang dynasty (of China; 502-557)
(roof) beam