The previous owner put in two cattle guards using 2 1/2” water pipe. Wasn’t durable with big trucks. Repaired with well drilling pipe was stronger. Rebuilt using 3” square tubing, 8” wide channel sides, capping H beams and 50# of 7018 rod. 4 - 1.5” bolts hold each grid down. Made where I can remove and clean under if needed. Thru the woods steep driveway. Held up for past 21 years. Last week 75K# gravel trucks crossed them. At the time I could have bought used railroad rail for the same price as the new tubing, ~$500 for each guard. Just too heavy.
The coop and county extension used to have forms you rented to pour concrete cattle guards DIY. Lot of rebar in the high strength concrete. Backhoe dug trenches footers forms, poured reinforced concrete. After curing slid or placed new guard on top footers.